railsbuilder 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/railsbuilder.rb +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6430a6d36593142f11d2d8318b611c18b4c28470
|
4
|
+
data.tar.gz: 9838ec71b3239d0fbad3171547fda6d094aa51cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94f48108e33e558efa561531ac0074ab3eb029021125d07320ad33bdab1a5ac76aba2e0453096c59ec9208c264f56821e6bc08eeb6e5dc609d92327f6a500d7c
|
7
|
+
data.tar.gz: 771896f874d215cc4c69af7fd8dae2952562c9e52ffca2251cfe7104754edb4d6e6acab84f49caf7b7eae86769a565c3a99864fde7719242a3c6770401e8a114
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/railsbuilder.rb
CHANGED
@@ -59,7 +59,7 @@ class RailsBuilder
|
|
59
59
|
|
60
60
|
regex = / #( root 'welcome#index')/
|
61
61
|
|
62
|
-
if buffer[regex] or not buffer[/root #{root}/] then
|
62
|
+
if buffer[regex] or not buffer[/root '#{root}'/] then
|
63
63
|
puts ':: updating ' + routes
|
64
64
|
File.write routes, buffer.sub(regex, ' \1')\
|
65
65
|
.sub(/'[^']+'/,"'" + root + "'")
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|