Skip to content

Commit

Permalink
Clean up Gemfile and gemspec
Browse files Browse the repository at this point in the history
* Use secure RubyGems.org URL.
* Use semantic versioning on minor versions of dependencies.
* Upgrade dependencies.
  • Loading branch information
Dan Croak committed Apr 6, 2013
1 parent e1ff44b commit d46626e
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 89 deletions.
2 changes: 1 addition & 1 deletion Gemfile
@@ -1,3 +1,3 @@
source "http://rubygems.org" source 'https://rubygems.org'


gemspec gemspec
121 changes: 56 additions & 65 deletions Gemfile.lock
Expand Up @@ -2,71 +2,69 @@ PATH
remote: . remote: .
specs: specs:
suspenders (1.2.2) suspenders (1.2.2)
bundler (>= 1.1) bundler (~> 1.3)
hub (~> 1.10.2) hub (~> 1.10)
rails (= 3.2.12) rails (= 3.2.13)


GEM GEM
remote: http://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actionmailer (3.2.12) actionmailer (3.2.13)
actionpack (= 3.2.12) actionpack (= 3.2.13)
mail (~> 2.4.4) mail (~> 2.5.3)
actionpack (3.2.12) actionpack (3.2.13)
activemodel (= 3.2.12) activemodel (= 3.2.13)
activesupport (= 3.2.12) activesupport (= 3.2.13)
builder (~> 3.0.0) builder (~> 3.0.0)
erubis (~> 2.7.0) erubis (~> 2.7.0)
journey (~> 1.0.4) journey (~> 1.0.4)
rack (~> 1.4.5) rack (~> 1.4.5)
rack-cache (~> 1.2) rack-cache (~> 1.2)
rack-test (~> 0.6.1) rack-test (~> 0.6.1)
sprockets (~> 2.2.1) sprockets (~> 2.2.1)
activemodel (3.2.12) activemodel (3.2.13)
activesupport (= 3.2.12) activesupport (= 3.2.13)
builder (~> 3.0.0) builder (~> 3.0.0)
activerecord (3.2.12) activerecord (3.2.13)
activemodel (= 3.2.12) activemodel (= 3.2.13)
activesupport (= 3.2.12) activesupport (= 3.2.13)
arel (~> 3.0.2) arel (~> 3.0.2)
tzinfo (~> 0.3.29) tzinfo (~> 0.3.29)
activeresource (3.2.12) activeresource (3.2.13)
activemodel (= 3.2.12) activemodel (= 3.2.13)
activesupport (= 3.2.12) activesupport (= 3.2.13)
activesupport (3.2.12) activesupport (3.2.13)
i18n (~> 0.6) i18n (= 0.6.1)
multi_json (~> 1.0) multi_json (~> 1.0)
arel (3.0.2) arel (3.0.2)
aruba (0.4.11) aruba (0.5.1)
childprocess (>= 0.2.3) childprocess (~> 0.3.6)
cucumber (>= 1.1.1) cucumber (>= 1.1.1)
ffi (>= 1.0.11) rspec-expectations (>= 2.7.0)
rspec (>= 2.7.0)
builder (3.0.4) builder (3.0.4)
childprocess (0.3.6) childprocess (0.3.9)
ffi (~> 1.0, >= 1.0.6) ffi (~> 1.0, >= 1.0.11)
cucumber (1.1.9) cucumber (1.2.3)
builder (>= 2.1.2) builder (>= 2.1.2)
diff-lcs (>= 1.1.2) diff-lcs (>= 1.1.3)
gherkin (~> 2.9.0) gherkin (~> 2.11.6)
json (>= 1.4.6) multi_json (~> 1.3)
term-ansicolor (>= 1.0.6) diff-lcs (1.2.2)
diff-lcs (1.1.3)
erubis (2.7.0) erubis (2.7.0)
ffi (1.3.1) ffi (1.6.0)
gherkin (2.9.3) gherkin (2.11.6)
json (>= 1.4.6) json (>= 1.7.6)
hike (1.2.1) hike (1.2.1)
hub (1.10.4) hub (1.10.5)
i18n (0.6.4) i18n (0.6.1)
journey (1.0.4) journey (1.0.4)
json (1.7.6) json (1.7.7)
mail (2.4.4) mail (2.5.3)
i18n (>= 0.4.0) i18n (>= 0.4.0)
mime-types (~> 1.16) mime-types (~> 1.16)
treetop (~> 1.4.8) treetop (~> 1.4.8)
mime-types (1.21) mime-types (1.22)
multi_json (1.7.0) multi_json (1.7.2)
polyglot (0.3.3) polyglot (0.3.3)
rack (1.4.5) rack (1.4.5)
rack-cache (1.2) rack-cache (1.2)
Expand All @@ -75,40 +73,33 @@ GEM
rack rack
rack-test (0.6.2) rack-test (0.6.2)
rack (>= 1.0) rack (>= 1.0)
rails (3.2.12) rails (3.2.13)
actionmailer (= 3.2.12) actionmailer (= 3.2.13)
actionpack (= 3.2.12) actionpack (= 3.2.13)
activerecord (= 3.2.12) activerecord (= 3.2.13)
activeresource (= 3.2.12) activeresource (= 3.2.13)
activesupport (= 3.2.12) activesupport (= 3.2.13)
bundler (~> 1.0) bundler (~> 1.0)
railties (= 3.2.12) railties (= 3.2.13)
railties (3.2.12) railties (3.2.13)
actionpack (= 3.2.12) actionpack (= 3.2.13)
activesupport (= 3.2.12) activesupport (= 3.2.13)
rack-ssl (~> 1.3.2) rack-ssl (~> 1.3.2)
rake (>= 0.8.7) rake (>= 0.8.7)
rdoc (~> 3.4) rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0) thor (>= 0.14.6, < 2.0)
rake (10.0.3) rake (10.0.4)
rdoc (3.12.2) rdoc (3.12.2)
json (~> 1.4) json (~> 1.4)
rspec (2.12.0) rspec-expectations (2.13.0)
rspec-core (~> 2.12.0) diff-lcs (>= 1.1.3, < 2.0)
rspec-expectations (~> 2.12.0)
rspec-mocks (~> 2.12.0)
rspec-core (2.12.2)
rspec-expectations (2.12.1)
diff-lcs (~> 1.1.3)
rspec-mocks (2.12.1)
sprockets (2.2.2) sprockets (2.2.2)
hike (~> 1.2) hike (~> 1.2)
multi_json (~> 1.0) multi_json (~> 1.0)
rack (~> 1.0) rack (~> 1.0)
tilt (~> 1.1, != 1.3.0) tilt (~> 1.1, != 1.3.0)
term-ansicolor (1.0.7) thor (0.18.1)
thor (0.17.0) tilt (1.3.6)
tilt (1.3.5)
treetop (1.4.12) treetop (1.4.12)
polyglot polyglot
polyglot (>= 0.3.1) polyglot (>= 0.3.1)
Expand All @@ -118,6 +109,6 @@ PLATFORMS
ruby ruby


DEPENDENCIES DEPENDENCIES
aruba (~> 0.4.11) aruba (~> 0.5)
cucumber (~> 1.1.9) cucumber (~> 1.2)
suspenders! suspenders!
41 changes: 18 additions & 23 deletions suspenders.gemspec
@@ -1,37 +1,32 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__) $:.push File.expand_path('../lib', __FILE__)
require 'suspenders/version' require 'suspenders/version'
require 'date' require 'date'


Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = 'suspenders' s.add_dependency 'bundler', '~> 1.3'
s.version = Suspenders::VERSION s.add_dependency 'hub', '~> 1.10'
s.date = Date.today.strftime('%Y-%m-%d') s.add_dependency 'rails', '3.2.13'
s.authors = ['thoughtbot'] s.add_development_dependency 'aruba', '~> 0.5'
s.email = 'support@thoughtbot.com' s.add_development_dependency 'cucumber', '~> 1.2'
s.homepage = 'http://github.com/thoughtbot/suspenders' s.authors = ['thoughtbot']
s.date = Date.today.strftime('%Y-%m-%d')


s.summary = "Generate a Rails app using thoughtbot's best practices."
s.description = <<-HERE s.description = <<-HERE
Suspenders is a base Rails project that you can upgrade. It is used by Suspenders is a base Rails project that you can upgrade. It is used by
thoughtbot to get a jump start on a working app. Use Suspenders if you're in a thoughtbot to get a jump start on a working app. Use Suspenders if you're in a
rush to build something amazing; don't use it if you like missing deadlines. rush to build something amazing; don't use it if you like missing deadlines.
HERE HERE


s.files = `git ls-files`.split("\n"). s.email = 'support@thoughtbot.com'
reject { |file| file =~ /^\./ }. s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
reject { |file| file =~ /^(rdoc|pkg)/ }
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

s.rdoc_options = ["--charset=UTF-8"]
s.extra_rdoc_files = %w[README.md LICENSE] s.extra_rdoc_files = %w[README.md LICENSE]

s.files = `git ls-files`.split("\n")
s.add_dependency 'rails', '3.2.12' s.homepage = 'http://github.com/thoughtbot/suspenders'
s.add_dependency 'bundler', '>= 1.1' s.name = 'suspenders'
s.add_dependency 'hub', '~> 1.10.2' s.rdoc_options = ['--charset=UTF-8']

s.require_paths = ['lib']
s.add_development_dependency 'cucumber', '~> 1.1.9' s.summary = "Generate a Rails app using thoughtbot's best practices."
s.add_development_dependency 'aruba', '~> 0.4.11' s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.version = Suspenders::VERSION
end end

0 comments on commit d46626e

Please sign in to comment.