rails_apps_composer 3.0.25 → 3.0.26

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75ed3cdc97f67165f6ac200f0efd77b506df6794
4
- data.tar.gz: dafad0746c3ab07b6e1df134a83796f5fddd7850
3
+ metadata.gz: 13a179cc11a49a3059ce2070a531cc8f78a02ee8
4
+ data.tar.gz: e2fb21f687afc8cd887e14045e132db20cdbb77f
5
5
  SHA512:
6
- metadata.gz: 09bfbd1122d1cee8b90d199b32e54a682b8f6de784101c88ffeb7301d2b3fd8dc7586cb92bf43e3be39d256b127038a403de932e502de4a44cda0aa68cba5031
7
- data.tar.gz: ff599debc13bc16043e1f0d8260ead1ae1d0d9b43b42d80f84c1269ea2f99017e13433aecfc25de492c5c0897a8f81e3adfc60aa67ae14d4722978c6bd789f3d
6
+ metadata.gz: 4827d743fdce0bad700087f00b64be83d020b3dfbdbc577bba7025de3b9c24b62733a504982b023303e7608acfc21b8ce551ae685dc13e3bd2ee53e50a17e692
7
+ data.tar.gz: 194343acdf370c9f8245a7c8372963ae520fe1a678bbca2469f4c8f9603a6f82b61554d8f015fd35c97360f3afe219f92371c6aaae25c91945f57583f21c7938
@@ -19,7 +19,7 @@ requires: [git, railsapps,
19
19
  rails_devise_roles,
20
20
  rails_devise_pundit,
21
21
  rails_signup_download,
22
- rails_mailinglist_signup,
22
+ rails_mailinglist_activejob,
23
23
  setup, locale, readme, gems,
24
24
  tests,
25
25
  email,
@@ -1,7 +1,7 @@
1
1
  # Application template recipe for the rails_apps_composer. Change the recipe here:
2
- # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/rails_mailinglist_signup.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/rails_mailinglist_activejob.rb
3
3
 
4
- if prefer :apps4, 'rails-mailinglist-signup'
4
+ if prefer :apps4, 'rails-mailinglist-activejob'
5
5
  prefs[:authentication] = false
6
6
  prefs[:authorization] = false
7
7
  prefs[:dashboard] = 'none'
@@ -12,11 +12,12 @@ if prefer :apps4, 'rails-mailinglist-signup'
12
12
  prefs[:pry] = false
13
13
  prefs[:quiet_assets] = true
14
14
  prefs[:secrets] = ['mailchimp_list_id', 'mailchimp_api_key']
15
- prefs[:pages] = 'none'
15
+ prefs[:pages] = 'about'
16
16
  prefs[:locale] = 'none'
17
17
 
18
18
  # gems
19
19
  add_gem 'gibbon'
20
+ add_gem 'high_voltage'
20
21
  add_gem 'sucker_punch'
21
22
 
22
23
  stage_two do
@@ -26,7 +27,7 @@ if prefer :apps4, 'rails-mailinglist-signup'
26
27
 
27
28
  stage_three do
28
29
  say_wizard "recipe stage three"
29
- repo = 'https://raw.github.com/RailsApps/rails-mailinglist-signup/master/'
30
+ repo = 'https://raw.github.com/RailsApps/rails-mailinglist-activejob/master/'
30
31
 
31
32
  # >-------------------------------[ Config ]---------------------------------<
32
33
 
@@ -46,10 +47,12 @@ if prefer :apps4, 'rails-mailinglist-signup'
46
47
 
47
48
  # >-------------------------------[ Views ]--------------------------------<
48
49
 
50
+ remove_file 'app/views/visitors/index.html.erb'
49
51
  copy_from_repo 'app/views/visitors/new.html.erb', :repo => repo
50
52
 
51
53
  # >-------------------------------[ Routes ]-------------------------------<
52
54
 
55
+ gsub_file 'config/routes.rb', / root to: 'visitors#index'\n/, ''
53
56
  inject_into_file 'config/routes.rb', " root to: 'visitors#new'\n", :after => "routes.draw do\n"
54
57
  route = ' resources :visitors, only: [:new, :create]'
55
58
  inject_into_file 'config/routes.rb', route + "\n", :after => "routes.draw do\n"
@@ -63,8 +66,8 @@ end
63
66
 
64
67
  __END__
65
68
 
66
- name: rails_mailinglist_signup
67
- description: "rails_mailinglist_signup starter application"
69
+ name: rails_mailinglist_activejob
70
+ description: "rails_mailinglist_activejob starter application"
68
71
  author: RailsApps
69
72
 
70
73
  requires: [core]
@@ -29,7 +29,7 @@ when "4"
29
29
  [["learn-rails", "learn-rails"],
30
30
  ["rails-bootstrap", "rails-bootstrap"],
31
31
  ["rails-foundation", "rails-foundation"],
32
- ["rails-mailinglist-signup", "rails-mailinglist-signup"],
32
+ ["rails-mailinglist-activejob", "rails-mailinglist-activejob"],
33
33
  ["rails-omniauth", "rails-omniauth"],
34
34
  ["rails-devise", "rails-devise"],
35
35
  ["rails-devise-roles", "rails-devise-roles"],
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "3.0.25"
2
+ VERSION = "3.0.26"
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.25
4
+ version: 3.0.26
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-10-18 00:00:00.000000000 Z
11
+ date: 2014-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -140,7 +140,7 @@ files:
140
140
  - recipes/rails_devise_pundit.rb
141
141
  - recipes/rails_devise_roles.rb
142
142
  - recipes/rails_foundation.rb
143
- - recipes/rails_mailinglist_signup.rb
143
+ - recipes/rails_mailinglist_activejob.rb
144
144
  - recipes/rails_omniauth.rb
145
145
  - recipes/rails_signup_download.rb
146
146
  - recipes/railsapps.rb