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,34 @@
1
+ require 'kconv'
2
+ require 'rubygems'
3
+ require 'hpricot'
4
+ require 'open-uri'
5
+ require 'cgi'
6
+
7
+ $KCODE="u"
8
+
9
+ def parse(html)
10
+ results = []
11
+ (Hpricot(html)/"//table//tr").each do |tr|
12
+ tds = (tr/:td/:span)
13
+ if tds && tds.size > 0
14
+ results << tds.map {|td| CGI.unescapeHTML(td.inner_html)}
15
+ end
16
+ end
17
+ results
18
+ end
19
+
20
+ table = []
21
+ %w(basic extention).each do |x|
22
+ uri = "http://www.nttdocomo.co.jp/service/imode/make/content/pictograph/#{x}/index.html"
23
+ table += parse(URI(uri).read.toutf8)
24
+ end
25
+
26
+
27
+ open(File.dirname(__FILE__)+"/../lib/jpmobile/emoticon/docomo.rb","w") do |f|
28
+ f.puts "Jpmobile::Emoticon::DOCOMO_SJIS_TO_UNICODE = {"
29
+ table.each do |row|
30
+ f.puts " 0x%s=>0x%s, "%[row[1], row[3]]
31
+ end
32
+ f.puts "}.freeze"
33
+ f.puts "Jpmobile::Emoticon::DOCOMO_UNICODE_TO_SJIS = Jpmobile::Emoticon::DOCOMO_SJIS_TO_UNICODE.invert.freeze"
34
+ end
@@ -0,0 +1,107 @@
1
+ #!/usr/bin/ruby -Ku
2
+ require 'pp'
3
+ require 'iconv'
4
+ require 'scanf'
5
+
6
+ # http://labs.unoh.net/2007/02/post_65.html
7
+ # のテーブルから変換用テーブルを作成する。
8
+
9
+ # Jpmobileのテーブルを拝借
10
+ module Jpmobile
11
+ module Emoticon
12
+ end
13
+ end
14
+ for c in %w(au docomo softbank)
15
+ require File.dirname(__FILE__)+"/../lib/jpmobile/emoticon/#{c}.rb"
16
+ end
17
+
18
+ class Table
19
+ def initialize(path)
20
+ @list = []
21
+ @table = {}
22
+ @code = {}
23
+ if path =~ /emoji_(.)2(..)/
24
+ @type = $1
25
+ @dest_types = $2.split(//)
26
+ else
27
+ raise Exception, "something is wrong"
28
+ end
29
+ open(path) do |f|
30
+ f.gets # ヘッダを捨てる
31
+ f.each do |l|
32
+ a = Iconv.conv("utf-8", "cp932", l).chomp.split(/\t/)
33
+ @list << a
34
+ @code[a[0]] = a[1]
35
+ @table[a[0]] = a[2...a.size]
36
+ end
37
+ end
38
+ end
39
+ def chars
40
+ table.keys.sort_by {|x| x.gsub(/\D/,"").to_i }
41
+ end
42
+ def conv(src, dest_type)
43
+ if dest_type == @type
44
+ src
45
+ else
46
+ @table[src][@dest_types.index(dest_type)]
47
+ end
48
+ end
49
+ attr_reader :list, :table, :code, :type
50
+ end
51
+
52
+ class Tables
53
+ def initialize
54
+ @chars = []
55
+ @tables = {}
56
+ @types = []
57
+ for name in %w(i2es e2is s2ie)
58
+ table = Table.new("emoji_#{name}.txt")
59
+ @tables[table.type] = table
60
+ @chars |= table.chars
61
+ @types << table.type
62
+ end
63
+ end
64
+ def conv(src, dest_type)
65
+ src_type = src[1,1]
66
+ dest = @tables[src_type].conv(src, dest_type)
67
+ dest = nil if dest == "〓"
68
+ dest
69
+ end
70
+ def id_to_unicode(src)
71
+ return src if src.nil? || src !~ /^%[ies]\d+%$/
72
+ case src[1,1]
73
+ when "i"
74
+ sjis = tables["i"].code[src]
75
+ return Jpmobile::Emoticon::DOCOMO_SJIS_TO_UNICODE[sjis.to_i(16)]
76
+ when "e"
77
+ sjis = tables["e"].code[src]
78
+ return Jpmobile::Emoticon::AU_SJIS_TO_UNICODE[sjis.to_i(16)]
79
+ when "s"
80
+ webcode = tables["s"].code[src]
81
+ unicode = Jpmobile::Emoticon::SOFTBANK_WEBCODE_TO_UNICODE[webcode]
82
+ return nil unless unicode
83
+ return unicode + 0x1000
84
+ end
85
+ end
86
+ attr_reader :chars, :tables, :types
87
+ end
88
+
89
+ t = Tables.new
90
+ ident = {'i'=>'DOCOMO', 'e'=>'AU', 's'=>'SOFTBANK'}
91
+
92
+ open(File.dirname(__FILE__)+"/../lib/jpmobile/emoticon/conversion_table.rb","w") do |f|
93
+ for dest_type in %w(i e s)
94
+ f.puts "Jpmobile::Emoticon::CONVERSION_TABLE_TO_#{ident[dest_type]} = {"
95
+ for src in t.chars
96
+ dest = t.conv(src, dest_type)
97
+ src_unicode = t.id_to_unicode(src)
98
+ dest_unicode = t.id_to_unicode(dest)
99
+ next if src_unicode.nil? || dest_unicode.nil?
100
+ f.printf(" %s=>%s,\n",
101
+ src_unicode.is_a?(Integer) ? "0x%04X"%src_unicode : "'#{src_unicode}'",
102
+ dest_unicode.is_a?(Integer) ? "0x%04X"%dest_unicode : "'#{dest_unicode}'"
103
+ )
104
+ end
105
+ f.puts "}"
106
+ end
107
+ end
@@ -0,0 +1,32 @@
1
+ require 'rubygems'
2
+ require 'hpricot'
3
+ require 'kconv'
4
+ require 'cgi'
5
+ require 'open-uri'
6
+
7
+ # 'http://developers.softbankmobile.co.jp/dp/tool_dl/web/picword_01.php'
8
+
9
+ table = []
10
+ for i in 1..6
11
+ uri = "http://developers.softbankmobile.co.jp/dp/tool_dl/web/picword_%02d.php" % i
12
+ h = Hpricot(URI(uri).read.toutf8)
13
+ (h/"//table[@width='100%']//tr").each do |tr|
14
+ if tr
15
+ a = (tr/"td/font[@class='j10']").map { |td| td.inner_html }
16
+ unless a.empty?
17
+ s = CGI.unescapeHTML(a.last)
18
+ raise Exception, "something is wrong" if s[0,2] != "\x1b\x24" || s[4] != 0x0f
19
+ table << [a.first, s[2,2]]
20
+ end
21
+ end
22
+ end
23
+ end
24
+
25
+ open(File.dirname(__FILE__)+"/../lib/jpmobile/emoticon/softbank.rb","w") do |f|
26
+ f.puts "Jpmobile::Emoticon::SOFTBANK_UNICODE_TO_WEBCODE = {"
27
+ table.each do |a|
28
+ f.puts %{ 0x%s => %p,} % a
29
+ end
30
+ f.puts "}"
31
+ f.puts "Jpmobile::Emoticon::SOFTBANK_WEBCODE_TO_UNICODE = Jpmobile::Emoticon::SOFTBANK_UNICODE_TO_WEBCODE.invert"
32
+ end
@@ -0,0 +1,23 @@
1
+
2
+ require 'open-uri'
3
+
4
+ html = URI('http://www.au.kddi.com/ezfactory/tec/spec/4_4.html').read
5
+ array = html.scan %r{<td bgcolor="#f2f2f2"><div class="TableText">(.+?)</div></td>.*?<td><div class="TableText">(.+?)</div></td>}m
6
+
7
+
8
+ gps_unsupported = []
9
+ array.each do |pair|
10
+ pair.map! {|x| x.gsub(/<br>|&nbsp;/,"")}
11
+ next if pair.first.empty? || pair.last.empty?
12
+ name = pair.first
13
+ devids = pair.last.split(/\//)
14
+
15
+ case name
16
+ when /^T[DKSTP]/, /^[AC]1\d\d\d/, /^C\d\d\d[^\d]/, "B01K"
17
+ gps_unsupported |= devids
18
+ else
19
+ gps_supported |= devids
20
+ end
21
+ end
22
+
23
+ p gps_unsupported
@@ -0,0 +1,45 @@
1
+ #!/usr/bin/ruby -Ku
2
+ require 'rubygems'
3
+ require 'open-uri'
4
+ require 'kconv'
5
+ require 'hpricot'
6
+ require 'pp'
7
+
8
+ src = URI("http://www.nttdocomo.co.jp/service/imode/make/content/spec/screen_area/index.html").read.toutf8
9
+ src.gsub!(/&mu;/,"myu")
10
+ user_agents = {}
11
+
12
+ (Hpricot(src)/"//div[@id='maincol']//table").each do |table|
13
+ (table/"tr[@class='acenter']").each do |tr|
14
+ a = (tr/:td).map {|x| x.inner_text }
15
+ if a.size == 7
16
+ a.shift # remove rowspan
17
+ elsif a.size != 6
18
+ raise "something is wrong"
19
+ end
20
+ a[0].sub!(/(.*)/,"")
21
+ a[0].sub!(/\(.+\)/,"")
22
+ a[0].sub!(/-/,'') # F-01A -> F01A
23
+
24
+ a[3].sub!(/^.*?(\d+×\d+).*$/,'\1')
25
+ width, height = a[3].split(/×/,2).map{|x| x.to_i}
26
+
27
+ case a[5]
28
+ when /^カラー\s*(\d+)色$/
29
+ color_p = true
30
+ colors = $1.to_i
31
+ when /^白黒(\d+)階調$/
32
+ color_p = false
33
+ colors = $1.to_i
34
+ else
35
+ raise "something is wrong (in detecting colors)"
36
+ end
37
+ user_agents[a[0]] = {:browser_width=>width, :browser_height=>height, :color_p=>color_p, :colors=>colors}
38
+ end
39
+ end
40
+
41
+ # 書き出し
42
+ open("lib/jpmobile/mobile/z_display_info_docomo.rb","w") do |f|
43
+ f.puts "Jpmobile::Mobile::Docomo::DISPLAY_INFO ="
44
+ f.puts user_agents.pretty_inspect
45
+ end
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby -Ku
2
+ # auのwebページからIPリストを抽出する場当たり的なスクリプト。
3
+
4
+ require 'kconv'
5
+ require 'open-uri'
6
+ require 'pp'
7
+ require 'rubygems'
8
+ require 'hpricot'
9
+
10
+ ips = []
11
+
12
+ src = open("http://www.au.kddi.com/ezfactory/tec/spec/ezsava_ip.html").read.toutf8
13
+ doc = Hpricot(src)
14
+ (doc/'//table').each do |table|
15
+ trs = (table/'tr')
16
+ next if trs.first && (trs.first/'td[2]').inner_text != 'IPアドレス'
17
+ trs.each do |tr|
18
+ a = (tr/'td').to_a.map(&:inner_text)
19
+ next if a[1] == 'IPアドレス'
20
+ ips << a[1..2].join if a[3] != '廃止'
21
+ end
22
+ end
23
+ ips.uniq!
24
+
25
+ # 書き出し
26
+ open("lib/jpmobile/mobile/z_ip_addresses_au.rb","w") do |f|
27
+ f.puts "Jpmobile::Mobile::Au::IP_ADDRESSES = "
28
+ f.puts "#{ips.pretty_inspect.chomp }.map {|ip| IPAddr.new(ip) }"
29
+ end
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby -Ku
2
+ # willcomのwebページからIPリストを抽出する場当たり的なスクリプト。
3
+
4
+ require 'kconv'
5
+ require 'open-uri'
6
+ require 'pp'
7
+
8
+ src = open("http://www.willcom-inc.com/ja/service/contents_service/create/center_info/index.html").read.toutf8
9
+
10
+ src.sub!(%r{^.*<b>Webアクセス時のIPアドレス帯域</b>(.+?)</table>.*$}m, '\\1')
11
+ ips = src.scan(/(\d+\.\d+\.\d+\.\d+\/\d+)/).flatten
12
+
13
+ # 書き出し
14
+ open("lib/jpmobile/mobile/z_ip_addresses_willcom.rb","w") do |f|
15
+ f.puts "Jpmobile::Mobile::Willcom::IP_ADDRESSES ="
16
+ f.puts "#{ips.pretty_inspect.chomp }.map {|ip| IPAddr.new(ip) }"
17
+ end
@@ -4,13 +4,23 @@
4
4
  require 'kconv'
5
5
  require 'open-uri'
6
6
  require 'pp'
7
-
8
- src = open("http://www.au.kddi.com/ezfactory/tec/spec/ezsava_ip.html").read.toutf8
7
+ require 'rubygems'
8
+ require 'hpricot'
9
9
 
10
10
  ips = []
11
- src.scan(/(\d+[..]\d+[..]\d+[..]\d+).*?(\/\d+)/m) {|a,b|
12
- ips << a.gsub(/./,".") + b
13
- }
11
+
12
+ src = open("http://www.au.kddi.com/ezfactory/tec/spec/ezsava_ip.html").read.toutf8
13
+ doc = Hpricot(src)
14
+ (doc/'//table').each do |table|
15
+ trs = (table/'tr')
16
+ next if trs.first && (trs.first/'td[2]').inner_text != 'IPアドレス'
17
+ trs.each do |tr|
18
+ a = (tr/'td').to_a.map(&:inner_text)
19
+ next if a[1] == 'IPアドレス'
20
+ ips << a[1..2].join if a[3] != '廃止'
21
+ end
22
+ end
23
+ ips.uniq!
14
24
 
15
25
  # 書き出し
16
26
  open("lib/jpmobile/mobile/z_ip_addresses_au.rb","w") do |f|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jpmobile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - dara
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-04 00:00:00 +09:00
12
+ date: 2009-07-20 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 2.2.2
23
+ version: 2.3.2
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
@@ -59,26 +59,187 @@ executables: []
59
59
  extensions: []
60
60
 
61
61
  extra_rdoc_files:
62
- - README
62
+ - README.rdoc
63
63
  - CHANGELOG
64
64
  files:
65
- - README
65
+ - README.rdoc
66
66
  - CHANGELOG
67
67
  - Rakefile
68
- - test/au_test.rb
69
- - test/autoload_test.rb
70
- - test/docomo_test.rb
71
- - test/emoticon_functional_test.rb
72
- - test/emoticon_test.rb
73
- - test/filter_test.rb
74
- - test/helper.rb
75
- - test/helpers_test.rb
76
- - test/softbank_test.rb
77
- - test/willcom_test.rb
78
- - lib/jpmobile
68
+ - test/legacy/au_test.rb
69
+ - test/legacy/autoload_test.rb
70
+ - test/legacy/docomo_test.rb
71
+ - test/legacy/emoticon_functional_test.rb
72
+ - test/legacy/emoticon_test.rb
73
+ - test/legacy/filter_test.rb
74
+ - test/legacy/helper.rb
75
+ - test/legacy/helpers_test.rb
76
+ - test/legacy/softbank_test.rb
77
+ - test/legacy/willcom_test.rb
78
+ - test/rails/overrides/app/controllers/application.rb
79
+ - test/rails/overrides/app/controllers/docomo_guid_controller.rb
80
+ - test/rails/overrides/app/controllers/filter_controller.rb
81
+ - test/rails/overrides/app/controllers/mobile_spec_controller.rb
82
+ - test/rails/overrides/app/controllers/template_path_controller.rb
83
+ - test/rails/overrides/app/controllers/trans_sid_controller.rb
84
+ - test/rails/overrides/app/views/filter/index.html.erb
85
+ - test/rails/overrides/app/views/hankaku_filter/index.html.erb
86
+ - test/rails/overrides/app/views/template_path/_partial.html.erb
87
+ - test/rails/overrides/app/views/template_path/_partial_mobile.html.erb
88
+ - test/rails/overrides/app/views/template_path/_partial_mobile_docomo.html.erb
89
+ - test/rails/overrides/app/views/template_path/index.html.erb
90
+ - test/rails/overrides/app/views/template_path/index_mobile.html.erb
91
+ - test/rails/overrides/app/views/template_path/index_mobile_docomo.html.erb
92
+ - test/rails/overrides/app/views/template_path/partial.html.erb
93
+ - test/rails/overrides/lib/tasks/rspec.rake
94
+ - test/rails/overrides/spec/controllers/docomo_guid_spec.rb
95
+ - test/rails/overrides/spec/controllers/docomo_spec.rb
96
+ - test/rails/overrides/spec/controllers/emobile_spec.rb
97
+ - test/rails/overrides/spec/controllers/filter_spec.rb
98
+ - test/rails/overrides/spec/controllers/pc_spec.rb
99
+ - test/rails/overrides/spec/controllers/softbank_emulator_spec.rb
100
+ - test/rails/overrides/spec/controllers/template_path_spec.rb
101
+ - test/rails/overrides/spec/controllers/trans_sid_spec.rb
102
+ - test/rails/overrides/spec/helpers/helpers_spec.rb
103
+ - test/rails/overrides/spec/rcov.opts
104
+ - test/rails/overrides/spec/rspec.rake
105
+ - test/rails/overrides/spec/spec.opts
106
+ - test/rails/overrides/spec/spec_helper.rb
107
+ - test/rails/rails_root/app/controllers/application.rb
108
+ - test/rails/rails_root/app/controllers/docomo_guid_controller.rb
109
+ - test/rails/rails_root/app/controllers/filter_controller.rb
110
+ - test/rails/rails_root/app/controllers/mobile_spec_controller.rb
111
+ - test/rails/rails_root/app/controllers/template_path_controller.rb
112
+ - test/rails/rails_root/app/controllers/trans_sid_controller.rb
113
+ - test/rails/rails_root/app/helpers/application_helper.rb
114
+ - test/rails/rails_root/app/views/template_path/index.html.erb
115
+ - test/rails/rails_root/app/views/template_path/index_mobile.html.erb
116
+ - test/rails/rails_root/app/views/template_path/index_mobile_docomo.html.erb
117
+ - test/rails/rails_root/config/boot.rb
118
+ - test/rails/rails_root/config/database.yml
119
+ - test/rails/rails_root/config/environment.rb
120
+ - test/rails/rails_root/config/environments/development.rb
121
+ - test/rails/rails_root/config/environments/production.rb
122
+ - test/rails/rails_root/config/environments/test.rb
123
+ - test/rails/rails_root/config/initializers/inflections.rb
124
+ - test/rails/rails_root/config/initializers/mime_types.rb
125
+ - test/rails/rails_root/config/initializers/new_rails_defaults.rb
126
+ - test/rails/rails_root/config/locales/en.yml
127
+ - test/rails/rails_root/config/routes.rb
128
+ - test/rails/rails_root/db/development.sqlite3
129
+ - test/rails/rails_root/db/schema.rb
130
+ - test/rails/rails_root/db/test.sqlite3
131
+ - test/rails/rails_root/doc/README_FOR_APP
132
+ - test/rails/rails_root/lib/tasks/rspec.rake
133
+ - test/rails/rails_root/log/development.log
134
+ - test/rails/rails_root/log/production.log
135
+ - test/rails/rails_root/log/server.log
136
+ - test/rails/rails_root/log/test.log
137
+ - test/rails/rails_root/public/404.html
138
+ - test/rails/rails_root/public/422.html
139
+ - test/rails/rails_root/public/500.html
140
+ - test/rails/rails_root/public/dispatch.cgi
141
+ - test/rails/rails_root/public/dispatch.fcgi
142
+ - test/rails/rails_root/public/dispatch.rb
143
+ - test/rails/rails_root/public/favicon.ico
144
+ - test/rails/rails_root/public/images/rails.png
145
+ - test/rails/rails_root/public/index.html
146
+ - test/rails/rails_root/public/javascripts/application.js
147
+ - test/rails/rails_root/public/javascripts/controls.js
148
+ - test/rails/rails_root/public/javascripts/dragdrop.js
149
+ - test/rails/rails_root/public/javascripts/effects.js
150
+ - test/rails/rails_root/public/javascripts/prototype.js
151
+ - test/rails/rails_root/public/robots.txt
152
+ - test/rails/rails_root/Rakefile
153
+ - test/rails/rails_root/README
154
+ - test/rails/rails_root/script/about
155
+ - test/rails/rails_root/script/console
156
+ - test/rails/rails_root/script/dbconsole
157
+ - test/rails/rails_root/script/destroy
158
+ - test/rails/rails_root/script/generate
159
+ - test/rails/rails_root/script/performance/benchmarker
160
+ - test/rails/rails_root/script/performance/profiler
161
+ - test/rails/rails_root/script/performance/request
162
+ - test/rails/rails_root/script/plugin
163
+ - test/rails/rails_root/script/process/inspector
164
+ - test/rails/rails_root/script/process/reaper
165
+ - test/rails/rails_root/script/process/spawner
166
+ - test/rails/rails_root/script/runner
167
+ - test/rails/rails_root/script/server
168
+ - test/rails/rails_root/spec/controllers/docomo_guid_spec.rb
169
+ - test/rails/rails_root/spec/controllers/docomo_spec.rb
170
+ - test/rails/rails_root/spec/controllers/emobile_spec.rb
171
+ - test/rails/rails_root/spec/controllers/filter_spec.rb
172
+ - test/rails/rails_root/spec/controllers/pc_spec.rb
173
+ - test/rails/rails_root/spec/controllers/softbank_emulator_spec.rb
174
+ - test/rails/rails_root/spec/controllers/template_path_spec.rb
175
+ - test/rails/rails_root/spec/controllers/trans_sid_spec.rb
176
+ - test/rails/rails_root/spec/helpers/helpers_spec.rb
177
+ - test/rails/rails_root/spec/rcov.opts
178
+ - test/rails/rails_root/spec/rspec.rake
179
+ - test/rails/rails_root/spec/spec.opts
180
+ - test/rails/rails_root/spec/spec_helper.rb
181
+ - test/rails/rails_root/test/performance/browsing_test.rb
182
+ - test/rails/rails_root/test/test_helper.rb
183
+ - test/rails/rails_root/vendor/plugins/jpmobile/CHANGELOG
184
+ - test/rails/rails_root/vendor/plugins/jpmobile/init.rb
185
+ - test/rails/rails_root/vendor/plugins/jpmobile/install.rb
186
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/datum_conv.rb
187
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/docomo_guid.rb
188
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/email.rb
189
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/au.rb
190
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/conversion_table.rb
191
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/docomo.rb
192
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/softbank.rb
193
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/z_combine.rb
194
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon.rb
195
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/filter.rb
196
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/helpers.rb
197
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_controller.rb
198
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_view.rb
199
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_request.rb
200
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/abstract_mobile.rb
201
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/au.rb
202
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/display.rb
203
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/docomo.rb
204
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/emobile.rb
205
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/softbank.rb
206
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/willcom.rb
207
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_display_info_docomo.rb
208
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_au.rb
209
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_docomo.rb
210
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_emobile.rb
211
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_softbank.rb
212
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/z_ip_addresses_willcom.rb
213
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/position.rb
214
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/request_with_mobile.rb
215
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/trans_sid.rb
216
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/util.rb
217
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/version.rb
218
+ - test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile.rb
219
+ - test/rails/rails_root/vendor/plugins/jpmobile/MIT-LICENSE
220
+ - test/rails/rails_root/vendor/plugins/jpmobile/Rakefile
221
+ - test/rails/rails_root/vendor/plugins/jpmobile/README.rdoc
222
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/spec.opts
223
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/spec_helper.rb
224
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/detect_by_email_spec.rb
225
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/detect_by_ua_spec.rb
226
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/is_carrier_spec.rb
227
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/spec_helper.rb
228
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/util_spec.rb
229
+ - test/rails/rails_root/vendor/plugins/jpmobile/spec/unit/valid_ip_spec.rb
230
+ - test/rails/rails_root/vendor/plugins/jpmobile/tasks/jpmobile_tasks.rake
231
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/emoji/genregexp.rb
232
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_au_emoticon_table.rb
233
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_docomo_emoticon_table.rb
234
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_emoticon_conversion_table.rb
235
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_softbank_emoticon_table.rb
236
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/list_gps_unsupported_au.rb
237
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/update_display_info_docomo.rb
238
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/update_ip_addresses_au.rb
239
+ - test/rails/rails_root/vendor/plugins/jpmobile/tools/update_ip_addresses_willcom.rb
79
240
  - lib/jpmobile/datum_conv.rb
241
+ - lib/jpmobile/docomo_guid.rb
80
242
  - lib/jpmobile/email.rb
81
- - lib/jpmobile/emoticon
82
243
  - lib/jpmobile/emoticon/au.rb
83
244
  - lib/jpmobile/emoticon/conversion_table.rb
84
245
  - lib/jpmobile/emoticon/docomo.rb
@@ -87,10 +248,9 @@ files:
87
248
  - lib/jpmobile/emoticon.rb
88
249
  - lib/jpmobile/filter.rb
89
250
  - lib/jpmobile/helpers.rb
90
- - lib/jpmobile/hook_abstract_request.rb
91
251
  - lib/jpmobile/hook_action_controller.rb
92
252
  - lib/jpmobile/hook_action_view.rb
93
- - lib/jpmobile/mobile
253
+ - lib/jpmobile/hook_request.rb
94
254
  - lib/jpmobile/mobile/abstract_mobile.rb
95
255
  - lib/jpmobile/mobile/au.rb
96
256
  - lib/jpmobile/mobile/display.rb
@@ -105,6 +265,10 @@ files:
105
265
  - lib/jpmobile/mobile/z_ip_addresses_softbank.rb
106
266
  - lib/jpmobile/mobile/z_ip_addresses_willcom.rb
107
267
  - lib/jpmobile/position.rb
268
+ - lib/jpmobile/rack/auth.rb
269
+ - lib/jpmobile/rack/combined_logger.rb
270
+ - lib/jpmobile/rack/request.rb
271
+ - lib/jpmobile/rack/trans_sid.rb
108
272
  - lib/jpmobile/request_with_mobile.rb
109
273
  - lib/jpmobile/trans_sid.rb
110
274
  - lib/jpmobile/util.rb
@@ -120,6 +284,8 @@ files:
120
284
  - tools/update_ip_addresses_willcom.rb
121
285
  has_rdoc: true
122
286
  homepage: http://jpmobile.rubyforge.org
287
+ licenses: []
288
+
123
289
  post_install_message:
124
290
  rdoc_options:
125
291
  - --quiet
@@ -129,7 +295,7 @@ rdoc_options:
129
295
  - index.html
130
296
  - --line-numbers
131
297
  - --main
132
- - README
298
+ - README.rdoc
133
299
  - --inline-source
134
300
  - --exclude
135
301
  - ^(examples|extras)/
@@ -150,9 +316,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
316
  requirements: []
151
317
 
152
318
  rubyforge_project: jpmobile
153
- rubygems_version: 1.3.1
319
+ rubygems_version: 1.3.4
154
320
  signing_key:
155
- specification_version: 2
321
+ specification_version: 3
156
322
  summary: A Rails plugin for Japanese mobile-phones
157
323
  test_files: []
158
324