rails_apps_composer 2.4.38 → 2.4.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/recipes/railsapps.rb +4 -4
  3. data/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e93e93dcdf466092caf1289b94c084a1bc51feaf
4
- data.tar.gz: 7c50e9f26232ed0c9e25331af4b19ac1d35e8568
3
+ metadata.gz: ac48ff3554c801ea0e1430613ebbf9627f9af6ad
4
+ data.tar.gz: 5eb1053db5c07ff18c5c834312e08bc2b05d0ff7
5
5
  SHA512:
6
- metadata.gz: 0c9147740b855010c9943ed16980b0b6cadbe8b639060b4143842f2ec4534402868a3ad69ca15375a68f5fc03afc8bc7da94bcaa6342f4590528732247a3ca83
7
- data.tar.gz: 6d612f89e38e4c16c69d619a4542c579cec8c1b232070a1efade394ebe7a6eb76ddf96d7dcc836cc8fc660ba69a5ceba59d1e8683c046f0d69ddee7b56ab6158
6
+ metadata.gz: b22467818f821952457575c5da420ecdd644ad1110e0f09a3f63c6f55184ec5554e0862ef7ee3aa377ddde35b9bece41b40ef755d59ee67d8c2bbafd88e6675b
7
+ data.tar.gz: a40ab1668764206b5fdbc035cad498903cfbb36c58b615934290531bea36c11b67d0a64ca1939354dd0d89f730eebac9f7eb628aece39075c8da9fdd0a4671bb
data/recipes/railsapps.rb CHANGED
@@ -28,12 +28,12 @@ when "4"
28
28
  case prefs[:apps4]
29
29
  when 'railsapps'
30
30
  if rails_4_1?
31
- prefs[:apps4] = multiple_choice "Starter apps for Rails 4.1. More to come.",
31
+ prefs[:apps4] = prefs[:rails_4_1_starter_app] || (multiple_choice "Starter apps for Rails 4.1. More to come.",
32
32
  [["rails-bootstrap", "rails-bootstrap"],
33
33
  ["rails-foundation", "rails-foundation"],
34
34
  ["rails-omniauth", "rails-omniauth"],
35
35
  ["rails-devise", "rails-devise"],
36
- ["rails-devise-pundit", "rails-devise-pundit"]]
36
+ ["rails-devise-pundit", "rails-devise-pundit"]])
37
37
  else
38
38
  prefs[:apps4] = multiple_choice "Please upgrade to Rails 4.1 for more starter apps.",
39
39
  [["learn-rails", "learn-rails"]]
@@ -152,9 +152,9 @@ end
152
152
 
153
153
  case prefs[:railsapps]
154
154
  when 'saas'
155
- prefs[:railsapps] = multiple_choice "Billing with Stripe or Recurly?",
155
+ prefs[:railsapps] = prefs[:billing] || (multiple_choice "Billing with Stripe or Recurly?",
156
156
  [["Stripe", "rails-stripe-membership-saas"],
157
- ["Recurly", "rails-recurly-subscription-saas"]]
157
+ ["Recurly", "rails-recurly-subscription-saas"]])
158
158
  end
159
159
 
160
160
  case prefs[:railsapps]
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.4.38"
2
+ VERSION = "2.4.39"
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: 2.4.38
4
+ version: 2.4.39
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-03-08 00:00:00.000000000 Z
11
+ date: 2014-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n