Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
Fix deprecation warnings from gemspec + bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
robolson committed Jul 6, 2011
1 parent 72f1c74 commit 408bda4
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 45 deletions.
10 changes: 1 addition & 9 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
source :rubygems

# http://www.modrails.com/documentation/Users%20guide%20Nginx.html#bundler_support
gem "bundler"

group :development do
gem "yard", "0.5.8", :require => false
gem "rake", "= 0.8.7"
gem "rspec", "= 1.3.0"
end
gemspec
49 changes: 17 additions & 32 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,33 +1,18 @@
---
dependencies:
rake:
group:
- :development
version: = 0.8.7
rspec:
group:
- :development
version: = 1.3.0
yard:
group:
- :development
version: = 0.5.8
require: []
PATH
remote: .
specs:
simplerrd (0.11.2)

bundler:
group:
- :default
version: ">= 0"
specs:
- rake:
version: 0.8.7
- bundler:
version: 0.9.26
- rspec:
version: 1.3.0
- yard:
version: 0.5.8
hash: e3487ba8f1b96d18fc59da6ec202701e2c376c37
sources:
- Rubygems:
uri: http://gemcutter.org
GEM
remote: http://rubygems.org/
specs:
rake (0.8.7)
rspec (1.3.0)

PLATFORMS
ruby

DEPENDENCIES
rake (= 0.8.7)
rspec (= 1.3.0)
simplerrd!
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.spec_files = FileList['spec/**/*_spec.rb']
spec.spec_opts = ["--format", "specdoc", "--colour"]
spec.spec_opts = ["--color"]
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
Expand Down
5 changes: 2 additions & 3 deletions simplerrd.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# encoding: utf-8

require 'bundler'

Gem::Specification.new do |s|
s.name = "simplerrd"
s.version = File.read("VERSION").strip
Expand All @@ -27,5 +25,6 @@ Gem::Specification.new do |s|
s.files = Dir['{lib,spec,examples}/**/*'] + %w(simplerrd.gemspec VERSION Rakefile README.markdown LICENSE Gemfile Gemfile.lock)
s.test_files = Dir['spec/**/*']

s.add_bundler_dependencies
s.add_development_dependency('rake', '0.8.7')
s.add_development_dependency('rspec', '1.3.0')
end

0 comments on commit 408bda4

Please sign in to comment.