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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b034a8be1dbae7beda25fc8ce6783f64a579a0c
4
- data.tar.gz: 6c8611364f342003296b67a9ce3aa9657d4188fa
3
+ metadata.gz: 06abd8f19f23737e76ffc640a3adefe3c29aebaa
4
+ data.tar.gz: 579dccf5f8ba036fe9a8c82d0cdd912cd8ca3027
5
5
  SHA512:
6
- metadata.gz: 723e13d75d8cbbbdd07235493ccb2dadd4c615cd741dedb43205ab4d426816c1c658a51b8c78cd05b9177d6496e0f73a08ed64c2fb98c2dbab0cf0daa2a03f53
7
- data.tar.gz: 7e707c8ff821a8970eecd74a0fb475eba4fd347e9af233964bce587c95ecf6b01cd267c88a47b0f991869f7bf1ac286184ca7a242a983d3a1074809cd4d999ba
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/application.rb', /:password/, ':password, :password_confirmation'
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
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.6.6"
2
+ VERSION = "2.6.7"
3
3
  end
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.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 00:00:00.000000000 Z
11
+ date: 2014-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n