routespec 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. data/README.txt +66 -0
  2. data/Rakefile +26 -0
  3. data/bin/routespec +29 -0
  4. data/lib/routespec.rb +22 -0
  5. data/lib/routespec/builder.rb +111 -0
  6. data/lib/routespec/dyr.rb +50 -0
  7. data/lib/routespec/fyle.rb +72 -0
  8. data/lib/routespec/parser.rb +143 -0
  9. data/lib/routespec/railtie.rb +7 -0
  10. data/lib/routespec/routespec/requests/.gitkeep +0 -0
  11. data/lib/routespec/routespec/support/.gitkeep +0 -0
  12. data/lib/routespec/routespec/templates/default_spec.erb +24 -0
  13. data/lib/routespec/tasks.rb +18 -0
  14. data/lib/routespec/tasks/routespec.rake +22 -0
  15. data/lib/routespec/template_vars.rb +7 -0
  16. data/lib/routespec/version.rb +3 -0
  17. data/test/files/awesome.yml +1 -0
  18. data/test/files/response_code_vcr_spec.erb +24 -0
  19. data/test/files/routes.txt +12 -0
  20. data/test/files/routes.yml +193 -0
  21. data/test/files/routes_hash.rb +159 -0
  22. data/test/files/routes_hash_2.rb +153 -0
  23. data/test/files/routes_hash_3.rb +1 -0
  24. data/test/files/tasks_routes.txt +21 -0
  25. data/test/files/template_spec.erb +13 -0
  26. data/test/files/unclean.txt +11 -0
  27. data/test/rails311/Gemfile +4 -0
  28. data/test/rails311/Gemfile.lock +90 -0
  29. data/test/rails311/README +261 -0
  30. data/test/rails311/Rakefile +7 -0
  31. data/test/rails311/app/assets/images/rails.png +0 -0
  32. data/test/rails311/app/assets/javascripts/application.js +9 -0
  33. data/test/rails311/app/assets/javascripts/beers.js +2 -0
  34. data/test/rails311/app/assets/javascripts/chips.js +2 -0
  35. data/test/rails311/app/assets/javascripts/sports.js +2 -0
  36. data/test/rails311/app/assets/stylesheets/application.css +7 -0
  37. data/test/rails311/app/assets/stylesheets/beers.css +4 -0
  38. data/test/rails311/app/assets/stylesheets/chips.css +4 -0
  39. data/test/rails311/app/assets/stylesheets/scaffold.css +56 -0
  40. data/test/rails311/app/assets/stylesheets/sports.css +4 -0
  41. data/test/rails311/app/controllers/application_controller.rb +3 -0
  42. data/test/rails311/app/controllers/beers_controller.rb +83 -0
  43. data/test/rails311/app/controllers/chips_controller.rb +83 -0
  44. data/test/rails311/app/controllers/sports_controller.rb +83 -0
  45. data/test/rails311/app/helpers/application_helper.rb +2 -0
  46. data/test/rails311/app/helpers/beers_helper.rb +2 -0
  47. data/test/rails311/app/helpers/chips_helper.rb +2 -0
  48. data/test/rails311/app/helpers/sports_helper.rb +2 -0
  49. data/test/rails311/app/models/beer.rb +2 -0
  50. data/test/rails311/app/models/chip.rb +2 -0
  51. data/test/rails311/app/models/sport.rb +2 -0
  52. data/test/rails311/app/views/beers/_form.html.erb +17 -0
  53. data/test/rails311/app/views/beers/edit.html.erb +6 -0
  54. data/test/rails311/app/views/beers/index.html.erb +21 -0
  55. data/test/rails311/app/views/beers/new.html.erb +5 -0
  56. data/test/rails311/app/views/beers/show.html.erb +5 -0
  57. data/test/rails311/app/views/chips/_form.html.erb +17 -0
  58. data/test/rails311/app/views/chips/edit.html.erb +6 -0
  59. data/test/rails311/app/views/chips/index.html.erb +21 -0
  60. data/test/rails311/app/views/chips/new.html.erb +5 -0
  61. data/test/rails311/app/views/chips/show.html.erb +5 -0
  62. data/test/rails311/app/views/layouts/application.html.erb +14 -0
  63. data/test/rails311/app/views/sports/_form.html.erb +17 -0
  64. data/test/rails311/app/views/sports/edit.html.erb +6 -0
  65. data/test/rails311/app/views/sports/index.html.erb +21 -0
  66. data/test/rails311/app/views/sports/new.html.erb +5 -0
  67. data/test/rails311/app/views/sports/show.html.erb +5 -0
  68. data/test/rails311/config.ru +4 -0
  69. data/test/rails311/config/application.rb +48 -0
  70. data/test/rails311/config/boot.rb +6 -0
  71. data/test/rails311/config/database.yml +25 -0
  72. data/test/rails311/config/environment.rb +5 -0
  73. data/test/rails311/config/environments/development.rb +30 -0
  74. data/test/rails311/config/environments/production.rb +60 -0
  75. data/test/rails311/config/environments/test.rb +39 -0
  76. data/test/rails311/config/initializers/backtrace_silencers.rb +7 -0
  77. data/test/rails311/config/initializers/inflections.rb +10 -0
  78. data/test/rails311/config/initializers/mime_types.rb +5 -0
  79. data/test/rails311/config/initializers/secret_token.rb +7 -0
  80. data/test/rails311/config/initializers/session_store.rb +8 -0
  81. data/test/rails311/config/initializers/wrap_parameters.rb +14 -0
  82. data/test/rails311/config/locales/en.yml +5 -0
  83. data/test/rails311/config/routes.rb +64 -0
  84. data/test/rails311/db/development.sqlite3 +0 -0
  85. data/test/rails311/db/migrate/20111227222038_create_beers.rb +8 -0
  86. data/test/rails311/db/migrate/20111227222056_create_chips.rb +8 -0
  87. data/test/rails311/db/migrate/20111227222113_create_sports.rb +8 -0
  88. data/test/rails311/db/schema.rb +31 -0
  89. data/test/rails311/db/seeds.rb +7 -0
  90. data/test/rails311/db/test.sqlite3 +0 -0
  91. data/test/rails311/doc/README_FOR_APP +2 -0
  92. data/test/rails311/log/development.log +28 -0
  93. data/test/rails311/log/test.log +0 -0
  94. data/test/rails311/public/404.html +26 -0
  95. data/test/rails311/public/422.html +26 -0
  96. data/test/rails311/public/500.html +26 -0
  97. data/test/rails311/public/favicon.ico +0 -0
  98. data/test/rails311/public/index.html +241 -0
  99. data/test/rails311/public/robots.txt +5 -0
  100. data/test/rails311/script/rails +6 -0
  101. data/test/rails311/spec/routespec/requests/beers/beers_spec.rb +74 -0
  102. data/test/rails311/spec/routespec/requests/chips/chips_spec.rb +74 -0
  103. data/test/rails311/spec/routespec/requests/sports/sports_spec.rb +74 -0
  104. data/test/rails311/spec/routespec/support/routes.txt +21 -0
  105. data/test/rails311/spec/routespec/support/routes.yml +322 -0
  106. data/test/rails311/spec/routespec/templates/default_spec.erb +24 -0
  107. data/test/rails311/test/fixtures/beers.yml +11 -0
  108. data/test/rails311/test/fixtures/chips.yml +11 -0
  109. data/test/rails311/test/fixtures/sports.yml +11 -0
  110. data/test/rails311/test/functional/beers_controller_test.rb +49 -0
  111. data/test/rails311/test/functional/chips_controller_test.rb +49 -0
  112. data/test/rails311/test/functional/sports_controller_test.rb +49 -0
  113. data/test/rails311/test/performance/browsing_test.rb +12 -0
  114. data/test/rails311/test/test_helper.rb +13 -0
  115. data/test/rails311/test/unit/beer_test.rb +7 -0
  116. data/test/rails311/test/unit/chip_test.rb +7 -0
  117. data/test/rails311/test/unit/helpers/beers_helper_test.rb +4 -0
  118. data/test/rails311/test/unit/helpers/chips_helper_test.rb +4 -0
  119. data/test/rails311/test/unit/helpers/sports_helper_test.rb +4 -0
  120. data/test/rails311/test/unit/sport_test.rb +7 -0
  121. data/test/rails311/vendor/cache/actionmailer-3.1.1.gem +0 -0
  122. data/test/rails311/vendor/cache/actionpack-3.1.1.gem +0 -0
  123. data/test/rails311/vendor/cache/activemodel-3.1.1.gem +0 -0
  124. data/test/rails311/vendor/cache/activerecord-3.1.1.gem +0 -0
  125. data/test/rails311/vendor/cache/activeresource-3.1.1.gem +0 -0
  126. data/test/rails311/vendor/cache/activesupport-3.1.1.gem +0 -0
  127. data/test/rails311/vendor/cache/arel-2.2.1.gem +0 -0
  128. data/test/rails311/vendor/cache/builder-3.0.0.gem +0 -0
  129. data/test/rails311/vendor/cache/erubis-2.7.0.gem +0 -0
  130. data/test/rails311/vendor/cache/hike-1.2.1.gem +0 -0
  131. data/test/rails311/vendor/cache/i18n-0.6.0.gem +0 -0
  132. data/test/rails311/vendor/cache/json-1.6.4.gem +0 -0
  133. data/test/rails311/vendor/cache/mail-2.3.0.gem +0 -0
  134. data/test/rails311/vendor/cache/mime-types-1.17.2.gem +0 -0
  135. data/test/rails311/vendor/cache/multi_json-1.0.4.gem +0 -0
  136. data/test/rails311/vendor/cache/polyglot-0.3.3.gem +0 -0
  137. data/test/rails311/vendor/cache/rack-1.3.5.gem +0 -0
  138. data/test/rails311/vendor/cache/rack-cache-1.1.gem +0 -0
  139. data/test/rails311/vendor/cache/rack-mount-0.8.3.gem +0 -0
  140. data/test/rails311/vendor/cache/rack-ssl-1.3.2.gem +0 -0
  141. data/test/rails311/vendor/cache/rack-test-0.6.1.gem +0 -0
  142. data/test/rails311/vendor/cache/rails-3.1.1.gem +0 -0
  143. data/test/rails311/vendor/cache/railties-3.1.1.gem +0 -0
  144. data/test/rails311/vendor/cache/rake-0.9.2.2.gem +0 -0
  145. data/test/rails311/vendor/cache/rdoc-3.12.gem +0 -0
  146. data/test/rails311/vendor/cache/sprockets-2.0.3.gem +0 -0
  147. data/test/rails311/vendor/cache/sqlite3-1.3.5.gem +0 -0
  148. data/test/rails311/vendor/cache/thor-0.14.6.gem +0 -0
  149. data/test/rails311/vendor/cache/tilt-1.3.3.gem +0 -0
  150. data/test/rails311/vendor/cache/treetop-1.4.10.gem +0 -0
  151. data/test/rails311/vendor/cache/tzinfo-0.3.31.gem +0 -0
  152. data/test/sandbox/awsome.txt +1 -0
  153. data/test/sandbox/cerveja/muito_legal/cool/cool_spec.rb +1 -0
  154. data/test/sandbox/cerveja/rad/rad_spec.rb +1 -0
  155. data/test/sandbox/cool.txt +4 -0
  156. data/test/sandbox/rails_root/routespec/templates/default_spec.erb +24 -0
  157. data/test/sandbox/requests/dynamic/dynamic_spec.rb +17 -0
  158. data/test/sandbox/requests/errors/errors_spec.rb +36 -0
  159. data/test/sandbox/requests/info_panel/info_panel_spec.rb +16 -0
  160. data/test/sandbox/requests/legacy/legacy_spec.rb +26 -0
  161. data/test/sandbox/requests2/dynamic/dynamic_spec.rb +17 -0
  162. data/test/sandbox/requests2/errors/errors_spec.rb +36 -0
  163. data/test/sandbox/requests2/info_panel/info_panel_spec.rb +16 -0
  164. data/test/sandbox/requests2/legacy/legacy_spec.rb +26 -0
  165. data/test/sandbox/routes.txt +21 -0
  166. data/test/sandbox/routes.yml +193 -0
  167. data/test/sandbox/seu_jorge.yml +3 -0
  168. data/test/test_builder.rb +118 -0
  169. data/test/test_config.rb +5 -0
  170. data/test/test_dyr.rb +56 -0
  171. data/test/test_fyle.rb +59 -0
  172. data/test/test_parser.rb +84 -0
  173. data/test/test_rails311.rb +15 -0
  174. data/test/test_routespec.rb +8 -0
  175. data/test/test_tasks.rb +26 -0
  176. data/test/test_template_vars.rb +18 -0
  177. metadata +382 -0
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-Agent: *
5
+ # Disallow: /
@@ -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,74 @@
1
+ require "spec_helper"
2
+
3
+ #
4
+ # routes
5
+ # beers GET /beers(.:format) {:action=>"index", :controller=>"beers"}
6
+ # POST /beers(.:format) {:action=>"create", :controller=>"beers"}
7
+ # new_beer GET /beers/new(.:format) {:action=>"new", :controller=>"beers"}
8
+ # edit_beer GET /beers/:id/edit(.:format) {:action=>"edit", :controller=>"beers"}
9
+ # beer GET /beers/:id(.:format) {:action=>"show", :controller=>"beers"}
10
+ # PUT /beers/:id(.:format) {:action=>"update", :controller=>"beers"}
11
+ # DELETE /beers/:id(.:format) {:action=>"destroy", :controller=>"beers"}
12
+ #
13
+ describe "beers response status codes" do
14
+ describe "GET /beers(.:format)" do
15
+ it "should have a response", :vcr do
16
+ format = nil
17
+ get beers_path(:format => format)
18
+ response.status.should be(200)
19
+ end
20
+ end
21
+
22
+ describe "POST /beers(.:format)" do
23
+ it "should have a response", :vcr do
24
+ format = nil
25
+ post "/beers#{format ? "." : nil}#{format}"
26
+ response.status.should be(201)
27
+ end
28
+ end
29
+
30
+ describe "GET /beers/new(.:format)" do
31
+ it "should have a response", :vcr do
32
+ format = nil
33
+ get new_beer_path(:format => format)
34
+ response.status.should be(200)
35
+ end
36
+ end
37
+
38
+ describe "GET /beers/:id/edit(.:format)" do
39
+ it "should have a response", :vcr do
40
+ id = "REPLACE"
41
+ format = nil
42
+ get edit_beer_path(:id => id, :format => format)
43
+ response.status.should be(200)
44
+ end
45
+ end
46
+
47
+ describe "GET /beers/:id(.:format)" do
48
+ it "should have a response", :vcr do
49
+ id = "REPLACE"
50
+ format = nil
51
+ get beer_path(:id => id, :format => format)
52
+ response.status.should be(200)
53
+ end
54
+ end
55
+
56
+ describe "PUT /beers/:id(.:format)" do
57
+ it "should have a response", :vcr do
58
+ id = "REPLACE"
59
+ format = nil
60
+ put "/beers/#{id}#{format ? "." : nil}#{format}"
61
+ response.status.should be(200)
62
+ end
63
+ end
64
+
65
+ describe "DELETE /beers/:id(.:format)" do
66
+ it "should have a response", :vcr do
67
+ id = "REPLACE"
68
+ format = nil
69
+ delete "/beers/#{id}#{format ? "." : nil}#{format}"
70
+ response.status.should be(200)
71
+ end
72
+ end
73
+
74
+ end
@@ -0,0 +1,74 @@
1
+ require "spec_helper"
2
+
3
+ #
4
+ # routes
5
+ # chips GET /chips(.:format) {:action=>"index", :controller=>"chips"}
6
+ # POST /chips(.:format) {:action=>"create", :controller=>"chips"}
7
+ # new_chip GET /chips/new(.:format) {:action=>"new", :controller=>"chips"}
8
+ # edit_chip GET /chips/:id/edit(.:format) {:action=>"edit", :controller=>"chips"}
9
+ # chip GET /chips/:id(.:format) {:action=>"show", :controller=>"chips"}
10
+ # PUT /chips/:id(.:format) {:action=>"update", :controller=>"chips"}
11
+ # DELETE /chips/:id(.:format) {:action=>"destroy", :controller=>"chips"}
12
+ #
13
+ describe "chips response status codes" do
14
+ describe "GET /chips(.:format)" do
15
+ it "should have a response", :vcr do
16
+ format = nil
17
+ get chips_path(:format => format)
18
+ response.status.should be(200)
19
+ end
20
+ end
21
+
22
+ describe "POST /chips(.:format)" do
23
+ it "should have a response", :vcr do
24
+ format = nil
25
+ post "/chips#{format ? "." : nil}#{format}"
26
+ response.status.should be(201)
27
+ end
28
+ end
29
+
30
+ describe "GET /chips/new(.:format)" do
31
+ it "should have a response", :vcr do
32
+ format = nil
33
+ get new_chip_path(:format => format)
34
+ response.status.should be(200)
35
+ end
36
+ end
37
+
38
+ describe "GET /chips/:id/edit(.:format)" do
39
+ it "should have a response", :vcr do
40
+ id = "REPLACE"
41
+ format = nil
42
+ get edit_chip_path(:id => id, :format => format)
43
+ response.status.should be(200)
44
+ end
45
+ end
46
+
47
+ describe "GET /chips/:id(.:format)" do
48
+ it "should have a response", :vcr do
49
+ id = "REPLACE"
50
+ format = nil
51
+ get chip_path(:id => id, :format => format)
52
+ response.status.should be(200)
53
+ end
54
+ end
55
+
56
+ describe "PUT /chips/:id(.:format)" do
57
+ it "should have a response", :vcr do
58
+ id = "REPLACE"
59
+ format = nil
60
+ put "/chips/#{id}#{format ? "." : nil}#{format}"
61
+ response.status.should be(200)
62
+ end
63
+ end
64
+
65
+ describe "DELETE /chips/:id(.:format)" do
66
+ it "should have a response", :vcr do
67
+ id = "REPLACE"
68
+ format = nil
69
+ delete "/chips/#{id}#{format ? "." : nil}#{format}"
70
+ response.status.should be(200)
71
+ end
72
+ end
73
+
74
+ end
@@ -0,0 +1,74 @@
1
+ require "spec_helper"
2
+
3
+ #
4
+ # routes
5
+ # sports GET /sports(.:format) {:action=>"index", :controller=>"sports"}
6
+ # POST /sports(.:format) {:action=>"create", :controller=>"sports"}
7
+ # new_sport GET /sports/new(.:format) {:action=>"new", :controller=>"sports"}
8
+ # edit_sport GET /sports/:id/edit(.:format) {:action=>"edit", :controller=>"sports"}
9
+ # sport GET /sports/:id(.:format) {:action=>"show", :controller=>"sports"}
10
+ # PUT /sports/:id(.:format) {:action=>"update", :controller=>"sports"}
11
+ # DELETE /sports/:id(.:format) {:action=>"destroy", :controller=>"sports"}
12
+ #
13
+ describe "sports response status codes" do
14
+ describe "GET /sports(.:format)" do
15
+ it "should have a response", :vcr do
16
+ format = nil
17
+ get sports_path(:format => format)
18
+ response.status.should be(200)
19
+ end
20
+ end
21
+
22
+ describe "POST /sports(.:format)" do
23
+ it "should have a response", :vcr do
24
+ format = nil
25
+ post "/sports#{format ? "." : nil}#{format}"
26
+ response.status.should be(201)
27
+ end
28
+ end
29
+
30
+ describe "GET /sports/new(.:format)" do
31
+ it "should have a response", :vcr do
32
+ format = nil
33
+ get new_sport_path(:format => format)
34
+ response.status.should be(200)
35
+ end
36
+ end
37
+
38
+ describe "GET /sports/:id/edit(.:format)" do
39
+ it "should have a response", :vcr do
40
+ id = "REPLACE"
41
+ format = nil
42
+ get edit_sport_path(:id => id, :format => format)
43
+ response.status.should be(200)
44
+ end
45
+ end
46
+
47
+ describe "GET /sports/:id(.:format)" do
48
+ it "should have a response", :vcr do
49
+ id = "REPLACE"
50
+ format = nil
51
+ get sport_path(:id => id, :format => format)
52
+ response.status.should be(200)
53
+ end
54
+ end
55
+
56
+ describe "PUT /sports/:id(.:format)" do
57
+ it "should have a response", :vcr do
58
+ id = "REPLACE"
59
+ format = nil
60
+ put "/sports/#{id}#{format ? "." : nil}#{format}"
61
+ response.status.should be(200)
62
+ end
63
+ end
64
+
65
+ describe "DELETE /sports/:id(.:format)" do
66
+ it "should have a response", :vcr do
67
+ id = "REPLACE"
68
+ format = nil
69
+ delete "/sports/#{id}#{format ? "." : nil}#{format}"
70
+ response.status.should be(200)
71
+ end
72
+ end
73
+
74
+ end
@@ -0,0 +1,21 @@
1
+ sports GET /sports(.:format) {:action=>"index", :controller=>"sports"}
2
+ POST /sports(.:format) {:action=>"create", :controller=>"sports"}
3
+ new_sport GET /sports/new(.:format) {:action=>"new", :controller=>"sports"}
4
+ edit_sport GET /sports/:id/edit(.:format) {:action=>"edit", :controller=>"sports"}
5
+ sport GET /sports/:id(.:format) {:action=>"show", :controller=>"sports"}
6
+ PUT /sports/:id(.:format) {:action=>"update", :controller=>"sports"}
7
+ DELETE /sports/:id(.:format) {:action=>"destroy", :controller=>"sports"}
8
+ chips GET /chips(.:format) {:action=>"index", :controller=>"chips"}
9
+ POST /chips(.:format) {:action=>"create", :controller=>"chips"}
10
+ new_chip GET /chips/new(.:format) {:action=>"new", :controller=>"chips"}
11
+ edit_chip GET /chips/:id/edit(.:format) {:action=>"edit", :controller=>"chips"}
12
+ chip GET /chips/:id(.:format) {:action=>"show", :controller=>"chips"}
13
+ PUT /chips/:id(.:format) {:action=>"update", :controller=>"chips"}
14
+ DELETE /chips/:id(.:format) {:action=>"destroy", :controller=>"chips"}
15
+ beers GET /beers(.:format) {:action=>"index", :controller=>"beers"}
16
+ POST /beers(.:format) {:action=>"create", :controller=>"beers"}
17
+ new_beer GET /beers/new(.:format) {:action=>"new", :controller=>"beers"}
18
+ edit_beer GET /beers/:id/edit(.:format) {:action=>"edit", :controller=>"beers"}
19
+ beer GET /beers/:id(.:format) {:action=>"show", :controller=>"beers"}
20
+ PUT /beers/:id(.:format) {:action=>"update", :controller=>"beers"}
21
+ DELETE /beers/:id(.:format) {:action=>"destroy", :controller=>"beers"}
@@ -0,0 +1,322 @@
1
+ ---
2
+ :sports:
3
+ - :raw: sports GET /sports(.:format) {:action=>"index", :controller=>"sports"}
4
+ :helper: sports
5
+ :http_verb: GET
6
+ :path: /sports(.:format)
7
+ :action: index
8
+ :controller: sports
9
+ :symbols:
10
+ - format
11
+ :address:
12
+ - sports
13
+ :status_code: 200
14
+ :helper_path: sports_path(:format => format)
15
+ :vars:
16
+ - format = nil
17
+ - :raw: POST /sports(.:format) {:action=>"create", :controller=>"sports"}
18
+ :helper: !!null
19
+ :http_verb: POST
20
+ :path: /sports(.:format)
21
+ :action: create
22
+ :controller: sports
23
+ :symbols:
24
+ - format
25
+ :address:
26
+ - sports
27
+ :status_code: 201
28
+ :helper_path: ! '"/sports#{format ? "." : nil}#{format}"'
29
+ :vars:
30
+ - format = nil
31
+ - :raw: new_sport GET /sports/new(.:format) {:action=>"new", :controller=>"sports"}
32
+ :helper: new_sport
33
+ :http_verb: GET
34
+ :path: /sports/new(.:format)
35
+ :action: new
36
+ :controller: sports
37
+ :symbols:
38
+ - format
39
+ :address:
40
+ - sports
41
+ :status_code: 200
42
+ :helper_path: new_sport_path(:format => format)
43
+ :vars:
44
+ - format = nil
45
+ - :raw: edit_sport GET /sports/:id/edit(.:format) {:action=>"edit", :controller=>"sports"}
46
+ :helper: edit_sport
47
+ :http_verb: GET
48
+ :path: /sports/:id/edit(.:format)
49
+ :action: edit
50
+ :controller: sports
51
+ :symbols:
52
+ - id
53
+ - format
54
+ :address:
55
+ - sports
56
+ :status_code: 200
57
+ :helper_path: edit_sport_path(:id => id, :format => format)
58
+ :vars:
59
+ - id = "REPLACE"
60
+ - format = nil
61
+ - :raw: sport GET /sports/:id(.:format) {:action=>"show", :controller=>"sports"}
62
+ :helper: sport
63
+ :http_verb: GET
64
+ :path: /sports/:id(.:format)
65
+ :action: show
66
+ :controller: sports
67
+ :symbols:
68
+ - id
69
+ - format
70
+ :address:
71
+ - sports
72
+ :status_code: 200
73
+ :helper_path: sport_path(:id => id, :format => format)
74
+ :vars:
75
+ - id = "REPLACE"
76
+ - format = nil
77
+ - :raw: PUT /sports/:id(.:format) {:action=>"update", :controller=>"sports"}
78
+ :helper: !!null
79
+ :http_verb: PUT
80
+ :path: /sports/:id(.:format)
81
+ :action: update
82
+ :controller: sports
83
+ :symbols:
84
+ - id
85
+ - format
86
+ :address:
87
+ - sports
88
+ :status_code: 200
89
+ :helper_path: ! '"/sports/#{id}#{format ? "." : nil}#{format}"'
90
+ :vars:
91
+ - id = "REPLACE"
92
+ - format = nil
93
+ - :raw: DELETE /sports/:id(.:format) {:action=>"destroy", :controller=>"sports"}
94
+ :helper: !!null
95
+ :http_verb: DELETE
96
+ :path: /sports/:id(.:format)
97
+ :action: destroy
98
+ :controller: sports
99
+ :symbols:
100
+ - id
101
+ - format
102
+ :address:
103
+ - sports
104
+ :status_code: 200
105
+ :helper_path: ! '"/sports/#{id}#{format ? "." : nil}#{format}"'
106
+ :vars:
107
+ - id = "REPLACE"
108
+ - format = nil
109
+ :chips:
110
+ - :raw: chips GET /chips(.:format) {:action=>"index", :controller=>"chips"}
111
+ :helper: chips
112
+ :http_verb: GET
113
+ :path: /chips(.:format)
114
+ :action: index
115
+ :controller: chips
116
+ :symbols:
117
+ - format
118
+ :address:
119
+ - chips
120
+ :status_code: 200
121
+ :helper_path: chips_path(:format => format)
122
+ :vars:
123
+ - format = nil
124
+ - :raw: POST /chips(.:format) {:action=>"create", :controller=>"chips"}
125
+ :helper: !!null
126
+ :http_verb: POST
127
+ :path: /chips(.:format)
128
+ :action: create
129
+ :controller: chips
130
+ :symbols:
131
+ - format
132
+ :address:
133
+ - chips
134
+ :status_code: 201
135
+ :helper_path: ! '"/chips#{format ? "." : nil}#{format}"'
136
+ :vars:
137
+ - format = nil
138
+ - :raw: new_chip GET /chips/new(.:format) {:action=>"new", :controller=>"chips"}
139
+ :helper: new_chip
140
+ :http_verb: GET
141
+ :path: /chips/new(.:format)
142
+ :action: new
143
+ :controller: chips
144
+ :symbols:
145
+ - format
146
+ :address:
147
+ - chips
148
+ :status_code: 200
149
+ :helper_path: new_chip_path(:format => format)
150
+ :vars:
151
+ - format = nil
152
+ - :raw: edit_chip GET /chips/:id/edit(.:format) {:action=>"edit", :controller=>"chips"}
153
+ :helper: edit_chip
154
+ :http_verb: GET
155
+ :path: /chips/:id/edit(.:format)
156
+ :action: edit
157
+ :controller: chips
158
+ :symbols:
159
+ - id
160
+ - format
161
+ :address:
162
+ - chips
163
+ :status_code: 200
164
+ :helper_path: edit_chip_path(:id => id, :format => format)
165
+ :vars:
166
+ - id = "REPLACE"
167
+ - format = nil
168
+ - :raw: chip GET /chips/:id(.:format) {:action=>"show", :controller=>"chips"}
169
+ :helper: chip
170
+ :http_verb: GET
171
+ :path: /chips/:id(.:format)
172
+ :action: show
173
+ :controller: chips
174
+ :symbols:
175
+ - id
176
+ - format
177
+ :address:
178
+ - chips
179
+ :status_code: 200
180
+ :helper_path: chip_path(:id => id, :format => format)
181
+ :vars:
182
+ - id = "REPLACE"
183
+ - format = nil
184
+ - :raw: PUT /chips/:id(.:format) {:action=>"update", :controller=>"chips"}
185
+ :helper: !!null
186
+ :http_verb: PUT
187
+ :path: /chips/:id(.:format)
188
+ :action: update
189
+ :controller: chips
190
+ :symbols:
191
+ - id
192
+ - format
193
+ :address:
194
+ - chips
195
+ :status_code: 200
196
+ :helper_path: ! '"/chips/#{id}#{format ? "." : nil}#{format}"'
197
+ :vars:
198
+ - id = "REPLACE"
199
+ - format = nil
200
+ - :raw: DELETE /chips/:id(.:format) {:action=>"destroy", :controller=>"chips"}
201
+ :helper: !!null
202
+ :http_verb: DELETE
203
+ :path: /chips/:id(.:format)
204
+ :action: destroy
205
+ :controller: chips
206
+ :symbols:
207
+ - id
208
+ - format
209
+ :address:
210
+ - chips
211
+ :status_code: 200
212
+ :helper_path: ! '"/chips/#{id}#{format ? "." : nil}#{format}"'
213
+ :vars:
214
+ - id = "REPLACE"
215
+ - format = nil
216
+ :beers:
217
+ - :raw: beers GET /beers(.:format) {:action=>"index", :controller=>"beers"}
218
+ :helper: beers
219
+ :http_verb: GET
220
+ :path: /beers(.:format)
221
+ :action: index
222
+ :controller: beers
223
+ :symbols:
224
+ - format
225
+ :address:
226
+ - beers
227
+ :status_code: 200
228
+ :helper_path: beers_path(:format => format)
229
+ :vars:
230
+ - format = nil
231
+ - :raw: POST /beers(.:format) {:action=>"create", :controller=>"beers"}
232
+ :helper: !!null
233
+ :http_verb: POST
234
+ :path: /beers(.:format)
235
+ :action: create
236
+ :controller: beers
237
+ :symbols:
238
+ - format
239
+ :address:
240
+ - beers
241
+ :status_code: 201
242
+ :helper_path: ! '"/beers#{format ? "." : nil}#{format}"'
243
+ :vars:
244
+ - format = nil
245
+ - :raw: new_beer GET /beers/new(.:format) {:action=>"new", :controller=>"beers"}
246
+ :helper: new_beer
247
+ :http_verb: GET
248
+ :path: /beers/new(.:format)
249
+ :action: new
250
+ :controller: beers
251
+ :symbols:
252
+ - format
253
+ :address:
254
+ - beers
255
+ :status_code: 200
256
+ :helper_path: new_beer_path(:format => format)
257
+ :vars:
258
+ - format = nil
259
+ - :raw: edit_beer GET /beers/:id/edit(.:format) {:action=>"edit", :controller=>"beers"}
260
+ :helper: edit_beer
261
+ :http_verb: GET
262
+ :path: /beers/:id/edit(.:format)
263
+ :action: edit
264
+ :controller: beers
265
+ :symbols:
266
+ - id
267
+ - format
268
+ :address:
269
+ - beers
270
+ :status_code: 200
271
+ :helper_path: edit_beer_path(:id => id, :format => format)
272
+ :vars:
273
+ - id = "REPLACE"
274
+ - format = nil
275
+ - :raw: beer GET /beers/:id(.:format) {:action=>"show", :controller=>"beers"}
276
+ :helper: beer
277
+ :http_verb: GET
278
+ :path: /beers/:id(.:format)
279
+ :action: show
280
+ :controller: beers
281
+ :symbols:
282
+ - id
283
+ - format
284
+ :address:
285
+ - beers
286
+ :status_code: 200
287
+ :helper_path: beer_path(:id => id, :format => format)
288
+ :vars:
289
+ - id = "REPLACE"
290
+ - format = nil
291
+ - :raw: PUT /beers/:id(.:format) {:action=>"update", :controller=>"beers"}
292
+ :helper: !!null
293
+ :http_verb: PUT
294
+ :path: /beers/:id(.:format)
295
+ :action: update
296
+ :controller: beers
297
+ :symbols:
298
+ - id
299
+ - format
300
+ :address:
301
+ - beers
302
+ :status_code: 200
303
+ :helper_path: ! '"/beers/#{id}#{format ? "." : nil}#{format}"'
304
+ :vars:
305
+ - id = "REPLACE"
306
+ - format = nil
307
+ - :raw: DELETE /beers/:id(.:format) {:action=>"destroy", :controller=>"beers"}
308
+ :helper: !!null
309
+ :http_verb: DELETE
310
+ :path: /beers/:id(.:format)
311
+ :action: destroy
312
+ :controller: beers
313
+ :symbols:
314
+ - id
315
+ - format
316
+ :address:
317
+ - beers
318
+ :status_code: 200
319
+ :helper_path: ! '"/beers/#{id}#{format ? "." : nil}#{format}"'
320
+ :vars:
321
+ - id = "REPLACE"
322
+ - format = nil