rails_apps_composer 3.1.23 → 3.1.24
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 +5 -5
- data/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4120bda3f8a5cfc6d3e9a767538e58a78f972b8
|
4
|
+
data.tar.gz: 0a46cd79d4a6ccab482506fa92435151af8d6139
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d051b902569d869207cf451229e2acbf191e4945ba22bd278bde2d0e736139cb7cea8cc81df6bf0be9c98d4009d6a16d76d0874fb42b11d4f72e9e2a0fc3263
|
7
|
+
data.tar.gz: 04f69cb6f1b9ad5e5ec55cb03306164b1bfcdd9b839c563e9cb1a50e330397176935f27cd915b07ac2ccc97f949249d60728210cbee7c3c8f04311fd4d660521
|
data/recipes/init.rb
CHANGED
@@ -8,7 +8,7 @@ stage_three do
|
|
8
8
|
env_var = " #{secret}: <%= ENV[\"#{secret.upcase}\"] %>"
|
9
9
|
inject_into_file 'config/secrets.yml', "\n" + env_var, :after => "development:"
|
10
10
|
### 'inject_into_file' doesn't let us inject the same text twice unless we append the extra space, why?
|
11
|
-
inject_into_file 'config/secrets.yml', "\n" + env_var + " ", :after => "production:"
|
11
|
+
inject_into_file 'config/secrets.yml', "\n" + env_var + " ", :after => "\n" + "production:"
|
12
12
|
end
|
13
13
|
end
|
14
14
|
case prefs[:email]
|
@@ -36,11 +36,11 @@ stage_three do
|
|
36
36
|
figaro_omniauth = foreman_omniauth.gsub('=', ': ')
|
37
37
|
## EMAIL
|
38
38
|
inject_into_file 'config/secrets.yml', "\n" + " domain_name: example.com", :after => "development:"
|
39
|
-
inject_into_file 'config/secrets.yml', "\n" + " domain_name: <%= ENV[\"DOMAIN_NAME\"] %>", :after => "production:"
|
39
|
+
inject_into_file 'config/secrets.yml', "\n" + " domain_name: <%= ENV[\"DOMAIN_NAME\"] %>", :after => "\n" + "production:"
|
40
40
|
inject_into_file 'config/secrets.yml', "\n" + secrets_email, :after => "development:"
|
41
41
|
unless prefer :email, 'none'
|
42
42
|
### 'inject_into_file' doesn't let us inject the same text twice unless we append the extra space, why?
|
43
|
-
inject_into_file 'config/secrets.yml', "\n" + secrets_email + " ", :after => "production:"
|
43
|
+
inject_into_file 'config/secrets.yml', "\n" + secrets_email + " ", :after => "\n" + "production:"
|
44
44
|
append_file '.env', foreman_email if prefer :local_env_file, 'foreman'
|
45
45
|
append_file 'config/application.yml', figaro_email if prefer :local_env_file, 'figaro'
|
46
46
|
end
|
@@ -48,7 +48,7 @@ stage_three do
|
|
48
48
|
if prefer :authentication, 'devise'
|
49
49
|
inject_into_file 'config/secrets.yml', "\n" + ' domain_name: example.com' + " ", :after => "test:"
|
50
50
|
inject_into_file 'config/secrets.yml', "\n" + secrets_d_devise, :after => "development:"
|
51
|
-
inject_into_file 'config/secrets.yml', "\n" + secrets_p_devise, :after => "production:"
|
51
|
+
inject_into_file 'config/secrets.yml', "\n" + secrets_p_devise, :after => "\n" + "production:"
|
52
52
|
append_file '.env', foreman_devise if prefer :local_env_file, 'foreman'
|
53
53
|
append_file 'config/application.yml', figaro_devise if prefer :local_env_file, 'figaro'
|
54
54
|
gsub_file 'config/initializers/devise.rb', /'please-change-me-at-config-initializers-devise@example.com'/, "'no-reply@' + Rails.application.secrets.domain_name"
|
@@ -57,7 +57,7 @@ stage_three do
|
|
57
57
|
if prefer :authentication, 'omniauth'
|
58
58
|
inject_into_file 'config/secrets.yml', "\n" + secrets_omniauth, :after => "development:"
|
59
59
|
### 'inject_into_file' doesn't let us inject the same text twice unless we append the extra space, why?
|
60
|
-
inject_into_file 'config/secrets.yml', "\n" + secrets_omniauth + " ", :after => "production:"
|
60
|
+
inject_into_file 'config/secrets.yml', "\n" + secrets_omniauth + " ", :after => "\n" + "production:"
|
61
61
|
append_file '.env', foreman_omniauth if prefer :local_env_file, 'foreman'
|
62
62
|
append_file 'config/application.yml', figaro_omniauth if prefer :local_env_file, 'figaro'
|
63
63
|
end
|
data/version.rb
CHANGED