Skip to content

Instantly share code, notes, and snippets.

@chrismo
Created June 24, 2016 01:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrismo/f6583f3a7f530eaed715abb28de8f7be to your computer and use it in GitHub Desktop.
Save chrismo/f6583f3a7f530eaed715abb28de8f7be to your computer and use it in GitHub Desktop.
[chrismo@momac issue-4703]$ git clone git@github.com:jasonrclark/odd-deployment.git
Cloning into 'odd-deployment'...
remote: Counting objects: 29, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 29 (delta 2), reused 29 (delta 2), pack-reused 0
Receiving objects: 100% (29/29), 6.94 KiB | 0 bytes/s, done.
Resolving deltas: 100% (2/2), done.
Checking connectivity... done.
[chrismo@momac issue-4703]$ cd odd-deployment/
[chrismo@momac odd-deployment (master)]$ ll
total 72
drwxr-xr-x 15 chrismo wheel 510 Jun 23 20:55 .
drwxr-xr-x 3 chrismo wheel 102 Jun 23 20:55 ..
drwxr-xr-x 12 chrismo wheel 408 Jun 23 20:55 .git
-rw-r--r-- 1 chrismo wheel 73 Jun 23 20:55 .gitignore
-rw-r--r-- 1 chrismo wheel 88 Jun 23 20:55 .travis.yml
-rw-r--r-- 1 chrismo wheel 2387 Jun 23 20:55 CODE_OF_CONDUCT.md
-rw-r--r-- 1 chrismo wheel 89 Jun 23 20:55 Gemfile
-rw-r--r-- 1 chrismo wheel 489 Jun 23 20:55 Gemfile.lock
-rw-r--r-- 1 chrismo wheel 1081 Jun 23 20:55 LICENSE.txt
-rw-r--r-- 1 chrismo wheel 2177 Jun 23 20:55 README.md
-rw-r--r-- 1 chrismo wheel 198 Jun 23 20:55 Rakefile
drwxr-xr-x 4 chrismo wheel 136 Jun 23 20:55 bin
drwxr-xr-x 4 chrismo wheel 136 Jun 23 20:55 lib
-rw-r--r-- 1 chrismo wheel 1253 Jun 23 20:55 nope.gemspec
drwxr-xr-x 4 chrismo wheel 136 Jun 23 20:55 test
[chrismo@momac odd-deployment (master)]$ cat Gemfile.lock
PATH
remote: .
specs:
nope (0.1.0)
zk (= 1.9.4)
GEM
remote: https://rubygems.org/
specs:
little-plugger (1.1.4)
logging (1.8.2)
little-plugger (>= 1.1.3)
multi_json (>= 1.8.4)
minitest (5.9.0)
multi_json (1.12.1)
rake (10.5.0)
zk (1.9.4)
logging (~> 1.8.2)
zookeeper (~> 1.4.0)
zookeeper (1.4.11)
PLATFORMS
ruby
DEPENDENCIES
bundler (~> 1.12)
minitest (~> 5.0)
nope!
rake (~> 10.0)
BUNDLED WITH
1.12.5
[chrismo@momac odd-deployment (master)]$ bundle
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Resolving dependencies...
Using rake 10.5.0
Using bundler 1.12.5
Installing little-plugger 1.1.4
Using multi_json 1.12.1
Installing minitest 5.9.0
Using zookeeper 1.4.11
Installing logging 1.8.2
Installing zk 1.9.4
Using nope 0.2.0 (was 0.1.0) from source at `.`
Bundle complete! 4 Gemfile dependencies, 9 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
[chrismo@momac odd-deployment (master)]$ bundle install --deployment
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Installing rake 10.5.0
Installing little-plugger 1.1.4
Installing multi_json 1.12.1
Installing minitest 5.9.0
Installing zookeeper 1.4.11 with native extensions
Using bundler 1.12.5
Installing logging 1.8.2
Installing zk 1.9.4
Using nope 0.2.0 from source at `.`
Bundle complete! 4 Gemfile dependencies, 9 gems now installed.
Bundled gems are installed into ./vendor/bundle.
[chrismo@momac odd-deployment (master)]$ bundle install --deployment
Using rake 10.5.0
Using little-plugger 1.1.4
Using multi_json 1.12.1
Using minitest 5.9.0
Using zookeeper 1.4.11
Using bundler 1.12.5
Using logging 1.8.2
Using zk 1.9.4
Using nope 0.2.0 from source at `.`
Bundle complete! 4 Gemfile dependencies, 9 gems now installed.
Bundled gems are installed into ./vendor/bundle.
[chrismo@momac odd-deployment (master)]$ bundle env
Environment
Bundler 1.12.5
Rubygems 2.6.4
Ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin14]
Git 2.9.0
Bundler settings
frozen
Set for your local app (/private/tmp/issue-4703/odd-deployment/.bundle/config): "1"
path
Set for your local app (/private/tmp/issue-4703/odd-deployment/.bundle/config): "vendor/bundle"
disable_shared_gems
Set for your local app (/private/tmp/issue-4703/odd-deployment/.bundle/config): "true"
orig_path
Set via BUNDLE_ORIG_PATH: "/Users/chrismo/.rbenv/versions/2.3.1/bin:/Users/chrismo/.rbenv/libexec:/Users/chrismo/.rbenv/plugins/ruby-build/bin:/usr/local/bin:/usr/local/sbin:/Users/chrismo/.rbenv/shims:/Users/chrismo/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/Users/chrismo/godev/bin"
Gemfile
source 'https://rubygems.org'
# Specify your gem's dependencies in nope.gemspec
gemspec
Gemfile.lock
PATH
remote: .
specs:
nope (0.2.0)
zk (= 1.9.4)
GEM
remote: https://rubygems.org/
specs:
little-plugger (1.1.4)
logging (1.8.2)
little-plugger (>= 1.1.3)
multi_json (>= 1.8.4)
minitest (5.9.0)
multi_json (1.12.1)
rake (10.5.0)
zk (1.9.4)
logging (~> 1.8.2)
zookeeper (~> 1.4.0)
zookeeper (1.4.11)
PLATFORMS
ruby
DEPENDENCIES
bundler (~> 1.12)
minitest (~> 5.0)
nope!
rake (~> 10.0)
BUNDLED WITH
1.12.5
nope.gemspec
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'nope/version'
Gem::Specification.new do |spec|
spec.name = "nope"
spec.version = Nope::VERSION
spec.authors = ["Jason R. Clark"]
spec.email = ["jclark@newrelic.com"]
spec.summary = %q{See if we can dup this}
spec.license = "MIT"
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
else
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
end
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "zk", "1.9.4"
spec.add_development_dependency "bundler", "~> 1.12"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "minitest", "~> 5.0"
end
[chrismo@momac odd-deployment (master)]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment