jpmobile 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/README +8 -5
- data/Rakefile +6 -7
- data/lib/jpmobile.rb +12 -2
- data/lib/jpmobile/email.rb +19 -0
- data/lib/jpmobile/filter.rb +1 -15
- data/lib/jpmobile/helpers.rb +76 -34
- data/lib/jpmobile/hook_action_controller.rb +1 -0
- data/lib/jpmobile/hook_action_view.rb +79 -28
- data/lib/jpmobile/mobile/abstract_mobile.rb +13 -1
- data/lib/jpmobile/mobile/au.rb +2 -0
- data/lib/jpmobile/mobile/docomo.rb +3 -1
- data/lib/jpmobile/mobile/emobile.rb +2 -0
- data/lib/jpmobile/mobile/softbank.rb +7 -1
- data/lib/jpmobile/mobile/willcom.rb +4 -0
- data/lib/jpmobile/mobile/z_display_info_docomo.rb +85 -2
- data/lib/jpmobile/mobile/z_ip_addresses_au.rb +40 -25
- data/lib/jpmobile/mobile/z_ip_addresses_docomo.rb +3 -1
- data/lib/jpmobile/mobile/z_ip_addresses_willcom.rb +97 -76
- data/lib/jpmobile/position.rb +8 -2
- data/lib/jpmobile/request_with_mobile.rb +1 -1
- data/lib/jpmobile/util.rb +21 -0
- data/lib/jpmobile/version.rb +1 -1
- data/test/au_test.rb +1 -1
- data/tools/update_display_info_docomo.rb +1 -0
- data/tools/update_ip_addresses_willcom.rb +2 -1
- metadata +36 -82
- data/doc/classes/ActionController.html +0 -120
- data/doc/classes/ActionController/AbstractRequest.html +0 -118
- data/doc/classes/ActionController/CgiRequest.html +0 -160
- data/doc/classes/ActionView.html +0 -101
- data/doc/classes/DatumConv.html +0 -324
- data/doc/classes/Jpmobile/Display.html +0 -333
- data/doc/classes/Jpmobile/Emoticon.html +0 -467
- data/doc/classes/Jpmobile/Filter.html +0 -120
- data/doc/classes/Jpmobile/Filter/ApplyOnlyForMobile.html +0 -172
- data/doc/classes/Jpmobile/Filter/Base.html +0 -269
- data/doc/classes/Jpmobile/Filter/Emoticon.html +0 -118
- data/doc/classes/Jpmobile/Filter/Emoticon/Inner.html +0 -184
- data/doc/classes/Jpmobile/Filter/Emoticon/Outer.html +0 -207
- data/doc/classes/Jpmobile/Filter/FilterTable.html +0 -178
- data/doc/classes/Jpmobile/Filter/HankakuKana.html +0 -126
- data/doc/classes/Jpmobile/Filter/Sjis.html +0 -271
- data/doc/classes/Jpmobile/Helpers.html +0 -588
- data/doc/classes/Jpmobile/Mobile.html +0 -150
- data/doc/classes/Jpmobile/Mobile/AbstractMobile.html +0 -389
- data/doc/classes/Jpmobile/Mobile/Au.html +0 -420
- data/doc/classes/Jpmobile/Mobile/Ddipocket.html +0 -138
- data/doc/classes/Jpmobile/Mobile/Docomo.html +0 -411
- data/doc/classes/Jpmobile/Mobile/Emobile.html +0 -183
- data/doc/classes/Jpmobile/Mobile/Jphone.html +0 -212
- data/doc/classes/Jpmobile/Mobile/Softbank.html +0 -344
- data/doc/classes/Jpmobile/Mobile/Vodafone.html +0 -176
- data/doc/classes/Jpmobile/Mobile/Willcom.html +0 -211
- data/doc/classes/Jpmobile/Position.html +0 -384
- data/doc/classes/Jpmobile/RequestWithMobile.html +0 -263
- data/doc/created.rid +0 -1
- data/doc/files/CHANGELOG.html +0 -110
- data/doc/files/README.html +0 -455
- data/doc/files/lib/jpmobile/datum_conv_rb.html +0 -110
- data/doc/files/lib/jpmobile/emoticon/au_rb.html +0 -124
- data/doc/files/lib/jpmobile/emoticon/conversion_table_rb.html +0 -124
- data/doc/files/lib/jpmobile/emoticon/docomo_rb.html +0 -119
- data/doc/files/lib/jpmobile/emoticon/softbank_rb.html +0 -119
- data/doc/files/lib/jpmobile/emoticon/z_combine_rb.html +0 -101
- data/doc/files/lib/jpmobile/emoticon_rb.html +0 -101
- data/doc/files/lib/jpmobile/filter_rb.html +0 -115
- data/doc/files/lib/jpmobile/helpers_rb.html +0 -105
- data/doc/files/lib/jpmobile/hook_abstract_request_rb.html +0 -108
- data/doc/files/lib/jpmobile/hook_action_controller_rb.html +0 -101
- data/doc/files/lib/jpmobile/hook_action_view_rb.html +0 -110
- data/doc/files/lib/jpmobile/mobile/abstract_mobile_rb.html +0 -108
- data/doc/files/lib/jpmobile/mobile/au_rb.html +0 -112
- data/doc/files/lib/jpmobile/mobile/display_rb.html +0 -111
- data/doc/files/lib/jpmobile/mobile/docomo_rb.html +0 -105
- data/doc/files/lib/jpmobile/mobile/emobile_rb.html +0 -105
- data/doc/files/lib/jpmobile/mobile/softbank_rb.html +0 -115
- data/doc/files/lib/jpmobile/mobile/willcom_rb.html +0 -108
- data/doc/files/lib/jpmobile/mobile/z_display_info_docomo_rb.html +0 -114
- data/doc/files/lib/jpmobile/mobile/z_ip_addresses_au_rb.html +0 -114
- data/doc/files/lib/jpmobile/mobile/z_ip_addresses_docomo_rb.html +0 -124
- data/doc/files/lib/jpmobile/mobile/z_ip_addresses_emobile_rb.html +0 -111
- data/doc/files/lib/jpmobile/mobile/z_ip_addresses_softbank_rb.html +0 -124
- data/doc/files/lib/jpmobile/mobile/z_ip_addresses_willcom_rb.html +0 -114
- data/doc/files/lib/jpmobile/position_rb.html +0 -105
- data/doc/files/lib/jpmobile/request_with_mobile_rb.html +0 -111
- data/doc/files/lib/jpmobile/trans_sid_rb.html +0 -118
- data/doc/files/lib/jpmobile/version_rb.html +0 -101
- data/doc/files/lib/jpmobile_rb.html +0 -101
- data/doc/fr_class_index.html +0 -55
- data/doc/fr_file_index.html +0 -58
- data/doc/fr_method_index.html +0 -134
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
data/lib/jpmobile/position.rb
CHANGED
@@ -9,8 +9,14 @@ end
|
|
9
9
|
module Jpmobile
|
10
10
|
# 位置情報
|
11
11
|
class Position
|
12
|
-
|
13
|
-
|
12
|
+
if Object.const_defined?("GeoKit")
|
13
|
+
# GeoKitが読み込まれている場合はMappableにする
|
14
|
+
include ::GeoKit::Mappable
|
15
|
+
def self.acts_as_mappable; end
|
16
|
+
def self.distance_column_name; end
|
17
|
+
def self.lat_column_name; :lat; end
|
18
|
+
def self.lng_column_name; :lng; end
|
19
|
+
end
|
14
20
|
def initialize
|
15
21
|
@lat = nil
|
16
22
|
@lon = nil
|
@@ -33,7 +33,7 @@ module Jpmobile
|
|
33
33
|
def mobile
|
34
34
|
return @__mobile if @__mobile
|
35
35
|
|
36
|
-
Jpmobile::Mobile.
|
36
|
+
Jpmobile::Mobile.carriers.each do |const|
|
37
37
|
c = Jpmobile::Mobile.const_get(const)
|
38
38
|
return @__mobile = c.new(self) if c::USER_AGENT_REGEXP && user_agent =~ c::USER_AGENT_REGEXP
|
39
39
|
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'tempfile'
|
2
|
+
module Jpmobile
|
3
|
+
module Util
|
4
|
+
module_function
|
5
|
+
def deep_apply(obj, &proc)
|
6
|
+
case obj
|
7
|
+
when Hash
|
8
|
+
obj.each_pair do |key, value|
|
9
|
+
obj[key] = deep_apply(value, &proc)
|
10
|
+
end
|
11
|
+
when Array
|
12
|
+
obj.collect!{|value| deep_apply(value, &proc)}
|
13
|
+
when NilClass, TrueClass, FalseClass, Tempfile, StringIO
|
14
|
+
return obj
|
15
|
+
else
|
16
|
+
obj = obj.to_param if obj.respond_to?(:to_param)
|
17
|
+
proc.call(obj)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
data/lib/jpmobile/version.rb
CHANGED
data/test/au_test.rb
CHANGED
@@ -80,7 +80,7 @@ class AuTest < Test::Unit::TestCase
|
|
80
80
|
# 正しいIPアドレス空間からのアクセスを判断できるか。
|
81
81
|
def test_au_valid_ip_address
|
82
82
|
reqs = request_with_ua("KDDI-CA32 UP.Browser/6.2.0.7.3.129 (GUI) MMP/2.0",
|
83
|
-
{"REMOTE_ADDR"=>"210.
|
83
|
+
{"REMOTE_ADDR"=>"210.230.128.225"})
|
84
84
|
reqs.each do |req|
|
85
85
|
assert_equal(req.mobile.valid_ip?, true)
|
86
86
|
end
|
@@ -5,8 +5,9 @@ require 'kconv'
|
|
5
5
|
require 'open-uri'
|
6
6
|
require 'pp'
|
7
7
|
|
8
|
-
src = open("http://www.willcom-inc.com/ja/service/contents_service/
|
8
|
+
src = open("http://www.willcom-inc.com/ja/service/contents_service/create/center_info/index.html").read.toutf8
|
9
9
|
|
10
|
+
src.sub!(%r{^.*<b>Webアクセス時のIPアドレス帯域</b>(.+?)</table>.*$}m, '\\1')
|
10
11
|
ips = src.scan(/(\d+\.\d+\.\d+\.\d+\/\d+)/).flatten
|
11
12
|
|
12
13
|
# 書き出し
|
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
|
+
version: 0.0.4
|
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:
|
12
|
+
date: 2009-03-04 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,37 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 2.
|
23
|
+
version: 2.2.2
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rspec
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.1.12
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: rspec-rails
|
37
|
+
type: :development
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.1.12
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: rspec-fixture
|
47
|
+
type: :development
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.0.2
|
24
54
|
version:
|
25
55
|
description: A Rails plugin for Japanese mobile-phones
|
26
56
|
email: dara@shidara.net
|
@@ -35,84 +65,6 @@ files:
|
|
35
65
|
- README
|
36
66
|
- CHANGELOG
|
37
67
|
- Rakefile
|
38
|
-
- doc/classes
|
39
|
-
- doc/classes/ActionController
|
40
|
-
- doc/classes/ActionController/AbstractRequest.html
|
41
|
-
- doc/classes/ActionController/CgiRequest.html
|
42
|
-
- doc/classes/ActionController.html
|
43
|
-
- doc/classes/ActionView.html
|
44
|
-
- doc/classes/DatumConv.html
|
45
|
-
- doc/classes/Jpmobile
|
46
|
-
- doc/classes/Jpmobile/Display.html
|
47
|
-
- doc/classes/Jpmobile/Emoticon.html
|
48
|
-
- doc/classes/Jpmobile/Filter
|
49
|
-
- doc/classes/Jpmobile/Filter/ApplyOnlyForMobile.html
|
50
|
-
- doc/classes/Jpmobile/Filter/Base.html
|
51
|
-
- doc/classes/Jpmobile/Filter/Emoticon
|
52
|
-
- doc/classes/Jpmobile/Filter/Emoticon/Inner.html
|
53
|
-
- doc/classes/Jpmobile/Filter/Emoticon/Outer.html
|
54
|
-
- doc/classes/Jpmobile/Filter/Emoticon.html
|
55
|
-
- doc/classes/Jpmobile/Filter/FilterTable.html
|
56
|
-
- doc/classes/Jpmobile/Filter/HankakuKana.html
|
57
|
-
- doc/classes/Jpmobile/Filter/Sjis.html
|
58
|
-
- doc/classes/Jpmobile/Filter.html
|
59
|
-
- doc/classes/Jpmobile/Helpers.html
|
60
|
-
- doc/classes/Jpmobile/Mobile
|
61
|
-
- doc/classes/Jpmobile/Mobile/AbstractMobile.html
|
62
|
-
- doc/classes/Jpmobile/Mobile/Au.html
|
63
|
-
- doc/classes/Jpmobile/Mobile/Ddipocket.html
|
64
|
-
- doc/classes/Jpmobile/Mobile/Docomo.html
|
65
|
-
- doc/classes/Jpmobile/Mobile/Emobile.html
|
66
|
-
- doc/classes/Jpmobile/Mobile/Jphone.html
|
67
|
-
- doc/classes/Jpmobile/Mobile/Softbank.html
|
68
|
-
- doc/classes/Jpmobile/Mobile/Vodafone.html
|
69
|
-
- doc/classes/Jpmobile/Mobile/Willcom.html
|
70
|
-
- doc/classes/Jpmobile/Mobile.html
|
71
|
-
- doc/classes/Jpmobile/Position.html
|
72
|
-
- doc/classes/Jpmobile/RequestWithMobile.html
|
73
|
-
- doc/created.rid
|
74
|
-
- doc/files
|
75
|
-
- doc/files/CHANGELOG.html
|
76
|
-
- doc/files/lib
|
77
|
-
- doc/files/lib/jpmobile
|
78
|
-
- doc/files/lib/jpmobile/datum_conv_rb.html
|
79
|
-
- doc/files/lib/jpmobile/emoticon
|
80
|
-
- doc/files/lib/jpmobile/emoticon/au_rb.html
|
81
|
-
- doc/files/lib/jpmobile/emoticon/conversion_table_rb.html
|
82
|
-
- doc/files/lib/jpmobile/emoticon/docomo_rb.html
|
83
|
-
- doc/files/lib/jpmobile/emoticon/softbank_rb.html
|
84
|
-
- doc/files/lib/jpmobile/emoticon/z_combine_rb.html
|
85
|
-
- doc/files/lib/jpmobile/emoticon_rb.html
|
86
|
-
- doc/files/lib/jpmobile/filter_rb.html
|
87
|
-
- doc/files/lib/jpmobile/helpers_rb.html
|
88
|
-
- doc/files/lib/jpmobile/hook_abstract_request_rb.html
|
89
|
-
- doc/files/lib/jpmobile/hook_action_controller_rb.html
|
90
|
-
- doc/files/lib/jpmobile/hook_action_view_rb.html
|
91
|
-
- doc/files/lib/jpmobile/mobile
|
92
|
-
- doc/files/lib/jpmobile/mobile/abstract_mobile_rb.html
|
93
|
-
- doc/files/lib/jpmobile/mobile/au_rb.html
|
94
|
-
- doc/files/lib/jpmobile/mobile/display_rb.html
|
95
|
-
- doc/files/lib/jpmobile/mobile/docomo_rb.html
|
96
|
-
- doc/files/lib/jpmobile/mobile/emobile_rb.html
|
97
|
-
- doc/files/lib/jpmobile/mobile/softbank_rb.html
|
98
|
-
- doc/files/lib/jpmobile/mobile/willcom_rb.html
|
99
|
-
- doc/files/lib/jpmobile/mobile/z_display_info_docomo_rb.html
|
100
|
-
- doc/files/lib/jpmobile/mobile/z_ip_addresses_au_rb.html
|
101
|
-
- doc/files/lib/jpmobile/mobile/z_ip_addresses_docomo_rb.html
|
102
|
-
- doc/files/lib/jpmobile/mobile/z_ip_addresses_emobile_rb.html
|
103
|
-
- doc/files/lib/jpmobile/mobile/z_ip_addresses_softbank_rb.html
|
104
|
-
- doc/files/lib/jpmobile/mobile/z_ip_addresses_willcom_rb.html
|
105
|
-
- doc/files/lib/jpmobile/position_rb.html
|
106
|
-
- doc/files/lib/jpmobile/request_with_mobile_rb.html
|
107
|
-
- doc/files/lib/jpmobile/trans_sid_rb.html
|
108
|
-
- doc/files/lib/jpmobile/version_rb.html
|
109
|
-
- doc/files/lib/jpmobile_rb.html
|
110
|
-
- doc/files/README.html
|
111
|
-
- doc/fr_class_index.html
|
112
|
-
- doc/fr_file_index.html
|
113
|
-
- doc/fr_method_index.html
|
114
|
-
- doc/index.html
|
115
|
-
- doc/rdoc-style.css
|
116
68
|
- test/au_test.rb
|
117
69
|
- test/autoload_test.rb
|
118
70
|
- test/docomo_test.rb
|
@@ -125,6 +77,7 @@ files:
|
|
125
77
|
- test/willcom_test.rb
|
126
78
|
- lib/jpmobile
|
127
79
|
- lib/jpmobile/datum_conv.rb
|
80
|
+
- lib/jpmobile/email.rb
|
128
81
|
- lib/jpmobile/emoticon
|
129
82
|
- lib/jpmobile/emoticon/au.rb
|
130
83
|
- lib/jpmobile/emoticon/conversion_table.rb
|
@@ -154,6 +107,7 @@ files:
|
|
154
107
|
- lib/jpmobile/position.rb
|
155
108
|
- lib/jpmobile/request_with_mobile.rb
|
156
109
|
- lib/jpmobile/trans_sid.rb
|
110
|
+
- lib/jpmobile/util.rb
|
157
111
|
- lib/jpmobile/version.rb
|
158
112
|
- lib/jpmobile.rb
|
159
113
|
- tools/generate_au_emoticon_table.rb
|
@@ -196,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
150
|
requirements: []
|
197
151
|
|
198
152
|
rubyforge_project: jpmobile
|
199
|
-
rubygems_version: 1.
|
153
|
+
rubygems_version: 1.3.1
|
200
154
|
signing_key:
|
201
155
|
specification_version: 2
|
202
156
|
summary: A Rails plugin for Japanese mobile-phones
|
@@ -1,120 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding=" UTF-8"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Module: ActionController</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset= UTF-8" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">ActionController</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/jpmobile/trans_sid_rb.html">
|
59
|
-
lib/jpmobile/trans_sid.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
</table>
|
66
|
-
</div>
|
67
|
-
<!-- banner header -->
|
68
|
-
|
69
|
-
<div id="bodyContent">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
<div id="contextContent">
|
74
|
-
|
75
|
-
<div id="description">
|
76
|
-
<p>
|
77
|
-
FastCGI環境では(どういうわけか) cgi.query_string
|
78
|
-
でクエリ文字列を取得できないので
|
79
|
-
ENV[‘QUERY_STRING’] に代入しておく。
|
80
|
-
</p>
|
81
|
-
|
82
|
-
</div>
|
83
|
-
|
84
|
-
|
85
|
-
</div>
|
86
|
-
|
87
|
-
|
88
|
-
</div>
|
89
|
-
|
90
|
-
|
91
|
-
<!-- if includes -->
|
92
|
-
|
93
|
-
<div id="section">
|
94
|
-
|
95
|
-
<div id="class-list">
|
96
|
-
<h3 class="section-bar">Classes and Modules</h3>
|
97
|
-
|
98
|
-
Class <a href="ActionController/AbstractRequest.html" class="link">ActionController::AbstractRequest</a><br />
|
99
|
-
Class <a href="ActionController/CgiRequest.html" class="link">ActionController::CgiRequest</a><br />
|
100
|
-
|
101
|
-
</div>
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
<!-- if method_list -->
|
110
|
-
|
111
|
-
|
112
|
-
</div>
|
113
|
-
|
114
|
-
|
115
|
-
<div id="validator-badges">
|
116
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
117
|
-
</div>
|
118
|
-
|
119
|
-
</body>
|
120
|
-
</html>
|
@@ -1,118 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding=" UTF-8"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: ActionController::AbstractRequest</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset= UTF-8" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">ActionController::AbstractRequest</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/jpmobile/hook_abstract_request_rb.html">
|
59
|
-
lib/jpmobile/hook_abstract_request.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
Object
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
|
86
|
-
</div>
|
87
|
-
|
88
|
-
|
89
|
-
<!-- if includes -->
|
90
|
-
<div id="includes">
|
91
|
-
<h3 class="section-bar">Included Modules</h3>
|
92
|
-
|
93
|
-
<div id="includes-list">
|
94
|
-
<span class="include-name"><a href="../Jpmobile/RequestWithMobile.html">Jpmobile::RequestWithMobile</a></span>
|
95
|
-
</div>
|
96
|
-
</div>
|
97
|
-
|
98
|
-
<div id="section">
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<!-- if method_list -->
|
108
|
-
|
109
|
-
|
110
|
-
</div>
|
111
|
-
|
112
|
-
|
113
|
-
<div id="validator-badges">
|
114
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
115
|
-
</div>
|
116
|
-
|
117
|
-
</body>
|
118
|
-
</html>
|