routesjs-rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +20 -0
- data/README.md +21 -0
- data/Rakefile +34 -0
- data/lib/routesjs-rails.rb +3 -0
- data/lib/routesjs/formatter.rb +56 -0
- data/lib/routesjs/rails.rb +2 -0
- data/lib/routesjs/rails/engine.rb +6 -0
- data/lib/routesjs/rails/version.rb +5 -0
- data/lib/routesjs/routes.rb +9 -0
- data/lib/tasks/routesjs_tasks.rake +9 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +14 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/home_controller.rb +4 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/home/index.html.erb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +22 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +28 -0
- data/test/dummy/config/environments/production.rb +78 -0
- data/test/dummy/config/environments/test.rb +34 -0
- data/test/dummy/config/initializers/assets.rb +8 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +13 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/log/development.log +4622 -0
- data/test/dummy/log/test.log +1039 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/spec/teaspoon_env.rb +182 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/06fe8c2fd8e66b4605fb8720f6f01fa1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1015a631e7a66a0b078c820da841a4dc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1ef842e27a58c8d5c6c766a808769124 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/38f92cfa1698a8913703ad40c946b0a5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4f69580262ad653bc0809da19ad82711 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/57f13cf7825213c3b1df69a76df722a9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/58c347f7e5c0045579ef085f41ae6d56 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/69b7946c418b75e7ba78f9fc73d3e9b9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6a2ef5706e101143d91085f790648f13 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6b41edb1d59348fc5f5a9be9e0070ba3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7840a99f97a3c7111c6dd22a4c17ae1a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7cfb78f56f62208e304eaee5a4687ff5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7ef98e1f987a1d927316b649e3b8f790 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9487c761e1ddfe7509f566400379f444 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9c8ef791c17d2b3f0a26d187f1c5cd88 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a1decc358031a7672d2d3545b45c8f15 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a70550f1a2c27e11c3188a48c01170f3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bc3e7b57c45ee11b581d32cb285f3ded +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bc499c125dd2de53421b8a948c8777ee +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bf36f67f2b6fbdcfe8d00c090481e768 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c09b0ea3f4c777394e24f505d23d6324 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cb0accde733d1c9c2a0b096cb0f3c3f2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cce1f28f0d1f5c2817e6eaf392bac615 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dca3f6a70d551aa519687c2fccd97176 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e280b920f9f8a02070c974eba18074c1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e2e6a86be7c636f28c9b0311d987720a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e45a5d1eb39ff43af7c681e2a271a726 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e98bc73f3afc0368fc3c110e3305bb6e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ebfb2f47de67d2be33a5117afe306e80 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f72501aca20f34d765720253853e6105 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/06fe8c2fd8e66b4605fb8720f6f01fa1 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/1015a631e7a66a0b078c820da841a4dc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/1ef842e27a58c8d5c6c766a808769124 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/38f92cfa1698a8913703ad40c946b0a5 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/4f69580262ad653bc0809da19ad82711 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/57f13cf7825213c3b1df69a76df722a9 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/58c347f7e5c0045579ef085f41ae6d56 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6a2ef5706e101143d91085f790648f13 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6b41edb1d59348fc5f5a9be9e0070ba3 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/7cfb78f56f62208e304eaee5a4687ff5 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/9487c761e1ddfe7509f566400379f444 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/9c8ef791c17d2b3f0a26d187f1c5cd88 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a70550f1a2c27e11c3188a48c01170f3 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/bc499c125dd2de53421b8a948c8777ee +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/bf36f67f2b6fbdcfe8d00c090481e768 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/dca3f6a70d551aa519687c2fccd97176 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e280b920f9f8a02070c974eba18074c1 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e2e6a86be7c636f28c9b0311d987720a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e45a5d1eb39ff43af7c681e2a271a726 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e98bc73f3afc0368fc3c110e3305bb6e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ebfb2f47de67d2be33a5117afe306e80 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/routesjs/formatter_test.rb +65 -0
- data/test/routesjs/routes_test.rb +17 -0
- data/test/test_helper.rb +7 -0
- metadata +270 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
|
3
|
+
class RoutesJS::FormatterTest < ActiveSupport::TestCase
|
4
|
+
include ActionDispatch::Assertions::RoutingAssertions
|
5
|
+
|
6
|
+
setup do
|
7
|
+
inspector.format(formatter)
|
8
|
+
end
|
9
|
+
|
10
|
+
test "only named routes are included" do
|
11
|
+
assert_equal formatter.routes.keys.size, test_routes.size - 1
|
12
|
+
end
|
13
|
+
|
14
|
+
test "hand coded URLs are left as is" do
|
15
|
+
assert_equal "/admin", formatter.routes["admin"]
|
16
|
+
end
|
17
|
+
|
18
|
+
test "namespaced routes include the namespace in the route" do
|
19
|
+
assert_equal "/api/users", formatter.routes["apiUsers"]
|
20
|
+
end
|
21
|
+
|
22
|
+
test "named redirects are supported" do
|
23
|
+
assert_equal "https://google.com/", formatter.routes["google"]
|
24
|
+
end
|
25
|
+
|
26
|
+
test "named redirects within a namespace are supported" do
|
27
|
+
assert_equal "/", formatter.routes["apiHome"]
|
28
|
+
end
|
29
|
+
|
30
|
+
test "result is a valid JSON object" do
|
31
|
+
assert_nothing_raised do
|
32
|
+
JSON.parse(formatter.result)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
private
|
37
|
+
|
38
|
+
def inspector
|
39
|
+
@inspector ||= begin
|
40
|
+
ActionDispatch::Routing::RoutesInspector.new(test_routes)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
def formatter
|
45
|
+
@formatter ||= RoutesJS::Formatter.new
|
46
|
+
end
|
47
|
+
|
48
|
+
def test_routes
|
49
|
+
@test_routes ||= with_routing do |set|
|
50
|
+
set.draw do
|
51
|
+
get "/", to: "home#index"
|
52
|
+
get "/admin", to: "home#admin", as: :admin
|
53
|
+
|
54
|
+
get "/google", to: redirect("https://google.com/"), as: :google
|
55
|
+
|
56
|
+
namespace :api do
|
57
|
+
get "/redir", to: redirect("/"), as: :home
|
58
|
+
resources :users, only: [:index, :show]
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
set.routes
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
|
3
|
+
class RoutesJS::RoutesTest < ActiveSupport::TestCase
|
4
|
+
include ActionDispatch::Assertions::RoutingAssertions
|
5
|
+
|
6
|
+
test "routes are rendered as a valid json object" do
|
7
|
+
with_routing do |set|
|
8
|
+
set.draw do
|
9
|
+
resources :users
|
10
|
+
end
|
11
|
+
|
12
|
+
assert_nothing_raised do
|
13
|
+
JSON.parse(RoutesJS::Routes.as_json(set.routes))
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/test/test_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,270 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: routesjs-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- David Muto
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-09-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.1.6
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.1.6
|
27
|
+
description: Make named rails routes available in JS
|
28
|
+
email:
|
29
|
+
- david.muto@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- LICENSE
|
35
|
+
- README.md
|
36
|
+
- Rakefile
|
37
|
+
- lib/routesjs-rails.rb
|
38
|
+
- lib/routesjs/formatter.rb
|
39
|
+
- lib/routesjs/rails.rb
|
40
|
+
- lib/routesjs/rails/engine.rb
|
41
|
+
- lib/routesjs/rails/version.rb
|
42
|
+
- lib/routesjs/routes.rb
|
43
|
+
- lib/tasks/routesjs_tasks.rake
|
44
|
+
- test/dummy/README.rdoc
|
45
|
+
- test/dummy/Rakefile
|
46
|
+
- test/dummy/app/assets/javascripts/application.js
|
47
|
+
- test/dummy/app/assets/stylesheets/application.css
|
48
|
+
- test/dummy/app/controllers/application_controller.rb
|
49
|
+
- test/dummy/app/controllers/home_controller.rb
|
50
|
+
- test/dummy/app/helpers/application_helper.rb
|
51
|
+
- test/dummy/app/views/home/index.html.erb
|
52
|
+
- test/dummy/app/views/layouts/application.html.erb
|
53
|
+
- test/dummy/bin/bundle
|
54
|
+
- test/dummy/bin/rails
|
55
|
+
- test/dummy/bin/rake
|
56
|
+
- test/dummy/config.ru
|
57
|
+
- test/dummy/config/application.rb
|
58
|
+
- test/dummy/config/boot.rb
|
59
|
+
- test/dummy/config/database.yml
|
60
|
+
- test/dummy/config/environment.rb
|
61
|
+
- test/dummy/config/environments/development.rb
|
62
|
+
- test/dummy/config/environments/production.rb
|
63
|
+
- test/dummy/config/environments/test.rb
|
64
|
+
- test/dummy/config/initializers/assets.rb
|
65
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
66
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
67
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
68
|
+
- test/dummy/config/initializers/inflections.rb
|
69
|
+
- test/dummy/config/initializers/mime_types.rb
|
70
|
+
- test/dummy/config/initializers/session_store.rb
|
71
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
72
|
+
- test/dummy/config/locales/en.yml
|
73
|
+
- test/dummy/config/routes.rb
|
74
|
+
- test/dummy/config/secrets.yml
|
75
|
+
- test/dummy/log/development.log
|
76
|
+
- test/dummy/log/test.log
|
77
|
+
- test/dummy/public/404.html
|
78
|
+
- test/dummy/public/422.html
|
79
|
+
- test/dummy/public/500.html
|
80
|
+
- test/dummy/public/favicon.ico
|
81
|
+
- test/dummy/spec/teaspoon_env.rb
|
82
|
+
- test/dummy/tmp/cache/assets/development/sprockets/06fe8c2fd8e66b4605fb8720f6f01fa1
|
83
|
+
- test/dummy/tmp/cache/assets/development/sprockets/1015a631e7a66a0b078c820da841a4dc
|
84
|
+
- test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
85
|
+
- test/dummy/tmp/cache/assets/development/sprockets/1ef842e27a58c8d5c6c766a808769124
|
86
|
+
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
87
|
+
- test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
88
|
+
- test/dummy/tmp/cache/assets/development/sprockets/38f92cfa1698a8913703ad40c946b0a5
|
89
|
+
- test/dummy/tmp/cache/assets/development/sprockets/4f69580262ad653bc0809da19ad82711
|
90
|
+
- test/dummy/tmp/cache/assets/development/sprockets/57f13cf7825213c3b1df69a76df722a9
|
91
|
+
- test/dummy/tmp/cache/assets/development/sprockets/58c347f7e5c0045579ef085f41ae6d56
|
92
|
+
- test/dummy/tmp/cache/assets/development/sprockets/69b7946c418b75e7ba78f9fc73d3e9b9
|
93
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6a2ef5706e101143d91085f790648f13
|
94
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6b41edb1d59348fc5f5a9be9e0070ba3
|
95
|
+
- test/dummy/tmp/cache/assets/development/sprockets/7840a99f97a3c7111c6dd22a4c17ae1a
|
96
|
+
- test/dummy/tmp/cache/assets/development/sprockets/7cfb78f56f62208e304eaee5a4687ff5
|
97
|
+
- test/dummy/tmp/cache/assets/development/sprockets/7ef98e1f987a1d927316b649e3b8f790
|
98
|
+
- test/dummy/tmp/cache/assets/development/sprockets/9487c761e1ddfe7509f566400379f444
|
99
|
+
- test/dummy/tmp/cache/assets/development/sprockets/9c8ef791c17d2b3f0a26d187f1c5cd88
|
100
|
+
- test/dummy/tmp/cache/assets/development/sprockets/a1decc358031a7672d2d3545b45c8f15
|
101
|
+
- test/dummy/tmp/cache/assets/development/sprockets/a70550f1a2c27e11c3188a48c01170f3
|
102
|
+
- test/dummy/tmp/cache/assets/development/sprockets/bc3e7b57c45ee11b581d32cb285f3ded
|
103
|
+
- test/dummy/tmp/cache/assets/development/sprockets/bc499c125dd2de53421b8a948c8777ee
|
104
|
+
- test/dummy/tmp/cache/assets/development/sprockets/bf36f67f2b6fbdcfe8d00c090481e768
|
105
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c09b0ea3f4c777394e24f505d23d6324
|
106
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cb0accde733d1c9c2a0b096cb0f3c3f2
|
107
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cce1f28f0d1f5c2817e6eaf392bac615
|
108
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
109
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
110
|
+
- test/dummy/tmp/cache/assets/development/sprockets/dca3f6a70d551aa519687c2fccd97176
|
111
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e280b920f9f8a02070c974eba18074c1
|
112
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e2e6a86be7c636f28c9b0311d987720a
|
113
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e45a5d1eb39ff43af7c681e2a271a726
|
114
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e98bc73f3afc0368fc3c110e3305bb6e
|
115
|
+
- test/dummy/tmp/cache/assets/development/sprockets/ebfb2f47de67d2be33a5117afe306e80
|
116
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f72501aca20f34d765720253853e6105
|
117
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
118
|
+
- test/dummy/tmp/cache/assets/test/sprockets/06fe8c2fd8e66b4605fb8720f6f01fa1
|
119
|
+
- test/dummy/tmp/cache/assets/test/sprockets/1015a631e7a66a0b078c820da841a4dc
|
120
|
+
- test/dummy/tmp/cache/assets/test/sprockets/1ef842e27a58c8d5c6c766a808769124
|
121
|
+
- test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
122
|
+
- test/dummy/tmp/cache/assets/test/sprockets/38f92cfa1698a8913703ad40c946b0a5
|
123
|
+
- test/dummy/tmp/cache/assets/test/sprockets/4f69580262ad653bc0809da19ad82711
|
124
|
+
- test/dummy/tmp/cache/assets/test/sprockets/57f13cf7825213c3b1df69a76df722a9
|
125
|
+
- test/dummy/tmp/cache/assets/test/sprockets/58c347f7e5c0045579ef085f41ae6d56
|
126
|
+
- test/dummy/tmp/cache/assets/test/sprockets/6a2ef5706e101143d91085f790648f13
|
127
|
+
- test/dummy/tmp/cache/assets/test/sprockets/6b41edb1d59348fc5f5a9be9e0070ba3
|
128
|
+
- test/dummy/tmp/cache/assets/test/sprockets/7cfb78f56f62208e304eaee5a4687ff5
|
129
|
+
- test/dummy/tmp/cache/assets/test/sprockets/9487c761e1ddfe7509f566400379f444
|
130
|
+
- test/dummy/tmp/cache/assets/test/sprockets/9c8ef791c17d2b3f0a26d187f1c5cd88
|
131
|
+
- test/dummy/tmp/cache/assets/test/sprockets/a70550f1a2c27e11c3188a48c01170f3
|
132
|
+
- test/dummy/tmp/cache/assets/test/sprockets/bc499c125dd2de53421b8a948c8777ee
|
133
|
+
- test/dummy/tmp/cache/assets/test/sprockets/bf36f67f2b6fbdcfe8d00c090481e768
|
134
|
+
- test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
135
|
+
- test/dummy/tmp/cache/assets/test/sprockets/dca3f6a70d551aa519687c2fccd97176
|
136
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e280b920f9f8a02070c974eba18074c1
|
137
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e2e6a86be7c636f28c9b0311d987720a
|
138
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e45a5d1eb39ff43af7c681e2a271a726
|
139
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e98bc73f3afc0368fc3c110e3305bb6e
|
140
|
+
- test/dummy/tmp/cache/assets/test/sprockets/ebfb2f47de67d2be33a5117afe306e80
|
141
|
+
- test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
142
|
+
- test/routesjs/formatter_test.rb
|
143
|
+
- test/routesjs/routes_test.rb
|
144
|
+
- test/test_helper.rb
|
145
|
+
homepage: https://github.com/pseudomuto/routesjs-rails
|
146
|
+
licenses:
|
147
|
+
- MIT
|
148
|
+
metadata: {}
|
149
|
+
post_install_message:
|
150
|
+
rdoc_options: []
|
151
|
+
require_paths:
|
152
|
+
- lib
|
153
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
155
|
+
- - ">="
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '0'
|
163
|
+
requirements: []
|
164
|
+
rubyforge_project:
|
165
|
+
rubygems_version: 2.2.2
|
166
|
+
signing_key:
|
167
|
+
specification_version: 4
|
168
|
+
summary: Make named rails routes available in JS
|
169
|
+
test_files:
|
170
|
+
- test/test_helper.rb
|
171
|
+
- test/dummy/bin/rake
|
172
|
+
- test/dummy/bin/rails
|
173
|
+
- test/dummy/bin/bundle
|
174
|
+
- test/dummy/README.rdoc
|
175
|
+
- test/dummy/log/development.log
|
176
|
+
- test/dummy/log/test.log
|
177
|
+
- test/dummy/app/assets/stylesheets/application.css
|
178
|
+
- test/dummy/app/assets/javascripts/application.js
|
179
|
+
- test/dummy/app/controllers/home_controller.rb
|
180
|
+
- test/dummy/app/controllers/application_controller.rb
|
181
|
+
- test/dummy/app/views/home/index.html.erb
|
182
|
+
- test/dummy/app/views/layouts/application.html.erb
|
183
|
+
- test/dummy/app/helpers/application_helper.rb
|
184
|
+
- test/dummy/config.ru
|
185
|
+
- test/dummy/config/boot.rb
|
186
|
+
- test/dummy/config/application.rb
|
187
|
+
- test/dummy/config/initializers/mime_types.rb
|
188
|
+
- test/dummy/config/initializers/assets.rb
|
189
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
190
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
191
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
192
|
+
- test/dummy/config/initializers/inflections.rb
|
193
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
194
|
+
- test/dummy/config/initializers/session_store.rb
|
195
|
+
- test/dummy/config/environment.rb
|
196
|
+
- test/dummy/config/locales/en.yml
|
197
|
+
- test/dummy/config/database.yml
|
198
|
+
- test/dummy/config/routes.rb
|
199
|
+
- test/dummy/config/environments/production.rb
|
200
|
+
- test/dummy/config/environments/development.rb
|
201
|
+
- test/dummy/config/environments/test.rb
|
202
|
+
- test/dummy/config/secrets.yml
|
203
|
+
- test/dummy/Rakefile
|
204
|
+
- test/dummy/tmp/cache/assets/development/sprockets/58c347f7e5c0045579ef085f41ae6d56
|
205
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e98bc73f3afc0368fc3c110e3305bb6e
|
206
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cce1f28f0d1f5c2817e6eaf392bac615
|
207
|
+
- test/dummy/tmp/cache/assets/development/sprockets/bc3e7b57c45ee11b581d32cb285f3ded
|
208
|
+
- test/dummy/tmp/cache/assets/development/sprockets/dca3f6a70d551aa519687c2fccd97176
|
209
|
+
- test/dummy/tmp/cache/assets/development/sprockets/69b7946c418b75e7ba78f9fc73d3e9b9
|
210
|
+
- test/dummy/tmp/cache/assets/development/sprockets/57f13cf7825213c3b1df69a76df722a9
|
211
|
+
- test/dummy/tmp/cache/assets/development/sprockets/ebfb2f47de67d2be33a5117afe306e80
|
212
|
+
- test/dummy/tmp/cache/assets/development/sprockets/7ef98e1f987a1d927316b649e3b8f790
|
213
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6b41edb1d59348fc5f5a9be9e0070ba3
|
214
|
+
- test/dummy/tmp/cache/assets/development/sprockets/a1decc358031a7672d2d3545b45c8f15
|
215
|
+
- test/dummy/tmp/cache/assets/development/sprockets/06fe8c2fd8e66b4605fb8720f6f01fa1
|
216
|
+
- test/dummy/tmp/cache/assets/development/sprockets/bf36f67f2b6fbdcfe8d00c090481e768
|
217
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
218
|
+
- test/dummy/tmp/cache/assets/development/sprockets/38f92cfa1698a8913703ad40c946b0a5
|
219
|
+
- test/dummy/tmp/cache/assets/development/sprockets/7cfb78f56f62208e304eaee5a4687ff5
|
220
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e280b920f9f8a02070c974eba18074c1
|
221
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f72501aca20f34d765720253853e6105
|
222
|
+
- test/dummy/tmp/cache/assets/development/sprockets/4f69580262ad653bc0809da19ad82711
|
223
|
+
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
224
|
+
- test/dummy/tmp/cache/assets/development/sprockets/bc499c125dd2de53421b8a948c8777ee
|
225
|
+
- test/dummy/tmp/cache/assets/development/sprockets/a70550f1a2c27e11c3188a48c01170f3
|
226
|
+
- test/dummy/tmp/cache/assets/development/sprockets/9c8ef791c17d2b3f0a26d187f1c5cd88
|
227
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6a2ef5706e101143d91085f790648f13
|
228
|
+
- test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
229
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
230
|
+
- test/dummy/tmp/cache/assets/development/sprockets/7840a99f97a3c7111c6dd22a4c17ae1a
|
231
|
+
- test/dummy/tmp/cache/assets/development/sprockets/9487c761e1ddfe7509f566400379f444
|
232
|
+
- test/dummy/tmp/cache/assets/development/sprockets/1015a631e7a66a0b078c820da841a4dc
|
233
|
+
- test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
234
|
+
- test/dummy/tmp/cache/assets/development/sprockets/1ef842e27a58c8d5c6c766a808769124
|
235
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cb0accde733d1c9c2a0b096cb0f3c3f2
|
236
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e2e6a86be7c636f28c9b0311d987720a
|
237
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
238
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c09b0ea3f4c777394e24f505d23d6324
|
239
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e45a5d1eb39ff43af7c681e2a271a726
|
240
|
+
- test/dummy/tmp/cache/assets/test/sprockets/58c347f7e5c0045579ef085f41ae6d56
|
241
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e98bc73f3afc0368fc3c110e3305bb6e
|
242
|
+
- test/dummy/tmp/cache/assets/test/sprockets/dca3f6a70d551aa519687c2fccd97176
|
243
|
+
- test/dummy/tmp/cache/assets/test/sprockets/57f13cf7825213c3b1df69a76df722a9
|
244
|
+
- test/dummy/tmp/cache/assets/test/sprockets/ebfb2f47de67d2be33a5117afe306e80
|
245
|
+
- test/dummy/tmp/cache/assets/test/sprockets/6b41edb1d59348fc5f5a9be9e0070ba3
|
246
|
+
- test/dummy/tmp/cache/assets/test/sprockets/06fe8c2fd8e66b4605fb8720f6f01fa1
|
247
|
+
- test/dummy/tmp/cache/assets/test/sprockets/bf36f67f2b6fbdcfe8d00c090481e768
|
248
|
+
- test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
249
|
+
- test/dummy/tmp/cache/assets/test/sprockets/38f92cfa1698a8913703ad40c946b0a5
|
250
|
+
- test/dummy/tmp/cache/assets/test/sprockets/7cfb78f56f62208e304eaee5a4687ff5
|
251
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e280b920f9f8a02070c974eba18074c1
|
252
|
+
- test/dummy/tmp/cache/assets/test/sprockets/4f69580262ad653bc0809da19ad82711
|
253
|
+
- test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
254
|
+
- test/dummy/tmp/cache/assets/test/sprockets/bc499c125dd2de53421b8a948c8777ee
|
255
|
+
- test/dummy/tmp/cache/assets/test/sprockets/a70550f1a2c27e11c3188a48c01170f3
|
256
|
+
- test/dummy/tmp/cache/assets/test/sprockets/9c8ef791c17d2b3f0a26d187f1c5cd88
|
257
|
+
- test/dummy/tmp/cache/assets/test/sprockets/6a2ef5706e101143d91085f790648f13
|
258
|
+
- test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
259
|
+
- test/dummy/tmp/cache/assets/test/sprockets/9487c761e1ddfe7509f566400379f444
|
260
|
+
- test/dummy/tmp/cache/assets/test/sprockets/1015a631e7a66a0b078c820da841a4dc
|
261
|
+
- test/dummy/tmp/cache/assets/test/sprockets/1ef842e27a58c8d5c6c766a808769124
|
262
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e2e6a86be7c636f28c9b0311d987720a
|
263
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e45a5d1eb39ff43af7c681e2a271a726
|
264
|
+
- test/dummy/spec/teaspoon_env.rb
|
265
|
+
- test/dummy/public/422.html
|
266
|
+
- test/dummy/public/favicon.ico
|
267
|
+
- test/dummy/public/404.html
|
268
|
+
- test/dummy/public/500.html
|
269
|
+
- test/routesjs/formatter_test.rb
|
270
|
+
- test/routesjs/routes_test.rb
|