rails_apps_composer 3.0.20 → 3.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/recipes/deployment.rb +2 -20
- 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: e87b273551541f1a7e0a666eaead895a1f89038a
|
|
4
|
+
data.tar.gz: b0048c2e6855f180761899cc8efe59420eec8469
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6e65ec89d6a8fc19cdf9b6b845cf69c0aeaa4473073d7facadee1891b4b478ccc0cc12b91681a889b43a77c33363e230e1fcf131d96ae84b1ed0a026f90be455
|
|
7
|
+
data.tar.gz: b7a7eba695def6dfc981a9017cdd9b321d15ef4fc37dbdbf7deed0f1d9d19b8544ea5e4bd920288dcc98150617fd2180179f284c76697ea80de1563d121ab91a
|
data/recipes/deployment.rb
CHANGED
|
@@ -90,12 +90,12 @@ TEXT
|
|
|
90
90
|
append_file 'app.json' do <<-TEXT
|
|
91
91
|
"OMNIAUTH_PROVIDER_KEY": {
|
|
92
92
|
"description": "Credentials from Twitter, Facebook, or another provider.",
|
|
93
|
-
"value": "
|
|
93
|
+
"value": "some_long_key",
|
|
94
94
|
"required": false
|
|
95
95
|
},
|
|
96
96
|
"OMNIAUTH_PROVIDER_SECRET": {
|
|
97
97
|
"description": "Credentials from Twitter, Facebook, or another provider.",
|
|
98
|
-
"value": "
|
|
98
|
+
"value": "some_long_key",
|
|
99
99
|
"required": false
|
|
100
100
|
},
|
|
101
101
|
TEXT
|
|
@@ -118,16 +118,6 @@ TEXT
|
|
|
118
118
|
"value": "myapp.herokuapp.com",
|
|
119
119
|
"required": false
|
|
120
120
|
},
|
|
121
|
-
TEXT
|
|
122
|
-
end
|
|
123
|
-
end
|
|
124
|
-
if prefer :apps4, 'learn-rails'
|
|
125
|
-
append_file 'app.json' do <<-TEXT
|
|
126
|
-
"OWNER_EMAIL": {
|
|
127
|
-
"description": "Destination for messages sent from the application's contact form.",
|
|
128
|
-
"value": "user@example.com",
|
|
129
|
-
"required": false
|
|
130
|
-
},
|
|
131
121
|
TEXT
|
|
132
122
|
end
|
|
133
123
|
end
|
|
@@ -152,14 +142,6 @@ TEXT
|
|
|
152
142
|
gsub_file 'app.json', /"scripts": {/,
|
|
153
143
|
"\"scripts\": {\"postdeploy\": \"bundle exec rake db:migrate; bundle exec rake db:seed\""
|
|
154
144
|
end
|
|
155
|
-
gsub_file 'config/database.yml', /production:.*$\n.*$\n.*$/, ""
|
|
156
|
-
append_file 'config/database.yml' do <<-TEXT
|
|
157
|
-
production:
|
|
158
|
-
<<: *default
|
|
159
|
-
adapter: postgresql
|
|
160
|
-
encoding: unicode
|
|
161
|
-
TEXT
|
|
162
|
-
end
|
|
163
145
|
end
|
|
164
146
|
end
|
|
165
147
|
|
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: 3.0.
|
|
4
|
+
version: 3.0.21
|
|
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-09-
|
|
11
|
+
date: 2014-09-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: i18n
|