small 0.5 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +23 -3
- data/lib/small.rb +1 -1
- data/lib/small/object.rb +8 -0
- metadata +2 -2
data/README.md
CHANGED
@@ -1,8 +1,19 @@
|
|
1
|
-
Small
|
2
|
-
|
1
|
+
Small [![TravisCI][travis-img]][travis-ci] [![Dependency Status][gemnasium-img]][gemnasium]
|
2
|
+
===
|
3
|
+
|
4
|
+
[travis-img]: https://secure.travis-ci.org/bry4n/small.png?branch=master
|
5
|
+
[travis-ci]: http://travis-ci.org/bry4n/small
|
6
|
+
[gemnasium-img]: https://gemnasium.com/bry4n/small.png?travis
|
7
|
+
[gemnasium]: https://gemnasium.com/bry4n/small
|
3
8
|
|
4
9
|
Small collection of useful Ruby utilities
|
5
10
|
|
11
|
+
## Support
|
12
|
+
|
13
|
+
* Ruby 1.9.x
|
14
|
+
* JRuby 1.6.x in 1.9 mode
|
15
|
+
* Rubinious 1.2.x in 1.9 mode
|
16
|
+
|
6
17
|
## Classes
|
7
18
|
|
8
19
|
* **Math**
|
@@ -24,6 +35,8 @@ Small collection of useful Ruby utilities
|
|
24
35
|
* to_md5
|
25
36
|
* escape
|
26
37
|
* unescape
|
38
|
+
* html_escape
|
39
|
+
* url_encode
|
27
40
|
|
28
41
|
* **Integer**
|
29
42
|
|
@@ -85,6 +98,13 @@ Small collection of useful Ruby utilities
|
|
85
98
|
|
86
99
|
* **Object**
|
87
100
|
|
101
|
+
* string?
|
102
|
+
* boolean?
|
103
|
+
* numeric?
|
104
|
+
* integer?
|
105
|
+
* fixnum?
|
106
|
+
* float?
|
107
|
+
* proc?
|
88
108
|
* blank?
|
89
109
|
* present?
|
90
110
|
* presence
|
@@ -133,4 +153,4 @@ Using a `time` command execution
|
|
133
153
|
|
134
154
|
## License
|
135
155
|
|
136
|
-
**small** is licensed under the MIT license
|
156
|
+
**small** is licensed under the MIT license
|
data/lib/small.rb
CHANGED
data/lib/small/object.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: small
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-21 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description:
|
15
15
|
email: bryann83@gmail.com
|