rails_apps_composer 3.1.0 → 3.1.1

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: bf78c37dfa3c7d4ba9e1f68e7e793e86e664b94b
4
- data.tar.gz: 037e41e8e5bd732009228ee3fdd10ea09d5fc6fd
3
+ metadata.gz: 5837faae2ef8d9335161c68cca474b29b3db7bbd
4
+ data.tar.gz: 6921dcca0f2781f9e16b47758b679a2a4aa24566
5
5
  SHA512:
6
- metadata.gz: 70111e1f1dd2be2b9b14835b0f8ae7e9fda87dfce62f787a833009050aa604c6ec7bdfb24433219ed4aca101275fa1740b13c51c1157003557847fdff0fe6a53
7
- data.tar.gz: 1ccdcb48cb67b1358c15cfb26992d5f963b8c5a7710ee7b9bc7c2f26c250e6c439682e96f1ea719c4aafff746157fe855e626e9a881e18ae016b4781f5480c61
6
+ metadata.gz: 4927834ddf982969cd2286758a2087904ab111f26591330413d06bec0aab07dcbe8b02c203c74c7ce9b6a36ae0f137e6800c1e23e34738ee603b571501b8a007
7
+ data.tar.gz: f403f832b68bd9ed28e0893c29cf9685cd19588e074b8b65badbf4bff6eea12de3014f382541273e5cffc78955aa86ef7b6698ff72e7de46d8cb61e59ee02640
data/recipes/init.rb CHANGED
@@ -156,11 +156,11 @@ FILE
156
156
  # create navigation links using the rails_layout gem
157
157
  generate 'layout:navigation -f'
158
158
  if prefer :apps4, 'rails-stripe-coupons'
159
- inject_into_file 'app/views/layouts/_navigation_links.html.erb', ", data: { no_turbolink: true }", :after => "new_user_registration_path"
160
- inject_into_file 'app/views/layouts/_navigation_links.html.erb', "\n <li><%= link_to 'Coupons', coupons_path %></li>", :after => "users_path %></li>"
159
+ inject_into_file 'app/views/layouts/_nav_links_for_auth.html.erb', ", data: { no_turbolink: true }", :after => "new_user_registration_path"
160
+ inject_into_file 'app/views/layouts/_nav_links_for_auth.html.erb', "\n <li><%= link_to 'Coupons', coupons_path %></li>", :after => "users_path %></li>"
161
161
  end
162
162
  if prefer :apps4, 'rails-stripe-membership-saas'
163
- inject_into_file 'app/views/layouts/_navigation_links.html.erb', ", data: { no_turbolink: true }", :after => "new_user_registration_path"
163
+ inject_into_file 'app/views/layouts/_nav_links_for_auth.html.erb', ", data: { no_turbolink: true }", :after => "new_user_registration_path"
164
164
  copy_from_repo 'app/views/devise/registrations/edit.html.erb', :repo => 'https://raw.github.com/RailsApps/rails-stripe-membership-saas/master/'
165
165
  end
166
166
  ### GIT ###
data/recipes/pages.rb CHANGED
@@ -19,7 +19,6 @@ stage_two do
19
19
  generate 'pages:authorized -f' if prefer :authorization, 'pundit'
20
20
  end
21
21
  generate 'pages:upmin -f' if prefer :dashboard, 'upmin'
22
- generate 'layout:navigation -f'
23
22
  ### GIT ###
24
23
  git :add => '-A' if prefer :git, true
25
24
  git :commit => '-qm "rails_apps_composer: add pages"' if prefer :git, true
@@ -10,7 +10,7 @@ if prefer :apps4, 'rails-devise'
10
10
  prefs[:local_env_file] = false
11
11
  prefs[:pry] = false
12
12
  prefs[:quiet_assets] = true
13
- prefs[:pages] = 'users'
13
+ prefs[:pages] = 'about+users'
14
14
  prefs[:locale] = 'none'
15
15
  prefs[:rubocop] = false
16
16
  end
@@ -9,7 +9,7 @@ if prefer :apps4, 'rails-devise-pundit'
9
9
  prefs[:local_env_file] = false
10
10
  prefs[:pry] = false
11
11
  prefs[:quiet_assets] = true
12
- prefs[:pages] = 'users'
12
+ prefs[:pages] = 'about+users'
13
13
  prefs[:locale] = 'none'
14
14
  prefs[:rubocop] = false
15
15
  end
@@ -9,7 +9,7 @@ if prefer :apps4, 'rails-devise-roles'
9
9
  prefs[:local_env_file] = false
10
10
  prefs[:pry] = false
11
11
  prefs[:quiet_assets] = true
12
- prefs[:pages] = 'users'
12
+ prefs[:pages] = 'about+users'
13
13
  prefs[:locale] = 'none'
14
14
  prefs[:rubocop] = false
15
15
  end
@@ -12,7 +12,7 @@ if prefer :apps4, 'rails-signup-download'
12
12
  prefs[:pry] = false
13
13
  prefs[:quiet_assets] = true
14
14
  prefs[:secrets] = ['mailchimp_list_id', 'mailchimp_api_key']
15
- prefs[:pages] = 'users'
15
+ prefs[:pages] = 'about+users'
16
16
  prefs[:locale] = 'none'
17
17
  prefs[:rubocop] = false
18
18
 
@@ -18,7 +18,7 @@ if prefer :apps4, 'rails-stripe-checkout'
18
18
  'stripe_api_key',
19
19
  'mailchimp_list_id',
20
20
  'mailchimp_api_key']
21
- prefs[:pages] = 'users'
21
+ prefs[:pages] = 'about+users'
22
22
  prefs[:locale] = 'none'
23
23
  prefs[:rubocop] = false
24
24
 
@@ -18,13 +18,12 @@ if prefer :apps4, 'rails-stripe-coupons'
18
18
  'product_title',
19
19
  'mailchimp_list_id',
20
20
  'mailchimp_api_key']
21
- prefs[:pages] = 'users'
21
+ prefs[:pages] = 'about+users'
22
22
  prefs[:locale] = 'none'
23
23
  prefs[:rubocop] = false
24
24
 
25
25
  # gems
26
26
  add_gem 'gibbon'
27
- add_gem 'high_voltage'
28
27
  add_gem 'stripe'
29
28
  add_gem 'sucker_punch'
30
29
 
@@ -17,7 +17,7 @@ if prefer :apps4, 'rails-stripe-membership-saas'
17
17
  'stripe_api_key',
18
18
  'mailchimp_list_id',
19
19
  'mailchimp_api_key']
20
- prefs[:pages] = 'users'
20
+ prefs[:pages] = 'about+users'
21
21
  prefs[:locale] = 'none'
22
22
  prefs[:rubocop] = false
23
23
 
data/templates/layout.erb CHANGED
@@ -115,8 +115,8 @@ say_wizard("\033[1m\033[36m" + "|_| \\_\\__,_|_|_|___/_/ \\_\\ .__/| .__/|__
115
115
  say_wizard("\033[1m\033[36m" + " \| \| \| \|" + "\033[0m")
116
116
  say_wizard("\033[1m\033[36m" + " \| \| \| \|" + "\033[0m")
117
117
  say_wizard("\033[1m\033[36m" + '' + "\033[0m")
118
- say_wizard("\033[1m\033[36m" + "Rails Composer, open source, supported by purchases of RailsApps tutorials." + "\033[0m")
119
- say_wizard("\033[1m\033[36m" + "Please purchase the tutorials to support development of Rails Composer." + "\033[0m")
118
+ say_wizard("\033[1m\033[36m" + "If you like Rails Composer, will you support it?" + "\033[0m")
119
+ say_wizard("\033[1m\033[36m" + "You can help by purchasing our tutorials." + "\033[0m")
120
120
  say_wizard("Need help? Ask on Stack Overflow with the tag \'railsapps.\'")
121
121
  say_wizard("Your new application will contain diagnostics in its README file.")
122
122
 
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "3.1.0"
2
+ VERSION = "3.1.1"
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.0
4
+ version: 3.1.1
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-10-31 00:00:00.000000000 Z
11
+ date: 2015-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n