rails_apps_composer 2.6.10 → 2.6.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/recipes/gems.rb +1 -1
- data/recipes/models.rb +4 -2
- data/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a02d44765ad3f2d19da76384ff4549b9190d3eb4
|
4
|
+
data.tar.gz: be76a0667bfe3d99d18a47cdb1dfcf555b27e69a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7f75ed5c7b7812d8c25df789251ec133028421a81fdceaf7b38dac5e78381464de7894b2ca98fb30052ac564045fbf1a4d22a7d5157917b949faa366eb822f5
|
7
|
+
data.tar.gz: caf3a6f58b5cd6bb9af20554f3dea3d240b863bd93e6af00a71fb886a1fd30e1bb131167f8af2f3e40a13c842820d37baa5d4af78db0ad9fb8647267f5b3fe3b
|
data/recipes/gems.rb
CHANGED
@@ -69,7 +69,7 @@ end
|
|
69
69
|
if rails_4_1?
|
70
70
|
if prefer :tests, 'rspec'
|
71
71
|
add_gem 'rails_apps_testing', :group => :development
|
72
|
-
add_gem 'rspec-rails',
|
72
|
+
add_gem 'rspec-rails', :group => [:development, :test]
|
73
73
|
add_gem 'factory_girl_rails', :group => [:development, :test]
|
74
74
|
add_gem 'faker', :group => :test
|
75
75
|
add_gem 'capybara', :group => :test
|
data/recipes/models.rb
CHANGED
@@ -5,8 +5,10 @@ after_bundler do
|
|
5
5
|
say_wizard "recipe running after 'bundle install'"
|
6
6
|
### DEVISE ###
|
7
7
|
if prefer :authentication, 'devise'
|
8
|
-
|
9
|
-
|
8
|
+
if rails_4_1?
|
9
|
+
# prevent logging of password_confirmation
|
10
|
+
gsub_file 'config/initializers/filter_parameter_logging.rb', /:password/, ':password, :password_confirmation'
|
11
|
+
end
|
10
12
|
generate 'devise:install'
|
11
13
|
generate 'devise_invitable:install' if prefer :devise_modules, 'invitable'
|
12
14
|
generate 'devise user' # create the User model
|
data/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_apps_composer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Kehoe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|