gorillib 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -5,9 +5,9 @@ gem "json"
5
5
  # Add dependencies to develop your gem here.
6
6
  # Include everything needed to run rake, tests, features, etc.
7
7
  group :development do
8
- gem 'bundler', "~> 1.0.12"
8
+ gem 'bundler', "~> 1"
9
9
  gem 'yard', "~> 0.6.7"
10
- gem 'jeweler', "~> 1.5.2"
10
+ gem 'jeweler', "~> 1.6.4"
11
11
  gem 'rspec', "~> 2.5.0"
12
12
  gem 'spork', "~> 0.9.0.rc5"
13
13
  gem 'RedCloth' # for yard
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.1.7
data/gorillib.gemspec CHANGED
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{gorillib}
8
- s.version = "0.1.6"
7
+ s.name = "gorillib"
8
+ s.version = "0.1.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = [%q{Infochimps}]
12
- s.date = %q{2011-08-22}
13
- s.description = %q{Gorillib: infochimps lightweight subset of ruby convenience methods}
14
- s.email = %q{coders@infochimps.org}
11
+ s.authors = ["Infochimps"]
12
+ s.date = "2011-10-22"
13
+ s.description = "Gorillib: infochimps lightweight subset of ruby convenience methods"
14
+ s.email = "coders@infochimps.org"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.textile",
17
17
  "README.textile"
@@ -135,70 +135,21 @@ Gem::Specification.new do |s|
135
135
  "spec/support/matchers/enumerate_method.rb",
136
136
  "spec/support/matchers/evaluate_to_true.rb"
137
137
  ]
138
- s.homepage = %q{http://infochimps.com/labs}
139
- s.licenses = [%q{MIT}]
140
- s.require_paths = [%q{lib}]
141
- s.rubygems_version = %q{1.8.6}
142
- s.summary = %q{include only what you need. No dependencies, no creep}
143
- s.test_files = [
144
- "spec/array/compact_blank_spec.rb",
145
- "spec/array/extract_options_spec.rb",
146
- "spec/datetime/flat_spec.rb",
147
- "spec/datetime/parse_spec.rb",
148
- "spec/enumerable/sum_spec.rb",
149
- "spec/hash/compact_spec.rb",
150
- "spec/hash/deep_compact_spec.rb",
151
- "spec/hash/deep_merge_spec.rb",
152
- "spec/hash/indifferent_access_spec.rb",
153
- "spec/hash/keys_spec.rb",
154
- "spec/hash/reverse_merge_spec.rb",
155
- "spec/hash/slice_spec.rb",
156
- "spec/hash/zip_spec.rb",
157
- "spec/hashlike/behave_same_as_hash_spec.rb",
158
- "spec/hashlike/deep_hash_spec.rb",
159
- "spec/hashlike/hashlike_behavior_spec.rb",
160
- "spec/hashlike/hashlike_via_accessors_spec.rb",
161
- "spec/hashlike_spec.rb",
162
- "spec/logger/log_spec.rb",
163
- "spec/metaprogramming/aliasing_spec.rb",
164
- "spec/metaprogramming/cattr_accessor_spec.rb",
165
- "spec/metaprogramming/class_attribute_spec.rb",
166
- "spec/metaprogramming/delegation_spec.rb",
167
- "spec/metaprogramming/mattr_accessor_spec.rb",
168
- "spec/metaprogramming/singleton_class_spec.rb",
169
- "spec/numeric/clamp_spec.rb",
170
- "spec/object/blank_spec.rb",
171
- "spec/object/try_dup_spec.rb",
172
- "spec/object/try_spec.rb",
173
- "spec/receiver/acts_as_hash_spec.rb",
174
- "spec/receiver_spec.rb",
175
- "spec/spec_helper.rb",
176
- "spec/string/constantize_spec.rb",
177
- "spec/string/human_spec.rb",
178
- "spec/string/inflections_spec.rb",
179
- "spec/string/inflector_test_cases.rb",
180
- "spec/string/truncate_spec.rb",
181
- "spec/struct/acts_as_hash_fuzz_spec.rb",
182
- "spec/struct/acts_as_hash_spec.rb",
183
- "spec/support/hashlike_fuzzing_helper.rb",
184
- "spec/support/hashlike_helper.rb",
185
- "spec/support/hashlike_struct_helper.rb",
186
- "spec/support/hashlike_via_delegation.rb",
187
- "spec/support/kcode_test_helper.rb",
188
- "spec/support/matchers/be_array_eql.rb",
189
- "spec/support/matchers/be_hash_eql.rb",
190
- "spec/support/matchers/enumerate_method.rb",
191
- "spec/support/matchers/evaluate_to_true.rb"
192
- ]
138
+ s.homepage = "http://infochimps.com/labs"
139
+ s.licenses = ["MIT"]
140
+ s.require_paths = ["lib"]
141
+ s.rubygems_version = "1.8.10"
142
+ s.summary = "include only what you need. No dependencies, no creep"
143
+ s.test_files = ["spec/array/compact_blank_spec.rb", "spec/array/extract_options_spec.rb", "spec/datetime/flat_spec.rb", "spec/datetime/parse_spec.rb", "spec/enumerable/sum_spec.rb", "spec/hash/compact_spec.rb", "spec/hash/deep_compact_spec.rb", "spec/hash/deep_merge_spec.rb", "spec/hash/indifferent_access_spec.rb", "spec/hash/keys_spec.rb", "spec/hash/reverse_merge_spec.rb", "spec/hash/slice_spec.rb", "spec/hash/zip_spec.rb", "spec/hashlike/behave_same_as_hash_spec.rb", "spec/hashlike/deep_hash_spec.rb", "spec/hashlike/hashlike_behavior_spec.rb", "spec/hashlike/hashlike_via_accessors_spec.rb", "spec/hashlike_spec.rb", "spec/logger/log_spec.rb", "spec/metaprogramming/aliasing_spec.rb", "spec/metaprogramming/cattr_accessor_spec.rb", "spec/metaprogramming/class_attribute_spec.rb", "spec/metaprogramming/delegation_spec.rb", "spec/metaprogramming/mattr_accessor_spec.rb", "spec/metaprogramming/singleton_class_spec.rb", "spec/numeric/clamp_spec.rb", "spec/object/blank_spec.rb", "spec/object/try_dup_spec.rb", "spec/object/try_spec.rb", "spec/receiver/acts_as_hash_spec.rb", "spec/receiver_spec.rb", "spec/spec_helper.rb", "spec/string/constantize_spec.rb", "spec/string/human_spec.rb", "spec/string/inflections_spec.rb", "spec/string/inflector_test_cases.rb", "spec/string/truncate_spec.rb", "spec/struct/acts_as_hash_fuzz_spec.rb", "spec/struct/acts_as_hash_spec.rb", "spec/support/hashlike_fuzzing_helper.rb", "spec/support/hashlike_helper.rb", "spec/support/hashlike_struct_helper.rb", "spec/support/hashlike_via_delegation.rb", "spec/support/kcode_test_helper.rb", "spec/support/matchers/be_array_eql.rb", "spec/support/matchers/be_hash_eql.rb", "spec/support/matchers/enumerate_method.rb", "spec/support/matchers/evaluate_to_true.rb"]
193
144
 
194
145
  if s.respond_to? :specification_version then
195
146
  s.specification_version = 3
196
147
 
197
148
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
198
149
  s.add_runtime_dependency(%q<json>, [">= 0"])
199
- s.add_development_dependency(%q<bundler>, ["~> 1.0.12"])
150
+ s.add_development_dependency(%q<bundler>, ["~> 1"])
200
151
  s.add_development_dependency(%q<yard>, ["~> 0.6.7"])
201
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
152
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
202
153
  s.add_development_dependency(%q<rspec>, ["~> 2.5.0"])
203
154
  s.add_development_dependency(%q<spork>, ["~> 0.9.0.rc5"])
204
155
  s.add_development_dependency(%q<RedCloth>, [">= 0"])
@@ -213,9 +164,9 @@ Gem::Specification.new do |s|
213
164
  s.add_development_dependency(%q<watchr>, [">= 0"])
214
165
  else
215
166
  s.add_dependency(%q<json>, [">= 0"])
216
- s.add_dependency(%q<bundler>, ["~> 1.0.12"])
167
+ s.add_dependency(%q<bundler>, ["~> 1"])
217
168
  s.add_dependency(%q<yard>, ["~> 0.6.7"])
218
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
169
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
219
170
  s.add_dependency(%q<rspec>, ["~> 2.5.0"])
220
171
  s.add_dependency(%q<spork>, ["~> 0.9.0.rc5"])
221
172
  s.add_dependency(%q<RedCloth>, [">= 0"])
@@ -231,9 +182,9 @@ Gem::Specification.new do |s|
231
182
  end
232
183
  else
233
184
  s.add_dependency(%q<json>, [">= 0"])
234
- s.add_dependency(%q<bundler>, ["~> 1.0.12"])
185
+ s.add_dependency(%q<bundler>, ["~> 1"])
235
186
  s.add_dependency(%q<yard>, ["~> 0.6.7"])
236
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
187
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
237
188
  s.add_dependency(%q<rspec>, ["~> 2.5.0"])
238
189
  s.add_dependency(%q<spork>, ["~> 0.9.0.rc5"])
239
190
  s.add_dependency(%q<RedCloth>, [">= 0"])
@@ -47,4 +47,10 @@ class ::Time
47
47
  end
48
48
  end
49
49
 
50
+ class ::NilClass
51
+ def to_wire(options={})
52
+ nil
53
+ end
54
+ end
55
+
50
56
 
metadata CHANGED
@@ -1,203 +1,200 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gorillib
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.7
4
5
  prerelease:
5
- version: 0.1.6
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Infochimps
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-08-22 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-10-22 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: json
17
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70201672947260 !ruby/object:Gem::Requirement
18
17
  none: false
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
24
+ version_requirements: *70201672947260
25
+ - !ruby/object:Gem::Dependency
27
26
  name: bundler
28
- requirement: &id002 !ruby/object:Gem::Requirement
27
+ requirement: &70201672948900 !ruby/object:Gem::Requirement
29
28
  none: false
30
- requirements:
29
+ requirements:
31
30
  - - ~>
32
- - !ruby/object:Gem::Version
33
- version: 1.0.12
31
+ - !ruby/object:Gem::Version
32
+ version: '1'
34
33
  type: :development
35
34
  prerelease: false
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *70201672948900
36
+ - !ruby/object:Gem::Dependency
38
37
  name: yard
39
- requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirement: &70201672977960 !ruby/object:Gem::Requirement
40
39
  none: false
41
- requirements:
40
+ requirements:
42
41
  - - ~>
43
- - !ruby/object:Gem::Version
42
+ - !ruby/object:Gem::Version
44
43
  version: 0.6.7
45
44
  type: :development
46
45
  prerelease: false
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
46
+ version_requirements: *70201672977960
47
+ - !ruby/object:Gem::Dependency
49
48
  name: jeweler
50
- requirement: &id004 !ruby/object:Gem::Requirement
49
+ requirement: &70201673162180 !ruby/object:Gem::Requirement
51
50
  none: false
52
- requirements:
51
+ requirements:
53
52
  - - ~>
54
- - !ruby/object:Gem::Version
55
- version: 1.5.2
53
+ - !ruby/object:Gem::Version
54
+ version: 1.6.4
56
55
  type: :development
57
56
  prerelease: false
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
57
+ version_requirements: *70201673162180
58
+ - !ruby/object:Gem::Dependency
60
59
  name: rspec
61
- requirement: &id005 !ruby/object:Gem::Requirement
60
+ requirement: &70201673161340 !ruby/object:Gem::Requirement
62
61
  none: false
63
- requirements:
62
+ requirements:
64
63
  - - ~>
65
- - !ruby/object:Gem::Version
64
+ - !ruby/object:Gem::Version
66
65
  version: 2.5.0
67
66
  type: :development
68
67
  prerelease: false
69
- version_requirements: *id005
70
- - !ruby/object:Gem::Dependency
68
+ version_requirements: *70201673161340
69
+ - !ruby/object:Gem::Dependency
71
70
  name: spork
72
- requirement: &id006 !ruby/object:Gem::Requirement
71
+ requirement: &70201673160540 !ruby/object:Gem::Requirement
73
72
  none: false
74
- requirements:
73
+ requirements:
75
74
  - - ~>
76
- - !ruby/object:Gem::Version
75
+ - !ruby/object:Gem::Version
77
76
  version: 0.9.0.rc5
78
77
  type: :development
79
78
  prerelease: false
80
- version_requirements: *id006
81
- - !ruby/object:Gem::Dependency
79
+ version_requirements: *70201673160540
80
+ - !ruby/object:Gem::Dependency
82
81
  name: RedCloth
83
- requirement: &id007 !ruby/object:Gem::Requirement
82
+ requirement: &70201673159920 !ruby/object:Gem::Requirement
84
83
  none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: "0"
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
89
88
  type: :development
90
89
  prerelease: false
91
- version_requirements: *id007
92
- - !ruby/object:Gem::Dependency
90
+ version_requirements: *70201673159920
91
+ - !ruby/object:Gem::Dependency
93
92
  name: rcov
94
- requirement: &id008 !ruby/object:Gem::Requirement
93
+ requirement: &70201673158980 !ruby/object:Gem::Requirement
95
94
  none: false
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
99
98
  version: 0.9.9
100
99
  type: :development
101
100
  prerelease: false
102
- version_requirements: *id008
103
- - !ruby/object:Gem::Dependency
101
+ version_requirements: *70201673158980
102
+ - !ruby/object:Gem::Dependency
104
103
  name: watchr
105
- requirement: &id009 !ruby/object:Gem::Requirement
104
+ requirement: &70201673158340 !ruby/object:Gem::Requirement
106
105
  none: false
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: "0"
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
111
110
  type: :development
112
111
  prerelease: false
113
- version_requirements: *id009
114
- - !ruby/object:Gem::Dependency
112
+ version_requirements: *70201673158340
113
+ - !ruby/object:Gem::Dependency
115
114
  name: bundler
116
- requirement: &id010 !ruby/object:Gem::Requirement
115
+ requirement: &70201673157620 !ruby/object:Gem::Requirement
117
116
  none: false
118
- requirements:
117
+ requirements:
119
118
  - - ~>
120
- - !ruby/object:Gem::Version
119
+ - !ruby/object:Gem::Version
121
120
  version: 1.0.12
122
121
  type: :development
123
122
  prerelease: false
124
- version_requirements: *id010
125
- - !ruby/object:Gem::Dependency
123
+ version_requirements: *70201673157620
124
+ - !ruby/object:Gem::Dependency
126
125
  name: yard
127
- requirement: &id011 !ruby/object:Gem::Requirement
126
+ requirement: &70201673156840 !ruby/object:Gem::Requirement
128
127
  none: false
129
- requirements:
128
+ requirements:
130
129
  - - ~>
131
- - !ruby/object:Gem::Version
130
+ - !ruby/object:Gem::Version
132
131
  version: 0.6.7
133
132
  type: :development
134
133
  prerelease: false
135
- version_requirements: *id011
136
- - !ruby/object:Gem::Dependency
134
+ version_requirements: *70201673156840
135
+ - !ruby/object:Gem::Dependency
137
136
  name: jeweler
138
- requirement: &id012 !ruby/object:Gem::Requirement
137
+ requirement: &70201673156060 !ruby/object:Gem::Requirement
139
138
  none: false
140
- requirements:
139
+ requirements:
141
140
  - - ~>
142
- - !ruby/object:Gem::Version
141
+ - !ruby/object:Gem::Version
143
142
  version: 1.5.2
144
143
  type: :development
145
144
  prerelease: false
146
- version_requirements: *id012
147
- - !ruby/object:Gem::Dependency
145
+ version_requirements: *70201673156060
146
+ - !ruby/object:Gem::Dependency
148
147
  name: rspec
149
- requirement: &id013 !ruby/object:Gem::Requirement
148
+ requirement: &70201673155460 !ruby/object:Gem::Requirement
150
149
  none: false
151
- requirements:
150
+ requirements:
152
151
  - - ~>
153
- - !ruby/object:Gem::Version
152
+ - !ruby/object:Gem::Version
154
153
  version: 2.5.0
155
154
  type: :development
156
155
  prerelease: false
157
- version_requirements: *id013
158
- - !ruby/object:Gem::Dependency
156
+ version_requirements: *70201673155460
157
+ - !ruby/object:Gem::Dependency
159
158
  name: rcov
160
- requirement: &id014 !ruby/object:Gem::Requirement
159
+ requirement: &70201673154740 !ruby/object:Gem::Requirement
161
160
  none: false
162
- requirements:
163
- - - ">="
164
- - !ruby/object:Gem::Version
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
165
164
  version: 0.9.9
166
165
  type: :development
167
166
  prerelease: false
168
- version_requirements: *id014
169
- - !ruby/object:Gem::Dependency
167
+ version_requirements: *70201673154740
168
+ - !ruby/object:Gem::Dependency
170
169
  name: spork
171
- requirement: &id015 !ruby/object:Gem::Requirement
170
+ requirement: &70201673148440 !ruby/object:Gem::Requirement
172
171
  none: false
173
- requirements:
172
+ requirements:
174
173
  - - ~>
175
- - !ruby/object:Gem::Version
174
+ - !ruby/object:Gem::Version
176
175
  version: 0.9.0.rc5
177
176
  type: :development
178
177
  prerelease: false
179
- version_requirements: *id015
180
- - !ruby/object:Gem::Dependency
178
+ version_requirements: *70201673148440
179
+ - !ruby/object:Gem::Dependency
181
180
  name: watchr
182
- requirement: &id016 !ruby/object:Gem::Requirement
181
+ requirement: &70201673147460 !ruby/object:Gem::Requirement
183
182
  none: false
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: "0"
183
+ requirements:
184
+ - - ! '>='
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
188
187
  type: :development
189
188
  prerelease: false
190
- version_requirements: *id016
191
- description: "Gorillib: infochimps lightweight subset of ruby convenience methods"
189
+ version_requirements: *70201673147460
190
+ description: ! 'Gorillib: infochimps lightweight subset of ruby convenience methods'
192
191
  email: coders@infochimps.org
193
192
  executables: []
194
-
195
193
  extensions: []
196
-
197
- extra_rdoc_files:
194
+ extra_rdoc_files:
198
195
  - LICENSE.textile
199
196
  - README.textile
200
- files:
197
+ files:
201
198
  - .gitignore
202
199
  - .rspec
203
200
  - CHANGELOG.textile
@@ -316,36 +313,34 @@ files:
316
313
  - spec/support/matchers/enumerate_method.rb
317
314
  - spec/support/matchers/evaluate_to_true.rb
318
315
  homepage: http://infochimps.com/labs
319
- licenses:
316
+ licenses:
320
317
  - MIT
321
318
  post_install_message:
322
319
  rdoc_options: []
323
-
324
- require_paths:
320
+ require_paths:
325
321
  - lib
326
- required_ruby_version: !ruby/object:Gem::Requirement
322
+ required_ruby_version: !ruby/object:Gem::Requirement
327
323
  none: false
328
- requirements:
329
- - - ">="
330
- - !ruby/object:Gem::Version
331
- hash: 2753005765957482332
332
- segments:
324
+ requirements:
325
+ - - ! '>='
326
+ - !ruby/object:Gem::Version
327
+ version: '0'
328
+ segments:
333
329
  - 0
334
- version: "0"
335
- required_rubygems_version: !ruby/object:Gem::Requirement
330
+ hash: 471934101699992642
331
+ required_rubygems_version: !ruby/object:Gem::Requirement
336
332
  none: false
337
- requirements:
338
- - - ">="
339
- - !ruby/object:Gem::Version
340
- version: "0"
333
+ requirements:
334
+ - - ! '>='
335
+ - !ruby/object:Gem::Version
336
+ version: '0'
341
337
  requirements: []
342
-
343
338
  rubyforge_project:
344
- rubygems_version: 1.8.6
339
+ rubygems_version: 1.8.10
345
340
  signing_key:
346
341
  specification_version: 3
347
342
  summary: include only what you need. No dependencies, no creep
348
- test_files:
343
+ test_files:
349
344
  - spec/array/compact_blank_spec.rb
350
345
  - spec/array/extract_options_spec.rb
351
346
  - spec/datetime/flat_spec.rb