rails_apps_composer 3.1.3 → 3.1.4

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: 3a6ed78250897cfd5becb4a633dca7c4230aa617
4
- data.tar.gz: 1e28500118c055dd994e7c66693ffda92a2bb22d
3
+ metadata.gz: f246d757e43fc024e8d3151d915a237dfab4997c
4
+ data.tar.gz: 5faa79a1f37fc0c7d85bdf2a3791e4a043087abe
5
5
  SHA512:
6
- metadata.gz: fc6a23882eac142eb9a685b19fa301d3dedba62858c2123b3b34184a3c7f9643bbef400b4fd06dcc470080b86acf150d48e062e729ad4cf1ec5956e4abd37d3b
7
- data.tar.gz: 7284d15825e3a85444b4c1d6fd1d09d8940f0a90e260934e455ba5c42733a7401c82178a077021a876b207bf78894e24253e9ea63eb2d2ad4d2a9c75f29b39d2
6
+ metadata.gz: edfab2c87958edaa24c30c98576a2735d0cdaba9381b53c2ed1e4b6cadae0ba077595c2b921f9467e40fbb52663d42735b7ee972ed4026c9113f234078e28edd
7
+ data.tar.gz: 689661690ea09fb803a6d75c8821f8e661379ce880292e2ef6bc1239cb8ef5d82bc5f42379593b8d83d03eddb2d3270189c53aff20f98ec47c15f7449fa3a8bd
data/recipes/railsapps.rb CHANGED
@@ -10,6 +10,30 @@ if options[:verbose]
10
10
  end
11
11
 
12
12
  case Rails::VERSION::MAJOR.to_s
13
+ when "5"
14
+ prefs[:apps4] = multiple_choice "Build a starter application?",
15
+ [["Build a RailsApps example application", "railsapps"],
16
+ ["Contributed applications (none available)", "contributed_app"],
17
+ ["Custom application (experimental)", "none"]] unless prefs.has_key? :apps4
18
+ case prefs[:apps4]
19
+ when 'railsapps'
20
+ prefs[:apps4] = multiple_choice "Choose a starter application.",
21
+ [["learn-rails", "learn-rails"],
22
+ ["rails-bootstrap", "rails-bootstrap"],
23
+ ["rails-foundation", "rails-foundation"],
24
+ ["rails-mailinglist-activejob", "rails-mailinglist-activejob"],
25
+ ["rails-omniauth", "rails-omniauth"],
26
+ ["rails-devise", "rails-devise"],
27
+ ["rails-devise-roles", "rails-devise-roles"],
28
+ ["rails-devise-pundit", "rails-devise-pundit"],
29
+ ["rails-signup-download", "rails-signup-download"],
30
+ ["rails-stripe-checkout", "rails-stripe-checkout"],
31
+ ["rails-stripe-coupons", "rails-stripe-coupons"],
32
+ ["rails-stripe-membership-saas", "rails-stripe-membership-saas"]]
33
+ when 'contributed_app'
34
+ prefs[:apps4] = multiple_choice "No contributed applications are available.",
35
+ [["create custom application", "railsapps"]]
36
+ end
13
37
  when "3"
14
38
  say_wizard "Please upgrade to Rails 4.1 or newer."
15
39
  when "4"
data/templates/layout.erb CHANGED
@@ -128,9 +128,11 @@ end
128
128
 
129
129
  # this application template only supports Rails version 4.1 and newer
130
130
  case Rails::VERSION::MAJOR.to_s
131
+ when "5"
132
+ say_wizard "You are using Rails version #{Rails::VERSION::STRING}. Please report any issues."
131
133
  when "3"
132
- say_wizard "You are using Rails version #{Rails::VERSION::STRING} which is not supported. Use Rails 4.1 or newer."
133
- raise StandardError.new "Rails #{Rails::VERSION::STRING} is not supported. Use Rails 4.1 or newer."
134
+ say_wizard "You are using Rails version #{Rails::VERSION::STRING} which is not supported. Use Rails 4.1 or newer."
135
+ raise StandardError.new "Rails #{Rails::VERSION::STRING} is not supported. Use Rails 4.1 or newer."
134
136
  when "4"
135
137
  case Rails::VERSION::MINOR.to_s
136
138
  when "0"
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "3.1.3"
2
+ VERSION = "3.1.4"
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.3
4
+ version: 3.1.4
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-23 00:00:00.000000000 Z
11
+ date: 2015-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n