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.
- checksums.yaml +4 -4
- data/recipes/routes.rb +4 -2
- data/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 632f8d7fcb41cef1eb9ef9fed6ce7ba8eebc2d6c
|
4
|
+
data.tar.gz: 4acfeeec2bbd5a0e628d6c1394f6f679b0b69d62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
34
|
-
|
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
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.
|
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-
|
11
|
+
date: 2014-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|