rails_apps_composer 3.1.5 → 3.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d9ed7be44e507f956e39b58afc22d794760a238e
4
- data.tar.gz: 343cb60337ae748b0261a7caf15cbe5076a3b6c4
3
+ metadata.gz: 239f012f7c000c13c09f625ec300477208e1f843
4
+ data.tar.gz: dd6005a921867873f9e47c06f372c60e0a8cc5db
5
5
  SHA512:
6
- metadata.gz: 0a3f3bf9c2b337bb1144178fe0bdb6187db3ae2ad051710bdc6b00633f26f043fb121845c0e0ba3e3575a22c3f5e4ecc8fe994315812f04cd252437bbe0df594
7
- data.tar.gz: 2008589e4470a8b83276d3a634313442701ad4e20c3ff44411310fd9b01bb821e903ccda17307d0cbc8ddfd2b4516fb91ec16c68d911cf45075798c16d4cda75
6
+ metadata.gz: 1efee146059210bccf616e39f2035fff408c76722d15f7eacaa9d7fea8bc142b5e225f87ccce4b3f78c64cd02a140e7a9b7f7af4c8be77279fcde68ff34f0a1a
7
+ data.tar.gz: fd43b6795653ecc6463995d584552e56a36c48fc7dc575a051a75ed784e753e88a67c5bea076925bf971b6890bce4c366c3d7d1fa84da7e7fdb0b9d46deada0f
data/recipes/gems.rb CHANGED
@@ -93,9 +93,17 @@ end
93
93
  ## Pages
94
94
  case prefs[:pages]
95
95
  when 'about'
96
- add_gem 'high_voltage'
96
+ if Rails::VERSION::MAJOR == 5
97
+ add_gem 'high_voltage', github: 'thoughtbot/high_voltage'
98
+ else
99
+ add_gem 'high_voltage'
100
+ end
97
101
  when 'about+users'
98
- add_gem 'high_voltage'
102
+ if Rails::VERSION::MAJOR == 5
103
+ add_gem 'high_voltage', github: 'thoughtbot/high_voltage'
104
+ else
105
+ add_gem 'high_voltage'
106
+ end
99
107
  end
100
108
 
101
109
  ## Email
@@ -32,7 +32,11 @@ if prefer :apps4, 'learn-rails'
32
32
  prefs[:disable_turbolinks] = false
33
33
 
34
34
  # gems
35
- add_gem 'high_voltage'
35
+ if Rails::VERSION::MAJOR == 5
36
+ add_gem 'high_voltage', github: 'thoughtbot/high_voltage'
37
+ else
38
+ add_gem 'high_voltage'
39
+ end
36
40
  add_gem 'gibbon'
37
41
  gsub_file 'Gemfile', /gem 'sqlite3'\n/, ''
38
42
  add_gem 'sqlite3', :group => :development
@@ -18,7 +18,11 @@ if prefer :apps4, 'rails-mailinglist-activejob'
18
18
 
19
19
  # gems
20
20
  add_gem 'gibbon'
21
- add_gem 'high_voltage'
21
+ if Rails::VERSION::MAJOR == 5
22
+ add_gem 'high_voltage', github: 'thoughtbot/high_voltage'
23
+ else
24
+ add_gem 'high_voltage'
25
+ end
22
26
  add_gem 'sucker_punch'
23
27
 
24
28
  stage_two do
data/recipes/readme.rb CHANGED
@@ -102,6 +102,7 @@ Rails Composer: http://railscomposer.com/
102
102
  TEXT
103
103
  end
104
104
 
105
+ remove_file 'README.md'
105
106
  create_file 'README.md', "#{app_name.humanize.titleize}\n================\n\n"
106
107
 
107
108
  if prefer :deployment, 'heroku'
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "3.1.5"
2
+ VERSION = "3.1.6"
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.5
4
+ version: 3.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kehoe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-30 00:00:00.000000000 Z
11
+ date: 2016-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n