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 +4 -4
- data/recipes/init.rb +3 -3
- data/recipes/pages.rb +0 -1
- data/recipes/rails_devise.rb +1 -1
- data/recipes/rails_devise_pundit.rb +1 -1
- data/recipes/rails_devise_roles.rb +1 -1
- data/recipes/rails_signup_download.rb +1 -1
- data/recipes/rails_stripe_checkout.rb +1 -1
- data/recipes/rails_stripe_coupons.rb +1 -2
- data/recipes/rails_stripe_membership_saas.rb +1 -1
- data/templates/layout.erb +2 -2
- 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: 5837faae2ef8d9335161c68cca474b29b3db7bbd
|
4
|
+
data.tar.gz: 6921dcca0f2781f9e16b47758b679a2a4aa24566
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
160
|
-
inject_into_file 'app/views/layouts/
|
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/
|
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
|
data/recipes/rails_devise.rb
CHANGED
@@ -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,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
|
|
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,
|
119
|
-
say_wizard("\033[1m\033[36m" + "
|
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
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.
|
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-
|
11
|
+
date: 2015-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|