rails_apps_composer 3.1.33 → 3.1.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/recipes/core.rb +1 -0
- data/recipes/rails_signup_thankyou.rb +88 -0
- data/recipes/railsapps.rb +3 -3
- data/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 783e4213e479f8e918cd0fee5fdb5caa3282c91842295e2900a9da33edfadab2
|
4
|
+
data.tar.gz: 04475c9e7a134fdee2e8929cc72a2629635cc4af00428ee93d025650a56794dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43837d7c5288b6106952a4933d9c942bfae9c89d9cc0d1463d1f8594e3fb5f8a635c2622693942f3ff1feb4c8f806fbcbee5ac07faec9b7a3ce0f9a72c040fe7
|
7
|
+
data.tar.gz: 4923277fa1f5b5c26349a7a8b8470f06576a7918db53b1a36389e7dc505ad43dbd94e422beb5587636798a359d2a5925198a227672640e818d02a2a00d15759d
|
data/recipes/core.rb
CHANGED
@@ -0,0 +1,88 @@
|
|
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_signup_thankyou.rb
|
3
|
+
|
4
|
+
if prefer :apps4, 'rails-signup-thankyou'
|
5
|
+
prefs[:authentication] = 'devise'
|
6
|
+
prefs[:authorization] = 'roles'
|
7
|
+
prefs[:dashboard] = 'none'
|
8
|
+
prefs[:ban_spiders] = false
|
9
|
+
prefs[:better_errors] = true
|
10
|
+
prefs[:database] = 'sqlite'
|
11
|
+
prefs[:deployment] = 'none'
|
12
|
+
prefs[:devise_modules] = false
|
13
|
+
prefs[:dev_webserver] = 'puma'
|
14
|
+
prefs[:email] = 'none'
|
15
|
+
prefs[:frontend] = 'bootstrap3'
|
16
|
+
prefs[:layouts] = 'none'
|
17
|
+
prefs[:pages] = 'none'
|
18
|
+
prefs[:github] = false
|
19
|
+
prefs[:git] = true
|
20
|
+
prefs[:local_env_file] = false
|
21
|
+
prefs[:prod_webserver] = 'same'
|
22
|
+
prefs[:pry] = false
|
23
|
+
prefs[:secrets] = ['mailchimp_list_id', 'mailchimp_api_key']
|
24
|
+
prefs[:pages] = 'about+users'
|
25
|
+
prefs[:templates] = 'erb'
|
26
|
+
prefs[:tests] = 'none'
|
27
|
+
prefs[:locale] = 'none'
|
28
|
+
prefs[:analytics] = 'none'
|
29
|
+
prefs[:rubocop] = false
|
30
|
+
prefs[:disable_turbolinks] = false
|
31
|
+
prefs[:rvmrc] = true
|
32
|
+
prefs[:form_builder] = false
|
33
|
+
prefs[:jquery] = 'gem'
|
34
|
+
|
35
|
+
# gems
|
36
|
+
add_gem 'gibbon'
|
37
|
+
add_gem 'sucker_punch'
|
38
|
+
|
39
|
+
stage_three do
|
40
|
+
say_wizard "recipe stage three"
|
41
|
+
repo = 'https://raw.github.com/RailsApps/rails-signup-thankyou/master/'
|
42
|
+
|
43
|
+
# >-------------------------------[ Config ]---------------------------------<
|
44
|
+
|
45
|
+
copy_from_repo 'config/initializers/active_job.rb', :repo => repo
|
46
|
+
|
47
|
+
# >-------------------------------[ Models ]--------------------------------<
|
48
|
+
|
49
|
+
copy_from_repo 'app/models/user.rb', :repo => repo
|
50
|
+
|
51
|
+
# >-------------------------------[ Controllers ]--------------------------------<
|
52
|
+
|
53
|
+
copy_from_repo 'app/controllers/application_controller.rb', :repo => repo
|
54
|
+
copy_from_repo 'app/controllers/visitors_controller.rb', :repo => repo
|
55
|
+
copy_from_repo 'app/controllers/products_controller.rb', :repo => repo
|
56
|
+
copy_from_repo 'app/controllers/thank_you_controller.rb', :repo => repo
|
57
|
+
|
58
|
+
# >-------------------------------[ Jobs ]---------------------------------<
|
59
|
+
|
60
|
+
copy_from_repo 'app/jobs/mailing_list_signup_job.rb', :repo => repo
|
61
|
+
|
62
|
+
# >-------------------------------[ Views ]--------------------------------<
|
63
|
+
|
64
|
+
copy_from_repo 'app/views/visitors/index.html.erb', :repo => repo
|
65
|
+
copy_from_repo 'app/views/products/product.pdf', :repo => repo
|
66
|
+
copy_from_repo 'app/views/thank_you/index.html.erb', :repo => repo
|
67
|
+
|
68
|
+
# >-------------------------------[ Routes ]--------------------------------<
|
69
|
+
|
70
|
+
copy_from_repo 'config/routes.rb', :repo => repo
|
71
|
+
|
72
|
+
# >-------------------------------[ Tests ]--------------------------------<
|
73
|
+
|
74
|
+
copy_from_repo 'spec/features/users/product_acquisition_spec.rb', :repo => repo
|
75
|
+
copy_from_repo 'spec/controllers/products_controller_spec.rb', :repo => repo
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
__END__
|
81
|
+
|
82
|
+
name: rails_signup_thankyou
|
83
|
+
description: "rails-signup-thankyou starter application"
|
84
|
+
author: RailsApps
|
85
|
+
|
86
|
+
requires: [core]
|
87
|
+
run_after: [git]
|
88
|
+
category: apps
|
data/recipes/railsapps.rb
CHANGED
@@ -13,7 +13,7 @@ case Rails::VERSION::MAJOR.to_s
|
|
13
13
|
when "5"
|
14
14
|
prefs[:apps4] = multiple_choice "Build a starter application?",
|
15
15
|
[["Build a RailsApps example application", "railsapps"],
|
16
|
-
["Contributed applications
|
16
|
+
["Contributed applications", "contributed_app"],
|
17
17
|
["Custom application (experimental)", "none"]] unless prefs.has_key? :apps4
|
18
18
|
case prefs[:apps4]
|
19
19
|
when 'railsapps'
|
@@ -30,8 +30,8 @@ when "5"
|
|
30
30
|
["rails-stripe-checkout", "rails-stripe-checkout"],
|
31
31
|
["rails-stripe-coupons", "rails-stripe-coupons"]]
|
32
32
|
when 'contributed_app'
|
33
|
-
prefs[:apps4] = multiple_choice "
|
34
|
-
[["
|
33
|
+
prefs[:apps4] = multiple_choice "Choose a starter application.",
|
34
|
+
[["rails-signup-thankyou", "rails-signup-thankyou"]]
|
35
35
|
end
|
36
36
|
when "3"
|
37
37
|
say_wizard "Please upgrade to Rails 4.1 or newer."
|
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.34
|
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-
|
11
|
+
date: 2018-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -137,6 +137,7 @@ files:
|
|
137
137
|
- recipes/rails_mailinglist_activejob.rb
|
138
138
|
- recipes/rails_omniauth.rb
|
139
139
|
- recipes/rails_signup_download.rb
|
140
|
+
- recipes/rails_signup_thankyou.rb
|
140
141
|
- recipes/rails_stripe_checkout.rb
|
141
142
|
- recipes/rails_stripe_coupons.rb
|
142
143
|
- recipes/rails_stripe_membership_saas.rb
|