rails-routes-js-utils 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,7 +33,7 @@ module Rails
33
33
  compiled_regex = Regexp.new(compiled_match.join());
34
34
  compiled_replace << ";}";
35
35
 
36
- if compiled_regex.match(this_spec) && route.name
36
+ if route.name
37
37
  "addRouteToEnv({name: '#{route.name}', path: #{compiled_regex.inspect} , reqs: #{reqs}, replace: #{compiled_replace.join()}});"
38
38
  end
39
39
  end.join("\n");
@@ -2,7 +2,7 @@ module Rails
2
2
  module Routes
3
3
  module Js
4
4
  module Utils
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.3"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-routes-js-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: