gdata-jruby-client 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/time_ext.rb +3 -1
  2. metadata +20 -9
data/lib/time_ext.rb CHANGED
@@ -12,7 +12,9 @@ class Time
12
12
 
13
13
  class << self
14
14
  def from_joda_time(gdatetime)
15
- if defined? parse
15
+ if defined? Time.zone
16
+ Time.zone.parse(gdatetime.to_s)
17
+ elsif defined? parse
16
18
  self.parse(gdatetime.to_s)
17
19
  else
18
20
  res = ParseDate.parsedate(gdatetime.to_s)
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdata-jruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 7
8
+ - 5
9
+ version: 0.7.5
5
10
  platform: ruby
6
11
  authors:
7
12
  - Jerry Luk
@@ -9,19 +14,23 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-02-03 00:00:00 -08:00
17
+ date: 2010-12-20 00:00:00 -08:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: activesupport
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 2
29
+ - 2
30
+ - 2
23
31
  version: 2.2.2
24
- version:
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  description: The GData JRuby Client allows you to easily access data through Google Data APIs. It uses the GData Java Client Library from Google.
26
35
  email: jerry@presdo.com
27
36
  executables: []
@@ -110,18 +119,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
119
  requirements:
111
120
  - - ">="
112
121
  - !ruby/object:Gem::Version
122
+ segments:
123
+ - 0
113
124
  version: "0"
114
- version:
115
125
  required_rubygems_version: !ruby/object:Gem::Requirement
116
126
  requirements:
117
127
  - - ">="
118
128
  - !ruby/object:Gem::Version
129
+ segments:
130
+ - 0
119
131
  version: "0"
120
- version:
121
132
  requirements: []
122
133
 
123
134
  rubyforge_project:
124
- rubygems_version: 1.3.5
135
+ rubygems_version: 1.3.6
125
136
  signing_key:
126
137
  specification_version: 3
127
138
  summary: The GData JRuby Client allows you to easily access data through Google Data APIs. It uses the GData Java Client Library from Google.