Permalink
Browse files

Fix Rake deprecation warnings from Rdoc.

  • Loading branch information...
lukeredpath committed Jan 30, 2012
1 parent 2edfaa7 commit 279a68d1e8800e1705690f21b95c8711648b4307
Showing with 25 additions and 8 deletions.
  1. +1 −0 .gitignore
  2. +10 −4 Gemfile.lock
  3. +8 −1 Rakefile
  4. +6 −3 xcodebuild-rb.gemspec
View
@@ -0,0 +1 @@
+doc
View
@@ -9,12 +9,17 @@ GEM
specs:
chronic (0.6.6)
diff-lcs (1.1.3)
+ ffi (1.0.11)
growl (1.0.3)
- guard (0.8.8)
+ guard (1.0.0)
+ ffi (>= 0.5.0)
thor (~> 0.14.6)
- guard-rspec (0.5.8)
- guard (>= 0.8.4)
+ guard-rspec (0.6.0)
+ guard (>= 0.10.0)
+ json (1.6.5)
rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
rspec (2.8.0)
rspec-core (~> 2.8.0)
rspec-expectations (~> 2.8.0)
@@ -34,7 +39,8 @@ DEPENDENCIES
chronic
growl
guard-rspec
- rake
+ rake (~> 0.9.2.2)
+ rdoc (~> 3.12)
rspec
timecop
xcodebuild-rb!
View
@@ -1,6 +1,7 @@
# encoding: UTF-8
$:.unshift("lib")
+require "bundler/setup"
require 'xcode_build'
require 'xcode_build/output_translator'
require 'xcode_build/tasks/build_task'
@@ -116,7 +117,8 @@ spec = Gem::Specification.new do |s|
# If your tests use any gems, include them here
s.add_development_dependency("rspec")
- s.add_development_dependency("rake")
+ s.add_development_dependency("rake", "~> 0.9.2.2")
+ s.add_development_dependency("rdoc", "~> 3.12")
s.add_development_dependency("guard-rspec")
s.add_development_dependency("growl")
s.add_development_dependency("timecop")
@@ -158,3 +160,8 @@ desc 'Clear out RDoc and generated packages'
task :clean => [:clobber_rdoc, :clobber_package] do
rm "#{spec.name}.gemspec"
end
+
+desc "Bundle the gems from the gemspec"
+task :bundle => :gemspec do
+ system "bundle install"
+end
View
@@ -23,15 +23,17 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<state_machine>, ["~> 1.1.2"])
s.add_development_dependency(%q<rspec>, [">= 0"])
- s.add_development_dependency(%q<rake>, [">= 0"])
+ s.add_development_dependency(%q<rake>, ["~> 0.9.2.2"])
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
s.add_development_dependency(%q<guard-rspec>, [">= 0"])
s.add_development_dependency(%q<growl>, [">= 0"])
s.add_development_dependency(%q<timecop>, [">= 0"])
s.add_development_dependency(%q<chronic>, [">= 0"])
else
s.add_dependency(%q<state_machine>, ["~> 1.1.2"])
s.add_dependency(%q<rspec>, [">= 0"])
- s.add_dependency(%q<rake>, [">= 0"])
+ s.add_dependency(%q<rake>, ["~> 0.9.2.2"])
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
s.add_dependency(%q<guard-rspec>, [">= 0"])
s.add_dependency(%q<growl>, [">= 0"])
s.add_dependency(%q<timecop>, [">= 0"])
@@ -40,7 +42,8 @@ Gem::Specification.new do |s|
else
s.add_dependency(%q<state_machine>, ["~> 1.1.2"])
s.add_dependency(%q<rspec>, [">= 0"])
- s.add_dependency(%q<rake>, [">= 0"])
+ s.add_dependency(%q<rake>, ["~> 0.9.2.2"])
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
s.add_dependency(%q<guard-rspec>, [">= 0"])
s.add_dependency(%q<growl>, [">= 0"])
s.add_dependency(%q<timecop>, [">= 0"])

0 comments on commit 279a68d

Please sign in to comment.