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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a7f0489526ba1bf4faf66268aa256a210d04474
4
- data.tar.gz: dd22d696efc35e909389f11f06d089387338f509
3
+ metadata.gz: 6430a6d36593142f11d2d8318b611c18b4c28470
4
+ data.tar.gz: 9838ec71b3239d0fbad3171547fda6d094aa51cf
5
5
  SHA512:
6
- metadata.gz: 23e020752c0c08d9d0cce946398d96b1aa8549dec6e7ce0fb2562a282082374b6ac3bada7ec399c18c180d2785e1219dd47e3692329f4b12c391da71c0bea952
7
- data.tar.gz: 351cab36443ed912bc7554166baaff51f373791d8600aea21162bd08510ac480f7cca7ee208fab0dab569a445d6f44dfff3a1f470dfa6be5404f330c3adcabe4
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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railsbuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file