couch_potato 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/couch_potato.gemspec CHANGED
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
 
19
19
  s.add_development_dependency 'rspec', '>=2.0'
20
20
  s.add_development_dependency 'timecop'
21
+ s.add_development_dependency 'tzinfo'
21
22
 
22
23
  s.files = `git ls-files`.split("\n")
23
24
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
data/lib/core_ext/time.rb CHANGED
@@ -11,7 +11,7 @@ class Time
11
11
 
12
12
  def self.json_create string
13
13
  return nil if string.nil?
14
- d = DateTime.parse(string).new_offset
14
+ d = DateTime.parse(string.to_s).new_offset
15
15
  self.utc(d.year, d.month, d.day, d.hour, d.min, d.sec).in_time_zone
16
16
  end
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module CouchPotato
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: couch_potato
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 9
4
5
  prerelease:
5
- version: 0.5.0
6
+ segments:
7
+ - 0
8
+ - 5
9
+ - 1
10
+ version: 0.5.1
6
11
  platform: ruby
7
12
  authors:
8
13
  - Alexander Lang
@@ -10,7 +15,7 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-04-09 00:00:00 +02:00
18
+ date: 2011-04-10 00:00:00 +02:00
14
19
  default_executable:
15
20
  dependencies:
16
21
  - !ruby/object:Gem::Dependency
@@ -21,6 +26,9 @@ dependencies:
21
26
  requirements:
22
27
  - - ">="
23
28
  - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
24
32
  version: "0"
25
33
  type: :runtime
26
34
  version_requirements: *id001
@@ -32,6 +40,11 @@ dependencies:
32
40
  requirements:
33
41
  - - ">="
34
42
  - !ruby/object:Gem::Version
43
+ hash: 21
44
+ segments:
45
+ - 1
46
+ - 0
47
+ - 1
35
48
  version: 1.0.1
36
49
  type: :runtime
37
50
  version_requirements: *id002
@@ -43,6 +56,9 @@ dependencies:
43
56
  requirements:
44
57
  - - ">="
45
58
  - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
46
62
  version: "0"
47
63
  type: :runtime
48
64
  version_requirements: *id003
@@ -54,6 +70,10 @@ dependencies:
54
70
  requirements:
55
71
  - - ">="
56
72
  - !ruby/object:Gem::Version
73
+ hash: 3
74
+ segments:
75
+ - 2
76
+ - 0
57
77
  version: "2.0"
58
78
  type: :development
59
79
  version_requirements: *id004
@@ -65,9 +85,26 @@ dependencies:
65
85
  requirements:
66
86
  - - ">="
67
87
  - !ruby/object:Gem::Version
88
+ hash: 3
89
+ segments:
90
+ - 0
68
91
  version: "0"
69
92
  type: :development
70
93
  version_requirements: *id005
94
+ - !ruby/object:Gem::Dependency
95
+ name: tzinfo
96
+ prerelease: false
97
+ requirement: &id006 !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ hash: 3
103
+ segments:
104
+ - 0
105
+ version: "0"
106
+ type: :development
107
+ version_requirements: *id006
71
108
  description: Ruby persistence layer for CouchDB
72
109
  email: alex@upstre.am
73
110
  executables: []
@@ -178,12 +215,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
178
215
  requirements:
179
216
  - - ">="
180
217
  - !ruby/object:Gem::Version
218
+ hash: 3
219
+ segments:
220
+ - 0
181
221
  version: "0"
182
222
  required_rubygems_version: !ruby/object:Gem::Requirement
183
223
  none: false
184
224
  requirements:
185
225
  - - ">="
186
226
  - !ruby/object:Gem::Version
227
+ hash: 3
228
+ segments:
229
+ - 0
187
230
  version: "0"
188
231
  requirements: []
189
232