jpmobile 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. data/.gitignore +6 -0
  2. data/{test/rails/rails_root/vendor/plugins/jpmobile/MIT-LICENSE → MIT-LICENSE} +0 -0
  3. data/README.rdoc +16 -6
  4. data/Rakefile +14 -0
  5. data/VERSION.yml +4 -0
  6. data/init.rb +3 -0
  7. data/install.rb +1 -0
  8. data/jpmobile.gemspec +299 -0
  9. data/lib/jpmobile.rb +0 -2
  10. data/lib/jpmobile/emoticon.rb +16 -2
  11. data/lib/jpmobile/emoticon/z_combine.rb +17 -4
  12. data/lib/jpmobile/filter.rb +2 -3
  13. data/lib/jpmobile/mobile/abstract_mobile.rb +6 -0
  14. data/lib/jpmobile/mobile/docomo.rb +24 -1
  15. data/lib/jpmobile/mobile/z_ip_addresses_au.rb +3 -2
  16. data/lib/jpmobile/mobile/z_ip_addresses_docomo.rb +4 -1
  17. data/lib/jpmobile/request_with_mobile.rb +4 -1
  18. data/{test/rails/rails_root/vendor/plugins/jpmobile/spec → spec}/spec.opts +0 -0
  19. data/spec/spec_helper.rb +36 -0
  20. data/spec/unit/detect_by_email_spec.rb +31 -0
  21. data/{test/rails/rails_root/vendor/plugins/jpmobile/spec → spec}/unit/detect_by_ua_spec.rb +11 -13
  22. data/spec/unit/is_carrier_spec.rb +93 -0
  23. data/spec/unit/spec_helper.rb +5 -0
  24. data/spec/unit/util_spec.rb +30 -0
  25. data/spec/unit/valid_ip_spec.rb +60 -0
  26. data/{test/rails/rails_root/vendor/plugins/jpmobile/tasks → tasks}/jpmobile_tasks.rake +3 -3
  27. data/test/legacy/autoload_test.rb +2 -1
  28. data/test/legacy/docomo_test.rb +39 -0
  29. data/test/legacy/emoticon_functional_test.rb +21 -19
  30. data/test/legacy/emoticon_test.rb +12 -12
  31. data/test/legacy/filter_test.rb +10 -8
  32. data/test/legacy/helper.rb +32 -3
  33. data/test/legacy/softbank_test.rb +2 -0
  34. data/test/rails/.gitignore +1 -0
  35. data/test/rails/overrides/app/controllers/filter_controller.rb +10 -0
  36. data/test/rails/overrides/spec/controllers/docomo_guid_spec.rb +2 -0
  37. data/test/rails/overrides/spec/controllers/docomo_spec.rb +2 -0
  38. data/test/rails/overrides/spec/controllers/emobile_spec.rb +2 -0
  39. data/test/rails/overrides/spec/controllers/filter_spec.rb +8 -7
  40. data/test/rails/overrides/spec/controllers/pc_spec.rb +2 -0
  41. data/test/rails/overrides/spec/controllers/softbank_emulator_spec.rb +2 -0
  42. data/test/rails/overrides/spec/controllers/template_path_spec.rb +2 -0
  43. data/test/rails/overrides/spec/controllers/trans_sid_spec.rb +1 -0
  44. data/test/rails/overrides/spec/helpers/helpers_spec.rb +2 -0
  45. data/test/rails/overrides/spec/spec_helper.rb +15 -0
  46. data/test/rails/rails_root/app/controllers/filter_controller.rb +0 -23
  47. data/test/rails/rails_root/app/controllers/mobile_spec_controller.rb +1 -1
  48. data/test/rails/rails_root/app/controllers/template_path_controller.rb +3 -0
  49. data/test/rails/rails_root/app/helpers/application_helper.rb +0 -1
  50. data/test/rails/rails_root/config/boot.rb +13 -110
  51. data/test/rails/rails_root/config/environment.rb +4 -41
  52. data/test/rails/rails_root/config/environments/development.rb +22 -13
  53. data/test/rails/rails_root/config/environments/production.rb +41 -20
  54. data/test/rails/rails_root/config/environments/test.rb +35 -28
  55. data/test/rails/rails_root/config/initializers/backtrace_silencers.rb +2 -2
  56. data/test/rails/rails_root/config/initializers/inflections.rb +1 -1
  57. data/test/rails/rails_root/config/initializers/session_store.rb +2 -15
  58. data/test/rails/rails_root/config/routes.rb +6 -42
  59. data/test/rails/rails_root/db/schema.rb +24 -7
  60. data/test/rails/rails_root/db/seeds.rb +2 -2
  61. data/test/rails/rails_root/spec/helpers/helpers_spec.rb +4 -2
  62. data/test/rails/rails_root/spec/spec_helper.rb +19 -35
  63. data/test/rails/rails_root/test/performance/browsing_test.rb +2 -2
  64. data/test/rails/rails_root/test/test_helper.rb +2 -27
  65. data/test/rails/rails_root/vendor/plugins/jpmobile/init.rb +1 -1
  66. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile.rb +39 -25
  67. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/docomo_guid.rb +2 -1
  68. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/email.rb +3 -4
  69. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon.rb +24 -8
  70. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/conversion_table.rb +10 -9
  71. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/z_combine.rb +17 -4
  72. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/filter.rb +43 -136
  73. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/helpers.rb +5 -18
  74. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_controller.rb +24 -16
  75. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_view.rb +42 -85
  76. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/abstract_mobile.rb +25 -2
  77. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/au.rb +28 -3
  78. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/display.rb +29 -26
  79. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/docomo.rb +60 -11
  80. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/softbank.rb +16 -41
  81. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/willcom.rb +1 -10
  82. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_au.rb +3 -2
  83. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_docomo.rb +4 -1
  84. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/position.rb +4 -3
  85. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/request_with_mobile.rb +14 -13
  86. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/trans_sid.rb +52 -35
  87. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/util.rb +68 -0
  88. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/spec_helper.rb +3 -2
  89. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/detect_by_email_spec.rb +21 -27
  90. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/is_carrier_spec.rb +56 -84
  91. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/spec_helper.rb +1 -2
  92. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/util_spec.rb +8 -2
  93. data/test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/valid_ip_spec.rb +43 -52
  94. data/test/rails/rails_root/vendor/plugins/jpmobile/tools/disabled_update_display_info_docomo.rb +0 -0
  95. data/test/rails/rails_root/vendor/plugins/jpmobile/tools/update_ip_addresses_au.rb +0 -0
  96. data/tools/emoji/genregexp.rb +47 -0
  97. metadata +348 -253
  98. data/test/rails/rails_root/README +0 -243
  99. data/test/rails/rails_root/Rakefile +0 -10
  100. data/test/rails/rails_root/app/controllers/docomo_guid_controller.rb +0 -13
  101. data/test/rails/rails_root/app/controllers/trans_sid_controller.rb +0 -28
  102. data/test/rails/rails_root/app/views/filter/index.html.erb +0 -0
  103. data/test/rails/rails_root/app/views/hankaku_filter/index.html.erb +0 -0
  104. data/test/rails/rails_root/app/views/template_path/_partial.html.erb +0 -1
  105. data/test/rails/rails_root/app/views/template_path/_partial_mobile.html.erb +0 -1
  106. data/test/rails/rails_root/app/views/template_path/_partial_mobile_docomo.html.erb +0 -1
  107. data/test/rails/rails_root/app/views/template_path/index.html.erb +0 -1
  108. data/test/rails/rails_root/app/views/template_path/index_mobile.html.erb +0 -1
  109. data/test/rails/rails_root/app/views/template_path/index_mobile_docomo.html.erb +0 -1
  110. data/test/rails/rails_root/app/views/template_path/partial.html.erb +0 -2
  111. data/test/rails/rails_root/config/database.yml +0 -22
  112. data/test/rails/rails_root/config/initializers/new_rails_defaults.rb +0 -21
  113. data/test/rails/rails_root/config/locales/en.yml +0 -5
  114. data/test/rails/rails_root/db/development.sqlite3 +0 -0
  115. data/test/rails/rails_root/db/test.sqlite3 +0 -0
  116. data/test/rails/rails_root/doc/README_FOR_APP +0 -2
  117. data/test/rails/rails_root/lib/tasks/rspec.rake +0 -165
  118. data/test/rails/rails_root/log/development.log +0 -38
  119. data/test/rails/rails_root/log/production.log +0 -0
  120. data/test/rails/rails_root/log/server.log +0 -0
  121. data/test/rails/rails_root/log/test.log +0 -451
  122. data/test/rails/rails_root/public/404.html +0 -30
  123. data/test/rails/rails_root/public/422.html +0 -30
  124. data/test/rails/rails_root/public/500.html +0 -30
  125. data/test/rails/rails_root/public/favicon.ico +0 -0
  126. data/test/rails/rails_root/public/images/rails.png +0 -0
  127. data/test/rails/rails_root/public/index.html +0 -275
  128. data/test/rails/rails_root/public/javascripts/application.js +0 -2
  129. data/test/rails/rails_root/public/javascripts/controls.js +0 -963
  130. data/test/rails/rails_root/public/javascripts/dragdrop.js +0 -973
  131. data/test/rails/rails_root/public/javascripts/effects.js +0 -1128
  132. data/test/rails/rails_root/public/javascripts/prototype.js +0 -4320
  133. data/test/rails/rails_root/public/robots.txt +0 -5
  134. data/test/rails/rails_root/script/about +0 -4
  135. data/test/rails/rails_root/script/console +0 -3
  136. data/test/rails/rails_root/script/dbconsole +0 -3
  137. data/test/rails/rails_root/script/destroy +0 -3
  138. data/test/rails/rails_root/script/generate +0 -3
  139. data/test/rails/rails_root/script/performance/benchmarker +0 -3
  140. data/test/rails/rails_root/script/performance/profiler +0 -3
  141. data/test/rails/rails_root/script/plugin +0 -3
  142. data/test/rails/rails_root/script/runner +0 -3
  143. data/test/rails/rails_root/script/server +0 -3
  144. data/test/rails/rails_root/spec/controllers/docomo_guid_spec.rb +0 -77
  145. data/test/rails/rails_root/spec/controllers/docomo_spec.rb +0 -28
  146. data/test/rails/rails_root/spec/controllers/emobile_spec.rb +0 -35
  147. data/test/rails/rails_root/spec/controllers/filter_spec.rb +0 -157
  148. data/test/rails/rails_root/spec/controllers/pc_spec.rb +0 -11
  149. data/test/rails/rails_root/spec/controllers/softbank_emulator_spec.rb +0 -40
  150. data/test/rails/rails_root/spec/controllers/template_path_spec.rb +0 -115
  151. data/test/rails/rails_root/spec/controllers/trans_sid_spec.rb +0 -99
  152. data/test/rails/rails_root/spec/rcov.opts +0 -2
  153. data/test/rails/rails_root/spec/rspec.rake +0 -165
  154. data/test/rails/rails_root/spec/spec.opts +0 -4
  155. data/test/rails/rails_root/vendor/plugins/jpmobile/CHANGELOG +0 -7
  156. data/test/rails/rails_root/vendor/plugins/jpmobile/README.rdoc +0 -239
  157. data/test/rails/rails_root/vendor/plugins/jpmobile/Rakefile +0 -116
  158. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_request.rb +0 -5
  159. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/auth.rb +0 -55
  160. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/combined_logger.rb +0 -54
  161. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/request.rb +0 -7
  162. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/trans_sid.rb +0 -14
  163. data/test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/version.rb +0 -9
@@ -1,60 +1,51 @@
1
- require File.join(File.dirname(__FILE__), 'spec_helper')
1
+ require File.join(File.expand_path(File.dirname(__FILE__)), 'spec_helper')
2
2
 
3
3
  describe 'Jpmobile::Mobile::valid_ip?' do
4
- Spec::Fixture::Base.new self, :remote_ip => :carrier do
5
- it 'should be return true if :remote_ip is in :carrier address' do |remote_ip, carrier|
4
+ [
5
+ [ '210.153.84.1' , :Docomo ],
6
+ [ '210.153.84.254' , :Docomo ],
7
+ [ '210.230.128.225' , :Au ],
8
+ [ '210.230.128.238' , :Au ],
9
+ [ '123.108.236.1' , :Softbank ],
10
+ [ '123.108.236.254' , :Softbank ],
11
+ [ '123.108.236.1' , :Vodafone ],
12
+ [ '123.108.236.254' , :Vodafone ],
13
+ [ '61.198.142.1' , :Willcom ],
14
+ [ '61.198.142.254' , :Willcom ],
15
+ [ '61.198.142.1' , :Ddipocket ],
16
+ [ '61.198.142.254' , :Ddipocket ],
17
+ [ '117.55.1.224' , :Emobile ],
18
+ [ '117.55.1.254' , :Emobile ],
19
+ ].each do |remote_ip, carrier|
20
+ it "should be return true if #{remote_ip} is in #{:carrier} address" do
6
21
  Jpmobile::Mobile.const_get(carrier).valid_ip?(remote_ip).should == true
7
22
  end
23
+ end
8
24
 
9
- set_fixtures([
10
- [ '210.153.84.1' => :Docomo ],
11
- [ '210.153.84.254' => :Docomo ],
12
- [ '210.230.128.225' => :Au ],
13
- [ '210.230.128.238' => :Au ],
14
- [ '123.108.236.1' => :Softbank ],
15
- [ '123.108.236.254' => :Softbank ],
16
- [ '123.108.236.1' => :Vodafone ],
17
- [ '123.108.236.254' => :Vodafone ],
18
- [ '123.108.236.1' => :Jphone ],
19
- [ '123.108.236.254' => :Jphone ],
20
- [ '61.198.142.1' => :Willcom ],
21
- [ '61.198.142.254' => :Willcom ],
22
- [ '61.198.142.1' => :Ddipocket ],
23
- [ '61.198.142.254' => :Ddipocket ],
24
- [ '117.55.1.224' => :Emobile ],
25
- [ '117.55.1.254' => :Emobile ],
26
- ])
27
- end.run
28
-
29
- Spec::Fixture::Base.new self, :remote_ip => :carrier do
30
- it 'should not be return true if :remote_ip is in :carrier address' do |remote_ip, carrier|
25
+ [
26
+ [ '127.0.0.1' , :Docomo ],
27
+ [ '210.153.83.1' , :Docomo ],
28
+ [ '210.153.83.254' , :Docomo ],
29
+ [ '127.0.0.1' , :Au ],
30
+ [ '210.169.41.1' , :Au ],
31
+ [ '210.169.41.254' , :Au ],
32
+ [ '127.0.0.1' , :Softbank ],
33
+ [ '123.108.238.1' , :Softbank ],
34
+ [ '123.108.238.254' , :Softbank ],
35
+ [ '127.0.0.1' , :Vodafone ],
36
+ [ '123.108.238.1' , :Vodafone ],
37
+ [ '123.108.238.254' , :Vodafone ],
38
+ [ '127.0.0.1' , :Willcom ],
39
+ [ '61.198.144.1' , :Willcom ],
40
+ [ '61.198.144.254' , :Willcom ],
41
+ [ '127.0.0.1' , :Ddipocket ],
42
+ [ '61.198.144.1' , :Ddipocket ],
43
+ [ '61.198.144.254' , :Ddipocket ],
44
+ [ '127.0.0.1' , :Emobile ],
45
+ [ '117.55.1.223' , :Emobile ],
46
+ ].each do |remote_ip, carrier|
47
+ it 'should not be return true if #{:remote_ip} is in #{carrier} address' do
31
48
  Jpmobile::Mobile.const_get(carrier).valid_ip?(remote_ip).should_not == true
32
49
  end
33
-
34
- set_fixtures([
35
- [ '127.0.0.1' => :Docomo ],
36
- [ '210.153.83.1' => :Docomo ],
37
- [ '210.153.83.254' => :Docomo ],
38
- [ '127.0.0.1' => :Au ],
39
- [ '210.169.41.1' => :Au ],
40
- [ '210.169.41.254' => :Au ],
41
- [ '127.0.0.1' => :Softbank ],
42
- [ '123.108.238.1' => :Softbank ],
43
- [ '123.108.238.254' => :Softbank ],
44
- [ '127.0.0.1' => :Vodafone ],
45
- [ '123.108.238.1' => :Vodafone ],
46
- [ '123.108.238.254' => :Vodafone ],
47
- [ '127.0.0.1' => :Jphone ],
48
- [ '123.108.238.1' => :Jphone ],
49
- [ '123.108.238.254' => :Jphone ],
50
- [ '127.0.0.1' => :Willcom ],
51
- [ '61.198.144.1' => :Willcom ],
52
- [ '61.198.144.254' => :Willcom ],
53
- [ '127.0.0.1' => :Ddipocket ],
54
- [ '61.198.144.1' => :Ddipocket ],
55
- [ '61.198.144.254' => :Ddipocket ],
56
- [ '127.0.0.1' => :Emobile ],
57
- [ '117.55.1.223' => :Emobile ],
58
- ])
59
- end.run
50
+ end
60
51
  end
@@ -0,0 +1,47 @@
1
+ require 'scanf'
2
+
3
+ def to_ranges(array)
4
+ sorted = array.sort.uniq
5
+ results = []
6
+ start = nil
7
+ for i in 0...sorted.size
8
+ start ||= sorted[i]
9
+ if i == sorted.size-1 || sorted[i+1] - sorted[i] > 1
10
+ if start == sorted[i]
11
+ results << start
12
+ else
13
+ results << (start..sorted[i])
14
+ end
15
+ start = nil
16
+ end
17
+ end
18
+ results
19
+ end
20
+
21
+ def ranges_to_regexp(array)
22
+ r = ""
23
+ array.each do |x|
24
+ if x.is_a? Range
25
+ r << "\\x%02x-\\x%02x" % [x.first, x.last]
26
+ else
27
+ r << "\\x%02x" % x
28
+ end
29
+ end
30
+ r
31
+ end
32
+
33
+ h = Hash.new {|h,k| h[k]=[]}
34
+
35
+ ARGF.each do |l|
36
+ l.chomp!
37
+ sjis_bin = [[l].pack("H4")].first
38
+ a = l.scanf("%02X%02X")
39
+ h[a.first] << a.last
40
+ end
41
+
42
+ re = []
43
+ h.sort.each do |k,v|
44
+ re << "\\x%02x"%k + '['+ranges_to_regexp(to_ranges(v))+']'
45
+ p ["\\x%02x"%k, to_ranges(v), ranges_to_regexp(to_ranges(v))]
46
+ end
47
+ puts re.join('|')
metadata CHANGED
@@ -1,78 +1,25 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jpmobile
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 15
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 0
8
- - 7
9
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
10
11
  platform: ruby
11
12
  authors:
12
- - dara
13
+ - Yoji Shidara
14
+ - Shin-ichiro OGAWA
13
15
  autorequire:
14
16
  bindir: bin
15
17
  cert_chain: []
16
18
 
17
- date: 2010-06-05 00:00:00 +09:00
19
+ date: 2010-08-31 00:00:00 +09:00
18
20
  default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: actionpack
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 2
29
- - 3
30
- - 8
31
- version: 2.3.8
32
- type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: rspec
36
- prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- segments:
42
- - 1
43
- - 3
44
- - 0
45
- version: 1.3.0
46
- type: :development
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: rspec-rails
50
- prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- segments:
56
- - 1
57
- - 3
58
- - 2
59
- version: 1.3.2
60
- type: :development
61
- version_requirements: *id003
62
- - !ruby/object:Gem::Dependency
63
- name: rspec-fixture
64
- prerelease: false
65
- requirement: &id004 !ruby/object:Gem::Requirement
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- segments:
70
- - 0
71
- - 0
72
- - 2
73
- version: 0.0.2
74
- type: :development
75
- version_requirements: *id004
21
+ dependencies: []
22
+
76
23
  description: A Rails plugin for Japanese mobile-phones
77
24
  email: dara@shidara.net
78
25
  executables: []
@@ -81,11 +28,62 @@ extensions: []
81
28
 
82
29
  extra_rdoc_files:
83
30
  - README.rdoc
84
- - CHANGELOG
85
31
  files:
86
- - README.rdoc
32
+ - .gitignore
87
33
  - CHANGELOG
34
+ - MIT-LICENSE
35
+ - README.rdoc
88
36
  - Rakefile
37
+ - VERSION.yml
38
+ - init.rb
39
+ - install.rb
40
+ - jpmobile.gemspec
41
+ - lib/jpmobile.rb
42
+ - lib/jpmobile/datum_conv.rb
43
+ - lib/jpmobile/docomo_guid.rb
44
+ - lib/jpmobile/email.rb
45
+ - lib/jpmobile/emoticon.rb
46
+ - lib/jpmobile/emoticon/au.rb
47
+ - lib/jpmobile/emoticon/conversion_table.rb
48
+ - lib/jpmobile/emoticon/docomo.rb
49
+ - lib/jpmobile/emoticon/softbank.rb
50
+ - lib/jpmobile/emoticon/z_combine.rb
51
+ - lib/jpmobile/filter.rb
52
+ - lib/jpmobile/helpers.rb
53
+ - lib/jpmobile/hook_action_controller.rb
54
+ - lib/jpmobile/hook_action_view.rb
55
+ - lib/jpmobile/hook_request.rb
56
+ - lib/jpmobile/mobile/abstract_mobile.rb
57
+ - lib/jpmobile/mobile/au.rb
58
+ - lib/jpmobile/mobile/display.rb
59
+ - lib/jpmobile/mobile/docomo.rb
60
+ - lib/jpmobile/mobile/emobile.rb
61
+ - lib/jpmobile/mobile/softbank.rb
62
+ - lib/jpmobile/mobile/willcom.rb
63
+ - lib/jpmobile/mobile/z_display_info_docomo.rb
64
+ - lib/jpmobile/mobile/z_ip_addresses_au.rb
65
+ - lib/jpmobile/mobile/z_ip_addresses_docomo.rb
66
+ - lib/jpmobile/mobile/z_ip_addresses_emobile.rb
67
+ - lib/jpmobile/mobile/z_ip_addresses_softbank.rb
68
+ - lib/jpmobile/mobile/z_ip_addresses_willcom.rb
69
+ - lib/jpmobile/position.rb
70
+ - lib/jpmobile/rack/auth.rb
71
+ - lib/jpmobile/rack/combined_logger.rb
72
+ - lib/jpmobile/rack/request.rb
73
+ - lib/jpmobile/rack/trans_sid.rb
74
+ - lib/jpmobile/request_with_mobile.rb
75
+ - lib/jpmobile/trans_sid.rb
76
+ - lib/jpmobile/util.rb
77
+ - lib/jpmobile/version.rb
78
+ - spec/spec.opts
79
+ - spec/spec_helper.rb
80
+ - spec/unit/detect_by_email_spec.rb
81
+ - spec/unit/detect_by_ua_spec.rb
82
+ - spec/unit/is_carrier_spec.rb
83
+ - spec/unit/spec_helper.rb
84
+ - spec/unit/util_spec.rb
85
+ - spec/unit/valid_ip_spec.rb
86
+ - tasks/jpmobile_tasks.rake
89
87
  - test/legacy/au_test.rb
90
88
  - test/legacy/autoload_test.rb
91
89
  - test/legacy/docomo_test.rb
@@ -96,6 +94,7 @@ files:
96
94
  - test/legacy/helpers_test.rb
97
95
  - test/legacy/softbank_test.rb
98
96
  - test/legacy/willcom_test.rb
97
+ - test/rails/.gitignore
99
98
  - test/rails/2.3.2/spec/controllers/trans_sid_spec.rb
100
99
  - test/rails/overrides/app/controllers/application_controller.rb
101
100
  - test/rails/overrides/app/controllers/docomo_guid_controller.rb
@@ -126,229 +125,325 @@ files:
126
125
  - test/rails/overrides/spec/rspec.rake
127
126
  - test/rails/overrides/spec/spec.opts
128
127
  - test/rails/overrides/spec/spec_helper.rb
129
- - test/rails/rails_root/app/controllers/application_controller.rb
130
- - test/rails/rails_root/app/controllers/docomo_guid_controller.rb
131
- - test/rails/rails_root/app/controllers/filter_controller.rb
132
- - test/rails/rails_root/app/controllers/mobile_spec_controller.rb
133
- - test/rails/rails_root/app/controllers/template_path_controller.rb
134
- - test/rails/rails_root/app/controllers/trans_sid_controller.rb
135
- - test/rails/rails_root/app/helpers/application_helper.rb
136
- - test/rails/rails_root/app/views/filter/index.html.erb
137
- - test/rails/rails_root/app/views/hankaku_filter/index.html.erb
138
- - test/rails/rails_root/app/views/template_path/_partial.html.erb
139
- - test/rails/rails_root/app/views/template_path/_partial_mobile.html.erb
140
- - test/rails/rails_root/app/views/template_path/_partial_mobile_docomo.html.erb
141
- - test/rails/rails_root/app/views/template_path/index.html.erb
142
- - test/rails/rails_root/app/views/template_path/index_mobile.html.erb
143
- - test/rails/rails_root/app/views/template_path/index_mobile_docomo.html.erb
144
- - test/rails/rails_root/app/views/template_path/partial.html.erb
145
- - test/rails/rails_root/config/boot.rb
146
- - test/rails/rails_root/config/database.yml
147
- - test/rails/rails_root/config/environment.rb
148
- - test/rails/rails_root/config/environments/development.rb
149
- - test/rails/rails_root/config/environments/production.rb
150
- - test/rails/rails_root/config/environments/test.rb
151
- - test/rails/rails_root/config/initializers/backtrace_silencers.rb
152
- - test/rails/rails_root/config/initializers/inflections.rb
153
- - test/rails/rails_root/config/initializers/mime_types.rb
154
- - test/rails/rails_root/config/initializers/new_rails_defaults.rb
155
- - test/rails/rails_root/config/initializers/session_store.rb
156
- - test/rails/rails_root/config/locales/en.yml
157
- - test/rails/rails_root/config/routes.rb
158
- - test/rails/rails_root/db/development.sqlite3
159
- - test/rails/rails_root/db/schema.rb
160
- - test/rails/rails_root/db/seeds.rb
161
- - test/rails/rails_root/db/test.sqlite3
162
- - test/rails/rails_root/doc/README_FOR_APP
163
- - test/rails/rails_root/lib/tasks/rspec.rake
164
- - test/rails/rails_root/log/development.log
165
- - test/rails/rails_root/log/production.log
166
- - test/rails/rails_root/log/server.log
167
- - test/rails/rails_root/log/test.log
168
- - test/rails/rails_root/public/404.html
169
- - test/rails/rails_root/public/422.html
170
- - test/rails/rails_root/public/500.html
171
- - test/rails/rails_root/public/favicon.ico
172
- - test/rails/rails_root/public/images/rails.png
173
- - test/rails/rails_root/public/index.html
174
- - test/rails/rails_root/public/javascripts/application.js
175
- - test/rails/rails_root/public/javascripts/controls.js
176
- - test/rails/rails_root/public/javascripts/dragdrop.js
177
- - test/rails/rails_root/public/javascripts/effects.js
178
- - test/rails/rails_root/public/javascripts/prototype.js
179
- - test/rails/rails_root/public/robots.txt
180
- - test/rails/rails_root/Rakefile
181
- - test/rails/rails_root/README
182
- - test/rails/rails_root/script/about
183
- - test/rails/rails_root/script/console
184
- - test/rails/rails_root/script/dbconsole
185
- - test/rails/rails_root/script/destroy
186
- - test/rails/rails_root/script/generate
187
- - test/rails/rails_root/script/performance/benchmarker
188
- - test/rails/rails_root/script/performance/profiler
189
- - test/rails/rails_root/script/plugin
190
- - test/rails/rails_root/script/runner
191
- - test/rails/rails_root/script/server
192
- - test/rails/rails_root/spec/controllers/docomo_guid_spec.rb
193
- - test/rails/rails_root/spec/controllers/docomo_spec.rb
194
- - test/rails/rails_root/spec/controllers/emobile_spec.rb
195
- - test/rails/rails_root/spec/controllers/filter_spec.rb
196
- - test/rails/rails_root/spec/controllers/pc_spec.rb
197
- - test/rails/rails_root/spec/controllers/softbank_emulator_spec.rb
198
- - test/rails/rails_root/spec/controllers/template_path_spec.rb
199
- - test/rails/rails_root/spec/controllers/trans_sid_spec.rb
128
+ - tools/disabled_update_display_info_docomo.rb
129
+ - tools/emoji/genregexp.rb
130
+ - tools/generate_au_emoticon_table.rb
131
+ - tools/generate_docomo_emoticon_table.rb
132
+ - tools/generate_emoticon_conversion_table.rb
133
+ - tools/generate_softbank_emoticon_table.rb
134
+ - tools/list_gps_unsupported_au.rb
135
+ - tools/update_ip_addresses_au.rb
136
+ - tools/update_ip_addresses_willcom.rb
200
137
  - test/rails/rails_root/spec/helpers/helpers_spec.rb
201
- - test/rails/rails_root/spec/rcov.opts
202
- - test/rails/rails_root/spec/rspec.rake
203
- - test/rails/rails_root/spec/spec.opts
138
+ - test/rails/rails_root/spec/requests/softbank_emulator_spec.rb
139
+ - test/rails/rails_root/spec/requests/docomo_spec.rb
140
+ - test/rails/rails_root/spec/requests/helpers_spec.rb
141
+ - test/rails/rails_root/spec/requests/docomo_guid_spec.rb
142
+ - test/rails/rails_root/spec/requests/trans_sid_spec.rb
143
+ - test/rails/rails_root/spec/requests/template_path_spec.rb
144
+ - test/rails/rails_root/spec/requests/filter_spec.rb
145
+ - test/rails/rails_root/spec/requests/pc_spec.rb
146
+ - test/rails/rails_root/spec/requests/emobile_spec.rb
204
147
  - test/rails/rails_root/spec/spec_helper.rb
205
- - test/rails/rails_root/test/performance/browsing_test.rb
206
- - test/rails/rails_root/test/test_helper.rb
207
- - test/rails/rails_root/vendor/plugins/jpmobile/CHANGELOG
208
- - test/rails/rails_root/vendor/plugins/jpmobile/init.rb
148
+ - test/rails/rails_root/autotest/discover.rb
149
+ - test/rails/rails_root/app/helpers/application_helper.rb
150
+ - test/rails/rails_root/app/models/user.rb
151
+ - test/rails/rails_root/app/controllers/trans_sid_always_controller.rb
152
+ - test/rails/rails_root/app/controllers/hankaku_filter_controller.rb
153
+ - test/rails/rails_root/app/controllers/filter_controller_base.rb
154
+ - test/rails/rails_root/app/controllers/links_controller.rb
155
+ - test/rails/rails_root/app/controllers/trans_sid_base_controller.rb
156
+ - test/rails/rails_root/app/controllers/trans_sid_none_controller.rb
157
+ - test/rails/rails_root/app/controllers/trans_sid_always_and_session_off_controller.rb
158
+ - test/rails/rails_root/app/controllers/template_path_controller.rb
159
+ - test/rails/rails_root/app/controllers/docomo_guid_docomo_controller.rb
160
+ - test/rails/rails_root/app/controllers/filter_controller.rb
161
+ - test/rails/rails_root/app/controllers/mobile_spec_controller.rb
162
+ - test/rails/rails_root/app/controllers/trans_sid_mobile_controller.rb
163
+ - test/rails/rails_root/app/controllers/application_controller.rb
164
+ - test/rails/rails_root/app/controllers/docomo_guid_always_controller.rb
165
+ - test/rails/rails_root/app/controllers/docomo_guid_base_controller.rb
209
166
  - test/rails/rails_root/vendor/plugins/jpmobile/install.rb
210
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/datum_conv.rb
211
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/docomo_guid.rb
212
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/email.rb
213
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/au.rb
214
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/conversion_table.rb
215
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/docomo.rb
216
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/softbank.rb
217
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/z_combine.rb
218
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon.rb
219
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/filter.rb
220
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/helpers.rb
221
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_controller.rb
222
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_view.rb
223
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_request.rb
224
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/abstract_mobile.rb
225
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/au.rb
226
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/display.rb
227
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/docomo.rb
228
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/emobile.rb
229
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/softbank.rb
230
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/willcom.rb
231
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_display_info_docomo.rb
232
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_au.rb
233
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_docomo.rb
234
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_emobile.rb
235
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_softbank.rb
236
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_willcom.rb
237
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/position.rb
238
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/auth.rb
239
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/combined_logger.rb
240
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/request.rb
241
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/trans_sid.rb
242
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/request_with_mobile.rb
243
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/trans_sid.rb
244
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/util.rb
245
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/version.rb
246
- - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile.rb
247
- - test/rails/rails_root/vendor/plugins/jpmobile/MIT-LICENSE
248
- - test/rails/rails_root/vendor/plugins/jpmobile/Rakefile
249
- - test/rails/rails_root/vendor/plugins/jpmobile/README.rdoc
250
- - test/rails/rails_root/vendor/plugins/jpmobile/spec/spec.opts
251
- - test/rails/rails_root/vendor/plugins/jpmobile/spec/spec_helper.rb
167
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/emoticon_spec.rb
168
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/au_spec.rb
169
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/willcom_spec.rb
170
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/params_filter_spec.rb
171
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/docomo_spec.rb
172
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/filter_spec.rb
173
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/windows_phone.rb
174
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/mobile_by_ua_spec.rb
175
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/iphone_spec.rb
176
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/softbank_spec.rb
177
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/android_spec.rb
252
178
  - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/detect_by_email_spec.rb
253
- - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/detect_by_ua_spec.rb
254
- - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/is_carrier_spec.rb
255
179
  - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/spec_helper.rb
256
- - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/util_spec.rb
257
180
  - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/valid_ip_spec.rb
258
- - test/rails/rails_root/vendor/plugins/jpmobile/tasks/jpmobile_tasks.rake
181
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/util_spec.rb
182
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/is_carrier_spec.rb
183
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/spec_helper.rb
184
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack_helper.rb
185
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_softbank_emoticon_table.rb
186
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/update_ip_addresses_au.rb
259
187
  - test/rails/rails_root/vendor/plugins/jpmobile/tools/disabled_update_display_info_docomo.rb
188
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/update_ip_addresses_willcom.rb
260
189
  - test/rails/rails_root/vendor/plugins/jpmobile/tools/emoji/genregexp.rb
261
- - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_au_emoticon_table.rb
262
- - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_docomo_emoticon_table.rb
263
190
  - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_emoticon_conversion_table.rb
264
- - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_softbank_emoticon_table.rb
265
191
  - test/rails/rails_root/vendor/plugins/jpmobile/tools/list_gps_unsupported_au.rb
266
- - test/rails/rails_root/vendor/plugins/jpmobile/tools/update_ip_addresses_au.rb
267
- - test/rails/rails_root/vendor/plugins/jpmobile/tools/update_ip_addresses_willcom.rb
268
- - lib/jpmobile/datum_conv.rb
269
- - lib/jpmobile/docomo_guid.rb
270
- - lib/jpmobile/email.rb
271
- - lib/jpmobile/emoticon/au.rb
272
- - lib/jpmobile/emoticon/conversion_table.rb
273
- - lib/jpmobile/emoticon/docomo.rb
274
- - lib/jpmobile/emoticon/softbank.rb
275
- - lib/jpmobile/emoticon/z_combine.rb
276
- - lib/jpmobile/emoticon.rb
277
- - lib/jpmobile/filter.rb
278
- - lib/jpmobile/helpers.rb
279
- - lib/jpmobile/hook_action_controller.rb
280
- - lib/jpmobile/hook_action_view.rb
281
- - lib/jpmobile/hook_request.rb
282
- - lib/jpmobile/mobile/abstract_mobile.rb
283
- - lib/jpmobile/mobile/au.rb
284
- - lib/jpmobile/mobile/display.rb
285
- - lib/jpmobile/mobile/docomo.rb
286
- - lib/jpmobile/mobile/emobile.rb
287
- - lib/jpmobile/mobile/softbank.rb
288
- - lib/jpmobile/mobile/willcom.rb
289
- - lib/jpmobile/mobile/z_display_info_docomo.rb
290
- - lib/jpmobile/mobile/z_ip_addresses_au.rb
291
- - lib/jpmobile/mobile/z_ip_addresses_docomo.rb
292
- - lib/jpmobile/mobile/z_ip_addresses_emobile.rb
293
- - lib/jpmobile/mobile/z_ip_addresses_softbank.rb
294
- - lib/jpmobile/mobile/z_ip_addresses_willcom.rb
295
- - lib/jpmobile/position.rb
296
- - lib/jpmobile/rack/auth.rb
297
- - lib/jpmobile/rack/combined_logger.rb
298
- - lib/jpmobile/rack/request.rb
299
- - lib/jpmobile/rack/trans_sid.rb
300
- - lib/jpmobile/request_with_mobile.rb
301
- - lib/jpmobile/trans_sid.rb
302
- - lib/jpmobile/util.rb
303
- - lib/jpmobile/version.rb
304
- - lib/jpmobile.rb
305
- - tools/disabled_update_display_info_docomo.rb
306
- - tools/generate_au_emoticon_table.rb
307
- - tools/generate_docomo_emoticon_table.rb
308
- - tools/generate_emoticon_conversion_table.rb
309
- - tools/generate_softbank_emoticon_table.rb
310
- - tools/list_gps_unsupported_au.rb
311
- - tools/update_ip_addresses_au.rb
312
- - tools/update_ip_addresses_willcom.rb
192
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_au_emoticon_table.rb
193
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_docomo_emoticon_table.rb
194
+ - test/rails/rails_root/vendor/plugins/jpmobile/init.rb
195
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile.rb
196
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/position.rb
197
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/filter.rb
198
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/request_with_mobile.rb
199
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/docomo_guid.rb
200
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/params_filter.rb
201
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/filter.rb
202
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/mobile_carrier.rb
203
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/datum_conv.rb
204
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/encoding.rb
205
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack.rb
206
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/util.rb
207
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/trans_sid.rb
208
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_willcom.rb
209
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/abstract_mobile.rb
210
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/iphone.rb
211
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_emobile.rb
212
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/emobile.rb
213
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_au.rb
214
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/docomo.rb
215
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/display.rb
216
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/smart_phone.rb
217
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_docomo.rb
218
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_softbank.rb
219
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/softbank.rb
220
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/willcom.rb
221
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_display_info_docomo.rb
222
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/windows_phone.rb
223
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/au.rb
224
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/vodafone.rb
225
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/android.rb
226
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/ddipocket.rb
227
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/helpers.rb
228
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/z_combine.rb
229
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/docomo.rb
230
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/conversion_table.rb
231
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/softbank.rb
232
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/au.rb
233
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_view.rb
234
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon.rb
235
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/email.rb
236
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rails.rb
237
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_controller.rb
238
+ - test/rails/rails_root/vendor/plugins/jpmobile/tmp/conversion-table.rb
239
+ - test/rails/rails_root/vendor/plugins/jpmobile/tmp/utf8_to_image.rb
240
+ - test/rails/rails_root/db/migrate/20100824062306_create_users.rb
241
+ - test/rails/rails_root/db/migrate/001_add_sessions_table.rb
242
+ - test/rails/rails_root/db/schema.rb
243
+ - test/rails/rails_root/db/seeds.rb
244
+ - test/rails/rails_root/config/environments/development.rb
245
+ - test/rails/rails_root/config/environments/test.rb
246
+ - test/rails/rails_root/config/environments/production.rb
247
+ - test/rails/rails_root/config/environment.rb
248
+ - test/rails/rails_root/config/routes.rb
249
+ - test/rails/rails_root/config/application.rb
250
+ - test/rails/rails_root/config/initializers/inflections.rb
251
+ - test/rails/rails_root/config/initializers/mime_types.rb
252
+ - test/rails/rails_root/config/initializers/backtrace_silencers.rb
253
+ - test/rails/rails_root/config/initializers/session_store.rb
254
+ - test/rails/rails_root/config/initializers/secret_token.rb
255
+ - test/rails/rails_root/config/initializers/jpmobile_generator.rb
256
+ - test/rails/rails_root/config/boot.rb
257
+ - test/rails/rails_root/test/performance/browsing_test.rb
258
+ - test/rails/rails_root/test/test_helper.rb
313
259
  has_rdoc: true
314
- homepage: http://jpmobile.rubyforge.org
260
+ homepage: http://github.com/jpmobile/jpmobile
315
261
  licenses: []
316
262
 
317
263
  post_install_message:
318
264
  rdoc_options:
319
- - --quiet
320
- - --title
321
- - jpmobile documentation
322
- - --opname
323
- - index.html
324
- - --line-numbers
325
- - --main
326
- - README.rdoc
327
- - --inline-source
328
- - --exclude
329
- - ^(examples|extras)/
265
+ - --charset=UTF-8
330
266
  require_paths:
331
267
  - lib
332
268
  required_ruby_version: !ruby/object:Gem::Requirement
269
+ none: false
333
270
  requirements:
334
271
  - - ">="
335
272
  - !ruby/object:Gem::Version
273
+ hash: 3
336
274
  segments:
337
275
  - 0
338
276
  version: "0"
339
277
  required_rubygems_version: !ruby/object:Gem::Requirement
278
+ none: false
340
279
  requirements:
341
280
  - - ">="
342
281
  - !ruby/object:Gem::Version
282
+ hash: 3
343
283
  segments:
344
284
  - 0
345
285
  version: "0"
346
286
  requirements: []
347
287
 
348
- rubyforge_project: jpmobile
349
- rubygems_version: 1.3.6
288
+ rubyforge_project:
289
+ rubygems_version: 1.3.7
350
290
  signing_key:
351
291
  specification_version: 3
352
292
  summary: A Rails plugin for Japanese mobile-phones
353
- test_files: []
354
-
293
+ test_files:
294
+ - spec/unit/detect_by_email_spec.rb
295
+ - spec/unit/detect_by_ua_spec.rb
296
+ - spec/unit/spec_helper.rb
297
+ - spec/unit/valid_ip_spec.rb
298
+ - spec/unit/util_spec.rb
299
+ - spec/unit/is_carrier_spec.rb
300
+ - spec/spec_helper.rb
301
+ - test/legacy/filter_test.rb
302
+ - test/legacy/autoload_test.rb
303
+ - test/legacy/softbank_test.rb
304
+ - test/legacy/au_test.rb
305
+ - test/legacy/willcom_test.rb
306
+ - test/legacy/emoticon_functional_test.rb
307
+ - test/legacy/emoticon_test.rb
308
+ - test/legacy/helpers_test.rb
309
+ - test/legacy/docomo_test.rb
310
+ - test/legacy/helper.rb
311
+ - test/rails/rails_root/spec/helpers/helpers_spec.rb
312
+ - test/rails/rails_root/spec/requests/softbank_emulator_spec.rb
313
+ - test/rails/rails_root/spec/requests/docomo_spec.rb
314
+ - test/rails/rails_root/spec/requests/helpers_spec.rb
315
+ - test/rails/rails_root/spec/requests/docomo_guid_spec.rb
316
+ - test/rails/rails_root/spec/requests/trans_sid_spec.rb
317
+ - test/rails/rails_root/spec/requests/template_path_spec.rb
318
+ - test/rails/rails_root/spec/requests/filter_spec.rb
319
+ - test/rails/rails_root/spec/requests/pc_spec.rb
320
+ - test/rails/rails_root/spec/requests/emobile_spec.rb
321
+ - test/rails/rails_root/spec/spec_helper.rb
322
+ - test/rails/rails_root/autotest/discover.rb
323
+ - test/rails/rails_root/app/helpers/application_helper.rb
324
+ - test/rails/rails_root/app/models/user.rb
325
+ - test/rails/rails_root/app/controllers/trans_sid_always_controller.rb
326
+ - test/rails/rails_root/app/controllers/hankaku_filter_controller.rb
327
+ - test/rails/rails_root/app/controllers/filter_controller_base.rb
328
+ - test/rails/rails_root/app/controllers/links_controller.rb
329
+ - test/rails/rails_root/app/controllers/trans_sid_base_controller.rb
330
+ - test/rails/rails_root/app/controllers/trans_sid_none_controller.rb
331
+ - test/rails/rails_root/app/controllers/trans_sid_always_and_session_off_controller.rb
332
+ - test/rails/rails_root/app/controllers/template_path_controller.rb
333
+ - test/rails/rails_root/app/controllers/docomo_guid_docomo_controller.rb
334
+ - test/rails/rails_root/app/controllers/filter_controller.rb
335
+ - test/rails/rails_root/app/controllers/mobile_spec_controller.rb
336
+ - test/rails/rails_root/app/controllers/trans_sid_mobile_controller.rb
337
+ - test/rails/rails_root/app/controllers/application_controller.rb
338
+ - test/rails/rails_root/app/controllers/docomo_guid_always_controller.rb
339
+ - test/rails/rails_root/app/controllers/docomo_guid_base_controller.rb
340
+ - test/rails/rails_root/vendor/plugins/jpmobile/install.rb
341
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/emoticon_spec.rb
342
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/au_spec.rb
343
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/willcom_spec.rb
344
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/params_filter_spec.rb
345
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/docomo_spec.rb
346
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/filter_spec.rb
347
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/windows_phone.rb
348
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/mobile_by_ua_spec.rb
349
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/iphone_spec.rb
350
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/softbank_spec.rb
351
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack/jpmobile/android_spec.rb
352
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/detect_by_email_spec.rb
353
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/spec_helper.rb
354
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/valid_ip_spec.rb
355
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/util_spec.rb
356
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/is_carrier_spec.rb
357
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/spec_helper.rb
358
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/rack_helper.rb
359
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_softbank_emoticon_table.rb
360
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/update_ip_addresses_au.rb
361
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/disabled_update_display_info_docomo.rb
362
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/update_ip_addresses_willcom.rb
363
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/emoji/genregexp.rb
364
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_emoticon_conversion_table.rb
365
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/list_gps_unsupported_au.rb
366
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_au_emoticon_table.rb
367
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_docomo_emoticon_table.rb
368
+ - test/rails/rails_root/vendor/plugins/jpmobile/init.rb
369
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile.rb
370
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/position.rb
371
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/filter.rb
372
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/request_with_mobile.rb
373
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/docomo_guid.rb
374
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/params_filter.rb
375
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/filter.rb
376
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/mobile_carrier.rb
377
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/datum_conv.rb
378
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/encoding.rb
379
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack.rb
380
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/util.rb
381
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/trans_sid.rb
382
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_willcom.rb
383
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/abstract_mobile.rb
384
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/iphone.rb
385
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_emobile.rb
386
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/emobile.rb
387
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_au.rb
388
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/docomo.rb
389
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/display.rb
390
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/smart_phone.rb
391
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_docomo.rb
392
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_softbank.rb
393
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/softbank.rb
394
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/willcom.rb
395
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_display_info_docomo.rb
396
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/windows_phone.rb
397
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/au.rb
398
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/vodafone.rb
399
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/android.rb
400
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/ddipocket.rb
401
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/helpers.rb
402
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/z_combine.rb
403
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/docomo.rb
404
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/conversion_table.rb
405
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/softbank.rb
406
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/au.rb
407
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_view.rb
408
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon.rb
409
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/email.rb
410
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rails.rb
411
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_controller.rb
412
+ - test/rails/rails_root/vendor/plugins/jpmobile/tmp/conversion-table.rb
413
+ - test/rails/rails_root/vendor/plugins/jpmobile/tmp/utf8_to_image.rb
414
+ - test/rails/rails_root/db/migrate/20100824062306_create_users.rb
415
+ - test/rails/rails_root/db/migrate/001_add_sessions_table.rb
416
+ - test/rails/rails_root/db/schema.rb
417
+ - test/rails/rails_root/db/seeds.rb
418
+ - test/rails/rails_root/config/environments/development.rb
419
+ - test/rails/rails_root/config/environments/test.rb
420
+ - test/rails/rails_root/config/environments/production.rb
421
+ - test/rails/rails_root/config/environment.rb
422
+ - test/rails/rails_root/config/routes.rb
423
+ - test/rails/rails_root/config/application.rb
424
+ - test/rails/rails_root/config/initializers/inflections.rb
425
+ - test/rails/rails_root/config/initializers/mime_types.rb
426
+ - test/rails/rails_root/config/initializers/backtrace_silencers.rb
427
+ - test/rails/rails_root/config/initializers/session_store.rb
428
+ - test/rails/rails_root/config/initializers/secret_token.rb
429
+ - test/rails/rails_root/config/initializers/jpmobile_generator.rb
430
+ - test/rails/rails_root/config/boot.rb
431
+ - test/rails/rails_root/test/performance/browsing_test.rb
432
+ - test/rails/rails_root/test/test_helper.rb
433
+ - test/rails/overrides/spec/helpers/helpers_spec.rb
434
+ - test/rails/overrides/spec/spec_helper.rb
435
+ - test/rails/overrides/spec/controllers/softbank_emulator_spec.rb
436
+ - test/rails/overrides/spec/controllers/docomo_spec.rb
437
+ - test/rails/overrides/spec/controllers/docomo_guid_spec.rb
438
+ - test/rails/overrides/spec/controllers/trans_sid_spec.rb
439
+ - test/rails/overrides/spec/controllers/template_path_spec.rb
440
+ - test/rails/overrides/spec/controllers/filter_spec.rb
441
+ - test/rails/overrides/spec/controllers/pc_spec.rb
442
+ - test/rails/overrides/spec/controllers/emobile_spec.rb
443
+ - test/rails/overrides/app/controllers/trans_sid_controller.rb
444
+ - test/rails/overrides/app/controllers/template_path_controller.rb
445
+ - test/rails/overrides/app/controllers/filter_controller.rb
446
+ - test/rails/overrides/app/controllers/mobile_spec_controller.rb
447
+ - test/rails/overrides/app/controllers/docomo_guid_controller.rb
448
+ - test/rails/overrides/app/controllers/application_controller.rb
449
+ - test/rails/2.3.2/spec/controllers/trans_sid_spec.rb