suspenders 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/Gemfile.lock +71 -71
- data/NEWS.md +10 -0
- data/README.md +2 -1
- data/features/step_definitions/suspenders_steps.rb +5 -5
- data/lib/suspenders/actions.rb +1 -1
- data/lib/suspenders/app_builder.rb +27 -37
- data/lib/suspenders/generators/app_generator.rb +1 -7
- data/lib/suspenders/version.rb +1 -1
- data/suspenders.gemspec +2 -2
- data/templates/.DS_Store +0 -0
- data/templates/Gemfile_clean +4 -3
- data/templates/disable_xml_params.rb +1 -1
- data/templates/factories_spec.rb +6 -7
- data/templates/factories_spec_rake_task.rb +1 -1
- metadata +9 -9
- data/templates/email_validator.rb +0 -7
- data/templates/strong_parameters.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df50837963e79f73c87df3eed2f3f5e8603abb46
|
4
|
+
data.tar.gz: 1df6eca11374e14a55dfabc9799f42fb5a9f39da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d4c1c837459c6f96ba360f859d9097b7daeae0910deb9535ad3ca3945dc38fece989f86de52327437d547a5d2e1dae8eb38bcac3da5887ecfc2f38b4f363c65
|
7
|
+
data.tar.gz: d1b654c7f159935b2eaed3fdc3b3ba7b045d3fe866435862483fca11d89fe7e1ad5c81c28060ff13e5fac159d4bfc020e0e86f2c9c919004c60946179d7112bf
|
data/.DS_Store
ADDED
Binary file
|
data/Gemfile.lock
CHANGED
@@ -1,114 +1,114 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
suspenders (1.
|
4
|
+
suspenders (1.4.0)
|
5
5
|
bundler (~> 1.3)
|
6
6
|
hub (~> 1.10)
|
7
|
-
rails (=
|
7
|
+
rails (= 4.0.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actionmailer (
|
13
|
-
actionpack (=
|
12
|
+
actionmailer (4.0.0)
|
13
|
+
actionpack (= 4.0.0)
|
14
14
|
mail (~> 2.5.3)
|
15
|
-
actionpack (
|
16
|
-
|
17
|
-
|
18
|
-
builder (~> 3.0.0)
|
15
|
+
actionpack (4.0.0)
|
16
|
+
activesupport (= 4.0.0)
|
17
|
+
builder (~> 3.1.0)
|
19
18
|
erubis (~> 2.7.0)
|
20
|
-
|
21
|
-
rack (~>
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
aruba (0.5.1)
|
41
|
-
childprocess (~> 0.3.6)
|
19
|
+
rack (~> 1.5.2)
|
20
|
+
rack-test (~> 0.6.2)
|
21
|
+
activemodel (4.0.0)
|
22
|
+
activesupport (= 4.0.0)
|
23
|
+
builder (~> 3.1.0)
|
24
|
+
activerecord (4.0.0)
|
25
|
+
activemodel (= 4.0.0)
|
26
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
27
|
+
activesupport (= 4.0.0)
|
28
|
+
arel (~> 4.0.0)
|
29
|
+
activerecord-deprecated_finders (1.0.3)
|
30
|
+
activesupport (4.0.0)
|
31
|
+
i18n (~> 0.6, >= 0.6.4)
|
32
|
+
minitest (~> 4.2)
|
33
|
+
multi_json (~> 1.3)
|
34
|
+
thread_safe (~> 0.1)
|
35
|
+
tzinfo (~> 0.3.37)
|
36
|
+
arel (4.0.0)
|
37
|
+
aruba (0.5.3)
|
38
|
+
childprocess (>= 0.3.6)
|
42
39
|
cucumber (>= 1.1.1)
|
43
40
|
rspec-expectations (>= 2.7.0)
|
44
|
-
|
41
|
+
atomic (1.1.10)
|
42
|
+
builder (3.1.4)
|
45
43
|
childprocess (0.3.9)
|
46
44
|
ffi (~> 1.0, >= 1.0.11)
|
47
|
-
cucumber (1.
|
45
|
+
cucumber (1.3.3)
|
48
46
|
builder (>= 2.1.2)
|
49
47
|
diff-lcs (>= 1.1.3)
|
50
|
-
gherkin (~> 2.
|
51
|
-
multi_json (~> 1.
|
52
|
-
|
48
|
+
gherkin (~> 2.12.0)
|
49
|
+
multi_json (~> 1.7.5)
|
50
|
+
multi_test (~> 0.0.1)
|
51
|
+
diff-lcs (1.2.4)
|
53
52
|
erubis (2.7.0)
|
54
|
-
ffi (1.
|
55
|
-
|
56
|
-
|
57
|
-
|
53
|
+
ffi (1.9.0)
|
54
|
+
ffi (1.9.0-x86-mingw32)
|
55
|
+
gherkin (2.12.0)
|
56
|
+
multi_json (~> 1.3)
|
57
|
+
gherkin (2.12.0-x86-mingw32)
|
58
|
+
multi_json (~> 1.3)
|
59
|
+
hike (1.2.3)
|
58
60
|
hub (1.10.6)
|
59
|
-
i18n (0.6.
|
60
|
-
|
61
|
-
json (1.7.7)
|
62
|
-
mail (2.5.3)
|
63
|
-
i18n (>= 0.4.0)
|
61
|
+
i18n (0.6.4)
|
62
|
+
mail (2.5.4)
|
64
63
|
mime-types (~> 1.16)
|
65
64
|
treetop (~> 1.4.8)
|
66
65
|
mime-types (1.23)
|
67
|
-
|
66
|
+
minitest (4.7.5)
|
67
|
+
multi_json (1.7.7)
|
68
|
+
multi_test (0.0.1)
|
68
69
|
polyglot (0.3.3)
|
69
|
-
rack (1.
|
70
|
-
rack-cache (1.2)
|
71
|
-
rack (>= 0.4)
|
72
|
-
rack-ssl (1.3.3)
|
73
|
-
rack
|
70
|
+
rack (1.5.2)
|
74
71
|
rack-test (0.6.2)
|
75
72
|
rack (>= 1.0)
|
76
|
-
rails (
|
77
|
-
actionmailer (=
|
78
|
-
actionpack (=
|
79
|
-
activerecord (=
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
railties (
|
85
|
-
actionpack (=
|
86
|
-
activesupport (=
|
87
|
-
rack-ssl (~> 1.3.2)
|
73
|
+
rails (4.0.0)
|
74
|
+
actionmailer (= 4.0.0)
|
75
|
+
actionpack (= 4.0.0)
|
76
|
+
activerecord (= 4.0.0)
|
77
|
+
activesupport (= 4.0.0)
|
78
|
+
bundler (>= 1.3.0, < 2.0)
|
79
|
+
railties (= 4.0.0)
|
80
|
+
sprockets-rails (~> 2.0.0)
|
81
|
+
railties (4.0.0)
|
82
|
+
actionpack (= 4.0.0)
|
83
|
+
activesupport (= 4.0.0)
|
88
84
|
rake (>= 0.8.7)
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
rdoc (3.12.2)
|
93
|
-
json (~> 1.4)
|
94
|
-
rspec-expectations (2.13.0)
|
85
|
+
thor (>= 0.18.1, < 2.0)
|
86
|
+
rake (10.1.0)
|
87
|
+
rspec-expectations (2.14.0)
|
95
88
|
diff-lcs (>= 1.1.3, < 2.0)
|
96
|
-
sprockets (2.
|
89
|
+
sprockets (2.10.0)
|
97
90
|
hike (~> 1.2)
|
98
91
|
multi_json (~> 1.0)
|
99
92
|
rack (~> 1.0)
|
100
93
|
tilt (~> 1.1, != 1.3.0)
|
94
|
+
sprockets-rails (2.0.0)
|
95
|
+
actionpack (>= 3.0)
|
96
|
+
activesupport (>= 3.0)
|
97
|
+
sprockets (~> 2.8)
|
101
98
|
thor (0.18.1)
|
99
|
+
thread_safe (0.1.0)
|
100
|
+
atomic
|
102
101
|
tilt (1.4.1)
|
103
|
-
treetop (1.4.
|
102
|
+
treetop (1.4.14)
|
104
103
|
polyglot
|
105
104
|
polyglot (>= 0.3.1)
|
106
105
|
tzinfo (0.3.37)
|
107
106
|
|
108
107
|
PLATFORMS
|
109
108
|
ruby
|
109
|
+
x86-mingw32
|
110
110
|
|
111
111
|
DEPENDENCIES
|
112
|
-
aruba (~> 0.5)
|
112
|
+
aruba (~> 0.5.2)
|
113
113
|
cucumber (~> 1.2)
|
114
114
|
suspenders!
|
data/NEWS.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
1.4.0 (July 21, 2013)
|
2
|
+
|
3
|
+
* Support Rails 4.
|
4
|
+
* Support Ruby 2.
|
5
|
+
* Remove jQuery UI.
|
6
|
+
* Factories spec works for non-ActiveRecord objects.
|
7
|
+
* Use New Relic RPM gem >= 3.5.7 for Heroku request queue accuracy.
|
8
|
+
* Abort RSpec runs on first failure.
|
9
|
+
* Replace custom email validator with gem.
|
10
|
+
|
1
11
|
1.3.0 (May 13, 2013)
|
2
12
|
|
3
13
|
* Switch web server from Thin to Unicorn
|
data/README.md
CHANGED
@@ -15,7 +15,7 @@ Then run:
|
|
15
15
|
|
16
16
|
suspenders projectname
|
17
17
|
|
18
|
-
This will create a Rails
|
18
|
+
This will create a Rails 4.0 app in `projectname`. This script creates a
|
19
19
|
new git repository. It is not meant to be used against an existing repo.
|
20
20
|
|
21
21
|
Gemfile
|
@@ -30,6 +30,7 @@ It includes application gems like:
|
|
30
30
|
* [Airbrake](https://github.com/airbrake/airbrake) for exception notification
|
31
31
|
* [Bourbon](https://github.com/thoughtbot/bourbon) for Sass mixins
|
32
32
|
* [Simple Form](https://github.com/plataformatec/simple_form) for form markup and style
|
33
|
+
* [Email Validator](https://github.com/balexand/email_validator) for email validation
|
33
34
|
|
34
35
|
And testing gems like:
|
35
36
|
|
@@ -28,7 +28,7 @@ When 'I suspend a project called "$project_name"' do |project_name|
|
|
28
28
|
run_simple "#{suspenders_bin} #{project_name}"
|
29
29
|
end
|
30
30
|
|
31
|
-
When
|
31
|
+
When %r{I suspend a project called "([^"]*)" with:} do |project_name, arguments_table|
|
32
32
|
suspenders_bin = File.expand_path(File.join('..', '..', 'bin', 'suspenders'), File.dirname(__FILE__))
|
33
33
|
arguments = arguments_table.hashes.inject([]) do |accum, argument|
|
34
34
|
accum << "#{argument['argument']}=#{argument['value']}"
|
@@ -49,20 +49,20 @@ Then 'I can cleanly rake the project' do
|
|
49
49
|
}
|
50
50
|
end
|
51
51
|
|
52
|
-
Then
|
52
|
+
Then %r{"(.*)" should not be installed} do |gem_name|
|
53
53
|
in_current_dir do
|
54
54
|
system("bundle show #{gem_name} 2>&1 > /dev/null").should be_false
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
Then
|
58
|
+
Then %r{"(.*)" should not be included in "(.*)"} do |content, file_path|
|
59
59
|
check_file_content file_path, content, false
|
60
60
|
end
|
61
61
|
|
62
|
-
Then
|
62
|
+
Then %r{the "([^"]*)" Heroku app should exist} do |app_name|
|
63
63
|
FakeHeroku.should have_created_app(app_name)
|
64
64
|
end
|
65
65
|
|
66
|
-
Then
|
66
|
+
Then %r{the "([^"]*)" Github repo should exist} do |repo_name|
|
67
67
|
FakeGithub.should have_created_repo(repo_name)
|
68
68
|
end
|
data/lib/suspenders/actions.rb
CHANGED
@@ -15,7 +15,7 @@ module Suspenders
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def action_mailer_host(rails_env, host)
|
18
|
-
host_config = "config.action_mailer.
|
18
|
+
host_config = "config.action_mailer.default_url_options = { host: '#{host}' }"
|
19
19
|
configure_environment(rails_env, host_config)
|
20
20
|
end
|
21
21
|
|
@@ -29,6 +29,23 @@ module Suspenders
|
|
29
29
|
run 'chmod a+x bin/setup'
|
30
30
|
end
|
31
31
|
|
32
|
+
def configure_generators
|
33
|
+
config = <<-RUBY
|
34
|
+
config.generators do |generate|
|
35
|
+
generate.helper false
|
36
|
+
generate.javascript_engine false
|
37
|
+
generate.request_specs false
|
38
|
+
generate.routing_specs false
|
39
|
+
generate.stylesheets false
|
40
|
+
generate.test_framework :rspec
|
41
|
+
generate.view_specs false
|
42
|
+
end
|
43
|
+
|
44
|
+
RUBY
|
45
|
+
|
46
|
+
inject_into_class 'config/application.rb', 'Application', config
|
47
|
+
end
|
48
|
+
|
32
49
|
def enable_factory_girl_syntax
|
33
50
|
copy_file 'factory_girl_syntax_rspec.rb', 'spec/support/factory_girl.rb'
|
34
51
|
end
|
@@ -89,11 +106,6 @@ module Suspenders
|
|
89
106
|
directory 'javascripts', 'app/assets/javascripts'
|
90
107
|
end
|
91
108
|
|
92
|
-
def add_jquery_ui
|
93
|
-
inject_into_file 'app/assets/javascripts/application.js',
|
94
|
-
"//= require jquery-ui\n", :before => '//= require_tree .'
|
95
|
-
end
|
96
|
-
|
97
109
|
def use_postgres_config_template
|
98
110
|
template 'postgresql_database.yml.erb', 'config/database.yml',
|
99
111
|
:force => true
|
@@ -130,27 +142,18 @@ module Suspenders
|
|
130
142
|
'# config.mock_with :mocha',
|
131
143
|
'config.mock_with :mocha'
|
132
144
|
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
c.syntax = :expect
|
145
|
+
config = <<-RUBY
|
146
|
+
config.expect_with :rspec do |expect|
|
147
|
+
expect.syntax = :expect
|
137
148
|
end
|
138
|
-
RUBY
|
139
149
|
|
140
|
-
|
141
|
-
config.generators do |generate|
|
142
|
-
generate.test_framework :rspec
|
143
|
-
generate.helper false
|
144
|
-
generate.stylesheets false
|
145
|
-
generate.javascript_engine false
|
146
|
-
generate.view_specs false
|
147
|
-
end
|
150
|
+
config.fail_fast = true
|
148
151
|
|
149
152
|
RUBY
|
150
153
|
|
151
|
-
inject_into_file 'spec/spec_helper.rb',
|
154
|
+
inject_into_file 'spec/spec_helper.rb',
|
155
|
+
config,
|
152
156
|
:after => 'RSpec.configure do |config|'
|
153
|
-
inject_into_class 'config/application.rb', 'Application', config
|
154
157
|
end
|
155
158
|
|
156
159
|
def configure_background_jobs_for_rspec
|
@@ -158,16 +161,6 @@ module Suspenders
|
|
158
161
|
run 'rails g delayed_job:active_record'
|
159
162
|
end
|
160
163
|
|
161
|
-
def blacklist_active_record_attributes
|
162
|
-
replace_in_file 'config/application.rb',
|
163
|
-
'config.active_record.whitelist_attributes = true',
|
164
|
-
'config.active_record.whitelist_attributes = false'
|
165
|
-
end
|
166
|
-
|
167
|
-
def configure_strong_parameters
|
168
|
-
copy_file 'strong_parameters.rb', 'config/initializers/strong_parameters.rb'
|
169
|
-
end
|
170
|
-
|
171
164
|
def configure_time_zone
|
172
165
|
config = <<-RUBY
|
173
166
|
config.active_record.default_timezone = :utc
|
@@ -198,7 +191,7 @@ module Suspenders
|
|
198
191
|
|
199
192
|
def configure_capybara_webkit
|
200
193
|
append_file 'spec/spec_helper.rb' do
|
201
|
-
"\nCapybara.javascript_driver = :webkit"
|
194
|
+
"\nCapybara.javascript_driver = :webkit\n"
|
202
195
|
end
|
203
196
|
end
|
204
197
|
|
@@ -241,7 +234,8 @@ module Suspenders
|
|
241
234
|
'spec/support/mixins',
|
242
235
|
'spec/support/shared_examples'
|
243
236
|
].each do |dir|
|
244
|
-
|
237
|
+
run "mkdir #{dir}"
|
238
|
+
run "touch #{dir}/.gitkeep"
|
245
239
|
end
|
246
240
|
end
|
247
241
|
|
@@ -287,17 +281,13 @@ module Suspenders
|
|
287
281
|
"Application.routes.draw do\nend"
|
288
282
|
end
|
289
283
|
|
290
|
-
def add_email_validator
|
291
|
-
copy_file 'email_validator.rb', 'app/validators/email_validator.rb'
|
292
|
-
end
|
293
|
-
|
294
284
|
def disable_xml_params
|
295
285
|
copy_file 'disable_xml_params.rb', 'config/initializers/disable_xml_params.rb'
|
296
286
|
end
|
297
287
|
|
298
288
|
def setup_default_rake_task
|
299
289
|
append_file 'Rakefile' do
|
300
|
-
"task(:default).clear\ntask :default => [:spec]"
|
290
|
+
"task(:default).clear\ntask :default => [:spec]\n"
|
301
291
|
end
|
302
292
|
end
|
303
293
|
|
@@ -30,7 +30,6 @@ module Suspenders
|
|
30
30
|
invoke :setup_staging_environment
|
31
31
|
invoke :create_suspenders_views
|
32
32
|
invoke :create_common_javascripts
|
33
|
-
invoke :add_jquery_ui
|
34
33
|
invoke :configure_app
|
35
34
|
invoke :setup_stylesheets
|
36
35
|
invoke :copy_miscellaneous_files
|
@@ -68,6 +67,7 @@ module Suspenders
|
|
68
67
|
build :raise_on_delivery_errors
|
69
68
|
build :raise_on_unpermitted_parameters
|
70
69
|
build :provide_setup_script
|
70
|
+
build :configure_generators
|
71
71
|
end
|
72
72
|
|
73
73
|
def setup_test_environment
|
@@ -106,11 +106,6 @@ module Suspenders
|
|
106
106
|
build :create_common_javascripts
|
107
107
|
end
|
108
108
|
|
109
|
-
def add_jquery_ui
|
110
|
-
say 'Add jQuery ui to the standard application.js'
|
111
|
-
build :add_jquery_ui
|
112
|
-
end
|
113
|
-
|
114
109
|
def configure_app
|
115
110
|
say 'Configuring app'
|
116
111
|
build :configure_action_mailer
|
@@ -120,7 +115,6 @@ module Suspenders
|
|
120
115
|
build :configure_time_formats
|
121
116
|
build :configure_rack_timeout
|
122
117
|
build :disable_xml_params
|
123
|
-
build :add_email_validator
|
124
118
|
build :setup_default_rake_task
|
125
119
|
build :configure_unicorn
|
126
120
|
build :setup_foreman
|
data/lib/suspenders/version.rb
CHANGED
data/suspenders.gemspec
CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.required_ruby_version = '>= 1.9.2'
|
8
8
|
s.add_dependency 'bundler', '~> 1.3'
|
9
9
|
s.add_dependency 'hub', '~> 1.10'
|
10
|
-
s.add_dependency 'rails', '
|
11
|
-
s.add_development_dependency 'aruba', '~> 0.5'
|
10
|
+
s.add_dependency 'rails', '4.0.0'
|
11
|
+
s.add_development_dependency 'aruba', '~> 0.5.2'
|
12
12
|
s.add_development_dependency 'cucumber', '~> 1.2'
|
13
13
|
s.authors = ['thoughtbot']
|
14
14
|
s.date = Date.today.strftime('%Y-%m-%d')
|
data/templates/.DS_Store
ADDED
Binary file
|
data/templates/Gemfile_clean
CHANGED
@@ -3,15 +3,15 @@ source 'https://rubygems.org'
|
|
3
3
|
gem 'airbrake'
|
4
4
|
gem 'bourbon'
|
5
5
|
gem 'delayed_job_active_record', '>= 4.0.0.beta2'
|
6
|
+
gem 'email_validator'
|
6
7
|
gem 'flutie'
|
7
8
|
gem 'high_voltage'
|
8
9
|
gem 'jquery-rails'
|
9
10
|
gem 'pg'
|
10
11
|
gem 'rack-timeout'
|
11
|
-
gem 'rails', '>=
|
12
|
+
gem 'rails', '>= 4.0.0'
|
12
13
|
gem 'recipient_interceptor'
|
13
14
|
gem 'simple_form'
|
14
|
-
gem 'strong_parameters'
|
15
15
|
gem 'unicorn'
|
16
16
|
|
17
17
|
group :assets do
|
@@ -43,5 +43,6 @@ group :test do
|
|
43
43
|
end
|
44
44
|
|
45
45
|
group :staging, :production do
|
46
|
-
gem 'newrelic_rpm'
|
46
|
+
gem 'newrelic_rpm', '>= 3.5.7'
|
47
|
+
gem 'rails_12factor'
|
47
48
|
end
|
data/templates/factories_spec.rb
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
FactoryGirl.factories.map(&:name).each do |factory_name|
|
4
|
+
describe "factory #{factory_name}" do
|
5
|
+
it 'is valid' do
|
6
|
+
factory = build(factory_name)
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
expect(is_valid).to be_true, subject.errors.full_messages.join(',')
|
8
|
+
if factory.respond_to?(:valid?)
|
9
|
+
expect(factory).to be_valid, factory.errors.full_messages.join(',')
|
11
10
|
end
|
12
11
|
end
|
13
12
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: suspenders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thoughtbot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 4.0.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 4.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: aruba
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.5.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
|
-
version:
|
68
|
+
version: 0.5.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: cucumber
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,6 +92,7 @@ extra_rdoc_files:
|
|
92
92
|
- README.md
|
93
93
|
- LICENSE
|
94
94
|
files:
|
95
|
+
- .DS_Store
|
95
96
|
- .gitignore
|
96
97
|
- .travis.yml
|
97
98
|
- CONTRIBUTING.md
|
@@ -116,6 +117,7 @@ files:
|
|
116
117
|
- lib/suspenders/generators/app_generator.rb
|
117
118
|
- lib/suspenders/version.rb
|
118
119
|
- suspenders.gemspec
|
120
|
+
- templates/.DS_Store
|
119
121
|
- templates/Gemfile_clean
|
120
122
|
- templates/Procfile
|
121
123
|
- templates/README.md.erb
|
@@ -126,7 +128,6 @@ files:
|
|
126
128
|
- templates/config_locales_en.yml
|
127
129
|
- templates/database_cleaner_rspec.rb
|
128
130
|
- templates/disable_xml_params.rb
|
129
|
-
- templates/email_validator.rb
|
130
131
|
- templates/errors.rb
|
131
132
|
- templates/factories_spec.rb
|
132
133
|
- templates/factories_spec_rake_task.rb
|
@@ -139,7 +140,6 @@ files:
|
|
139
140
|
- templates/sample.env
|
140
141
|
- templates/simplecov_init.rb
|
141
142
|
- templates/smtp.rb
|
142
|
-
- templates/strong_parameters.rb
|
143
143
|
- templates/suspenders_gitignore
|
144
144
|
- templates/suspenders_layout.html.erb.erb
|
145
145
|
- templates/unicorn.rb
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
version: '0'
|
164
164
|
requirements: []
|
165
165
|
rubyforge_project:
|
166
|
-
rubygems_version: 2.0.
|
166
|
+
rubygems_version: 2.0.5
|
167
167
|
signing_key:
|
168
168
|
specification_version: 4
|
169
169
|
summary: Generate a Rails app using thoughtbot's best practices.
|
@@ -1 +0,0 @@
|
|
1
|
-
ActiveRecord::Base.send :include, ActiveModel::ForbiddenAttributesProtection
|