gems-status 0.64.0 → 0.65.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/gems-status/utils.rb +4 -4
  3. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.64.0
1
+ 0.65.0
@@ -179,10 +179,10 @@ module GemsStatus
179
179
  Utils::log_debug "looking for date for #{name} - #{version}"
180
180
  begin
181
181
  versions = JSON.parse(open("https://rubygems.org/api/v1/versions/#{name}.json").read)
182
- versions.each do |version|
183
- if Gem::Version.new(version["number"]) == version
184
- Utils::log_debug "Date for #{name} - #{version} : #{version["built_at"]}"
185
- return Time.parse version["built_at"]
182
+ versions.each do |v|
183
+ if Gem::Version.new(v["number"]) == version
184
+ Utils::log_debug "Date for #{name} - #{version} : #{v["built_at"]}"
185
+ return Time.parse v["built_at"]
186
186
  end
187
187
  end
188
188
  rescue
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gems-status
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.64.0
4
+ version: 0.65.0
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: 2013-07-18 00:00:00.000000000 Z
12
+ date: 2013-07-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: xml-simple
@@ -235,7 +235,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
235
235
  version: '0'
236
236
  segments:
237
237
  - 0
238
- hash: -837205862980188547
238
+ hash: 1114548969065053227
239
239
  required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  none: false
241
241
  requirements:
@@ -244,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
244
244
  version: '0'
245
245
  segments:
246
246
  - 0
247
- hash: -837205862980188547
247
+ hash: 1114548969065053227
248
248
  requirements: []
249
249
  rubyforge_project:
250
250
  rubygems_version: 1.8.25