gemr 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
1
  source :rubygems
2
2
 
3
3
  gemspec
4
+
5
+ gem "json", "~> 1.5.3"
@@ -11,6 +11,8 @@ Gem::Specification.new do |s|
11
11
  s.summary = %q{A quick gem for displaying the latest versions of gems.}
12
12
  s.description = %q{A quick gem for displaying the latest versions of gems.}
13
13
 
14
+ s.add_runtime_dependency "json", "~> 1.5.3"
15
+
14
16
  s.files = `git ls-files`.split("\n")
15
17
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
@@ -1,3 +1,4 @@
1
1
  require "open-uri"
2
+ require "openssl"
2
3
  require "json"
3
4
  Dir[File.join(File.dirname(__FILE__), "**", "*.rb")].each {|f| require f}
@@ -2,6 +2,9 @@ module Gemr
2
2
  module Rubygems
3
3
  class Versions
4
4
 
5
+ # Don't care if cert is invalid, we're just reading
6
+ OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
7
+
5
8
  def self.latest(gems=[])
6
9
  puts "\nFinding latest gem versions...\n\n"
7
10
  gems.each do |g|
@@ -1,3 +1,3 @@
1
1
  module Gemr
2
- VERSION = "0.0.1" unless defined?(VERSION)
2
+ VERSION = "0.0.2" unless defined?(VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,18 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2011-08-24 00:00:00.000000000Z
13
- dependencies: []
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: json
16
+ requirement: &2170058920 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 1.5.3
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2170058920
14
25
  description: A quick gem for displaying the latest versions of gems.
15
26
  email:
16
27
  - kjohnston.ca@gmail.com