js_routes 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,7 @@ module JsRoutes
28
28
  FileUtils.rm filename, :force => true
29
29
  File.open(filename, 'w') do |f|
30
30
  f << 'window.Routes = {};'
31
+ Rails.application.reload_routes!
31
32
  Rails.application.routes.routes.each do |route|
32
33
  defaults = route.defaults
33
34
 
@@ -1,3 +1,3 @@
1
1
  module JsRoutes
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: js_routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-01 00:00:00.000000000 +04:00
13
- default_executable:
12
+ date: 2011-08-02 00:00:00.000000000Z
14
13
  dependencies: []
15
14
  description: ''
16
15
  email:
@@ -30,7 +29,6 @@ files:
30
29
  - lib/js_routes/engine.rb
31
30
  - lib/js_routes/railtie.rb
32
31
  - lib/js_routes/version.rb
33
- has_rdoc: true
34
32
  homepage: https://github.com/st8998/js_routes
35
33
  licenses: []
36
34
  post_install_message:
@@ -51,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
49
  version: '0'
52
50
  requirements: []
53
51
  rubyforge_project:
54
- rubygems_version: 1.6.2
52
+ rubygems_version: 1.8.6
55
53
  signing_key:
56
54
  specification_version: 3
57
55
  summary: ''