route_dog 2.4.2 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +9 -28
- data/lib/route_dog/middleware/notifier.rb +5 -3
- data/lib/route_dog/middleware/route_dog.rb +10 -0
- data/lib/route_dog/railtie.rb +1 -1
- data/lib/route_dog.rb +10 -2
- data/lib/tasks/tasks.rake +4 -3
- data/route_dog.gemspec +16 -145
- data/test/integration/application_controller_test.rb +14 -0
- data/test/mock_app/Gemfile +24 -17
- data/test/mock_app/Gemfile.lock +130 -0
- data/test/mock_app/README +261 -0
- data/test/mock_app/Rakefile +1 -1
- data/test/mock_app/app/assets/images/rails.png +0 -0
- data/test/mock_app/app/assets/javascripts/application.js +9 -0
- data/test/mock_app/app/assets/stylesheets/application.css +7 -0
- data/test/mock_app/app/views/layouts/application.html.erb +3 -3
- data/test/mock_app/config/application.rb +12 -6
- data/test/mock_app/config/boot.rb +3 -10
- data/test/mock_app/config/database.yml +4 -1
- data/test/mock_app/config/environments/development.rb +8 -4
- data/test/mock_app/config/environments/production.rb +24 -13
- data/test/mock_app/config/environments/test.rb +6 -2
- data/test/mock_app/config/initializers/session_store.rb +1 -1
- data/test/mock_app/config/initializers/wrap_parameters.rb +14 -0
- data/test/mock_app/config/locales/en.yml +1 -1
- data/test/mock_app/db/development.sqlite3 +0 -0
- data/test/mock_app/db/seeds.rb +1 -1
- data/test/mock_app/{public/stylesheets/.gitkeep → db/test.sqlite3} +0 -0
- data/test/mock_app/doc/README_FOR_APP +2 -0
- data/test/mock_app/log/development.log +683 -0
- data/test/mock_app/log/production.log +0 -0
- data/test/mock_app/log/server.log +0 -0
- data/test/mock_app/log/test.log +39281 -0
- data/test/mock_app/public/index.html +10 -8
- data/test/mock_app/script/rails +6 -0
- data/test/mock_app/test/test_helper.rb +13 -0
- data/test/mock_app/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016 +0 -0
- data/test/mock_app/tmp/mock_app_application_routes_report.html +175 -0
- data/test/mock_app/tmp/pids/server.pid +1 -0
- data/test/mock_app/tmp/route_dog_routes.yml +34 -0
- data/test/support/assertions.rb +2 -2
- data/test/unit/route_dog_test.rb +1 -1
- metadata +40 -60
- data/VERSION +0 -1
- data/test/mock_app/.gitignore +0 -4
- data/test/mock_app/tmp/.gitignore +0 -1
@@ -52,7 +52,6 @@
|
|
52
52
|
clear: both;
|
53
53
|
}
|
54
54
|
|
55
|
-
|
56
55
|
#header, #about, #getting-started {
|
57
56
|
padding-left: 75px;
|
58
57
|
padding-right: 30px;
|
@@ -60,7 +59,7 @@
|
|
60
59
|
|
61
60
|
|
62
61
|
#header {
|
63
|
-
background-image: url("
|
62
|
+
background-image: url("/assets/rails.png");
|
64
63
|
background-repeat: no-repeat;
|
65
64
|
background-position: top left;
|
66
65
|
height: 64px;
|
@@ -168,6 +167,9 @@
|
|
168
167
|
margin-bottom: 5px;
|
169
168
|
}
|
170
169
|
|
170
|
+
.filename {
|
171
|
+
font-style: italic;
|
172
|
+
}
|
171
173
|
</style>
|
172
174
|
<script type="text/javascript">
|
173
175
|
function about() {
|
@@ -190,10 +192,10 @@
|
|
190
192
|
<li>
|
191
193
|
<h3>Browse the documentation</h3>
|
192
194
|
<ul class="links">
|
193
|
-
<li><a href="http://api.rubyonrails.org/">Rails API</a></li>
|
194
|
-
<li><a href="http://stdlib.rubyonrails.org/">Ruby standard library</a></li>
|
195
|
-
<li><a href="http://corelib.rubyonrails.org/">Ruby core</a></li>
|
196
195
|
<li><a href="http://guides.rubyonrails.org/">Rails Guides</a></li>
|
196
|
+
<li><a href="http://api.rubyonrails.org/">Rails API</a></li>
|
197
|
+
<li><a href="http://www.ruby-doc.org/core/">Ruby core</a></li>
|
198
|
+
<li><a href="http://www.ruby-doc.org/stdlib/">Ruby standard library</a></li>
|
197
199
|
</ul>
|
198
200
|
</li>
|
199
201
|
</ul>
|
@@ -221,13 +223,13 @@
|
|
221
223
|
</li>
|
222
224
|
|
223
225
|
<li>
|
224
|
-
<h2>Set up a default route and remove
|
225
|
-
<p>Routes are set up in config/routes.rb
|
226
|
+
<h2>Set up a default route and remove <span class="filename">public/index.html</span></h2>
|
227
|
+
<p>Routes are set up in <span class="filename">config/routes.rb</span>.</p>
|
226
228
|
</li>
|
227
229
|
|
228
230
|
<li>
|
229
231
|
<h2>Create your database</h2>
|
230
|
-
<p>Run <code>rake db:
|
232
|
+
<p>Run <code>rake db:create</code> to create your database. If you're not using SQLite (the default), edit <span class="filename">config/database.yml</span> with your username and password.</p>
|
231
233
|
</li>
|
232
234
|
</ol>
|
233
235
|
</div>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1,13 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
7
|
+
#
|
8
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
9
|
+
# -- they do not yet inherit this setting
|
10
|
+
fixtures :all
|
11
|
+
|
12
|
+
# Add more helper methods to be used by all tests here...
|
13
|
+
end
|
Binary file
|
@@ -0,0 +1,175 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<style type="text/css">
|
4
|
+
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
5
|
+
a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp,
|
6
|
+
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset,
|
7
|
+
form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
|
8
|
+
margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent;}
|
9
|
+
|
10
|
+
body { margin: 0; padding: 0; font:15.34px helvetica,arial,freesans,clean,sans-serif; }
|
11
|
+
#header { background: red; color: #fff; display: block; height: 70px; }
|
12
|
+
h1 { font-size: 18px; padding: 10px 0 0 25px; }
|
13
|
+
table#routes { width: 100%; padding: 40px 25px 0; }
|
14
|
+
table#routes th, table#routes td { text-align: left; padding: 5px; }
|
15
|
+
table#routes tr:nth-child(odd) { background: #eee;}
|
16
|
+
div#route_stats {}
|
17
|
+
span.yes { color: green; font-weight: bold }
|
18
|
+
span.no { color: red; font-weight: bold }
|
19
|
+
div#route_stats { background: #444; color: #fff; height: 30px; position: absolute; top: 50px; width: 100%; border-bottom: solid 4px #666 }
|
20
|
+
div#route_stats p { padding: 10px 0 0 25px; }
|
21
|
+
div#route_stats span { margin: 0 50px 0 10px; color: #fff; font-weight: bold; }
|
22
|
+
div#route_stats span.zero_routes { background: #666; padding: 2px; 5px; }
|
23
|
+
</style>
|
24
|
+
</head>
|
25
|
+
<body>
|
26
|
+
<div id="header">
|
27
|
+
<h1>Route Dog - MockApp Application - Routes Report</h1>
|
28
|
+
</div>
|
29
|
+
<table id="routes">
|
30
|
+
<tr><th>Method</th><th>Path</th><th>Action</th><th>Implemented</th><th>Tested</th></tr>
|
31
|
+
|
32
|
+
<tr>
|
33
|
+
<td></td>
|
34
|
+
<td>/assets</td>
|
35
|
+
<td>#</td>
|
36
|
+
<td><span class='yes'>YES</span></td>
|
37
|
+
<td><span class='no'>NO</span></td>
|
38
|
+
|
39
|
+
<tr>
|
40
|
+
<td>GET</td>
|
41
|
+
<td>/users(.:format)</td>
|
42
|
+
<td>users#index</td>
|
43
|
+
<td><span class='yes'>YES</span></td>
|
44
|
+
<td><span class='yes'>YES</span></td>
|
45
|
+
|
46
|
+
<tr>
|
47
|
+
<td>POST</td>
|
48
|
+
<td>/users(.:format)</td>
|
49
|
+
<td>users#create</td>
|
50
|
+
<td><span class='yes'>YES</span></td>
|
51
|
+
<td><span class='yes'>YES</span></td>
|
52
|
+
|
53
|
+
<tr>
|
54
|
+
<td>GET</td>
|
55
|
+
<td>/users/new(.:format)</td>
|
56
|
+
<td>users#new</td>
|
57
|
+
<td><span class='yes'>YES</span></td>
|
58
|
+
<td><span class='yes'>YES</span></td>
|
59
|
+
|
60
|
+
<tr>
|
61
|
+
<td>GET</td>
|
62
|
+
<td>/users/:id/edit(.:format)</td>
|
63
|
+
<td>users#edit</td>
|
64
|
+
<td><span class='yes'>YES</span></td>
|
65
|
+
<td><span class='yes'>YES</span></td>
|
66
|
+
|
67
|
+
<tr>
|
68
|
+
<td>GET</td>
|
69
|
+
<td>/users/:id(.:format)</td>
|
70
|
+
<td>users#show</td>
|
71
|
+
<td><span class='yes'>YES</span></td>
|
72
|
+
<td><span class='yes'>YES</span></td>
|
73
|
+
|
74
|
+
<tr>
|
75
|
+
<td>PUT</td>
|
76
|
+
<td>/users/:id(.:format)</td>
|
77
|
+
<td>users#update</td>
|
78
|
+
<td><span class='yes'>YES</span></td>
|
79
|
+
<td><span class='yes'>YES</span></td>
|
80
|
+
|
81
|
+
<tr>
|
82
|
+
<td>DELETE</td>
|
83
|
+
<td>/users/:id(.:format)</td>
|
84
|
+
<td>users#destroy</td>
|
85
|
+
<td><span class='yes'>YES</span></td>
|
86
|
+
<td><span class='yes'>YES</span></td>
|
87
|
+
|
88
|
+
<tr>
|
89
|
+
<td>GET</td>
|
90
|
+
<td>/products(.:format)</td>
|
91
|
+
<td>products#index</td>
|
92
|
+
<td><span class='yes'>YES</span></td>
|
93
|
+
<td><span class='yes'>YES</span></td>
|
94
|
+
|
95
|
+
<tr>
|
96
|
+
<td>POST</td>
|
97
|
+
<td>/products(.:format)</td>
|
98
|
+
<td>products#create</td>
|
99
|
+
<td><span class='yes'>YES</span></td>
|
100
|
+
<td><span class='yes'>YES</span></td>
|
101
|
+
|
102
|
+
<tr>
|
103
|
+
<td>GET</td>
|
104
|
+
<td>/products/new(.:format)</td>
|
105
|
+
<td>products#new</td>
|
106
|
+
<td><span class='yes'>YES</span></td>
|
107
|
+
<td><span class='yes'>YES</span></td>
|
108
|
+
|
109
|
+
<tr>
|
110
|
+
<td>GET</td>
|
111
|
+
<td>/products/:id/edit(.:format)</td>
|
112
|
+
<td>products#edit</td>
|
113
|
+
<td><span class='no'>NO</span></td>
|
114
|
+
<td><span class='no'>NO</span></td>
|
115
|
+
|
116
|
+
<tr>
|
117
|
+
<td>GET</td>
|
118
|
+
<td>/products/:id(.:format)</td>
|
119
|
+
<td>products#show</td>
|
120
|
+
<td><span class='no'>NO</span></td>
|
121
|
+
<td><span class='no'>NO</span></td>
|
122
|
+
|
123
|
+
<tr>
|
124
|
+
<td>PUT</td>
|
125
|
+
<td>/products/:id(.:format)</td>
|
126
|
+
<td>products#update</td>
|
127
|
+
<td><span class='yes'>YES</span></td>
|
128
|
+
<td><span class='yes'>YES</span></td>
|
129
|
+
|
130
|
+
<tr>
|
131
|
+
<td>DELETE</td>
|
132
|
+
<td>/products/:id(.:format)</td>
|
133
|
+
<td>products#destroy</td>
|
134
|
+
<td><span class='yes'>YES</span></td>
|
135
|
+
<td><span class='yes'>YES</span></td>
|
136
|
+
|
137
|
+
<tr>
|
138
|
+
<td>GET</td>
|
139
|
+
<td>/sessions/:id/logout(.:format)</td>
|
140
|
+
<td>sessions#logout</td>
|
141
|
+
<td><span class='yes'>YES</span></td>
|
142
|
+
<td><span class='yes'>YES</span></td>
|
143
|
+
|
144
|
+
<tr>
|
145
|
+
<td>DELETE</td>
|
146
|
+
<td>/sessions/:id/logout(.:format)</td>
|
147
|
+
<td>sessions#logout</td>
|
148
|
+
<td><span class='yes'>YES</span></td>
|
149
|
+
<td><span class='yes'>YES</span></td>
|
150
|
+
|
151
|
+
<tr>
|
152
|
+
<td></td>
|
153
|
+
<td>/pages/:action(.:format)</td>
|
154
|
+
<td>pages#</td>
|
155
|
+
<td><span class='yes'>YES</span></td>
|
156
|
+
<td><span class='no'>NO</span></td>
|
157
|
+
|
158
|
+
<tr>
|
159
|
+
<td></td>
|
160
|
+
<td>/rails/info/properties(.:format)</td>
|
161
|
+
<td>rails/info#properties</td>
|
162
|
+
<td><span class='yes'>YES</span></td>
|
163
|
+
<td><span class='no'>NO</span></td>
|
164
|
+
|
165
|
+
</table>
|
166
|
+
<div id="route_stats">
|
167
|
+
<p>
|
168
|
+
<strong>Defined:</strong> <span class="value">19</span>
|
169
|
+
<strong>Implemented:</strong> <span class="value">17</span>
|
170
|
+
<strong>Tested:</strong> <span class="value">14</span>
|
171
|
+
|
172
|
+
<p>
|
173
|
+
</div>
|
174
|
+
</body>
|
175
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
81257
|
@@ -0,0 +1,34 @@
|
|
1
|
+
---
|
2
|
+
pages:
|
3
|
+
home:
|
4
|
+
- get
|
5
|
+
products:
|
6
|
+
index:
|
7
|
+
- get
|
8
|
+
destroy:
|
9
|
+
- delete
|
10
|
+
new:
|
11
|
+
- get
|
12
|
+
create:
|
13
|
+
- post
|
14
|
+
update:
|
15
|
+
- put
|
16
|
+
sessions:
|
17
|
+
logout:
|
18
|
+
- get
|
19
|
+
- delete
|
20
|
+
users:
|
21
|
+
create:
|
22
|
+
- post
|
23
|
+
destroy:
|
24
|
+
- delete
|
25
|
+
edit:
|
26
|
+
- get
|
27
|
+
index:
|
28
|
+
- get
|
29
|
+
new:
|
30
|
+
- get
|
31
|
+
show:
|
32
|
+
- get
|
33
|
+
update:
|
34
|
+
- put
|
data/test/support/assertions.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
def assert_watched_routes_include(controller, action, method)
|
2
2
|
begin
|
3
|
-
routes = YAML.load_file(RouteDog.
|
3
|
+
routes = YAML.load_file(RouteDog.watched_routes_file)
|
4
4
|
raise if !routes[controller.to_s][action.to_s].include?(method.to_s)
|
5
5
|
raise if routes[controller.to_s][action.to_s].reject {|e| e != method.to_s}.size != 1
|
6
6
|
rescue
|
@@ -10,7 +10,7 @@ end
|
|
10
10
|
|
11
11
|
def assert_watched_routes_not_include(controller, action, method = :get)
|
12
12
|
begin
|
13
|
-
routes = YAML.load_file(RouteDog
|
13
|
+
routes = YAML.load_file(RouteDog.watched_routes_file)
|
14
14
|
routes[controller.to_s][action.to_s].include?(method.to_s)
|
15
15
|
assert false
|
16
16
|
rescue ActiveSupport::TestCase::Assertion
|
data/test/unit/route_dog_test.rb
CHANGED
@@ -26,7 +26,7 @@ class RouteDogTest < Test::Unit::TestCase
|
|
26
26
|
context "Identify tested routes" do
|
27
27
|
|
28
28
|
def write_tested_routes_yaml(hash)
|
29
|
-
File.open(RouteDog.
|
29
|
+
File.open(RouteDog.watched_routes_file, "w+") {|file| file.puts(hash.to_yaml) }
|
30
30
|
end
|
31
31
|
|
32
32
|
test "identify routes that respond to get method" do
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: route_dog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 27
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 2
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 2.
|
7
|
+
- 5
|
8
|
+
- 0
|
9
|
+
version: 2.5.0
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Alvaro Gil
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2011-04-
|
17
|
+
date: 2011-04-18 00:00:00 -03:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
@@ -26,7 +25,6 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
28
|
segments:
|
31
29
|
- 0
|
32
30
|
version: "0"
|
@@ -40,7 +38,6 @@ dependencies:
|
|
40
38
|
requirements:
|
41
39
|
- - ">="
|
42
40
|
- !ruby/object:Gem::Version
|
43
|
-
hash: 19
|
44
41
|
segments:
|
45
42
|
- 2
|
46
43
|
- 3
|
@@ -56,7 +53,6 @@ dependencies:
|
|
56
53
|
requirements:
|
57
54
|
- - "="
|
58
55
|
- !ruby/object:Gem::Version
|
59
|
-
hash: 31
|
60
56
|
segments:
|
61
57
|
- 0
|
62
58
|
- 1
|
@@ -72,7 +68,6 @@ dependencies:
|
|
72
68
|
requirements:
|
73
69
|
- - "="
|
74
70
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 113
|
76
71
|
segments:
|
77
72
|
- 1
|
78
73
|
- 4
|
@@ -91,28 +86,18 @@ extra_rdoc_files:
|
|
91
86
|
- LICENSE
|
92
87
|
- README.md
|
93
88
|
files:
|
94
|
-
- LICENSE
|
95
89
|
- README.md
|
90
|
+
- LICENSE
|
96
91
|
- Rakefile
|
97
|
-
- VERSION
|
98
|
-
- lib/route_dog.rb
|
99
|
-
- lib/route_dog/middleware.rb
|
100
|
-
- lib/route_dog/middleware/notifier.rb
|
101
|
-
- lib/route_dog/middleware/route_dog.rb
|
102
|
-
- lib/route_dog/middleware/watcher.rb
|
103
|
-
- lib/route_dog/railtie.rb
|
104
|
-
- lib/route_dog/report.rb
|
105
|
-
- lib/route_dog/templates/report.html.erb
|
106
|
-
- lib/route_dog/templates/warning.html.erb
|
107
|
-
- lib/tasks/tasks.rake
|
108
92
|
- route_dog.gemspec
|
93
|
+
- test/integration/application_controller_test.rb
|
109
94
|
- test/integration/pages_controller_test.rb
|
110
95
|
- test/integration/products_controller_test.rb
|
111
96
|
- test/integration/sessions_controller_test.rb
|
112
97
|
- test/integration/users_controller_test.rb
|
113
|
-
- test/mock_app
|
114
|
-
- test/mock_app/
|
115
|
-
- test/mock_app/
|
98
|
+
- test/mock_app/app/assets/images/rails.png
|
99
|
+
- test/mock_app/app/assets/javascripts/application.js
|
100
|
+
- test/mock_app/app/assets/stylesheets/application.css
|
116
101
|
- test/mock_app/app/controllers/admin/blogs/posts_controller.rb
|
117
102
|
- test/mock_app/app/controllers/admin/project_settings_controller.rb
|
118
103
|
- test/mock_app/app/controllers/admin/users_controller.rb
|
@@ -125,7 +110,6 @@ files:
|
|
125
110
|
- test/mock_app/app/helpers/application_helper.rb
|
126
111
|
- test/mock_app/app/views/layouts/application.html.erb
|
127
112
|
- test/mock_app/app/views/users/index.html.erb
|
128
|
-
- test/mock_app/config.ru
|
129
113
|
- test/mock_app/config/application.rb
|
130
114
|
- test/mock_app/config/boot.rb
|
131
115
|
- test/mock_app/config/database.yml
|
@@ -138,10 +122,21 @@ files:
|
|
138
122
|
- test/mock_app/config/initializers/mime_types.rb
|
139
123
|
- test/mock_app/config/initializers/secret_token.rb
|
140
124
|
- test/mock_app/config/initializers/session_store.rb
|
125
|
+
- test/mock_app/config/initializers/wrap_parameters.rb
|
141
126
|
- test/mock_app/config/locales/en.yml
|
142
127
|
- test/mock_app/config/middlewares_route_dog.yml
|
143
128
|
- test/mock_app/config/routes.rb
|
129
|
+
- test/mock_app/config.ru
|
130
|
+
- test/mock_app/db/development.sqlite3
|
144
131
|
- test/mock_app/db/seeds.rb
|
132
|
+
- test/mock_app/db/test.sqlite3
|
133
|
+
- test/mock_app/doc/README_FOR_APP
|
134
|
+
- test/mock_app/Gemfile
|
135
|
+
- test/mock_app/Gemfile.lock
|
136
|
+
- test/mock_app/log/development.log
|
137
|
+
- test/mock_app/log/production.log
|
138
|
+
- test/mock_app/log/server.log
|
139
|
+
- test/mock_app/log/test.log
|
145
140
|
- test/mock_app/public/404.html
|
146
141
|
- test/mock_app/public/422.html
|
147
142
|
- test/mock_app/public/500.html
|
@@ -155,11 +150,27 @@ files:
|
|
155
150
|
- test/mock_app/public/javascripts/prototype.js
|
156
151
|
- test/mock_app/public/javascripts/rails.js
|
157
152
|
- test/mock_app/public/robots.txt
|
158
|
-
- test/mock_app/
|
159
|
-
- test/mock_app/
|
153
|
+
- test/mock_app/Rakefile
|
154
|
+
- test/mock_app/README
|
155
|
+
- test/mock_app/script/rails
|
156
|
+
- test/mock_app/test/test_helper.rb
|
157
|
+
- test/mock_app/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016
|
158
|
+
- test/mock_app/tmp/mock_app_application_routes_report.html
|
159
|
+
- test/mock_app/tmp/pids/server.pid
|
160
|
+
- test/mock_app/tmp/route_dog_routes.yml
|
160
161
|
- test/support/assertions.rb
|
161
162
|
- test/test_helper.rb
|
162
163
|
- test/unit/route_dog_test.rb
|
164
|
+
- lib/route_dog/middleware/notifier.rb
|
165
|
+
- lib/route_dog/middleware/route_dog.rb
|
166
|
+
- lib/route_dog/middleware/watcher.rb
|
167
|
+
- lib/route_dog/middleware.rb
|
168
|
+
- lib/route_dog/railtie.rb
|
169
|
+
- lib/route_dog/report.rb
|
170
|
+
- lib/route_dog/templates/report.html.erb
|
171
|
+
- lib/route_dog/templates/warning.html.erb
|
172
|
+
- lib/route_dog.rb
|
173
|
+
- lib/tasks/tasks.rake
|
163
174
|
has_rdoc: true
|
164
175
|
homepage: http://github.com/zevarito/route_dog
|
165
176
|
licenses: []
|
@@ -174,7 +185,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
174
185
|
requirements:
|
175
186
|
- - ">="
|
176
187
|
- !ruby/object:Gem::Version
|
177
|
-
hash: 3
|
178
188
|
segments:
|
179
189
|
- 0
|
180
190
|
version: "0"
|
@@ -183,7 +193,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
193
|
requirements:
|
184
194
|
- - ">="
|
185
195
|
- !ruby/object:Gem::Version
|
186
|
-
hash: 3
|
187
196
|
segments:
|
188
197
|
- 0
|
189
198
|
version: "0"
|
@@ -194,34 +203,5 @@ rubygems_version: 1.3.7
|
|
194
203
|
signing_key:
|
195
204
|
specification_version: 3
|
196
205
|
summary: Watch and Notify your not tested routes of a RoR Application
|
197
|
-
test_files:
|
198
|
-
|
199
|
-
- test/integration/products_controller_test.rb
|
200
|
-
- test/integration/sessions_controller_test.rb
|
201
|
-
- test/integration/users_controller_test.rb
|
202
|
-
- test/mock_app/app/controllers/admin/blogs/posts_controller.rb
|
203
|
-
- test/mock_app/app/controllers/admin/project_settings_controller.rb
|
204
|
-
- test/mock_app/app/controllers/admin/users_controller.rb
|
205
|
-
- test/mock_app/app/controllers/application_controller.rb
|
206
|
-
- test/mock_app/app/controllers/pages_controller.rb
|
207
|
-
- test/mock_app/app/controllers/products_controller.rb
|
208
|
-
- test/mock_app/app/controllers/project_settings_controller.rb
|
209
|
-
- test/mock_app/app/controllers/sessions_controller.rb
|
210
|
-
- test/mock_app/app/controllers/users_controller.rb
|
211
|
-
- test/mock_app/app/helpers/application_helper.rb
|
212
|
-
- test/mock_app/config/application.rb
|
213
|
-
- test/mock_app/config/boot.rb
|
214
|
-
- test/mock_app/config/environment.rb
|
215
|
-
- test/mock_app/config/environments/development.rb
|
216
|
-
- test/mock_app/config/environments/production.rb
|
217
|
-
- test/mock_app/config/environments/test.rb
|
218
|
-
- test/mock_app/config/initializers/backtrace_silencers.rb
|
219
|
-
- test/mock_app/config/initializers/inflections.rb
|
220
|
-
- test/mock_app/config/initializers/mime_types.rb
|
221
|
-
- test/mock_app/config/initializers/secret_token.rb
|
222
|
-
- test/mock_app/config/initializers/session_store.rb
|
223
|
-
- test/mock_app/config/routes.rb
|
224
|
-
- test/mock_app/db/seeds.rb
|
225
|
-
- test/support/assertions.rb
|
226
|
-
- test/test_helper.rb
|
227
|
-
- test/unit/route_dog_test.rb
|
206
|
+
test_files: []
|
207
|
+
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.4.2
|
data/test/mock_app/.gitignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
*.html
|