suspenders 1.8.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/Gemfile.lock +28 -28
- data/NEWS.md +11 -0
- data/README.md +3 -1
- data/lib/suspenders/app_builder.rb +24 -14
- data/lib/suspenders/generators/app_generator.rb +16 -0
- data/lib/suspenders/version.rb +1 -1
- data/spec/features/new_project_spec.rb +2 -2
- data/suspenders.gemspec +1 -1
- data/templates/{Gemfile_clean → Gemfile.erb} +5 -4
- data/templates/bin_setup +2 -2
- data/templates/development_seeds.rb +13 -0
- data/templates/i18n.rb +3 -0
- data/templates/ruby-version.erb +1 -0
- data/templates/spec_helper.rb +0 -1
- data/templates/travis.yml.erb +13 -0
- metadata +25 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c45cb5e9730cce1b2b1ca6dba0241da4ac8ec645
|
|
4
|
+
data.tar.gz: 166fed6505055e5c9fde429b2d1cf9506645aecf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d22cdcbce92e3cd22446ee39c7dbcb888a831ddadb7d75e0c414459428a9ab0e2c0698c33cc97821988006e86ac0acaee460f8cc56a385baba4cf29013dfb5f7
|
|
7
|
+
data.tar.gz: fa642db68f21266f693a533c2aeaceaaa5ffc0b9d62685a94a6e24f35ee0274b0d9416e3057e249f3b224bbcf6b3065fb154319e043a70156d82c3f99d1674c1
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
suspenders (1.
|
|
4
|
+
suspenders (1.9.0)
|
|
5
5
|
bundler (~> 1.3)
|
|
6
|
-
rails (= 4.0.
|
|
6
|
+
rails (= 4.0.3)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
actionmailer (4.0.
|
|
12
|
-
actionpack (= 4.0.
|
|
13
|
-
mail (~> 2.5.
|
|
14
|
-
actionpack (4.0.
|
|
15
|
-
activesupport (= 4.0.
|
|
11
|
+
actionmailer (4.0.3)
|
|
12
|
+
actionpack (= 4.0.3)
|
|
13
|
+
mail (~> 2.5.4)
|
|
14
|
+
actionpack (4.0.3)
|
|
15
|
+
activesupport (= 4.0.3)
|
|
16
16
|
builder (~> 3.1.0)
|
|
17
17
|
erubis (~> 2.7.0)
|
|
18
18
|
rack (~> 1.5.2)
|
|
19
19
|
rack-test (~> 0.6.2)
|
|
20
|
-
activemodel (4.0.
|
|
21
|
-
activesupport (= 4.0.
|
|
20
|
+
activemodel (4.0.3)
|
|
21
|
+
activesupport (= 4.0.3)
|
|
22
22
|
builder (~> 3.1.0)
|
|
23
|
-
activerecord (4.0.
|
|
24
|
-
activemodel (= 4.0.
|
|
23
|
+
activerecord (4.0.3)
|
|
24
|
+
activemodel (= 4.0.3)
|
|
25
25
|
activerecord-deprecated_finders (~> 1.0.2)
|
|
26
|
-
activesupport (= 4.0.
|
|
26
|
+
activesupport (= 4.0.3)
|
|
27
27
|
arel (~> 4.0.0)
|
|
28
28
|
activerecord-deprecated_finders (1.0.3)
|
|
29
|
-
activesupport (4.0.
|
|
29
|
+
activesupport (4.0.3)
|
|
30
30
|
i18n (~> 0.6, >= 0.6.4)
|
|
31
31
|
minitest (~> 4.2)
|
|
32
32
|
multi_json (~> 1.3)
|
|
@@ -37,7 +37,7 @@ GEM
|
|
|
37
37
|
childprocess (>= 0.3.6)
|
|
38
38
|
cucumber (>= 1.1.1)
|
|
39
39
|
rspec-expectations (>= 2.7.0)
|
|
40
|
-
atomic (1.1.
|
|
40
|
+
atomic (1.1.16)
|
|
41
41
|
builder (3.1.4)
|
|
42
42
|
capybara (2.2.0)
|
|
43
43
|
mime-types (>= 1.16)
|
|
@@ -69,7 +69,7 @@ GEM
|
|
|
69
69
|
mime-types (1.25.1)
|
|
70
70
|
mini_portile (0.5.2)
|
|
71
71
|
minitest (4.7.5)
|
|
72
|
-
multi_json (1.7.
|
|
72
|
+
multi_json (1.7.9)
|
|
73
73
|
multi_test (0.0.1)
|
|
74
74
|
nokogiri (1.6.1)
|
|
75
75
|
mini_portile (~> 0.5.0)
|
|
@@ -79,17 +79,17 @@ GEM
|
|
|
79
79
|
rack (1.5.2)
|
|
80
80
|
rack-test (0.6.2)
|
|
81
81
|
rack (>= 1.0)
|
|
82
|
-
rails (4.0.
|
|
83
|
-
actionmailer (= 4.0.
|
|
84
|
-
actionpack (= 4.0.
|
|
85
|
-
activerecord (= 4.0.
|
|
86
|
-
activesupport (= 4.0.
|
|
82
|
+
rails (4.0.3)
|
|
83
|
+
actionmailer (= 4.0.3)
|
|
84
|
+
actionpack (= 4.0.3)
|
|
85
|
+
activerecord (= 4.0.3)
|
|
86
|
+
activesupport (= 4.0.3)
|
|
87
87
|
bundler (>= 1.3.0, < 2.0)
|
|
88
|
-
railties (= 4.0.
|
|
88
|
+
railties (= 4.0.3)
|
|
89
89
|
sprockets-rails (~> 2.0.0)
|
|
90
|
-
railties (4.0.
|
|
91
|
-
actionpack (= 4.0.
|
|
92
|
-
activesupport (= 4.0.
|
|
90
|
+
railties (4.0.3)
|
|
91
|
+
actionpack (= 4.0.3)
|
|
92
|
+
activesupport (= 4.0.3)
|
|
93
93
|
rake (>= 0.8.7)
|
|
94
94
|
thor (>= 0.18.1, < 2.0)
|
|
95
95
|
rake (10.1.1)
|
|
@@ -101,7 +101,7 @@ GEM
|
|
|
101
101
|
rspec-expectations (2.14.0)
|
|
102
102
|
diff-lcs (>= 1.1.3, < 2.0)
|
|
103
103
|
rspec-mocks (2.14.4)
|
|
104
|
-
sprockets (2.
|
|
104
|
+
sprockets (2.12.0)
|
|
105
105
|
hike (~> 1.2)
|
|
106
106
|
multi_json (~> 1.0)
|
|
107
107
|
rack (~> 1.0)
|
|
@@ -111,13 +111,13 @@ GEM
|
|
|
111
111
|
activesupport (>= 3.0)
|
|
112
112
|
sprockets (~> 2.8)
|
|
113
113
|
thor (0.18.1)
|
|
114
|
-
thread_safe (0.1
|
|
115
|
-
atomic
|
|
114
|
+
thread_safe (0.3.1)
|
|
115
|
+
atomic (>= 1.1.7, < 2)
|
|
116
116
|
tilt (1.4.1)
|
|
117
117
|
treetop (1.4.15)
|
|
118
118
|
polyglot
|
|
119
119
|
polyglot (>= 0.3.1)
|
|
120
|
-
tzinfo (0.3.
|
|
120
|
+
tzinfo (0.3.39)
|
|
121
121
|
xpath (2.0.0)
|
|
122
122
|
nokogiri (~> 1.3)
|
|
123
123
|
|
data/NEWS.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
1.9.0 (March 24, 2014)
|
|
2
|
+
|
|
3
|
+
* Add `awesome_print` gem.
|
|
4
|
+
* Add `dev:prime` task placeholder for bootstrapping local dev data.
|
|
5
|
+
* Add fix for I18n deprecation warning from `enforce_available_locales`.
|
|
6
|
+
* Add generated `.travis.yml`.
|
|
7
|
+
* Remove `better_errors` because of issues with Unicorn.
|
|
8
|
+
* Remove fast-failing for RSpec; respect user's `~/.rspec` instead.
|
|
9
|
+
* Update New Relic agent.
|
|
10
|
+
* Update Rails to 4.0.3.
|
|
11
|
+
|
|
1
12
|
1.8.1 (February 19, 2014)
|
|
2
13
|
|
|
3
14
|
* Don't distribute rspec binstub with gem.
|
data/README.md
CHANGED
|
@@ -24,7 +24,7 @@ Gemfile
|
|
|
24
24
|
-------
|
|
25
25
|
|
|
26
26
|
To see the latest and greatest gems, look at Suspenders'
|
|
27
|
-
[
|
|
27
|
+
[Gemfile](templates/Gemfile.erb),
|
|
28
28
|
which will be appended to the default generated projectname/Gemfile.
|
|
29
29
|
|
|
30
30
|
It includes application gems like:
|
|
@@ -88,12 +88,14 @@ Suspenders also comes with:
|
|
|
88
88
|
* [Fast-failing factories][fast]
|
|
89
89
|
* A [low database connection pool limit][pool]
|
|
90
90
|
* [Safe binstubs][binstub]
|
|
91
|
+
* [t() and l() in specs without prefixing with I18n][i18n]
|
|
91
92
|
|
|
92
93
|
[bin]: http://robots.thoughtbot.com/bin-setup
|
|
93
94
|
[compress]: http://robots.thoughtbot.com/content-compression-with-rack-deflater/
|
|
94
95
|
[fast]: http://robots.thoughtbot.com/testing-your-factories-first
|
|
95
96
|
[pool]: https://devcenter.heroku.com/articles/concurrency-and-database-connections
|
|
96
97
|
[binstub]: https://github.com/thoughtbot/suspenders/pull/282
|
|
98
|
+
[i18n]: https://github.com/thoughtbot/suspenders/pull/304
|
|
97
99
|
|
|
98
100
|
Suspenders fixes several of Rails' [insecure defaults]:
|
|
99
101
|
|
|
@@ -30,6 +30,10 @@ module Suspenders
|
|
|
30
30
|
run 'chmod a+x bin/setup'
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
+
def provide_dev_prime_task
|
|
34
|
+
copy_file 'development_seeds.rb', 'lib/tasks/development_seeds.rake'
|
|
35
|
+
end
|
|
36
|
+
|
|
33
37
|
def configure_generators
|
|
34
38
|
config = <<-RUBY
|
|
35
39
|
config.generators do |generate|
|
|
@@ -118,7 +122,7 @@ end
|
|
|
118
122
|
def create_application_layout
|
|
119
123
|
template 'suspenders_layout.html.erb.erb',
|
|
120
124
|
'app/views/layouts/application.html.erb',
|
|
121
|
-
:
|
|
125
|
+
force: true
|
|
122
126
|
end
|
|
123
127
|
|
|
124
128
|
def remove_turbolinks
|
|
@@ -129,7 +133,7 @@ end
|
|
|
129
133
|
|
|
130
134
|
def use_postgres_config_template
|
|
131
135
|
template 'postgresql_database.yml.erb', 'config/database.yml',
|
|
132
|
-
:
|
|
136
|
+
force: true
|
|
133
137
|
end
|
|
134
138
|
|
|
135
139
|
def create_database
|
|
@@ -138,13 +142,11 @@ end
|
|
|
138
142
|
|
|
139
143
|
def replace_gemfile
|
|
140
144
|
remove_file 'Gemfile'
|
|
141
|
-
|
|
145
|
+
template 'Gemfile.erb', 'Gemfile'
|
|
142
146
|
end
|
|
143
147
|
|
|
144
148
|
def set_ruby_to_version_being_used
|
|
145
|
-
|
|
146
|
-
after: /source 'https:\/\/rubygems.org'/
|
|
147
|
-
create_file '.ruby-version', "#{RUBY_VERSION}#{patchlevel}\n"
|
|
149
|
+
template 'ruby-version.erb', '.ruby-version'
|
|
148
150
|
end
|
|
149
151
|
|
|
150
152
|
def setup_heroku_specific_gems
|
|
@@ -166,6 +168,14 @@ end
|
|
|
166
168
|
copy_file 'spec_helper.rb', 'spec/spec_helper.rb'
|
|
167
169
|
end
|
|
168
170
|
|
|
171
|
+
def configure_travis
|
|
172
|
+
template 'travis.yml.erb', '.travis.yml'
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
def configure_i18n_in_specs
|
|
176
|
+
copy_file 'i18n.rb', 'spec/support/i18n.rb'
|
|
177
|
+
end
|
|
178
|
+
|
|
169
179
|
def use_spring_binstubs
|
|
170
180
|
run 'bundle exec spring binstub --all'
|
|
171
181
|
end
|
|
@@ -199,6 +209,14 @@ end
|
|
|
199
209
|
action_mailer_host 'production', "#{app_name}.com"
|
|
200
210
|
end
|
|
201
211
|
|
|
212
|
+
def fix_i18n_deprecation_warning
|
|
213
|
+
config = <<-RUBY
|
|
214
|
+
config.i18n.enforce_available_locales = true
|
|
215
|
+
|
|
216
|
+
RUBY
|
|
217
|
+
inject_into_class 'config/application.rb', 'Application', config
|
|
218
|
+
end
|
|
219
|
+
|
|
202
220
|
def generate_rspec
|
|
203
221
|
generate 'rspec:install'
|
|
204
222
|
end
|
|
@@ -316,13 +334,5 @@ git remote add production git@heroku.com:#{app_name}-production.git
|
|
|
316
334
|
def generate_secret
|
|
317
335
|
SecureRandom.hex(64)
|
|
318
336
|
end
|
|
319
|
-
|
|
320
|
-
def patchlevel
|
|
321
|
-
if RUBY_PATCHLEVEL == 0 && RUBY_VERSION >= '2.1.0'
|
|
322
|
-
''
|
|
323
|
-
else
|
|
324
|
-
"-p#{RUBY_PATCHLEVEL}"
|
|
325
|
-
end
|
|
326
|
-
end
|
|
327
337
|
end
|
|
328
338
|
end
|
|
@@ -67,6 +67,7 @@ module Suspenders
|
|
|
67
67
|
build :raise_on_delivery_errors
|
|
68
68
|
build :raise_on_unpermitted_parameters
|
|
69
69
|
build :provide_setup_script
|
|
70
|
+
build :provide_dev_prime_task
|
|
70
71
|
build :configure_generators
|
|
71
72
|
end
|
|
72
73
|
|
|
@@ -80,6 +81,8 @@ module Suspenders
|
|
|
80
81
|
build :configure_background_jobs_for_rspec
|
|
81
82
|
build :enable_database_cleaner
|
|
82
83
|
build :configure_spec_support_features
|
|
84
|
+
build :configure_travis
|
|
85
|
+
build :configure_i18n_in_specs
|
|
83
86
|
end
|
|
84
87
|
|
|
85
88
|
def setup_production_environment
|
|
@@ -118,6 +121,7 @@ module Suspenders
|
|
|
118
121
|
build :configure_time_formats
|
|
119
122
|
build :configure_rack_timeout
|
|
120
123
|
build :disable_xml_params
|
|
124
|
+
build :fix_i18n_deprecation_warning
|
|
121
125
|
build :setup_default_rake_task
|
|
122
126
|
build :configure_unicorn
|
|
123
127
|
build :setup_foreman
|
|
@@ -183,6 +187,10 @@ module Suspenders
|
|
|
183
187
|
# Let's not: We'll bundle manually at the right spot
|
|
184
188
|
end
|
|
185
189
|
|
|
190
|
+
def ruby_version_with_patch_level
|
|
191
|
+
"#{RUBY_VERSION}#{patch_level}"
|
|
192
|
+
end
|
|
193
|
+
|
|
186
194
|
protected
|
|
187
195
|
|
|
188
196
|
def get_builder_class
|
|
@@ -192,5 +200,13 @@ module Suspenders
|
|
|
192
200
|
def using_active_record?
|
|
193
201
|
!options[:skip_active_record]
|
|
194
202
|
end
|
|
203
|
+
|
|
204
|
+
def patch_level
|
|
205
|
+
if RUBY_PATCHLEVEL == 0 && RUBY_VERSION >= '2.1.0'
|
|
206
|
+
''
|
|
207
|
+
else
|
|
208
|
+
"-p#{RUBY_PATCHLEVEL}"
|
|
209
|
+
end
|
|
210
|
+
end
|
|
195
211
|
end
|
|
196
212
|
end
|
data/lib/suspenders/version.rb
CHANGED
|
@@ -21,11 +21,11 @@ feature 'Suspend a new project with default configuration' do
|
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
if RUBY_PATCHLEVEL == 0 && RUBY_VERSION >= '2.1.0'
|
|
24
|
-
scenario '.ruby-version does not include patchlevel for Ruby 2.1.0' do
|
|
24
|
+
scenario '.ruby-version does not include patchlevel for Ruby 2.1.0+' do
|
|
25
25
|
run_suspenders
|
|
26
26
|
|
|
27
27
|
ruby_version_file = IO.read("#{project_path}/.ruby-version")
|
|
28
|
-
expect(ruby_version_file).to eq "
|
|
28
|
+
expect(ruby_version_file).to eq "#{RUBY_VERSION}\n"
|
|
29
29
|
end
|
|
30
30
|
else
|
|
31
31
|
scenario '.ruby-version includes patchlevel for all pre-Ruby 2.1.0 versions' do
|
data/suspenders.gemspec
CHANGED
|
@@ -6,7 +6,7 @@ require 'date'
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.required_ruby_version = '>= 1.9.2'
|
|
8
8
|
s.add_dependency 'bundler', '~> 1.3'
|
|
9
|
-
s.add_dependency 'rails', '4.0.
|
|
9
|
+
s.add_dependency 'rails', '4.0.3'
|
|
10
10
|
s.add_development_dependency 'aruba', '~> 0.5.2'
|
|
11
11
|
s.add_development_dependency 'cucumber', '~> 1.2'
|
|
12
12
|
s.authors = ['thoughtbot']
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
source 'https://rubygems.org'
|
|
2
2
|
|
|
3
|
+
ruby '<%= RUBY_VERSION %>'
|
|
4
|
+
|
|
3
5
|
gem 'airbrake'
|
|
4
6
|
gem 'bourbon'
|
|
5
7
|
gem 'coffee-rails'
|
|
@@ -11,7 +13,7 @@ gem 'jquery-rails'
|
|
|
11
13
|
gem 'neat'
|
|
12
14
|
gem 'pg'
|
|
13
15
|
gem 'rack-timeout'
|
|
14
|
-
gem 'rails', '>= 4.0.
|
|
16
|
+
gem 'rails', '>= 4.0.3'
|
|
15
17
|
gem 'recipient_interceptor'
|
|
16
18
|
gem 'sass-rails'
|
|
17
19
|
gem 'simple_form'
|
|
@@ -20,14 +22,13 @@ gem 'uglifier'
|
|
|
20
22
|
gem 'unicorn'
|
|
21
23
|
|
|
22
24
|
group :development do
|
|
23
|
-
gem 'better_errors'
|
|
24
|
-
gem 'binding_of_caller'
|
|
25
25
|
gem 'foreman'
|
|
26
26
|
gem 'spring'
|
|
27
27
|
gem 'spring-commands-rspec'
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
group :development, :test do
|
|
31
|
+
gem 'awesome_print'
|
|
31
32
|
gem 'dotenv-rails'
|
|
32
33
|
gem 'factory_girl_rails'
|
|
33
34
|
gem 'pry-rails'
|
|
@@ -45,5 +46,5 @@ group :test do
|
|
|
45
46
|
end
|
|
46
47
|
|
|
47
48
|
group :staging, :production do
|
|
48
|
-
gem 'newrelic_rpm', '>= 3.
|
|
49
|
+
gem 'newrelic_rpm', '>= 3.7.3'
|
|
49
50
|
end
|
data/templates/bin_setup
CHANGED
|
@@ -9,8 +9,8 @@ set -e
|
|
|
9
9
|
# Set up Ruby dependencies via Bundler
|
|
10
10
|
bundle install
|
|
11
11
|
|
|
12
|
-
# Set up
|
|
13
|
-
bundle exec rake
|
|
12
|
+
# Set up database and add any development seed data
|
|
13
|
+
bundle exec rake dev:prime
|
|
14
14
|
|
|
15
15
|
# Add binstubs to PATH via export PATH=".git/safe/../../bin:$PATH" in ~/.zshenv
|
|
16
16
|
mkdir -p .git/safe
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
if Rails.env.development?
|
|
2
|
+
require 'factory_girl'
|
|
3
|
+
|
|
4
|
+
namespace :dev do
|
|
5
|
+
desc 'Seed data for development environment'
|
|
6
|
+
task prime: 'db:setup' do
|
|
7
|
+
FactoryGirl.find_definitions
|
|
8
|
+
include FactoryGirl::Syntax::Methods
|
|
9
|
+
|
|
10
|
+
# create(:user, email: 'user@example.com', password: 'password')
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
data/templates/i18n.rb
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<%= ruby_version_with_patch_level %>
|
data/templates/spec_helper.rb
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
before_script:
|
|
2
|
+
- cp .sample.env .env
|
|
3
|
+
branches:
|
|
4
|
+
only:
|
|
5
|
+
- master
|
|
6
|
+
cache: bundler
|
|
7
|
+
language: ruby
|
|
8
|
+
notifications:
|
|
9
|
+
campfire:
|
|
10
|
+
on_success: change
|
|
11
|
+
on_failure: always
|
|
12
|
+
template: '%{repository_name} build #%{build_number} on %{branch} by %{author} finished: %{message}: %{build_url}'
|
|
13
|
+
rvm: ruby-<%= ruby_version_with_patch_level %>
|
metadata
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: suspenders
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- thoughtbot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-03-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ~>
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.3'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ~>
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '1.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
@@ -30,68 +30,68 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - '='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 4.0.
|
|
33
|
+
version: 4.0.3
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - '='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 4.0.
|
|
40
|
+
version: 4.0.3
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: aruba
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - ~>
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: 0.5.2
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - ~>
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: 0.5.2
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: cucumber
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- -
|
|
59
|
+
- - ~>
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '1.2'
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- -
|
|
66
|
+
- - ~>
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '1.2'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: rspec
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- -
|
|
73
|
+
- - '>='
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '0'
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- -
|
|
80
|
+
- - '>='
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: capybara
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- -
|
|
87
|
+
- - '>='
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
89
|
version: '0'
|
|
90
90
|
type: :development
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- -
|
|
94
|
+
- - '>='
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '0'
|
|
97
97
|
description: |
|
|
@@ -106,8 +106,8 @@ extra_rdoc_files:
|
|
|
106
106
|
- README.md
|
|
107
107
|
- LICENSE
|
|
108
108
|
files:
|
|
109
|
-
-
|
|
110
|
-
-
|
|
109
|
+
- .gitignore
|
|
110
|
+
- .travis.yml
|
|
111
111
|
- CONTRIBUTING.md
|
|
112
112
|
- Gemfile
|
|
113
113
|
- Gemfile.lock
|
|
@@ -132,7 +132,7 @@ files:
|
|
|
132
132
|
- spec/support/fake_heroku.rb
|
|
133
133
|
- spec/support/suspenders.rb
|
|
134
134
|
- suspenders.gemspec
|
|
135
|
-
- templates/
|
|
135
|
+
- templates/Gemfile.erb
|
|
136
136
|
- templates/Procfile
|
|
137
137
|
- templates/README.md.erb
|
|
138
138
|
- templates/_flashes.html.erb
|
|
@@ -142,13 +142,16 @@ files:
|
|
|
142
142
|
- templates/bin_setup
|
|
143
143
|
- templates/config_locales_en.yml
|
|
144
144
|
- templates/database_cleaner_rspec.rb
|
|
145
|
+
- templates/development_seeds.rb
|
|
145
146
|
- templates/disable_xml_params.rb
|
|
146
147
|
- templates/errors.rb
|
|
147
148
|
- templates/factories_spec.rb
|
|
148
149
|
- templates/factories_spec_rake_task.rb
|
|
149
150
|
- templates/factory_girl_syntax_rspec.rb
|
|
151
|
+
- templates/i18n.rb
|
|
150
152
|
- templates/postgresql_database.yml.erb
|
|
151
153
|
- templates/rack_timeout.rb
|
|
154
|
+
- templates/ruby-version.erb
|
|
152
155
|
- templates/sample.env
|
|
153
156
|
- templates/secret_token.rb
|
|
154
157
|
- templates/smtp.rb
|
|
@@ -156,6 +159,7 @@ files:
|
|
|
156
159
|
- templates/staging.rb
|
|
157
160
|
- templates/suspenders_gitignore
|
|
158
161
|
- templates/suspenders_layout.html.erb.erb
|
|
162
|
+
- templates/travis.yml.erb
|
|
159
163
|
- templates/unicorn.rb
|
|
160
164
|
homepage: http://github.com/thoughtbot/suspenders
|
|
161
165
|
licenses:
|
|
@@ -163,22 +167,22 @@ licenses:
|
|
|
163
167
|
metadata: {}
|
|
164
168
|
post_install_message:
|
|
165
169
|
rdoc_options:
|
|
166
|
-
-
|
|
170
|
+
- --charset=UTF-8
|
|
167
171
|
require_paths:
|
|
168
172
|
- lib
|
|
169
173
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
170
174
|
requirements:
|
|
171
|
-
- -
|
|
175
|
+
- - '>='
|
|
172
176
|
- !ruby/object:Gem::Version
|
|
173
177
|
version: 1.9.2
|
|
174
178
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
179
|
requirements:
|
|
176
|
-
- -
|
|
180
|
+
- - '>='
|
|
177
181
|
- !ruby/object:Gem::Version
|
|
178
182
|
version: '0'
|
|
179
183
|
requirements: []
|
|
180
184
|
rubyforge_project:
|
|
181
|
-
rubygems_version: 2.
|
|
185
|
+
rubygems_version: 2.1.10
|
|
182
186
|
signing_key:
|
|
183
187
|
specification_version: 4
|
|
184
188
|
summary: Generate a Rails app using thoughtbot's best practices.
|