rails_apps_composer 3.0.39 → 3.0.40
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/recipes/extras.rb +2 -1
- data/recipes/setup.rb +31 -3
- 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: 05ea252e6285a4b93a90df88f062b703bc5e1c6d
|
4
|
+
data.tar.gz: d9bf1912d97aa9bcd87a94860ff9672bc54f4eef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 923ae875c67b2fb9154c0299bc9adfbbe669fa69b4580ff0144dbea6c95eefa5570f426a409bf01917e0b163ae8828213b53a260c8f559c7cecbe45f2c53af85
|
7
|
+
data.tar.gz: d47f2c55c09468a0f636335a08b3892683a4be9b2b592d47b0f471aedaf6ee7371b8f1f00271d6cc38650d0f6c8202476d7f8e0dab3af4c57e7ae012906a567c
|
data/recipes/extras.rb
CHANGED
@@ -186,9 +186,10 @@ stage_three do
|
|
186
186
|
gsub_file 'Gemfile', /.*gem 'haml2slim'\n/, "\n"
|
187
187
|
gsub_file 'Gemfile', /.*gem 'html2haml'\n/, "\n"
|
188
188
|
end
|
189
|
-
# remove gems used to assist rails_apps_composer
|
189
|
+
# remove gems and files used to assist rails_apps_composer
|
190
190
|
gsub_file 'Gemfile', /.*gem 'rails_apps_pages'\n/, ''
|
191
191
|
gsub_file 'Gemfile', /.*gem 'rails_apps_testing'\n/, ''
|
192
|
+
remove_file 'config/railscomposer.yml'
|
192
193
|
# remove commented lines and multiple blank lines from Gemfile
|
193
194
|
# thanks to https://github.com/perfectline/template-bucket/blob/master/cleanup.rb
|
194
195
|
gsub_file 'Gemfile', /#.*\n/, "\n"
|
data/recipes/setup.rb
CHANGED
@@ -89,9 +89,37 @@ if recipes.include? 'pages'
|
|
89
89
|
["Home, About, and Users", "about+users"]] unless prefs.has_key? :pages
|
90
90
|
end
|
91
91
|
|
92
|
-
# save
|
93
|
-
create_file
|
94
|
-
|
92
|
+
# save configuration before anything can fail
|
93
|
+
create_file 'config/railscomposer.yml', "# This application was generated with Rails Composer\n\n"
|
94
|
+
append_to_file 'config/railscomposer.yml' do <<-TEXT
|
95
|
+
apps4: [#{prefs[:apps4]}]
|
96
|
+
announcements: [#{prefs[:announcements]}]
|
97
|
+
dev_webserver: [#{prefs[:dev_webserver]}]
|
98
|
+
prod_webserver: [#{prefs[:prod_webserver]}]
|
99
|
+
database: [#{prefs[:database]}]
|
100
|
+
templates: [#{prefs[:templates]}]
|
101
|
+
tests: [#{prefs[:tests]}]
|
102
|
+
continuous_testing: [#{prefs[:continuous_testing]}]
|
103
|
+
frontend: [#{prefs[:frontend]}]
|
104
|
+
email: [#{prefs[:email]}]
|
105
|
+
authentication: [#{prefs[:authentication]}]
|
106
|
+
devise_modules: [#{prefs[:devise_modules]}]
|
107
|
+
omniauth_provider: [#{prefs[:omniauth_provider]}]
|
108
|
+
authorization: [#{prefs[:authorization]}]
|
109
|
+
form_builder: [#{prefs[:form_builder]}]
|
110
|
+
pages: [#{prefs[:pages]}]
|
111
|
+
locale: [#{prefs[:locale]}]
|
112
|
+
analytics: [#{prefs[:analytics]}]
|
113
|
+
deployment: [#{prefs[:deployment]}]
|
114
|
+
ban_spiders: [#{prefs[:ban_spiders]}]
|
115
|
+
github: [#{prefs[:github]}]
|
116
|
+
local_env_file: [#{prefs[:local_env_file]}]
|
117
|
+
quiet_assets: [#{prefs[:quiet_assets]}]
|
118
|
+
better_errors: [#{prefs[:better_errors]}]
|
119
|
+
pry: [#{prefs[:pry]}]
|
120
|
+
rvmrc: [#{prefs[:rvmrc]}]
|
121
|
+
TEXT
|
122
|
+
end
|
95
123
|
|
96
124
|
__END__
|
97
125
|
|
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.40
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Kehoe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|