webget_ruby_ramp 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/lib/webget_ruby_ramp.rb +250 -0
- data/lib/webget_ruby_ramp/active_record.rb +119 -0
- data/lib/webget_ruby_ramp/active_record/connection_adapters/abstract/schema_statements.rb +24 -0
- data/lib/webget_ruby_ramp/active_record/save_extensions.rb +35 -0
- data/lib/webget_ruby_ramp/array.rb +370 -0
- data/lib/webget_ruby_ramp/csv.rb +53 -0
- data/lib/webget_ruby_ramp/date.rb +90 -0
- data/lib/webget_ruby_ramp/enumerable.rb +385 -0
- data/lib/webget_ruby_ramp/file.rb +15 -0
- data/lib/webget_ruby_ramp/hash.rb +223 -0
- data/lib/webget_ruby_ramp/integer.rb +22 -0
- data/lib/webget_ruby_ramp/io.rb +65 -0
- data/lib/webget_ruby_ramp/kernel.rb +36 -0
- data/lib/webget_ruby_ramp/math.rb +20 -0
- data/lib/webget_ruby_ramp/nil.rb +17 -0
- data/lib/webget_ruby_ramp/numeric.rb +98 -0
- data/lib/webget_ruby_ramp/object.rb +20 -0
- data/lib/webget_ruby_ramp/process.rb +153 -0
- data/lib/webget_ruby_ramp/string.rb +221 -0
- data/lib/webget_ruby_ramp/symbol.rb +11 -0
- data/lib/webget_ruby_ramp/time.rb +11 -0
- data/lib/webget_ruby_ramp/xml.rb +193 -0
- data/lib/webget_ruby_ramp/yaml.rb +34 -0
- data/test/webget_ruby_ramp/active_record/connection_adapters/abstract/schema_statements_test.rb +9 -0
- data/test/webget_ruby_ramp/active_record/save_extensions_test.rb +7 -0
- data/test/webget_ruby_ramp/active_record_test.rb +64 -0
- data/test/webget_ruby_ramp/array_test.rb +171 -0
- data/test/webget_ruby_ramp/csv_test.rb +18 -0
- data/test/webget_ruby_ramp/date_test.rb +60 -0
- data/test/webget_ruby_ramp/enumerable_test.rb +275 -0
- data/test/webget_ruby_ramp/file_test.rb +15 -0
- data/test/webget_ruby_ramp/hash_test.rb +105 -0
- data/test/webget_ruby_ramp/integer_test.rb +19 -0
- data/test/webget_ruby_ramp/io_test.rb +31 -0
- data/test/webget_ruby_ramp/io_test.txt +1 -0
- data/test/webget_ruby_ramp/kernel_test.rb +15 -0
- data/test/webget_ruby_ramp/math_test.rb +17 -0
- data/test/webget_ruby_ramp/nil_test.rb +15 -0
- data/test/webget_ruby_ramp/numeric_test.rb +28 -0
- data/test/webget_ruby_ramp/object_test.rb +12 -0
- data/test/webget_ruby_ramp/process_test.rb +24 -0
- data/test/webget_ruby_ramp/string_test.rb +125 -0
- data/test/webget_ruby_ramp/symbol_test.rb +26 -0
- data/test/webget_ruby_ramp/time_test.rb +12 -0
- data/test/webget_ruby_ramp/xml_test.rb +93 -0
- data/test/webget_ruby_ramp/xml_test_1.xml +5 -0
- data/test/webget_ruby_ramp/xml_test_2.xml +5 -0
- data/test/webget_ruby_ramp/xml_test_msword_clean.html +1 -0
- data/test/webget_ruby_ramp/xml_test_msword_dirty.html +148 -0
- data/test/webget_ruby_ramp/yaml_test.rb +32 -0
- data/test/webget_ruby_ramp/yaml_test_1.yml +38 -0
- data/test/webget_ruby_ramp/yaml_test_2.yml +38 -0
- metadata +128 -0
- metadata.gz.sig +1 -0
@@ -0,0 +1,93 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'webget_ruby_ramp'
|
3
|
+
|
4
|
+
class XMLTest < Test::Unit::TestCase
|
5
|
+
|
6
|
+
MYDIR=File.join('test','webget_ruby_ramp')
|
7
|
+
@@formatter=REXML::Formatters::Default.new
|
8
|
+
|
9
|
+
def test_load_dir_files
|
10
|
+
dirpath=File.join(MYDIR,'xml_test_*.xml')
|
11
|
+
expect=[File.join(MYDIR,'xml_test_1.xml'),File.join(MYDIR,'xml_test_2.xml')]
|
12
|
+
actual=Dir[dirpath].sort
|
13
|
+
assert_equal(expect,actual,"Dir[#{dirpath}] expects test data files")
|
14
|
+
end
|
15
|
+
|
16
|
+
def test_load_dir
|
17
|
+
dirpath=File.join(MYDIR,'xml_test_*.xml')
|
18
|
+
expect="abcdef"
|
19
|
+
actual=''
|
20
|
+
XML.load_dir(dirpath){|doc| doc.elements.each('foo/bar'){|e| actual+=e.attributes['x']}}
|
21
|
+
assert_equal(expect,actual,'XML.load_dir')
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_attributes_to_hash
|
25
|
+
doc=REXML::Document.new('<foo a="b" c="d" e="f"/>')
|
26
|
+
expect={"a"=>"b","c"=>"d","e"=>"f"}
|
27
|
+
actual=doc.elements['foo'].attributes.to_hash
|
28
|
+
assert_equal(expect,actual,'XML attributes hash')
|
29
|
+
end
|
30
|
+
|
31
|
+
def test_element_remove_attributes
|
32
|
+
xml="<foo a='b' c='d'><bar e='f' g='h'>text</bar></foo>"
|
33
|
+
expect="<foo><bar e='f' g='h'>text</bar></foo>"
|
34
|
+
doc=REXML::Document.new(xml)
|
35
|
+
doc.elements[1].remove_attributes
|
36
|
+
actual=doc.to_s
|
37
|
+
assert_equal(expect,actual)
|
38
|
+
end
|
39
|
+
|
40
|
+
def test_document_remove_attributes
|
41
|
+
xml="<foo a='b' c='d'><bar e='f' g='h'>text</bar></foo>"
|
42
|
+
expect="<foo><bar>text</bar></foo>"
|
43
|
+
doc=REXML::Document.new(xml)
|
44
|
+
doc.remove_attributes
|
45
|
+
actual=doc.to_s
|
46
|
+
assert_equal(expect,actual)
|
47
|
+
end
|
48
|
+
|
49
|
+
def test_strip_all
|
50
|
+
s="<foo a=b c=d><!--comment-->Hello<!-[if bar]>Microsoft<![endif]>World</foo>"
|
51
|
+
expect="<foo>HelloWorld</foo>"
|
52
|
+
actual=XML.strip_all(s)
|
53
|
+
assert_equal(expect,actual)
|
54
|
+
end
|
55
|
+
|
56
|
+
def strip_attributes
|
57
|
+
s="<foo a=b c=d e=f>Hello</foo>"
|
58
|
+
expect="<foo>Hello</foo>"
|
59
|
+
actual=XML.strip_attributes(s)
|
60
|
+
assert_equal(expect,actual)
|
61
|
+
end
|
62
|
+
|
63
|
+
def test_strip_comments
|
64
|
+
s="Hello<!--comment-->World"
|
65
|
+
expect="HelloWorld"
|
66
|
+
actual=XML.strip_comments(s)
|
67
|
+
assert_equal(expect,actual)
|
68
|
+
end
|
69
|
+
|
70
|
+
def test_strip_microsoft
|
71
|
+
s="Hello<!-[if foo]>Microsoft<![endif]->World"
|
72
|
+
expect="HelloWorld"
|
73
|
+
actual=XML.strip_microsoft(s)
|
74
|
+
assert_equal(expect,actual)
|
75
|
+
end
|
76
|
+
|
77
|
+
def test_strip_unprintables
|
78
|
+
s="HelloWorld" #TODO create test that has unprintables
|
79
|
+
expect="HelloWorld"
|
80
|
+
actual=XML.strip_unprintables(s)
|
81
|
+
assert_equal(expect,actual)
|
82
|
+
end
|
83
|
+
|
84
|
+
def test_strip_msword
|
85
|
+
clean=File.open(File.join(MYDIR,"xml_test_msword_clean.html"),"rb")
|
86
|
+
dirty=File.open(File.join(MYDIR,"xml_test_msword_dirty.html"),"rb")
|
87
|
+
expect=clean.read
|
88
|
+
actual=XML.strip_all(dirty.read)
|
89
|
+
assert_equal(expect,actual)
|
90
|
+
end
|
91
|
+
|
92
|
+
end
|
93
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
<html><head><meta><meta><meta><meta><meta><meta><link><title>Foo</title><style></style></head><body><div><table> <tr> <td> <p>Foo</p> </td> <td> <p>HTML</p> </td> <td> <p>af<b>s</b></p> </td> </tr> <tr> <td> <p><o></o></p> </td> <td> <h1>Bold</h1> </td> <td> <p><o></o></p> </td> </tr> <tr> <td> <p><o></o></p> </td> <td> <p>Fas785932517</p> </td> <td> <p>asf</p> </td> </tr> <tr> <td> <p><o></o></p> </td> <td> <p><o></o></p> </td> <td> <p><o></o></p> </td> </tr></table><p><o></o></p></div></body></html>
|
@@ -0,0 +1,148 @@
|
|
1
|
+
<html xmlns:o="urn:schemas-microsoft-com:office:office"
|
2
|
+
xmlns:w="urn:schemas-microsoft-com:office:word"
|
3
|
+
xmlns="http://www.w3.org/TR/REC-html40">
|
4
|
+
|
5
|
+
<head>
|
6
|
+
<meta name=Title content=Foo>
|
7
|
+
<meta name=Keywords content="">
|
8
|
+
<meta http-equiv=Content-Type content="text/html; charset=macintosh">
|
9
|
+
<meta name=ProgId content=Word.Document>
|
10
|
+
<meta name=Generator content="Microsoft Word 10">
|
11
|
+
<meta name=Originator content="Microsoft Word 10">
|
12
|
+
<link rel=File-List href="Foo_files/filelist.xml">
|
13
|
+
<title>Foo</title>
|
14
|
+
<!--[if gte mso 9]><xml>
|
15
|
+
<o:DocumentProperties>
|
16
|
+
<o:Template>Normal</o:Template>
|
17
|
+
<o:LastAuthor>Staff</o:LastAuthor>
|
18
|
+
<o:Revision>1</o:Revision>
|
19
|
+
<o:Created>2009-10-22T23:51:00Z</o:Created>
|
20
|
+
<o:LastSaved>2009-10-22T23:53:00Z</o:LastSaved>
|
21
|
+
<o:Pages>1</o:Pages>
|
22
|
+
<o:Company>WestEd</o:Company>
|
23
|
+
<o:Lines>1</o:Lines>
|
24
|
+
<o:Paragraphs>1</o:Paragraphs>
|
25
|
+
<o:Version>10.262</o:Version>
|
26
|
+
</o:DocumentProperties>
|
27
|
+
</xml><![endif]--><!--[if gte mso 9]><xml>
|
28
|
+
<w:WordDocument>
|
29
|
+
<w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
|
30
|
+
<w:DisplayVerticalDrawingGridEvery>0</w:DisplayVerticalDrawingGridEvery>
|
31
|
+
<w:UseMarginsForDrawingGridOrigin/>
|
32
|
+
</w:WordDocument>
|
33
|
+
</xml><![endif]-->
|
34
|
+
<style>
|
35
|
+
<!--
|
36
|
+
/* Style Definitions */
|
37
|
+
p.MsoNormal, li.MsoNormal, div.MsoNormal
|
38
|
+
{mso-style-parent:"";
|
39
|
+
margin:0in;
|
40
|
+
margin-bottom:.0001pt;
|
41
|
+
mso-pagination:widow-orphan;
|
42
|
+
font-size:12.0pt;
|
43
|
+
font-family:Times;}
|
44
|
+
h1
|
45
|
+
{mso-style-next:Normal;
|
46
|
+
margin:0in;
|
47
|
+
margin-bottom:.0001pt;
|
48
|
+
mso-pagination:widow-orphan;
|
49
|
+
page-break-after:avoid;
|
50
|
+
mso-outline-level:1;
|
51
|
+
font-size:12.0pt;
|
52
|
+
font-family:Times;
|
53
|
+
mso-font-kerning:0pt;}
|
54
|
+
@page Section1
|
55
|
+
{size:8.5in 11.0in;
|
56
|
+
margin:1.0in 1.25in 1.0in 1.25in;
|
57
|
+
mso-header-margin:.5in;
|
58
|
+
mso-footer-margin:.5in;
|
59
|
+
mso-paper-source:0;}
|
60
|
+
div.Section1
|
61
|
+
{page:Section1;}
|
62
|
+
-->
|
63
|
+
</style>
|
64
|
+
</head>
|
65
|
+
|
66
|
+
<body bgcolor=white lang=EN-US style='tab-interval:.5in'>
|
67
|
+
|
68
|
+
<div class=Section1>
|
69
|
+
|
70
|
+
<table border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;
|
71
|
+
border:none;mso-border-alt:solid windowtext .5pt;mso-padding-alt:0in 5.4pt 0in 5.4pt'>
|
72
|
+
<tr>
|
73
|
+
<td width=148 valign=top style='width:2.05in;border:solid windowtext .5pt;
|
74
|
+
padding:0in 5.4pt 0in 5.4pt'>
|
75
|
+
<p class=MsoNormal>Foo</p>
|
76
|
+
</td>
|
77
|
+
<td width=148 valign=top style='width:2.05in;border:solid windowtext .5pt;
|
78
|
+
border-left:none;mso-border-left-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
|
79
|
+
<p class=MsoNormal>HTML</p>
|
80
|
+
</td>
|
81
|
+
<td width=148 valign=top style='width:2.05in;border:solid windowtext .5pt;
|
82
|
+
border-left:none;mso-border-left-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
|
83
|
+
<p class=MsoNormal>af<b>s</b></p>
|
84
|
+
</td>
|
85
|
+
</tr>
|
86
|
+
<tr>
|
87
|
+
<td width=148 valign=top style='width:2.05in;border:solid windowtext .5pt;
|
88
|
+
border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
|
89
|
+
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
|
90
|
+
</td>
|
91
|
+
<td width=148 valign=top style='width:2.05in;border-top:none;border-left:
|
92
|
+
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
|
93
|
+
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
|
94
|
+
padding:0in 5.4pt 0in 5.4pt'>
|
95
|
+
<h1>Bold</h1>
|
96
|
+
</td>
|
97
|
+
<td width=148 valign=top style='width:2.05in;border-top:none;border-left:
|
98
|
+
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
|
99
|
+
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
|
100
|
+
padding:0in 5.4pt 0in 5.4pt'>
|
101
|
+
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
|
102
|
+
</td>
|
103
|
+
</tr>
|
104
|
+
<tr>
|
105
|
+
<td width=148 valign=top style='width:2.05in;border:solid windowtext .5pt;
|
106
|
+
border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
|
107
|
+
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
|
108
|
+
</td>
|
109
|
+
<td width=148 valign=top style='width:2.05in;border-top:none;border-left:
|
110
|
+
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
|
111
|
+
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
|
112
|
+
padding:0in 5.4pt 0in 5.4pt'>
|
113
|
+
<p class=MsoNormal>Fas785932517</p>
|
114
|
+
</td>
|
115
|
+
<td width=148 valign=top style='width:2.05in;border-top:none;border-left:
|
116
|
+
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
|
117
|
+
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
|
118
|
+
padding:0in 5.4pt 0in 5.4pt'>
|
119
|
+
<p class=MsoNormal>�asf�</p>
|
120
|
+
</td>
|
121
|
+
</tr>
|
122
|
+
<tr>
|
123
|
+
<td width=148 valign=top style='width:2.05in;border:solid windowtext .5pt;
|
124
|
+
border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
|
125
|
+
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
|
126
|
+
</td>
|
127
|
+
<td width=148 valign=top style='width:2.05in;border-top:none;border-left:
|
128
|
+
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
|
129
|
+
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
|
130
|
+
padding:0in 5.4pt 0in 5.4pt'>
|
131
|
+
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
|
132
|
+
</td>
|
133
|
+
<td width=148 valign=top style='width:2.05in;border-top:none;border-left:
|
134
|
+
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
|
135
|
+
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
|
136
|
+
padding:0in 5.4pt 0in 5.4pt'>
|
137
|
+
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
|
138
|
+
</td>
|
139
|
+
</tr>
|
140
|
+
</table>
|
141
|
+
|
142
|
+
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
|
143
|
+
|
144
|
+
</div>
|
145
|
+
|
146
|
+
</body>
|
147
|
+
|
148
|
+
</html>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'webget_ruby_ramp'
|
3
|
+
|
4
|
+
class YAMLTest < Test::Unit::TestCase
|
5
|
+
|
6
|
+
MYDIR=File.join('test','webget_ruby_ramp')
|
7
|
+
|
8
|
+
def test_load_dir_files
|
9
|
+
dirpath=File.join(MYDIR,'yaml_test_*.yml')
|
10
|
+
expect=[File.join(MYDIR,'yaml_test_1.yml'),File.join(MYDIR,'yaml_test_2.yml')]
|
11
|
+
actual=Dir[dirpath].sort
|
12
|
+
assert_equal(expect,actual,"Dir[#{dirpath}] expects test data files")
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_load_dir
|
16
|
+
dirpath=File.join(MYDIR,'yaml_test_*.yml')
|
17
|
+
expect=[
|
18
|
+
"a:a1,a10,a2,a20,a3,a30b:b1,b10,b2,b20,b3,b30c:c1,c10,c2,c20,c3,c30",
|
19
|
+
"d:d1,d10,d2,d20,d3,d30e:e1,e10,e2,e20,e3,e30f:f1,f10,f2,f20,f3,f30",
|
20
|
+
"g:g1,g10,g2,g20,g3,g30h:h1,h10,h2,h20,h3,h30i:i1,i10,i2,i20,i3,i30",
|
21
|
+
"j:j1,j10,j2,j20,j3,j30k:k1,k10,k2,k20,k3,k30l:l1,l10,l2,l20,l3,l30",
|
22
|
+
"m:m1,m10,m2,m20,m3,m30n:n1,n10,n2,n20,n3,n30o:o1,o10,o2,o20,o3,o30",
|
23
|
+
"p:p1,p10,p2,p20,p3,p30q:q1,q10,q2,q20,q3,q30r:r1,r10,r2,r20,r3,r30",
|
24
|
+
]
|
25
|
+
actual=[]
|
26
|
+
YAML.load_dir(dirpath){|doc| actual << doc.keys.map{|k| v=doc[k]; "#{k}:#{v.sort.join(",")}" }.join("") }
|
27
|
+
actual.sort!
|
28
|
+
assert_equal(expect,actual,'YAML.load_dir')
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
32
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
a:
|
2
|
+
a1: "a10"
|
3
|
+
a2: "a20"
|
4
|
+
a3: "a30"
|
5
|
+
b:
|
6
|
+
b1: "b10"
|
7
|
+
b2: "b20"
|
8
|
+
b3: "b30"
|
9
|
+
c:
|
10
|
+
c1: "c10"
|
11
|
+
c2: "c20"
|
12
|
+
c3: "c30"
|
13
|
+
---
|
14
|
+
d:
|
15
|
+
d1: "d10"
|
16
|
+
d2: "d20"
|
17
|
+
d3: "d30"
|
18
|
+
e:
|
19
|
+
e1: "e10"
|
20
|
+
e2: "e20"
|
21
|
+
e3: "e30"
|
22
|
+
f:
|
23
|
+
f1: "f10"
|
24
|
+
f2: "f20"
|
25
|
+
f3: "f30"
|
26
|
+
---
|
27
|
+
g:
|
28
|
+
g1: "g10"
|
29
|
+
g2: "g20"
|
30
|
+
g3: "g30"
|
31
|
+
h:
|
32
|
+
h1: "h10"
|
33
|
+
h2: "h20"
|
34
|
+
h3: "h30"
|
35
|
+
i:
|
36
|
+
i1: "i10"
|
37
|
+
i2: "i20"
|
38
|
+
i3: "i30"
|
@@ -0,0 +1,38 @@
|
|
1
|
+
j:
|
2
|
+
j1: "j10"
|
3
|
+
j2: "j20"
|
4
|
+
j3: "j30"
|
5
|
+
k:
|
6
|
+
k1: "k10"
|
7
|
+
k2: "k20"
|
8
|
+
k3: "k30"
|
9
|
+
l:
|
10
|
+
l1: "l10"
|
11
|
+
l2: "l20"
|
12
|
+
l3: "l30"
|
13
|
+
---
|
14
|
+
m:
|
15
|
+
m1: "m10"
|
16
|
+
m2: "m20"
|
17
|
+
m3: "m30"
|
18
|
+
n:
|
19
|
+
n1: "n10"
|
20
|
+
n2: "n20"
|
21
|
+
n3: "n30"
|
22
|
+
o:
|
23
|
+
o1: "o10"
|
24
|
+
o2: "o20"
|
25
|
+
o3: "o30"
|
26
|
+
---
|
27
|
+
p:
|
28
|
+
p1: "p10"
|
29
|
+
p2: "p20"
|
30
|
+
p3: "p30"
|
31
|
+
q:
|
32
|
+
q1: "q10"
|
33
|
+
q2: "q20"
|
34
|
+
q3: "q30"
|
35
|
+
r:
|
36
|
+
r1: "r10"
|
37
|
+
r2: "r20"
|
38
|
+
r3: "r30"
|
metadata
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: webget_ruby_ramp
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.7.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- WebGet
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDvDCCAyWgAwIBAgIJAIlSqEkDQaZIMA0GCSqGSIb3DQEBBQUAMIGbMQswCQYD
|
14
|
+
VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5j
|
15
|
+
aXNjbzETMBEGA1UEChMKV2ViR2V0LmNvbTETMBEGA1UECxMKV2ViR2V0LmNvbTET
|
16
|
+
MBEGA1UEAxMKV2ViR2V0LmNvbTEgMB4GCSqGSIb3DQEJARYRd2ViZ2V0QHdlYmdl
|
17
|
+
dC5jb20wHhcNMDkwMjI2MTk0NDU4WhcNMTExMTIzMTk0NDU4WjCBmzELMAkGA1UE
|
18
|
+
BhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lz
|
19
|
+
Y28xEzARBgNVBAoTCldlYkdldC5jb20xEzARBgNVBAsTCldlYkdldC5jb20xEzAR
|
20
|
+
BgNVBAMTCldlYkdldC5jb20xIDAeBgkqhkiG9w0BCQEWEXdlYmdldEB3ZWJnZXQu
|
21
|
+
Y29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDXCFYfW6hCQl0ToNjaMIXG
|
22
|
+
ZfPF6OoR20BO/Tg6V37qPi7gDSZ6vIC6Mxcs8LtEcju85cD9lnKKl/lo4S5/w9Ha
|
23
|
+
hGD2ZFFfbF8420X5Za5G2KuriS3GzRz7F5dKCTjb1NH9TPlgOc71bcrDmCwwtFJl
|
24
|
+
T+tdfBju0YxLSBiMXf4y5QIDAQABo4IBBDCCAQAwHQYDVR0OBBYEFHB1kXO/Xd4g
|
25
|
+
G+AJ2/wwh6JOWXzNMIHQBgNVHSMEgcgwgcWAFHB1kXO/Xd4gG+AJ2/wwh6JOWXzN
|
26
|
+
oYGhpIGeMIGbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQG
|
27
|
+
A1UEBxMNU2FuIEZyYW5jaXNjbzETMBEGA1UEChMKV2ViR2V0LmNvbTETMBEGA1UE
|
28
|
+
CxMKV2ViR2V0LmNvbTETMBEGA1UEAxMKV2ViR2V0LmNvbTEgMB4GCSqGSIb3DQEJ
|
29
|
+
ARYRd2ViZ2V0QHdlYmdldC5jb22CCQCJUqhJA0GmSDAMBgNVHRMEBTADAQH/MA0G
|
30
|
+
CSqGSIb3DQEBBQUAA4GBADzVXlwuff0/w3yK4LflGKKhtC3oChIrwmSyP6tk628N
|
31
|
+
BHokpc4Kz63xSXqzYTnBS7rFBwlYThtNalQeWmoUjGh3Z0ZR0JlhU0ln8899LuJ3
|
32
|
+
DXnLFY0cVuBnNDMOOFl8vk1qIcZjcTovhzgcixpG6Uk5qmUsKHRLQf4oQJx7TfLK
|
33
|
+
-----END CERTIFICATE-----
|
34
|
+
|
35
|
+
date: 2010-02-16 00:00:00 -08:00
|
36
|
+
default_executable:
|
37
|
+
dependencies: []
|
38
|
+
|
39
|
+
description:
|
40
|
+
email: webget@webget.com
|
41
|
+
executables: []
|
42
|
+
|
43
|
+
extensions: []
|
44
|
+
|
45
|
+
extra_rdoc_files: []
|
46
|
+
|
47
|
+
files:
|
48
|
+
- lib/webget_ruby_ramp.rb
|
49
|
+
- lib/webget_ruby_ramp/active_record.rb
|
50
|
+
- lib/webget_ruby_ramp/active_record/connection_adapters/abstract/schema_statements.rb
|
51
|
+
- lib/webget_ruby_ramp/active_record/save_extensions.rb
|
52
|
+
- lib/webget_ruby_ramp/array.rb
|
53
|
+
- lib/webget_ruby_ramp/csv.rb
|
54
|
+
- lib/webget_ruby_ramp/date.rb
|
55
|
+
- lib/webget_ruby_ramp/enumerable.rb
|
56
|
+
- lib/webget_ruby_ramp/file.rb
|
57
|
+
- lib/webget_ruby_ramp/hash.rb
|
58
|
+
- lib/webget_ruby_ramp/integer.rb
|
59
|
+
- lib/webget_ruby_ramp/io.rb
|
60
|
+
- lib/webget_ruby_ramp/kernel.rb
|
61
|
+
- lib/webget_ruby_ramp/math.rb
|
62
|
+
- lib/webget_ruby_ramp/nil.rb
|
63
|
+
- lib/webget_ruby_ramp/numeric.rb
|
64
|
+
- lib/webget_ruby_ramp/object.rb
|
65
|
+
- lib/webget_ruby_ramp/process.rb
|
66
|
+
- lib/webget_ruby_ramp/string.rb
|
67
|
+
- lib/webget_ruby_ramp/symbol.rb
|
68
|
+
- lib/webget_ruby_ramp/time.rb
|
69
|
+
- lib/webget_ruby_ramp/xml.rb
|
70
|
+
- lib/webget_ruby_ramp/yaml.rb
|
71
|
+
- test/webget_ruby_ramp/io_test.txt
|
72
|
+
- test/webget_ruby_ramp/xml_test_msword_clean.html
|
73
|
+
- test/webget_ruby_ramp/xml_test_msword_dirty.html
|
74
|
+
- test/webget_ruby_ramp/xml_test_1.xml
|
75
|
+
- test/webget_ruby_ramp/xml_test_2.xml
|
76
|
+
- test/webget_ruby_ramp/yaml_test_1.yml
|
77
|
+
- test/webget_ruby_ramp/yaml_test_2.yml
|
78
|
+
has_rdoc: true
|
79
|
+
homepage: http://webget.com/
|
80
|
+
licenses: []
|
81
|
+
|
82
|
+
post_install_message:
|
83
|
+
rdoc_options: []
|
84
|
+
|
85
|
+
require_paths:
|
86
|
+
- lib
|
87
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: "0"
|
92
|
+
version:
|
93
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: "0"
|
98
|
+
version:
|
99
|
+
requirements: []
|
100
|
+
|
101
|
+
rubyforge_project:
|
102
|
+
rubygems_version: 1.3.5
|
103
|
+
signing_key:
|
104
|
+
specification_version: 3
|
105
|
+
summary: "WebGet Ruby Gem: Ramp gem provides base extensions to ruby classes and rails classes."
|
106
|
+
test_files:
|
107
|
+
- test/webget_ruby_ramp/active_record_test.rb
|
108
|
+
- test/webget_ruby_ramp/active_record/connection_adapters/abstract/schema_statements_test.rb
|
109
|
+
- test/webget_ruby_ramp/active_record/save_extensions_test.rb
|
110
|
+
- test/webget_ruby_ramp/array_test.rb
|
111
|
+
- test/webget_ruby_ramp/csv_test.rb
|
112
|
+
- test/webget_ruby_ramp/date_test.rb
|
113
|
+
- test/webget_ruby_ramp/enumerable_test.rb
|
114
|
+
- test/webget_ruby_ramp/file_test.rb
|
115
|
+
- test/webget_ruby_ramp/hash_test.rb
|
116
|
+
- test/webget_ruby_ramp/integer_test.rb
|
117
|
+
- test/webget_ruby_ramp/io_test.rb
|
118
|
+
- test/webget_ruby_ramp/kernel_test.rb
|
119
|
+
- test/webget_ruby_ramp/math_test.rb
|
120
|
+
- test/webget_ruby_ramp/nil_test.rb
|
121
|
+
- test/webget_ruby_ramp/numeric_test.rb
|
122
|
+
- test/webget_ruby_ramp/object_test.rb
|
123
|
+
- test/webget_ruby_ramp/process_test.rb
|
124
|
+
- test/webget_ruby_ramp/string_test.rb
|
125
|
+
- test/webget_ruby_ramp/symbol_test.rb
|
126
|
+
- test/webget_ruby_ramp/time_test.rb
|
127
|
+
- test/webget_ruby_ramp/xml_test.rb
|
128
|
+
- test/webget_ruby_ramp/yaml_test.rb
|