jpmobile 0.0.4 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. data/README.rdoc +227 -0
  2. data/Rakefile +6 -13
  3. data/lib/jpmobile/docomo_guid.rb +42 -0
  4. data/lib/jpmobile/filter.rb +1 -1
  5. data/lib/jpmobile/helpers.rb +2 -1
  6. data/lib/jpmobile/hook_action_controller.rb +12 -0
  7. data/lib/jpmobile/hook_action_view.rb +82 -72
  8. data/lib/jpmobile/{hook_abstract_request.rb → hook_request.rb} +1 -1
  9. data/lib/jpmobile/mobile/au.rb +9 -3
  10. data/lib/jpmobile/mobile/z_display_info_docomo.rb +10 -2
  11. data/lib/jpmobile/mobile/z_ip_addresses_au.rb +1 -26
  12. data/lib/jpmobile/mobile/z_ip_addresses_willcom.rb +2 -4
  13. data/lib/jpmobile/rack/auth.rb +55 -0
  14. data/lib/jpmobile/rack/combined_logger.rb +54 -0
  15. data/lib/jpmobile/rack/request.rb +7 -0
  16. data/lib/jpmobile/rack/trans_sid.rb +14 -0
  17. data/lib/jpmobile/trans_sid.rb +70 -62
  18. data/lib/jpmobile/version.rb +1 -1
  19. data/test/{au_test.rb → legacy/au_test.rb} +0 -0
  20. data/test/{autoload_test.rb → legacy/autoload_test.rb} +0 -0
  21. data/test/{docomo_test.rb → legacy/docomo_test.rb} +0 -0
  22. data/test/{emoticon_functional_test.rb → legacy/emoticon_functional_test.rb} +1 -1
  23. data/test/{emoticon_test.rb → legacy/emoticon_test.rb} +0 -0
  24. data/test/{filter_test.rb → legacy/filter_test.rb} +0 -0
  25. data/test/{helper.rb → legacy/helper.rb} +4 -5
  26. data/test/{helpers_test.rb → legacy/helpers_test.rb} +1 -1
  27. data/test/{softbank_test.rb → legacy/softbank_test.rb} +0 -0
  28. data/test/{willcom_test.rb → legacy/willcom_test.rb} +0 -0
  29. data/test/rails/overrides/app/controllers/application.rb +5 -0
  30. data/test/rails/overrides/app/controllers/docomo_guid_controller.rb +13 -0
  31. data/test/rails/overrides/app/controllers/filter_controller.rb +26 -0
  32. data/test/rails/overrides/app/controllers/mobile_spec_controller.rb +5 -0
  33. data/test/rails/overrides/app/controllers/template_path_controller.rb +6 -0
  34. data/test/rails/overrides/app/controllers/trans_sid_controller.rb +28 -0
  35. data/test/rails/overrides/app/views/filter/index.html.erb +0 -0
  36. data/test/rails/overrides/app/views/hankaku_filter/index.html.erb +0 -0
  37. data/test/rails/overrides/app/views/template_path/_partial.html.erb +1 -0
  38. data/test/rails/overrides/app/views/template_path/_partial_mobile.html.erb +1 -0
  39. data/test/rails/overrides/app/views/template_path/_partial_mobile_docomo.html.erb +1 -0
  40. data/test/rails/overrides/app/views/template_path/index.html.erb +1 -0
  41. data/test/rails/overrides/app/views/template_path/index_mobile.html.erb +1 -0
  42. data/test/rails/overrides/app/views/template_path/index_mobile_docomo.html.erb +1 -0
  43. data/test/rails/overrides/app/views/template_path/partial.html.erb +2 -0
  44. data/test/rails/overrides/lib/tasks/rspec.rake +165 -0
  45. data/test/rails/overrides/spec/controllers/docomo_guid_spec.rb +77 -0
  46. data/test/rails/overrides/spec/controllers/docomo_spec.rb +28 -0
  47. data/test/rails/overrides/spec/controllers/emobile_spec.rb +35 -0
  48. data/test/rails/overrides/spec/controllers/filter_spec.rb +157 -0
  49. data/test/rails/overrides/spec/controllers/pc_spec.rb +11 -0
  50. data/test/rails/overrides/spec/controllers/softbank_emulator_spec.rb +40 -0
  51. data/test/rails/overrides/spec/controllers/template_path_spec.rb +115 -0
  52. data/test/rails/overrides/spec/controllers/trans_sid_spec.rb +98 -0
  53. data/test/rails/overrides/spec/helpers/helpers_spec.rb +13 -0
  54. data/test/rails/overrides/spec/rcov.opts +2 -0
  55. data/test/rails/overrides/spec/rspec.rake +165 -0
  56. data/test/rails/overrides/spec/spec.opts +4 -0
  57. data/test/rails/overrides/spec/spec_helper.rb +47 -0
  58. data/test/rails/rails_root/README +256 -0
  59. data/test/rails/rails_root/Rakefile +10 -0
  60. data/test/rails/rails_root/app/controllers/application.rb +5 -0
  61. data/test/rails/rails_root/app/controllers/docomo_guid_controller.rb +13 -0
  62. data/test/rails/rails_root/app/controllers/filter_controller.rb +26 -0
  63. data/test/rails/rails_root/app/controllers/mobile_spec_controller.rb +5 -0
  64. data/test/rails/rails_root/app/controllers/template_path_controller.rb +6 -0
  65. data/test/rails/rails_root/app/controllers/trans_sid_controller.rb +26 -0
  66. data/test/rails/rails_root/app/helpers/application_helper.rb +3 -0
  67. data/test/rails/rails_root/app/views/template_path/index.html.erb +1 -0
  68. data/test/rails/rails_root/app/views/template_path/index_mobile.html.erb +1 -0
  69. data/test/rails/rails_root/app/views/template_path/index_mobile_docomo.html.erb +1 -0
  70. data/test/rails/rails_root/config/boot.rb +109 -0
  71. data/test/rails/rails_root/config/database.yml +22 -0
  72. data/test/rails/rails_root/config/environment.rb +75 -0
  73. data/test/rails/rails_root/config/environments/development.rb +17 -0
  74. data/test/rails/rails_root/config/environments/production.rb +24 -0
  75. data/test/rails/rails_root/config/environments/test.rb +22 -0
  76. data/test/rails/rails_root/config/initializers/inflections.rb +10 -0
  77. data/test/rails/rails_root/config/initializers/mime_types.rb +5 -0
  78. data/test/rails/rails_root/config/initializers/new_rails_defaults.rb +17 -0
  79. data/test/rails/rails_root/config/locales/en.yml +5 -0
  80. data/test/rails/rails_root/config/routes.rb +43 -0
  81. data/test/rails/rails_root/db/development.sqlite3 +0 -0
  82. data/test/rails/rails_root/db/schema.rb +14 -0
  83. data/test/rails/rails_root/db/test.sqlite3 +0 -0
  84. data/test/rails/rails_root/doc/README_FOR_APP +5 -0
  85. data/test/rails/rails_root/lib/tasks/rspec.rake +165 -0
  86. data/test/rails/rails_root/log/development.log +38 -0
  87. data/test/rails/rails_root/log/production.log +0 -0
  88. data/test/rails/rails_root/log/server.log +0 -0
  89. data/test/rails/rails_root/log/test.log +401 -0
  90. data/test/rails/rails_root/public/404.html +30 -0
  91. data/test/rails/rails_root/public/422.html +30 -0
  92. data/test/rails/rails_root/public/500.html +33 -0
  93. data/test/rails/rails_root/public/dispatch.cgi +10 -0
  94. data/test/rails/rails_root/public/dispatch.fcgi +24 -0
  95. data/test/rails/rails_root/public/dispatch.rb +10 -0
  96. data/test/rails/rails_root/public/favicon.ico +0 -0
  97. data/test/rails/rails_root/public/images/rails.png +0 -0
  98. data/test/rails/rails_root/public/index.html +274 -0
  99. data/test/rails/rails_root/public/javascripts/application.js +2 -0
  100. data/test/rails/rails_root/public/javascripts/controls.js +963 -0
  101. data/test/rails/rails_root/public/javascripts/dragdrop.js +973 -0
  102. data/test/rails/rails_root/public/javascripts/effects.js +1128 -0
  103. data/test/rails/rails_root/public/javascripts/prototype.js +4320 -0
  104. data/test/rails/rails_root/public/robots.txt +5 -0
  105. data/test/rails/rails_root/script/about +4 -0
  106. data/test/rails/rails_root/script/console +3 -0
  107. data/test/rails/rails_root/script/dbconsole +3 -0
  108. data/test/rails/rails_root/script/destroy +3 -0
  109. data/test/rails/rails_root/script/generate +3 -0
  110. data/test/rails/rails_root/script/performance/benchmarker +3 -0
  111. data/test/rails/rails_root/script/performance/profiler +3 -0
  112. data/test/rails/rails_root/script/performance/request +3 -0
  113. data/test/rails/rails_root/script/plugin +3 -0
  114. data/test/rails/rails_root/script/process/inspector +3 -0
  115. data/test/rails/rails_root/script/process/reaper +3 -0
  116. data/test/rails/rails_root/script/process/spawner +3 -0
  117. data/test/rails/rails_root/script/runner +3 -0
  118. data/test/rails/rails_root/script/server +3 -0
  119. data/test/rails/rails_root/spec/controllers/docomo_guid_spec.rb +77 -0
  120. data/test/rails/rails_root/spec/controllers/docomo_spec.rb +28 -0
  121. data/test/rails/rails_root/spec/controllers/emobile_spec.rb +35 -0
  122. data/test/rails/rails_root/spec/controllers/filter_spec.rb +157 -0
  123. data/test/rails/rails_root/spec/controllers/pc_spec.rb +11 -0
  124. data/test/rails/rails_root/spec/controllers/softbank_emulator_spec.rb +40 -0
  125. data/test/rails/rails_root/spec/controllers/template_path_spec.rb +85 -0
  126. data/test/rails/rails_root/spec/controllers/trans_sid_spec.rb +96 -0
  127. data/test/rails/rails_root/spec/helpers/helpers_spec.rb +13 -0
  128. data/test/rails/rails_root/spec/rcov.opts +2 -0
  129. data/test/rails/rails_root/spec/rspec.rake +165 -0
  130. data/test/rails/rails_root/spec/spec.opts +4 -0
  131. data/test/rails/rails_root/spec/spec_helper.rb +47 -0
  132. data/test/rails/rails_root/test/performance/browsing_test.rb +9 -0
  133. data/test/rails/rails_root/test/test_helper.rb +38 -0
  134. data/test/rails/rails_root/vendor/plugins/jpmobile/CHANGELOG +7 -0
  135. data/test/rails/rails_root/vendor/plugins/jpmobile/MIT-LICENSE +7 -0
  136. data/{README → test/rails/rails_root/vendor/plugins/jpmobile/README.rdoc} +15 -17
  137. data/test/rails/rails_root/vendor/plugins/jpmobile/Rakefile +116 -0
  138. data/test/rails/rails_root/vendor/plugins/jpmobile/init.rb +3 -0
  139. data/test/rails/rails_root/vendor/plugins/jpmobile/install.rb +1 -0
  140. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile.rb +42 -0
  141. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/datum_conv.rb +72 -0
  142. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/docomo_guid.rb +42 -0
  143. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/email.rb +19 -0
  144. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon.rb +123 -0
  145. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/au.rb +1287 -0
  146. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/conversion_table.rb +3908 -0
  147. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/docomo.rb +255 -0
  148. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/softbank.rb +477 -0
  149. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/z_combine.rb +20 -0
  150. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/filter.rb +173 -0
  151. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/helpers.rb +185 -0
  152. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_controller.rb +11 -0
  153. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_view.rb +142 -0
  154. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_request.rb +13 -0
  155. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/abstract_mobile.rb +73 -0
  156. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/au.rb +97 -0
  157. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/display.rb +33 -0
  158. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/docomo.rb +97 -0
  159. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/emobile.rb +17 -0
  160. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/softbank.rb +110 -0
  161. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/willcom.rb +39 -0
  162. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_display_info_docomo.rb +688 -0
  163. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_au.rb +22 -0
  164. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_docomo.rb +12 -0
  165. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_emobile.rb +10 -0
  166. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_softbank.rb +17 -0
  167. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_willcom.rb +117 -0
  168. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/position.rb +67 -0
  169. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/request_with_mobile.rb +44 -0
  170. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/trans_sid.rb +105 -0
  171. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/util.rb +21 -0
  172. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/version.rb +9 -0
  173. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/spec.opts +6 -0
  174. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/spec_helper.rb +36 -0
  175. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/detect_by_email_spec.rb +31 -0
  176. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/detect_by_ua_spec.rb +42 -0
  177. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/is_carrier_spec.rb +93 -0
  178. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/spec_helper.rb +5 -0
  179. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/util_spec.rb +28 -0
  180. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/valid_ip_spec.rb +60 -0
  181. data/test/rails/rails_root/vendor/plugins/jpmobile/tasks/jpmobile_tasks.rake +59 -0
  182. data/test/rails/rails_root/vendor/plugins/jpmobile/tools/emoji/genregexp.rb +47 -0
  183. data/test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_au_emoticon_table.rb +34 -0
  184. data/test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_docomo_emoticon_table.rb +34 -0
  185. data/test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_emoticon_conversion_table.rb +107 -0
  186. data/test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_softbank_emoticon_table.rb +32 -0
  187. data/test/rails/rails_root/vendor/plugins/jpmobile/tools/list_gps_unsupported_au.rb +23 -0
  188. data/test/rails/rails_root/vendor/plugins/jpmobile/tools/update_display_info_docomo.rb +45 -0
  189. data/test/rails/rails_root/vendor/plugins/jpmobile/tools/update_ip_addresses_au.rb +29 -0
  190. data/test/rails/rails_root/vendor/plugins/jpmobile/tools/update_ip_addresses_willcom.rb +17 -0
  191. data/tools/update_ip_addresses_au.rb +15 -5
  192. metadata +188 -22
@@ -0,0 +1,43 @@
1
+ ActionController::Routing::Routes.draw do |map|
2
+ # The priority is based upon order of creation: first created -> highest priority.
3
+
4
+ # Sample of regular route:
5
+ # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
6
+ # Keep in mind you can assign values other than :controller and :action
7
+
8
+ # Sample of named route:
9
+ # map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase'
10
+ # This route can be invoked with purchase_url(:id => product.id)
11
+
12
+ # Sample resource route (maps HTTP verbs to controller actions automatically):
13
+ # map.resources :products
14
+
15
+ # Sample resource route with options:
16
+ # map.resources :products, :member => { :short => :get, :toggle => :post }, :collection => { :sold => :get }
17
+
18
+ # Sample resource route with sub-resources:
19
+ # map.resources :products, :has_many => [ :comments, :sales ], :has_one => :seller
20
+
21
+ # Sample resource route with more complex sub-resources
22
+ # map.resources :products do |products|
23
+ # products.resources :comments
24
+ # products.resources :sales, :collection => { :recent => :get }
25
+ # end
26
+
27
+ # Sample resource route within a namespace:
28
+ # map.namespace :admin do |admin|
29
+ # # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb)
30
+ # admin.resources :products
31
+ # end
32
+
33
+ # You can have the root of your site routed with map.root -- just remember to delete public/index.html.
34
+ # map.root :controller => "welcome"
35
+
36
+ # See how all your routes lay out with "rake routes"
37
+
38
+ # Install the default routes as the lowest priority.
39
+ # Note: These default routes make all actions in every controller accessible via GET requests. You should
40
+ # consider removing the them or commenting them out if you're using named routes and resources.
41
+ map.connect ':controller/:action/:id'
42
+ map.connect ':controller/:action/:id.:format'
43
+ end
@@ -0,0 +1,14 @@
1
+ # This file is auto-generated from the current state of the database. Instead of editing this file,
2
+ # please use the migrations feature of Active Record to incrementally modify your database, and
3
+ # then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your database schema. If you need
6
+ # to create the application database on another system, you should be using db:schema:load, not running
7
+ # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
8
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
9
+ #
10
+ # It's strongly recommended to check this file into your version control system.
11
+
12
+ ActiveRecord::Schema.define(:version => 0) do
13
+
14
+ end
@@ -0,0 +1,5 @@
1
+ To build the guides:
2
+
3
+ * Install source-highlighter (http://www.gnu.org/software/src-highlite/source-highlight.html)
4
+ * Install the mizuho gem (http://github.com/FooBarWidget/mizuho/tree/master)
5
+ * Run `rake guides` from the railties directory
@@ -0,0 +1,165 @@
1
+ gem 'test-unit', '1.2.3' if RUBY_VERSION.to_f >= 1.9
2
+
3
+ # Don't load rspec if running "rake gems:*"
4
+ unless ARGV.any? {|a| a =~ /^gems/}
5
+
6
+ begin
7
+ require 'spec/rake/spectask'
8
+ rescue MissingSourceFile
9
+ module Spec
10
+ module Rake
11
+ class SpecTask
12
+ def initialize(name)
13
+ task name do
14
+ # if rspec-rails is a configured gem, this will output helpful material and exit ...
15
+ require File.expand_path(File.dirname(__FILE__) + "/../../config/environment")
16
+
17
+ # ... otherwise, do this:
18
+ raise <<-MSG
19
+
20
+ #{"*" * 80}
21
+ * You are trying to run an rspec rake task defined in
22
+ * #{__FILE__},
23
+ * but rspec can not be found in vendor/gems, vendor/plugins or system gems.
24
+ #{"*" * 80}
25
+ MSG
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
31
+ end
32
+
33
+ Rake.application.instance_variable_get('@tasks').delete('default')
34
+
35
+ spec_prereq = File.exist?(File.join(RAILS_ROOT, 'config', 'database.yml')) ? "db:test:prepare" : :noop
36
+ task :noop do
37
+ end
38
+
39
+ task :default => :spec
40
+ task :stats => "spec:statsetup"
41
+
42
+ desc "Run all specs in spec directory (excluding plugin specs)"
43
+ Spec::Rake::SpecTask.new(:spec => spec_prereq) do |t|
44
+ t.spec_opts = ['--options', "\"#{RAILS_ROOT}/spec/spec.opts\""]
45
+ t.spec_files = FileList['spec/**/*/*_spec.rb']
46
+ end
47
+
48
+ namespace :spec do
49
+ desc "Run all specs in spec directory with RCov (excluding plugin specs)"
50
+ Spec::Rake::SpecTask.new(:rcov) do |t|
51
+ t.spec_opts = ['--options', "\"#{RAILS_ROOT}/spec/spec.opts\""]
52
+ t.spec_files = FileList['spec/**/*/*_spec.rb']
53
+ t.rcov = true
54
+ t.rcov_opts = lambda do
55
+ IO.readlines("#{RAILS_ROOT}/spec/rcov.opts").map {|l| l.chomp.split " "}.flatten
56
+ end
57
+ end
58
+
59
+ desc "Print Specdoc for all specs (excluding plugin specs)"
60
+ Spec::Rake::SpecTask.new(:doc) do |t|
61
+ t.spec_opts = ["--format", "specdoc", "--dry-run"]
62
+ t.spec_files = FileList['spec/**/*/*_spec.rb']
63
+ end
64
+
65
+ desc "Print Specdoc for all plugin examples"
66
+ Spec::Rake::SpecTask.new(:plugin_doc) do |t|
67
+ t.spec_opts = ["--format", "specdoc", "--dry-run"]
68
+ t.spec_files = FileList['vendor/plugins/**/spec/**/*/*_spec.rb'].exclude('vendor/plugins/rspec/*')
69
+ end
70
+
71
+ [:models, :controllers, :views, :helpers, :lib].each do |sub|
72
+ desc "Run the code examples in spec/#{sub}"
73
+ Spec::Rake::SpecTask.new(sub => spec_prereq) do |t|
74
+ t.spec_opts = ['--options', "\"#{RAILS_ROOT}/spec/spec.opts\""]
75
+ t.spec_files = FileList["spec/#{sub}/**/*_spec.rb"]
76
+ end
77
+ end
78
+
79
+ desc "Run the code examples in vendor/plugins (except RSpec's own)"
80
+ Spec::Rake::SpecTask.new(:plugins => spec_prereq) do |t|
81
+ t.spec_opts = ['--options', "\"#{RAILS_ROOT}/spec/spec.opts\""]
82
+ t.spec_files = FileList['vendor/plugins/**/spec/**/*/*_spec.rb'].exclude('vendor/plugins/rspec/*').exclude("vendor/plugins/rspec-rails/*")
83
+ end
84
+
85
+ namespace :plugins do
86
+ desc "Runs the examples for rspec_on_rails"
87
+ Spec::Rake::SpecTask.new(:rspec_on_rails) do |t|
88
+ t.spec_opts = ['--options', "\"#{RAILS_ROOT}/spec/spec.opts\""]
89
+ t.spec_files = FileList['vendor/plugins/rspec-rails/spec/**/*/*_spec.rb']
90
+ end
91
+ end
92
+
93
+ # Setup specs for stats
94
+ task :statsetup do
95
+ require 'code_statistics'
96
+ ::STATS_DIRECTORIES << %w(Model\ specs spec/models) if File.exist?('spec/models')
97
+ ::STATS_DIRECTORIES << %w(View\ specs spec/views) if File.exist?('spec/views')
98
+ ::STATS_DIRECTORIES << %w(Controller\ specs spec/controllers) if File.exist?('spec/controllers')
99
+ ::STATS_DIRECTORIES << %w(Helper\ specs spec/helpers) if File.exist?('spec/helpers')
100
+ ::STATS_DIRECTORIES << %w(Library\ specs spec/lib) if File.exist?('spec/lib')
101
+ ::STATS_DIRECTORIES << %w(Routing\ specs spec/lib) if File.exist?('spec/routing')
102
+ ::CodeStatistics::TEST_TYPES << "Model specs" if File.exist?('spec/models')
103
+ ::CodeStatistics::TEST_TYPES << "View specs" if File.exist?('spec/views')
104
+ ::CodeStatistics::TEST_TYPES << "Controller specs" if File.exist?('spec/controllers')
105
+ ::CodeStatistics::TEST_TYPES << "Helper specs" if File.exist?('spec/helpers')
106
+ ::CodeStatistics::TEST_TYPES << "Library specs" if File.exist?('spec/lib')
107
+ ::CodeStatistics::TEST_TYPES << "Routing specs" if File.exist?('spec/routing')
108
+ end
109
+
110
+ namespace :db do
111
+ namespace :fixtures do
112
+ desc "Load fixtures (from spec/fixtures) into the current environment's database. Load specific fixtures using FIXTURES=x,y. Load from subdirectory in test/fixtures using FIXTURES_DIR=z."
113
+ task :load => :environment do
114
+ ActiveRecord::Base.establish_connection(Rails.env)
115
+ base_dir = File.join(Rails.root, 'spec', 'fixtures')
116
+ fixtures_dir = ENV['FIXTURES_DIR'] ? File.join(base_dir, ENV['FIXTURES_DIR']) : base_dir
117
+
118
+ require 'active_record/fixtures'
119
+ (ENV['FIXTURES'] ? ENV['FIXTURES'].split(/,/).map {|f| File.join(fixtures_dir, f) } : Dir.glob(File.join(fixtures_dir, '*.{yml,csv}'))).each do |fixture_file|
120
+ Fixtures.create_fixtures(File.dirname(fixture_file), File.basename(fixture_file, '.*'))
121
+ end
122
+ end
123
+ end
124
+ end
125
+
126
+ namespace :server do
127
+ daemonized_server_pid = File.expand_path("#{RAILS_ROOT}/tmp/pids/spec_server.pid")
128
+
129
+ desc "start spec_server."
130
+ task :start do
131
+ if File.exist?(daemonized_server_pid)
132
+ $stderr.puts "spec_server is already running."
133
+ else
134
+ $stderr.puts %Q{Starting up spec_server ...}
135
+ FileUtils.mkdir_p('tmp/pids') unless test ?d, 'tmp/pids'
136
+ system("ruby", "script/spec_server", "--daemon", "--pid", daemonized_server_pid)
137
+ end
138
+ end
139
+
140
+ desc "stop spec_server."
141
+ task :stop do
142
+ unless File.exist?(daemonized_server_pid)
143
+ $stderr.puts "No server running."
144
+ else
145
+ $stderr.puts "Shutting down spec_server ..."
146
+ system("kill", "-s", "TERM", File.read(daemonized_server_pid).strip) &&
147
+ File.delete(daemonized_server_pid)
148
+ end
149
+ end
150
+
151
+ desc "restart spec_server."
152
+ task :restart => [:stop, :start]
153
+
154
+ desc "check if spec server is running"
155
+ task :status do
156
+ if File.exist?(daemonized_server_pid)
157
+ $stderr.puts %Q{spec_server is running (PID: #{File.read(daemonized_server_pid).gsub("\n","")})}
158
+ else
159
+ $stderr.puts "No server running."
160
+ end
161
+ end
162
+ end
163
+ end
164
+
165
+ end
@@ -0,0 +1,38 @@
1
+ SQL (0.4ms)  SELECT name
2
+ FROM sqlite_master
3
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
4
+ 
5
+ SQL (0.2ms) select sqlite_version(*)
6
+ SQL (2.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7
+ SQL (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8
+ SQL (0.4ms)  SELECT name
9
+ FROM sqlite_master
10
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
11
+ 
12
+ SQL (0.2ms)  SELECT name
13
+ FROM sqlite_master
14
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
15
+ 
16
+ SQL (0.1ms) SELECT version FROM schema_migrations
17
+ SQL (0.1ms)  SELECT name
18
+ FROM sqlite_master
19
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
20
+ 
21
+ SQL (0.7ms)  SELECT name
22
+ FROM sqlite_master
23
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
24
+ 
25
+ SQL (0.1ms) SELECT version FROM schema_migrations
26
+ SQL (0.2ms)  SELECT name
27
+ FROM sqlite_master
28
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
29
+ 
30
+ SQL (0.1ms) select sqlite_version(*)
31
+ SQL (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
32
+ SQL (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
33
+ SQL (0.2ms)  SELECT name
34
+ FROM sqlite_master
35
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
36
+ 
37
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
38
+ SQL (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
File without changes
File without changes
@@ -0,0 +1,401 @@
1
+
2
+
3
+ Processing TransSidAlwaysAndSessionOffController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
4
+ Completed in 2ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_always_and_session_off/link]
5
+
6
+
7
+ Processing TransSidAlwaysAndSessionOffController#form (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
8
+ Completed in 1ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_always_and_session_off/form]
9
+
10
+
11
+ Processing TransSidMobileController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
12
+ Completed in 3ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_mobile/link]
13
+
14
+
15
+ Processing TransSidMobileController#form (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
16
+ Completed in 1ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_mobile/form]
17
+
18
+
19
+ Processing TransSidMobileController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
20
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/trans_sid_mobile/link]
21
+
22
+
23
+ Processing TransSidMobileController#form (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
24
+ Completed in 1ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_mobile/form]
25
+
26
+
27
+ Processing TransSidMobileController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
28
+ Completed in 1ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_mobile/link]
29
+
30
+
31
+ Processing TransSidMobileController#form (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
32
+ Completed in 2ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_mobile/form]
33
+
34
+
35
+ Processing TransSidMobileController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
36
+ Completed in 1ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_mobile/link]
37
+
38
+
39
+ Processing TransSidMobileController#form (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
40
+ Completed in 2ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_mobile/form]
41
+
42
+
43
+ Processing TransSidMobileController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
44
+ Completed in 1ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_mobile/link]
45
+
46
+
47
+ Processing TransSidMobileController#form (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
48
+ Completed in 1ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_mobile/form]
49
+
50
+
51
+ Processing TransSidAlwaysController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
52
+ Completed in 2ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_always/link]
53
+
54
+
55
+ Processing TransSidAlwaysController#form (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
56
+ Completed in 1ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_always/form]
57
+
58
+
59
+ Processing TransSidNoneController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
60
+ Completed in 3ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_none/link]
61
+
62
+
63
+ Processing TransSidNoneController#form (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
64
+ Completed in 1ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_none/form]
65
+
66
+
67
+ Processing TransSidBaseController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
68
+ Completed in 2ms (View: 0, DB: 0) | 200 OK [http://test.host/trans_sid_base/link]
69
+
70
+
71
+ Processing TransSidBaseController#form (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
72
+ Completed in 1ms (View: 1, DB: 0) | 200 OK [http://test.host/trans_sid_base/form]
73
+
74
+
75
+ Processing TemplatePathController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
76
+ Rendering template_path/index
77
+ Completed in 3ms (View: 1, DB: 0) | 200 OK [http://test.host/template_path]
78
+
79
+
80
+ Processing TemplatePathController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
81
+ Rendering template_path/index
82
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/template_path]
83
+
84
+
85
+ Processing TemplatePathController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
86
+ Rendering template_path/index
87
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/template_path]
88
+
89
+
90
+ Processing TemplatePathController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
91
+ Rendering template_path/index
92
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/template_path]
93
+
94
+
95
+ Processing TemplatePathController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
96
+ Rendering template_path/index
97
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/template_path]
98
+
99
+
100
+ Processing TemplatePathController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
101
+ Rendering template_path/index
102
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/template_path]
103
+
104
+
105
+ Processing TemplatePathController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
106
+ Rendering template_path/index
107
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/template_path]
108
+
109
+
110
+ Processing TemplatePathController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
111
+ Rendering template_path/index
112
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/template_path]
113
+
114
+
115
+ Processing HankakuFilterController#abracadabra_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
116
+ Completed in 91ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter/abracadabra_utf8]
117
+
118
+
119
+ Processing HankakuFilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
120
+ Parameters: {"q"=>"アブラカダブラ"}
121
+ Rendering hankaku_filter/index
122
+ Completed in 3ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter?q=%E3%82%A2%E3%83%96%E3%83%A9%E3%82%AB%E3%83%80%E3%83%96%E3%83%A9]
123
+
124
+
125
+ Processing HankakuFilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
126
+ Parameters: {"q"=>"アブラカダブラ"}
127
+ Rendering hankaku_filter/index
128
+ Completed in 2ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter?q=%EF%BD%B1%EF%BE%8C%EF%BE%9E%EF%BE%97%EF%BD%B6%EF%BE%80%EF%BE%9E%EF%BE%8C%EF%BE%9E%EF%BE%97]
129
+
130
+
131
+ Processing HankakuFilterController#rawdata (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
132
+ Sending data
133
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter/rawdata]
134
+
135
+
136
+ Processing HankakuFilterController#empty (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
137
+ Completed in 2ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter/empty]
138
+
139
+
140
+ Processing HankakuFilterController#abracadabra_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
141
+ Completed in 3ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter/abracadabra_utf8]
142
+
143
+
144
+ Processing HankakuFilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
145
+ Parameters: {"q"=>"\203A\203u\203\211\203J\203_\203u\203\211"}
146
+ Rendering hankaku_filter/index
147
+ Completed in 2ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter?q=%83A%83u%83%89%83J%83_%83u%83%89]
148
+
149
+
150
+ Processing HankakuFilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
151
+ Parameters: {"q"=>"\261��׶����\327"}
152
+ Rendering hankaku_filter/index
153
+ Completed in 2ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter?q=%B1%CC%DE%D7%B6%C0%DE%CC%DE%D7]
154
+
155
+
156
+ Processing HankakuFilterController#rawdata (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
157
+ Sending data
158
+ Completed in 2ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter/rawdata]
159
+
160
+
161
+ Processing HankakuFilterController#empty (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
162
+ Completed in 2ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter/empty]
163
+
164
+
165
+ Processing FilterController#abracadabra_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
166
+ Completed in 2ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/abracadabra_utf8]
167
+
168
+
169
+ Processing FilterController#abracadabra_xhtml_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
170
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/abracadabra_xhtml_utf8]
171
+
172
+
173
+ Processing FilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
174
+ Parameters: {"q"=>"アブラカダブラ"}
175
+ Rendering filter/index
176
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter?q=%E3%82%A2%E3%83%96%E3%83%A9%E3%82%AB%E3%83%80%E3%83%96%E3%83%A9]
177
+
178
+
179
+ Processing FilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
180
+ Parameters: {"q"=>"アブラカダブラ"}
181
+ Rendering filter/index
182
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter?q=%EF%BD%B1%EF%BE%8C%EF%BE%9E%EF%BE%97%EF%BD%B6%EF%BE%80%EF%BE%9E%EF%BE%8C%EF%BE%9E%EF%BE%97]
183
+
184
+
185
+ Processing FilterController#rawdata (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
186
+ Sending data
187
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/rawdata]
188
+
189
+
190
+ Processing FilterController#empty (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
191
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/empty]
192
+
193
+
194
+ Processing FilterController#abracadabra_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
195
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/abracadabra_utf8]
196
+
197
+
198
+ Processing FilterController#abracadabra_xhtml_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
199
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/abracadabra_xhtml_utf8]
200
+
201
+
202
+ Processing FilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
203
+ Parameters: {"q"=>"アブラカダブラ"}
204
+ Rendering filter/index
205
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter?q=%E3%82%A2%E3%83%96%E3%83%A9%E3%82%AB%E3%83%80%E3%83%96%E3%83%A9]
206
+
207
+
208
+ Processing FilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
209
+ Parameters: {"q"=>"アブラカダブラ"}
210
+ Rendering filter/index
211
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter?q=%EF%BD%B1%EF%BE%8C%EF%BE%9E%EF%BE%97%EF%BD%B6%EF%BE%80%EF%BE%9E%EF%BE%8C%EF%BE%9E%EF%BE%97]
212
+
213
+
214
+ Processing FilterController#rawdata (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
215
+ Sending data
216
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/rawdata]
217
+
218
+
219
+ Processing FilterController#empty (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
220
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/empty]
221
+
222
+
223
+ Processing FilterController#abracadabra_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
224
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/abracadabra_utf8]
225
+
226
+
227
+ Processing FilterController#abracadabra_xhtml_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
228
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/abracadabra_xhtml_utf8]
229
+
230
+
231
+ Processing FilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
232
+ Parameters: {"q"=>"\203A\203u\203\211\203J\203_\203u\203\211"}
233
+ Rendering filter/index
234
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter?q=%83A%83u%83%89%83J%83_%83u%83%89]
235
+
236
+
237
+ Processing FilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
238
+ Parameters: {"q"=>"\261��׶����\327"}
239
+ Rendering filter/index
240
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter?q=%B1%CC%DE%D7%B6%C0%DE%CC%DE%D7]
241
+
242
+
243
+ Processing FilterController#rawdata (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
244
+ Sending data
245
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/rawdata]
246
+
247
+
248
+ Processing FilterController#empty (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
249
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/empty]
250
+
251
+
252
+ Processing FilterController#abracadabra_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
253
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/abracadabra_utf8]
254
+
255
+
256
+ Processing FilterController#abracadabra_xhtml_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
257
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/abracadabra_xhtml_utf8]
258
+
259
+
260
+ Processing FilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
261
+ Parameters: {"q"=>"\203A\203u\203\211\203J\203_\203u\203\211"}
262
+ Rendering filter/index
263
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter?q=%83A%83u%83%89%83J%83_%83u%83%89]
264
+
265
+
266
+ Processing FilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
267
+ Parameters: {"q"=>"\261��׶����\327"}
268
+ Rendering filter/index
269
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter?q=%B1%CC%DE%D7%B6%C0%DE%CC%DE%D7]
270
+
271
+
272
+ Processing FilterController#rawdata (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
273
+ Sending data
274
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/rawdata]
275
+
276
+
277
+ Processing FilterController#empty (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
278
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/empty]
279
+
280
+
281
+ Processing FilterController#abracadabra_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
282
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/abracadabra_utf8]
283
+
284
+
285
+ Processing FilterController#abracadabra_xhtml_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
286
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/abracadabra_xhtml_utf8]
287
+
288
+
289
+ Processing FilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
290
+ Parameters: {"q"=>"\203A\203u\203\211\203J\203_\203u\203\211"}
291
+ Rendering filter/index
292
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter?q=%83A%83u%83%89%83J%83_%83u%83%89]
293
+
294
+
295
+ Processing FilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
296
+ Parameters: {"q"=>"\261��׶����\327"}
297
+ Rendering filter/index
298
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter?q=%B1%CC%DE%D7%B6%C0%DE%CC%DE%D7]
299
+
300
+
301
+ Processing FilterController#rawdata (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
302
+ Sending data
303
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/rawdata]
304
+
305
+
306
+ Processing FilterController#empty (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
307
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/empty]
308
+
309
+
310
+ Processing HankakuFilterController#abracadabra_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
311
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter/abracadabra_utf8]
312
+
313
+
314
+ Processing HankakuFilterController#abracadabra_xhtml_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
315
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter/abracadabra_xhtml_utf8]
316
+
317
+
318
+ Processing HankakuFilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
319
+ Parameters: {"q"=>"アブラカダブラ"}
320
+ Rendering hankaku_filter/index
321
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter?q=%E3%82%A2%E3%83%96%E3%83%A9%E3%82%AB%E3%83%80%E3%83%96%E3%83%A9]
322
+
323
+
324
+ Processing HankakuFilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
325
+ Parameters: {"q"=>"アブラカダブラ"}
326
+ Rendering hankaku_filter/index
327
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter?q=%EF%BD%B1%EF%BE%8C%EF%BE%9E%EF%BE%97%EF%BD%B6%EF%BE%80%EF%BE%9E%EF%BE%8C%EF%BE%9E%EF%BE%97]
328
+
329
+
330
+ Processing HankakuFilterController#rawdata (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
331
+ Sending data
332
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter/rawdata]
333
+
334
+
335
+ Processing HankakuFilterController#empty (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
336
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/hankaku_filter/empty]
337
+
338
+
339
+ Processing FilterController#abracadabra_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
340
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/abracadabra_utf8]
341
+
342
+
343
+ Processing FilterController#abracadabra_xhtml_utf8 (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
344
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/abracadabra_xhtml_utf8]
345
+
346
+
347
+ Processing FilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
348
+ Parameters: {"q"=>"アブラカダブラ"}
349
+ Rendering filter/index
350
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter?q=%E3%82%A2%E3%83%96%E3%83%A9%E3%82%AB%E3%83%80%E3%83%96%E3%83%A9]
351
+
352
+
353
+ Processing FilterController#index (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
354
+ Parameters: {"q"=>"アブラカダブラ"}
355
+ Rendering filter/index
356
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter?q=%EF%BD%B1%EF%BE%8C%EF%BE%9E%EF%BE%97%EF%BD%B6%EF%BE%80%EF%BE%9E%EF%BE%8C%EF%BE%9E%EF%BE%97]
357
+
358
+
359
+ Processing FilterController#rawdata (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
360
+ Sending data
361
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/rawdata]
362
+
363
+
364
+ Processing FilterController#empty (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
365
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/filter/empty]
366
+
367
+
368
+ Processing DocomoGuidDocomoController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
369
+ Completed in 2ms (View: 1, DB: 0) | 200 OK [http://test.host/docomo_guid_docomo/link]
370
+
371
+
372
+ Processing DocomoGuidDocomoController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
373
+ Completed in 1ms (View: 1, DB: 0) | 200 OK [http://test.host/docomo_guid_docomo/link]
374
+
375
+
376
+ Processing DocomoGuidDocomoController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
377
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/docomo_guid_docomo/link]
378
+
379
+
380
+ Processing DocomoGuidDocomoController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
381
+ Completed in 1ms (View: 0, DB: 0) | 200 OK [http://test.host/docomo_guid_docomo/link]
382
+
383
+
384
+ Processing DocomoGuidDocomoController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
385
+ Completed in 1ms (View: 1, DB: 0) | 200 OK [http://test.host/docomo_guid_docomo/link]
386
+
387
+
388
+ Processing DocomoGuidDocomoController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
389
+ Completed in 2ms (View: 2, DB: 0) | 200 OK [http://test.host/docomo_guid_docomo/link]
390
+
391
+
392
+ Processing DocomoGuidDocomoController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
393
+ Completed in 2ms (View: 1, DB: 0) | 200 OK [http://test.host/docomo_guid_docomo/link?guid=ON]
394
+
395
+
396
+ Processing DocomoGuidAlwaysController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
397
+ Completed in 2ms (View: 0, DB: 0) | 200 OK [http://test.host/docomo_guid_always/link?guid=ON]
398
+
399
+
400
+ Processing DocomoGuidBaseController#link (for 0.0.0.0 at 2009-05-13 07:49:21) [GET]
401
+ Completed in 2ms (View: 0, DB: 0) | 200 OK [http://test.host/docomo_guid_base/link]