rails_apps_composer 2.6.6 → 2.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/recipes/init.rb +1 -0
- data/recipes/models.rb +1 -1
- data/recipes/rails_signup_download.rb +5 -0
- 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: 06abd8f19f23737e76ffc640a3adefe3c29aebaa
|
4
|
+
data.tar.gz: 579dccf5f8ba036fe9a8c82d0cdd912cd8ca3027
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9546e7843a2e00a31d42be548719f15d2be1daab61b8000f6ba821712dc2ac6969102fd85b45f56baafed6bbc988296e34cf094f67e39aeee4128b8a3da53d44
|
7
|
+
data.tar.gz: 708bde887d226ef0877a2b76a9887561fad1e47a6f8f9fb609ec6f58f7db261c380dfe3cd1255354e955b0c8c21d770a23cd9ddd30e08e3d468d12f7fa0b0852
|
data/recipes/init.rb
CHANGED
@@ -53,6 +53,7 @@ after_everything do
|
|
53
53
|
inject_into_file 'config/secrets.yml', "\n" + secrets_p_devise, :after => "production:" if rails_4_1?
|
54
54
|
append_file '.env', foreman_devise if prefer :local_env_file, 'foreman'
|
55
55
|
append_file 'config/application.yml', figaro_devise if prefer :local_env_file, 'figaro'
|
56
|
+
gsub_file 'config/initializers/devise.rb', /'please-change-me-at-config-initializers-devise@example.com'/, "'no-reply@' + Rails.application.secrets.domain_name"
|
56
57
|
end
|
57
58
|
## OMNIAUTH
|
58
59
|
if prefer :authentication, 'omniauth'
|
data/recipes/models.rb
CHANGED
@@ -6,7 +6,7 @@ after_bundler do
|
|
6
6
|
### DEVISE ###
|
7
7
|
if prefer :authentication, 'devise'
|
8
8
|
# prevent logging of password_confirmation
|
9
|
-
gsub_file 'config/
|
9
|
+
gsub_file 'config/initializers/filter_parameter_logging.rb', /:password/, ':password, :password_confirmation'
|
10
10
|
generate 'devise:install'
|
11
11
|
generate 'devise_invitable:install' if prefer :devise_modules, 'invitable'
|
12
12
|
generate 'devise user' # create the User model
|
@@ -31,6 +31,11 @@ if prefer :apps4, 'rails-signup-download'
|
|
31
31
|
|
32
32
|
copy_from_repo 'config/routes.rb', :repo => repo
|
33
33
|
|
34
|
+
# >-------------------------------[ Tests ]--------------------------------<
|
35
|
+
|
36
|
+
copy_from_repo 'spec/features/users/product_acquisition_spec.rb', :repo => repo
|
37
|
+
copy_from_repo 'spec/controllers/products_controller_spec.rb', :repo => repo
|
38
|
+
|
34
39
|
end
|
35
40
|
end
|
36
41
|
|
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.7
|
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-05-
|
11
|
+
date: 2014-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|