santas_little_helper 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/santas_little_helper.rb +8 -0
- metadata +25 -43
data/lib/santas_little_helper.rb
CHANGED
@@ -39,6 +39,14 @@ def mri?
|
|
39
39
|
end
|
40
40
|
|
41
41
|
|
42
|
+
# In case ruby ever reaches version 19 :-) or some 2.19 :-) only matching 1.9 at the begining of the line
|
43
|
+
def version_1_9?
|
44
|
+
(/^1.9./).match(RUBY_VERSION) ? true : false
|
45
|
+
end
|
46
|
+
|
47
|
+
def version_1_8?
|
48
|
+
(/^1.8./).match(RUBY_VERSION) ? true : false
|
49
|
+
end
|
42
50
|
|
43
51
|
|
44
52
|
# When something is True / False and I can to_s it, why can't I to_i it?
|
metadata
CHANGED
@@ -1,69 +1,51 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: santas_little_helper
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 5
|
10
|
-
version: 0.0.5
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Nick Gorbikoff
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2012-10-04 00:00:00 -05:00
|
19
|
-
default_executable:
|
12
|
+
date: 2012-10-04 00:00:00.000000000 Z
|
20
13
|
dependencies: []
|
14
|
+
description: ! 'This is a collection of useful little snippets that I used through
|
15
|
+
out various projects. If there is something you would like to add either check it
|
16
|
+
out and modify it the way you want or let me know and I might add it here.
|
21
17
|
|
22
|
-
|
23
|
-
This is a collection of useful little snippets that I used through out various projects. If there is something you would like to add either check it out and modify it the way you want or let me know and I might add it here.
|
24
|
-
|
18
|
+
'
|
25
19
|
email: nick.gorbikoff@gmail.com
|
26
20
|
executables: []
|
27
|
-
|
28
21
|
extensions: []
|
29
|
-
|
30
22
|
extra_rdoc_files: []
|
31
|
-
|
32
|
-
files:
|
23
|
+
files:
|
33
24
|
- lib/santas_little_helper.rb
|
34
|
-
has_rdoc: true
|
35
25
|
homepage: http://rubygems.org/gems/santas_little_helper
|
36
26
|
licenses: []
|
37
|
-
|
38
27
|
post_install_message:
|
39
28
|
rdoc_options: []
|
40
|
-
|
41
|
-
require_paths:
|
29
|
+
require_paths:
|
42
30
|
- lib
|
43
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
44
32
|
none: false
|
45
|
-
requirements:
|
46
|
-
- -
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
|
49
|
-
|
50
|
-
- 0
|
51
|
-
version: "0"
|
52
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - ! '>='
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0'
|
37
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
38
|
none: false
|
54
|
-
requirements:
|
55
|
-
- -
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
|
58
|
-
segments:
|
59
|
-
- 0
|
60
|
-
version: "0"
|
39
|
+
requirements:
|
40
|
+
- - ! '>='
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0'
|
61
43
|
requirements: []
|
62
|
-
|
63
44
|
rubyforge_project:
|
64
|
-
rubygems_version: 1.
|
45
|
+
rubygems_version: 1.8.15
|
65
46
|
signing_key:
|
66
47
|
specification_version: 3
|
67
|
-
summary: It's dumb just like the famous dog, but it may surprise you. It modifies
|
48
|
+
summary: It's dumb just like the famous dog, but it may surprise you. It modifies
|
49
|
+
core classes, use at your own risk!
|
68
50
|
test_files: []
|
69
|
-
|
51
|
+
has_rdoc:
|