sixarm_ruby_ramp 2.1.3 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +1 -0
- data.tar.gz.sig +1 -1
- data/CONTRIBUTING.md +28 -0
- data/{README.rdoc → README.md} +112 -42
- data/VERSION +1 -1
- data/lib/sixarm_ruby_ramp.rb +1 -1
- data/lib/sixarm_ruby_ramp/array.rb +39 -16
- data/lib/sixarm_ruby_ramp/hash.rb +1 -1
- data/lib/sixarm_ruby_ramp/kernel.rb +11 -5
- data/lib/sixarm_ruby_ramp/numeric.rb +49 -35
- data/lib/sixarm_ruby_ramp/process.rb +5 -20
- data/lib/sixarm_ruby_ramp/string.rb +3 -4
- data/lib/sixarm_ruby_ramp/xml.rb +0 -204
- data/test/sixarm_ruby_ramp_test.rb +2 -2
- data/test/sixarm_ruby_ramp_test/array_test.rb +330 -0
- data/test/sixarm_ruby_ramp_test/class_test.rb +87 -0
- data/test/sixarm_ruby_ramp_test/csv_test.rb +47 -0
- data/test/sixarm_ruby_ramp_test/date_test.rb +60 -0
- data/test/sixarm_ruby_ramp_test/enumerable_test.rb +303 -0
- data/test/sixarm_ruby_ramp_test/file_test.rb +17 -0
- data/test/sixarm_ruby_ramp_test/fixnum_test.rb +25 -0
- data/test/sixarm_ruby_ramp_test/hash_test.rb +209 -0
- data/test/sixarm_ruby_ramp_test/integer_test.rb +21 -0
- data/test/sixarm_ruby_ramp_test/io_test.rb +30 -0
- data/test/{sixarm_ruby_ramp → sixarm_ruby_ramp_test}/io_test.txt +0 -0
- data/test/sixarm_ruby_ramp_test/kernel_test.rb +55 -0
- data/test/sixarm_ruby_ramp_test/math_test.rb +19 -0
- data/test/sixarm_ruby_ramp_test/nil_test.rb +16 -0
- data/test/sixarm_ruby_ramp_test/numeric_test.rb +57 -0
- data/test/sixarm_ruby_ramp_test/object_test.rb +13 -0
- data/test/sixarm_ruby_ramp_test/process_test.rb +67 -0
- data/test/sixarm_ruby_ramp_test/string_test.rb +131 -0
- data/test/sixarm_ruby_ramp_test/symbol_test.rb +27 -0
- data/test/sixarm_ruby_ramp_test/time_test.rb +29 -0
- data/test/sixarm_ruby_ramp_test/xml_test.rb +10 -0
- data/test/sixarm_ruby_ramp_test/yaml_test.rb +8 -0
- metadata +100 -48
- metadata.gz.sig +0 -0
- data/CHANGELOG.txt +0 -53
- data/INSTALL.txt +0 -32
- data/LICENSE.txt +0 -25
- data/test/sixarm_ruby_ramp/xml_test_1.xml +0 -5
- data/test/sixarm_ruby_ramp/xml_test_2.xml +0 -5
- data/test/sixarm_ruby_ramp/xml_test_msword_clean.html +0 -1
- data/test/sixarm_ruby_ramp/xml_test_msword_dirty.html +0 -148
metadata.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.txt
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
2.1.3 Remove dependency on sixarm_ruby_array_slice
|
2
|
-
2.1.2 Refactor Array#slices and #divvy to sixarm_ruby_array_slice gem with better method names.
|
3
|
-
2.1.0 Spring cleaning for Ruby 1.9.3 with better README, new CHANGELOG, less YAML, etc.
|
4
|
-
2.0.9 Remove Hash#to_yaml_sort and replace its functionality with Hash#sort_by_keys
|
5
|
-
2.0.8 Add Numeric#percent
|
6
|
-
2.0.7 Move YAML#load_xxx methods to new gem
|
7
|
-
2.0.6 Move Date#age_xxx methods to new gem
|
8
|
-
2.0.5 Move String#to_class to new gem
|
9
|
-
2.0.4 Add lib to path
|
10
|
-
2.0.0 Upgrade to Ruby 1.9.2
|
11
|
-
1.9.0 Add Enumerable#mutex? and #nitems?
|
12
|
-
1.8.4 Add YAML#load_dir_key_values
|
13
|
-
1.8.2 Refactored Numeric metric names into their own methods
|
14
|
-
1.8.0 100% rcov coverage
|
15
|
-
1.7.8 Add rcov testing
|
16
|
-
1.7.4 Add Class#publicize_methods, Integer#even?, Integer#odd?
|
17
|
-
1.7.3 Refactor Rails classes to their own gem, add README, LICENSE
|
18
|
-
1.7.2 Gemcutter update
|
19
|
-
1.7.1.8 Add Enumerable#map_with_index
|
20
|
-
1.7.1.6 Add ActiveRecord::SaveExtensions#save_false_then_reload!
|
21
|
-
1.7.1.3 Add XML#strip_xxx
|
22
|
-
1.7.1.2 Update gems: Gemcutter, Ruby 1.9.1, JRuby sqlite3
|
23
|
-
1.7.1.0 Add XML attributes methods #
|
24
|
-
1.7.0.9 Add Enumerable #hash_by, #index_by
|
25
|
-
1.7.0.7 Add Array#to_tsv, String#split_tsv, improve Array#to_csv
|
26
|
-
1.7.0.6 Add Array#shuffle, Array#shuffle!
|
27
|
-
1.7.0.5 Add Array#shifted, Array#rest, Array#car, Array#cdr
|
28
|
-
1.7.0.4 Upgrade IO#readrows and #readrow to use options
|
29
|
-
1.7.0.2 Add Array#to_tdf
|
30
|
-
1.7.0.1 Remove sqlite3 testing dependency
|
31
|
-
1.6.9.6 Add Symbol with comparable and <=>
|
32
|
-
1.6.9.5 Add ActiveRecord testing with sqlite3
|
33
|
-
1.6.9.4 JRuby install and test successful
|
34
|
-
1.6.9.3 Array#join add infix, prefix, suffix
|
35
|
-
1.6.9.2 Improve ri docs
|
36
|
-
1.6.9.1 Add Array#onto, Enumerable#intersect?
|
37
|
-
1.6.9.0 Add IO, File, ActiveRecord#seed
|
38
|
-
1.6.8.9 Add Enumerable#to_h, Array#hash, Hash#each_key!, Hash#each_pair, Hash#each_value!
|
39
|
-
1.6.8.8 Add Hash#map_pair, Hash#size?, Hash#pivot
|
40
|
-
1.6.8.7 Add Math
|
41
|
-
1.6.8.6 Add ActiveRecord SchemaStatements
|
42
|
-
1.6.8.5 Add Integer#maps, String#ACCENTS
|
43
|
-
1.6.8.4 Add XML
|
44
|
-
1.6.8.3 Add ActiveRecord
|
45
|
-
1.6.8.2 Add String#lowcase
|
46
|
-
1.6.8 Add map_to_xxx methods
|
47
|
-
1.6.7 Add CSV
|
48
|
-
1.6.6 Add Array#to_csv, Integer, String#lorem, etc., improve tests
|
49
|
-
1.6.4 Bug fixes: String characters and YAML test files
|
50
|
-
1.6.2 Improve organizaiton of class files to lib/ramp
|
51
|
-
1.6.0 Upgraded to work with Ruby 1.9.1
|
52
|
-
1.5.0 Combined all Ruby extension files into one gem
|
53
|
-
1.0.0 Original
|
data/INSTALL.txt
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
|
2
|
-
= SixArm.com Ruby Gem Install
|
3
|
-
|
4
|
-
|
5
|
-
First-time users: add our gem certificate and source.
|
6
|
-
When you do this once, it works for all our gems.
|
7
|
-
|
8
|
-
sudo wget http://sixarm.com/sixarm.pem
|
9
|
-
sudo gem cert --add sixarm.pem
|
10
|
-
sudo gem sources --add http://sixarm.com
|
11
|
-
|
12
|
-
Install the gem with advanced options.
|
13
|
-
|
14
|
-
sudo gem install sixarm_ruby_ramp --test --trust-policy HighSecurity
|
15
|
-
|
16
|
-
|
17
|
-
== Notes
|
18
|
-
|
19
|
-
Do you have any questions, comments, suggestions, or feedback?
|
20
|
-
Let us know, we're happy to help. Our email is sixarm@sixarm.com
|
21
|
-
|
22
|
-
Do you want to create your own high security gems?
|
23
|
-
Learn how at http://www.rubygems.org/read/chapter/21
|
24
|
-
|
25
|
-
To see your current gem certificate list:
|
26
|
-
|
27
|
-
sudo gem cert --list
|
28
|
-
|
29
|
-
Our cert looks like this:
|
30
|
-
|
31
|
-
/C=US/ST=California/L=San Francisco/O=SixArm/CN=sixarm.com
|
32
|
-
|
data/LICENSE.txt
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
LICENSE
|
2
|
-
|
3
|
-
You may choose any of these open source licenses:
|
4
|
-
|
5
|
-
- Apache License
|
6
|
-
- BSD License
|
7
|
-
- CreativeCommons License, Non-commercial Share Alike
|
8
|
-
- GNU General Public License Version 2 (GPL 2)
|
9
|
-
- GNU Lesser General Public License (LGPL)
|
10
|
-
- MIT License
|
11
|
-
- Perl Artistic License
|
12
|
-
- Ruby License
|
13
|
-
|
14
|
-
The software is provided "as is", without warranty of any kind,
|
15
|
-
express or implied, including but not limited to the warranties of
|
16
|
-
merchantability, fitness for a particular purpose and noninfringement.
|
17
|
-
|
18
|
-
In no event shall the authors or copyright holders be liable for any
|
19
|
-
claim, damages or other liability, whether in an action of contract,
|
20
|
-
tort or otherwise, arising from, out of or in connection with the
|
21
|
-
software or the use or other dealings in the software.
|
22
|
-
|
23
|
-
This license is for the included software that is created by SixArm;
|
24
|
-
some of the included software may have its own licenses, copyrights,
|
25
|
-
authors, etc. and these do take precedence over the SixArm license.
|
@@ -1 +0,0 @@
|
|
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>
|
@@ -1,148 +0,0 @@
|
|
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>
|