Permalink
Browse files

Converting to Bundler -- WIP ....

  - how is JSON formed?
  • Loading branch information...
rsanheim committed Mar 11, 2011
1 parent 568e042 commit 36830c40d17ff6e0dad892f5712e8fbd7534f215
Showing with 133 additions and 11 deletions.
  1. +1 −1 .rvmrc
  2. +3 −0 Gemfile
  3. +56 −0 Gemfile.lock
  4. +4 −2 Rakefile
  5. +62 −3 nachos.gemspec
  6. +7 −5 spec/spec_helper.rb
View
2 .rvmrc
@@ -1 +1 @@
-rvm ruby-1.9.2-p0
+rvm use ruby-1.9.2@nachos
View
@@ -0,0 +1,3 @@
+source "http://rubygems.org"
+
+gemspec
View
@@ -0,0 +1,56 @@
+PATH
+ remote: .
+ specs:
+ nachos (0.0.6)
+ git-hub (= 1.4.1)
+ json
+ nachos
+ octopussy
+ thor
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ crack (0.1.8)
+ diff-lcs (1.1.2)
+ faker (0.9.5)
+ i18n (~> 0.4)
+ fakeweb (1.3.0)
+ git (1.2.5)
+ git-hub (1.4.1)
+ hashie (0.4.0)
+ httparty (0.6.1)
+ crack (= 0.1.8)
+ i18n (0.5.0)
+ jeweler (1.5.2)
+ bundler (~> 1.0.0)
+ git (>= 1.2.5)
+ rake
+ json (1.5.1)
+ log_buddy (0.6.0)
+ mocha (0.9.12)
+ octopussy (0.3.1)
+ hashie (~> 0.4.0)
+ httparty (~> 0.6.1)
+ rake (0.8.7)
+ rspec (2.5.0)
+ rspec-core (~> 2.5.0)
+ rspec-expectations (~> 2.5.0)
+ rspec-mocks (~> 2.5.0)
+ rspec-core (2.5.1)
+ rspec-expectations (2.5.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.5.0)
+ thor (0.14.6)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ faker
+ fakeweb
+ jeweler
+ log_buddy
+ mocha
+ nachos!
+ rspec (~> 2.4)
View
@@ -13,8 +13,10 @@ begin
gem.authors = ["Rob Sanheim"]
gem.add_dependency "octopussy"
gem.add_dependency "thor"
+ gem.add_dependency "json"
# may want to vendor this...could conflict with the manual install folks
gem.add_dependency "git-hub", "1.4.1"
+ gem.add_development_dependency "jeweler"
gem.add_development_dependency "rspec", "~> 2.4"
gem.add_development_dependency "faker"
gem.add_development_dependency "mocha"
@@ -40,9 +42,9 @@ else
task :coverage => :spec
end
-task :spec => :check_dependencies
+task :spec
-task :default => [:check_dependencies, :coverage]
+task :default => [:coverage]
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
View
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Rob Sanheim"]
- s.date = %q{2011-02-10}
+ s.date = %q{2011-03-11}
s.default_executable = %q{nachos}
s.description = %q{Because everyone loves Nachos!}
s.email = %q{rsanheim@gmail.com}
@@ -45,7 +45,7 @@ Gem::Specification.new do |s|
]
s.homepage = %q{http://github.com/rsanheim/nachos}
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
+ s.rubygems_version = %q{1.6.0}
s.summary = %q{Nachos - sync and stuff with Github}
s.test_files = [
"spec/nachos/cli_spec.rb",
@@ -57,32 +57,91 @@ Gem::Specification.new do |s|
]
if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<nachos>, [">= 0"])
+ s.add_development_dependency(%q<rspec>, ["~> 2.4"])
+ s.add_development_dependency(%q<faker>, [">= 0"])
+ s.add_development_dependency(%q<mocha>, [">= 0"])
+ s.add_development_dependency(%q<fakeweb>, [">= 0"])
+ s.add_development_dependency(%q<log_buddy>, [">= 0"])
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
+ s.add_development_dependency(%q<rspec>, ["~> 2.4"])
+ s.add_development_dependency(%q<faker>, [">= 0"])
+ s.add_development_dependency(%q<mocha>, [">= 0"])
+ s.add_development_dependency(%q<fakeweb>, [">= 0"])
+ s.add_development_dependency(%q<log_buddy>, [">= 0"])
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
+ s.add_development_dependency(%q<rspec>, ["~> 2.4"])
+ s.add_development_dependency(%q<faker>, [">= 0"])
+ s.add_development_dependency(%q<mocha>, [">= 0"])
+ s.add_development_dependency(%q<fakeweb>, [">= 0"])
+ s.add_development_dependency(%q<log_buddy>, [">= 0"])
s.add_runtime_dependency(%q<octopussy>, [">= 0"])
s.add_runtime_dependency(%q<thor>, [">= 0"])
+ s.add_runtime_dependency(%q<json>, [">= 0"])
s.add_runtime_dependency(%q<git-hub>, ["= 1.4.1"])
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
s.add_development_dependency(%q<rspec>, ["~> 2.4"])
s.add_development_dependency(%q<faker>, [">= 0"])
s.add_development_dependency(%q<mocha>, [">= 0"])
s.add_development_dependency(%q<fakeweb>, [">= 0"])
s.add_development_dependency(%q<log_buddy>, [">= 0"])
else
+ s.add_dependency(%q<nachos>, [">= 0"])
+ s.add_dependency(%q<rspec>, ["~> 2.4"])
+ s.add_dependency(%q<faker>, [">= 0"])
+ s.add_dependency(%q<mocha>, [">= 0"])
+ s.add_dependency(%q<fakeweb>, [">= 0"])
+ s.add_dependency(%q<log_buddy>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<rspec>, ["~> 2.4"])
+ s.add_dependency(%q<faker>, [">= 0"])
+ s.add_dependency(%q<mocha>, [">= 0"])
+ s.add_dependency(%q<fakeweb>, [">= 0"])
+ s.add_dependency(%q<log_buddy>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<rspec>, ["~> 2.4"])
+ s.add_dependency(%q<faker>, [">= 0"])
+ s.add_dependency(%q<mocha>, [">= 0"])
+ s.add_dependency(%q<fakeweb>, [">= 0"])
+ s.add_dependency(%q<log_buddy>, [">= 0"])
s.add_dependency(%q<octopussy>, [">= 0"])
s.add_dependency(%q<thor>, [">= 0"])
+ s.add_dependency(%q<json>, [">= 0"])
s.add_dependency(%q<git-hub>, ["= 1.4.1"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<rspec>, ["~> 2.4"])
s.add_dependency(%q<faker>, [">= 0"])
s.add_dependency(%q<mocha>, [">= 0"])
s.add_dependency(%q<fakeweb>, [">= 0"])
s.add_dependency(%q<log_buddy>, [">= 0"])
end
else
+ s.add_dependency(%q<nachos>, [">= 0"])
+ s.add_dependency(%q<rspec>, ["~> 2.4"])
+ s.add_dependency(%q<faker>, [">= 0"])
+ s.add_dependency(%q<mocha>, [">= 0"])
+ s.add_dependency(%q<fakeweb>, [">= 0"])
+ s.add_dependency(%q<log_buddy>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<rspec>, ["~> 2.4"])
+ s.add_dependency(%q<faker>, [">= 0"])
+ s.add_dependency(%q<mocha>, [">= 0"])
+ s.add_dependency(%q<fakeweb>, [">= 0"])
+ s.add_dependency(%q<log_buddy>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<rspec>, ["~> 2.4"])
+ s.add_dependency(%q<faker>, [">= 0"])
+ s.add_dependency(%q<mocha>, [">= 0"])
+ s.add_dependency(%q<fakeweb>, [">= 0"])
+ s.add_dependency(%q<log_buddy>, [">= 0"])
s.add_dependency(%q<octopussy>, [">= 0"])
s.add_dependency(%q<thor>, [">= 0"])
+ s.add_dependency(%q<json>, [">= 0"])
s.add_dependency(%q<git-hub>, ["= 1.4.1"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<rspec>, ["~> 2.4"])
s.add_dependency(%q<faker>, [">= 0"])
s.add_dependency(%q<mocha>, [">= 0"])
View
@@ -1,11 +1,13 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'nachos'
-require 'rspec'
-require 'fakeweb'
-require 'faker'
-require 'json'
-require 'log_buddy'
+require 'bundler/setup'
+# require 'rspec'
+# require 'fakeweb'
+# require 'faker'
+# require 'json'
+# require 'log_buddy'
+Bundler.require(:default, :development)
LogBuddy.init
FakeWeb.allow_net_connect = false

0 comments on commit 36830c4

Please sign in to comment.