rails_apps_composer 3.1.34 → 3.1.35

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
  SHA256:
3
- metadata.gz: 783e4213e479f8e918cd0fee5fdb5caa3282c91842295e2900a9da33edfadab2
4
- data.tar.gz: 04475c9e7a134fdee2e8929cc72a2629635cc4af00428ee93d025650a56794dd
3
+ metadata.gz: 988b1eda6b2f140df21c6d55eb14f18625fb5a2eb46cd5117cbfa30fd82dd79b
4
+ data.tar.gz: 15d9f76c56f7915c970de39f25550d666e28b870d4bf1249a6b144ca42015ea8
5
5
  SHA512:
6
- metadata.gz: 43837d7c5288b6106952a4933d9c942bfae9c89d9cc0d1463d1f8594e3fb5f8a635c2622693942f3ff1feb4c8f806fbcbee5ac07faec9b7a3ce0f9a72c040fe7
7
- data.tar.gz: 4923277fa1f5b5c26349a7a8b8470f06576a7918db53b1a36389e7dc505ad43dbd94e422beb5587636798a359d2a5925198a227672640e818d02a2a00d15759d
6
+ metadata.gz: 11c358a393977f107520907a75aff3394b04ec16e48121a856984fd6737a0164a1bf7d5ec901842d701dd9bc53de6de1339f2b8c59f77eb28d6a4770fc1d700d
7
+ data.tar.gz: 55fefbed73578aacb5699b5dda8d1c24821e194e178c6d02fa4889165abec2357a2eaf8eb20e463361dc271975061ba8d4e1d8e3316612f683157bab675c29be
@@ -68,14 +68,18 @@ if prefs[:disable_turbolinks]
68
68
  stage_two do
69
69
  say_wizard "recipe stage two"
70
70
  gsub_file 'Gemfile', /gem 'turbolinks'\n/, ''
71
+ gsub_file 'Gemfile', /gem 'turbolinks', '~> 5'\n/, ''
71
72
  gsub_file 'app/assets/javascripts/application.js', "//= require turbolinks\n", ''
72
73
  case prefs[:templates]
73
74
  when 'erb'
74
75
  gsub_file 'app/views/layouts/application.html.erb', /, 'data-turbolinks-track' => true/, ''
76
+ gsub_file 'app/views/layouts/application.html.erb', /, 'data-turbolinks-track' => 'reload'/, ''
75
77
  when 'haml'
76
78
  gsub_file 'app/views/layouts/application.html.haml', /, 'data-turbolinks-track' => true/, ''
79
+ gsub_file 'app/views/layouts/application.html.haml', /, 'data-turbolinks-track' => 'reload'/, ''
77
80
  when 'slim'
78
81
  gsub_file 'app/views/layouts/application.html.slim', /, 'data-turbolinks-track' => true/, ''
82
+ gsub_file 'app/views/layouts/application.html.slim', /, 'data-turbolinks-track' => 'reload'/, ''
79
83
  end
80
84
  end
81
85
  end
@@ -20,30 +20,21 @@ if prefer :apps4, 'rails-signup-thankyou'
20
20
  prefs[:local_env_file] = false
21
21
  prefs[:prod_webserver] = 'same'
22
22
  prefs[:pry] = false
23
- prefs[:secrets] = ['mailchimp_list_id', 'mailchimp_api_key']
24
23
  prefs[:pages] = 'about+users'
25
24
  prefs[:templates] = 'erb'
26
25
  prefs[:tests] = 'none'
27
26
  prefs[:locale] = 'none'
28
27
  prefs[:analytics] = 'none'
29
28
  prefs[:rubocop] = false
30
- prefs[:disable_turbolinks] = false
29
+ prefs[:disable_turbolinks] = true
31
30
  prefs[:rvmrc] = true
32
31
  prefs[:form_builder] = false
33
32
  prefs[:jquery] = 'gem'
34
33
 
35
- # gems
36
- add_gem 'gibbon'
37
- add_gem 'sucker_punch'
38
-
39
34
  stage_three do
40
35
  say_wizard "recipe stage three"
41
36
  repo = 'https://raw.github.com/RailsApps/rails-signup-thankyou/master/'
42
37
 
43
- # >-------------------------------[ Config ]---------------------------------<
44
-
45
- copy_from_repo 'config/initializers/active_job.rb', :repo => repo
46
-
47
38
  # >-------------------------------[ Models ]--------------------------------<
48
39
 
49
40
  copy_from_repo 'app/models/user.rb', :repo => repo
@@ -55,10 +46,6 @@ if prefer :apps4, 'rails-signup-thankyou'
55
46
  copy_from_repo 'app/controllers/products_controller.rb', :repo => repo
56
47
  copy_from_repo 'app/controllers/thank_you_controller.rb', :repo => repo
57
48
 
58
- # >-------------------------------[ Jobs ]---------------------------------<
59
-
60
- copy_from_repo 'app/jobs/mailing_list_signup_job.rb', :repo => repo
61
-
62
49
  # >-------------------------------[ Views ]--------------------------------<
63
50
 
64
51
  copy_from_repo 'app/views/visitors/index.html.erb', :repo => repo
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "3.1.34"
2
+ VERSION = "3.1.35"
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.1.34
4
+ version: 3.1.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kehoe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-14 00:00:00.000000000 Z
11
+ date: 2018-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n