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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1274040800eca9c4611aa99eb1ee788e7b84ecdf
4
- data.tar.gz: 105c6c05549a3f6af606f3368115c4e36c89d665
3
+ metadata.gz: 05ea252e6285a4b93a90df88f062b703bc5e1c6d
4
+ data.tar.gz: d9bf1912d97aa9bcd87a94860ff9672bc54f4eef
5
5
  SHA512:
6
- metadata.gz: 2f590e149d38f5423bd7900fd12e29ba0ebe05aff4bfa5b363887d4ac049148a9c02dcdf0360c631fc6e4a79da8ec671e1e6aca1faf908a2bb56163dbc7f96d4
7
- data.tar.gz: acc618928d0c4ab7ac2c8cf1c407d94f984cf51ae87a1ef82ed4e950a79f7f60c2cbcf4ccba01b097c237bd010e04b42be7328a159556cb9c71cc3b75b508459
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 diagnostics before anything can fail
93
- create_file "README", "RECIPES\n#{recipes.sort.inspect}\n"
94
- append_file "README", "PREFERENCES\n#{prefs.inspect}"
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
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "3.0.39"
2
+ VERSION = "3.0.40"
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: 3.0.39
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-04-28 00:00:00.000000000 Z
11
+ date: 2015-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n