Skip to content
This repository was archived by the owner on May 7, 2018. It is now read-only.

Commit d46626e

Browse files
author
Dan Croak
committed
Clean up Gemfile and gemspec
* Use secure RubyGems.org URL. * Use semantic versioning on minor versions of dependencies. * Upgrade dependencies.
1 parent e1ff44b commit d46626e

File tree

3 files changed

+75
-89
lines changed

3 files changed

+75
-89
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
source "http://rubygems.org"
1+
source 'https://rubygems.org'
22

33
gemspec

Gemfile.lock

Lines changed: 56 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -2,71 +2,69 @@ PATH
22
remote: .
33
specs:
44
suspenders (1.2.2)
5-
bundler (>= 1.1)
6-
hub (~> 1.10.2)
7-
rails (= 3.2.12)
5+
bundler (~> 1.3)
6+
hub (~> 1.10)
7+
rails (= 3.2.13)
88

99
GEM
10-
remote: http://rubygems.org/
10+
remote: https://rubygems.org/
1111
specs:
12-
actionmailer (3.2.12)
13-
actionpack (= 3.2.12)
14-
mail (~> 2.4.4)
15-
actionpack (3.2.12)
16-
activemodel (= 3.2.12)
17-
activesupport (= 3.2.12)
12+
actionmailer (3.2.13)
13+
actionpack (= 3.2.13)
14+
mail (~> 2.5.3)
15+
actionpack (3.2.13)
16+
activemodel (= 3.2.13)
17+
activesupport (= 3.2.13)
1818
builder (~> 3.0.0)
1919
erubis (~> 2.7.0)
2020
journey (~> 1.0.4)
2121
rack (~> 1.4.5)
2222
rack-cache (~> 1.2)
2323
rack-test (~> 0.6.1)
2424
sprockets (~> 2.2.1)
25-
activemodel (3.2.12)
26-
activesupport (= 3.2.12)
25+
activemodel (3.2.13)
26+
activesupport (= 3.2.13)
2727
builder (~> 3.0.0)
28-
activerecord (3.2.12)
29-
activemodel (= 3.2.12)
30-
activesupport (= 3.2.12)
28+
activerecord (3.2.13)
29+
activemodel (= 3.2.13)
30+
activesupport (= 3.2.13)
3131
arel (~> 3.0.2)
3232
tzinfo (~> 0.3.29)
33-
activeresource (3.2.12)
34-
activemodel (= 3.2.12)
35-
activesupport (= 3.2.12)
36-
activesupport (3.2.12)
37-
i18n (~> 0.6)
33+
activeresource (3.2.13)
34+
activemodel (= 3.2.13)
35+
activesupport (= 3.2.13)
36+
activesupport (3.2.13)
37+
i18n (= 0.6.1)
3838
multi_json (~> 1.0)
3939
arel (3.0.2)
40-
aruba (0.4.11)
41-
childprocess (>= 0.2.3)
40+
aruba (0.5.1)
41+
childprocess (~> 0.3.6)
4242
cucumber (>= 1.1.1)
43-
ffi (>= 1.0.11)
44-
rspec (>= 2.7.0)
43+
rspec-expectations (>= 2.7.0)
4544
builder (3.0.4)
46-
childprocess (0.3.6)
47-
ffi (~> 1.0, >= 1.0.6)
48-
cucumber (1.1.9)
45+
childprocess (0.3.9)
46+
ffi (~> 1.0, >= 1.0.11)
47+
cucumber (1.2.3)
4948
builder (>= 2.1.2)
50-
diff-lcs (>= 1.1.2)
51-
gherkin (~> 2.9.0)
52-
json (>= 1.4.6)
53-
term-ansicolor (>= 1.0.6)
54-
diff-lcs (1.1.3)
49+
diff-lcs (>= 1.1.3)
50+
gherkin (~> 2.11.6)
51+
multi_json (~> 1.3)
52+
diff-lcs (1.2.2)
5553
erubis (2.7.0)
56-
ffi (1.3.1)
57-
gherkin (2.9.3)
58-
json (>= 1.4.6)
54+
ffi (1.6.0)
55+
gherkin (2.11.6)
56+
json (>= 1.7.6)
5957
hike (1.2.1)
60-
hub (1.10.4)
61-
i18n (0.6.4)
58+
hub (1.10.5)
59+
i18n (0.6.1)
6260
journey (1.0.4)
63-
json (1.7.6)
64-
mail (2.4.4)
61+
json (1.7.7)
62+
mail (2.5.3)
6563
i18n (>= 0.4.0)
6664
mime-types (~> 1.16)
6765
treetop (~> 1.4.8)
68-
mime-types (1.21)
69-
multi_json (1.7.0)
66+
mime-types (1.22)
67+
multi_json (1.7.2)
7068
polyglot (0.3.3)
7169
rack (1.4.5)
7270
rack-cache (1.2)
@@ -75,40 +73,33 @@ GEM
7573
rack
7674
rack-test (0.6.2)
7775
rack (>= 1.0)
78-
rails (3.2.12)
79-
actionmailer (= 3.2.12)
80-
actionpack (= 3.2.12)
81-
activerecord (= 3.2.12)
82-
activeresource (= 3.2.12)
83-
activesupport (= 3.2.12)
76+
rails (3.2.13)
77+
actionmailer (= 3.2.13)
78+
actionpack (= 3.2.13)
79+
activerecord (= 3.2.13)
80+
activeresource (= 3.2.13)
81+
activesupport (= 3.2.13)
8482
bundler (~> 1.0)
85-
railties (= 3.2.12)
86-
railties (3.2.12)
87-
actionpack (= 3.2.12)
88-
activesupport (= 3.2.12)
83+
railties (= 3.2.13)
84+
railties (3.2.13)
85+
actionpack (= 3.2.13)
86+
activesupport (= 3.2.13)
8987
rack-ssl (~> 1.3.2)
9088
rake (>= 0.8.7)
9189
rdoc (~> 3.4)
9290
thor (>= 0.14.6, < 2.0)
93-
rake (10.0.3)
91+
rake (10.0.4)
9492
rdoc (3.12.2)
9593
json (~> 1.4)
96-
rspec (2.12.0)
97-
rspec-core (~> 2.12.0)
98-
rspec-expectations (~> 2.12.0)
99-
rspec-mocks (~> 2.12.0)
100-
rspec-core (2.12.2)
101-
rspec-expectations (2.12.1)
102-
diff-lcs (~> 1.1.3)
103-
rspec-mocks (2.12.1)
94+
rspec-expectations (2.13.0)
95+
diff-lcs (>= 1.1.3, < 2.0)
10496
sprockets (2.2.2)
10597
hike (~> 1.2)
10698
multi_json (~> 1.0)
10799
rack (~> 1.0)
108100
tilt (~> 1.1, != 1.3.0)
109-
term-ansicolor (1.0.7)
110-
thor (0.17.0)
111-
tilt (1.3.5)
101+
thor (0.18.1)
102+
tilt (1.3.6)
112103
treetop (1.4.12)
113104
polyglot
114105
polyglot (>= 0.3.1)
@@ -118,6 +109,6 @@ PLATFORMS
118109
ruby
119110

120111
DEPENDENCIES
121-
aruba (~> 0.4.11)
122-
cucumber (~> 1.1.9)
112+
aruba (~> 0.5)
113+
cucumber (~> 1.2)
123114
suspenders!

suspenders.gemspec

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,32 @@
11
# -*- encoding: utf-8 -*-
2-
$:.push File.expand_path("../lib", __FILE__)
2+
$:.push File.expand_path('../lib', __FILE__)
33
require 'suspenders/version'
44
require 'date'
55

66
Gem::Specification.new do |s|
7-
s.name = 'suspenders'
8-
s.version = Suspenders::VERSION
9-
s.date = Date.today.strftime('%Y-%m-%d')
10-
s.authors = ['thoughtbot']
11-
s.email = '[email protected]'
12-
s.homepage = 'http://github.com/thoughtbot/suspenders'
7+
s.add_dependency 'bundler', '~> 1.3'
8+
s.add_dependency 'hub', '~> 1.10'
9+
s.add_dependency 'rails', '3.2.13'
10+
s.add_development_dependency 'aruba', '~> 0.5'
11+
s.add_development_dependency 'cucumber', '~> 1.2'
12+
s.authors = ['thoughtbot']
13+
s.date = Date.today.strftime('%Y-%m-%d')
1314

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

21-
s.files = `git ls-files`.split("\n").
22-
reject { |file| file =~ /^\./ }.
23-
reject { |file| file =~ /^(rdoc|pkg)/ }
24-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
25-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
26-
s.require_paths = ["lib"]
27-
28-
s.rdoc_options = ["--charset=UTF-8"]
21+
s.email = '[email protected]'
22+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
2923
s.extra_rdoc_files = %w[README.md LICENSE]
30-
31-
s.add_dependency 'rails', '3.2.12'
32-
s.add_dependency 'bundler', '>= 1.1'
33-
s.add_dependency 'hub', '~> 1.10.2'
34-
35-
s.add_development_dependency 'cucumber', '~> 1.1.9'
36-
s.add_development_dependency 'aruba', '~> 0.4.11'
24+
s.files = `git ls-files`.split("\n")
25+
s.homepage = 'http://github.com/thoughtbot/suspenders'
26+
s.name = 'suspenders'
27+
s.rdoc_options = ['--charset=UTF-8']
28+
s.require_paths = ['lib']
29+
s.summary = "Generate a Rails app using thoughtbot's best practices."
30+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
31+
s.version = Suspenders::VERSION
3732
end

0 commit comments

Comments
 (0)