rails_apps_composer 2.6.2 → 2.6.3

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/routes.rb +4 -2
  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: 98fc01dcb4c6e7f9ab85bd2f01e5e0476da61fed
4
- data.tar.gz: 379fdf2bd2cca7bb324e8a4c301aaab1d1e1583e
3
+ metadata.gz: 632f8d7fcb41cef1eb9ef9fed6ce7ba8eebc2d6c
4
+ data.tar.gz: 4acfeeec2bbd5a0e628d6c1394f6f679b0b69d62
5
5
  SHA512:
6
- metadata.gz: 4027c5b3d1b7ce03bd47110ee4fa1eb35e531e36fd0258a27f69beb02b3b3558322d1fa64d13e310a85e1068db1bbc3bdf8f5ab32de681e6d182e525c9dae5e5
7
- data.tar.gz: 2b2dcebe8496b8c886ab544d06e5b970758437f0f669663749dc064ed0635d6f792a574f20135f3d9f52013ef31e01c57a28b2482ed4fba679707613fc069638
6
+ metadata.gz: 4831a37104bf2bcb1dc54a63386301b78d2adcacfb2158836fc35549f86e4048595b68396407ef0b9de318accde5be9727732e430c6a3aabf23b951c2f2830d2
7
+ data.tar.gz: 13c5b591ca76211e52a9c15f5abe02edf7b9bdb28e6a9d26839c6ed6fe33eaef614f5dbf1124b4ce3f04776545df098c0b77d1a2ca6cffef4cc343468f0dd0d2
data/recipes/routes.rb CHANGED
@@ -30,8 +30,10 @@ after_bundler do
30
30
  ### SUBDOMAINS ###
31
31
  copy_from_repo 'lib/subdomain.rb', :repo => 'https://raw.github.com/RailsApps/rails3-subdomains/master/' if prefer :starter_app, 'subdomains_app'
32
32
  copy_from_repo 'config/routes.rb', :repo => 'https://raw.github.com/RailsApps/rails3-subdomains/master/' if prefer :starter_app, 'subdomains_app'
33
- ### CORRECT APPLICATION NAME ###
34
- gsub_file 'config/routes.rb', /^.*.routes.draw do/, "#{app_const}.routes.draw do"
33
+ unless rails_4_1?
34
+ # correct application name
35
+ gsub_file 'config/routes.rb', /^.*.routes.draw do/, "#{app_const}.routes.draw do"
36
+ end
35
37
  ### GIT ###
36
38
  git :add => '-A' if prefer :git, true
37
39
  git :commit => '-qm "rails_apps_composer: routes"' if prefer :git, true
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.6.2"
2
+ VERSION = "2.6.3"
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.6.2
4
+ version: 2.6.3
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-05-04 00:00:00.000000000 Z
11
+ date: 2014-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n