gemfresh 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +15 -0
  2. data/gemfresh.gemspec +2 -2
  3. data/support.rb +4 -5
  4. metadata +11 -10
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YjdmODFkNjUzMTU4ODk2YWE4ZWY1N2I3NTk3MDkzNWY3NDI1YzUzYw==
5
+ data.tar.gz: !binary |-
6
+ OGY2NjhjZGI3ZjE3OGI4NjAzNzgwN2I0ZGVkMmJkYTg3YjRmNjg4Zg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ ZjdkNGQ3NDE0NjU5NmE0MzIyMzJjMjlkMjc2NGIwYTRiZDU0YTg4NmUwZjVm
10
+ MDc0ZDI5Y2Y1YjkyMjVmZWVjY2I4MzAxMmJjZDkxZDIxZjE3OGE3YzFkMzZj
11
+ ZDYxNDM0NDJlMjMwNWNiMTFhZDdkMWI0YTgwNzMxMGEyYzhlZDQ=
12
+ data.tar.gz: !binary |-
13
+ YjhkN2Q1NDc2NGJlNGExNDhjNjk4MWMxOTE5M2UzYWM4NjkwYjkxMmE2ZGMy
14
+ NmEzMGI0ZmUzZDcxMTZiOWU5NTViMDVlOWY5OWRhMWRjM2QzNTg0M2UxNDJm
15
+ MjZmZDUwYWE4YmMzNmRjMGFhZmU3NjdmYTYzYzM0MTkwOGM0ZjQ=
data/gemfresh.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'gemfresh'
3
- s.version = '1.0.4'
3
+ s.version = '1.0.5'
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = ['Jon Williams']
6
6
  s.email = ['jon@jonathannen.com']
@@ -14,4 +14,4 @@ Gem::Specification.new do |s|
14
14
  s.require_paths = ['.']
15
15
 
16
16
  s.add_runtime_dependency 'bundler', '>= 1.0.10'
17
- end
17
+ end
data/support.rb CHANGED
@@ -5,9 +5,7 @@ class RubyGemReader
5
5
 
6
6
  def initialize(uri)
7
7
  @connection = nil
8
- @uri = uri #.gsub('https://', 'http://') # No SSL for the moment
9
- # puts @uri.inspect
10
- # puts @uri.scheme
8
+ @uri = uri
11
9
  end
12
10
 
13
11
  # May raise SourceUnavailableError if the source can't be accessed
@@ -30,7 +28,8 @@ class RubyGemReader
30
28
  def connection
31
29
  return @connection unless @connection.nil?
32
30
  @connection = Net::HTTP.new self.uri.host, self.uri.port
33
- @connection.start
31
+ @connection.use_ssl = (uri.scheme == 'https')
32
+ @connection.start
34
33
  @connection
35
34
  end
36
35
  end
@@ -122,4 +121,4 @@ class SpecDiff < Struct.new(:dep, :spec, :gemdata, :versions)
122
121
  # The version currently in use according to the lockfile
123
122
  def version_in_use; spec.version.to_s; end
124
123
 
125
- end
124
+ end
metadata CHANGED
@@ -1,27 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemfresh
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
5
- prerelease:
4
+ version: 1.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jon Williams
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2011-11-11 00:00:00.000000000 Z
11
+ date: 2013-04-24 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
- requirement: &70315424038140 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.0.10
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *70315424038140
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.10
25
27
  description: Scans Gemfiles to check for obsolete and updateable gems.
26
28
  email:
27
29
  - jon@jonathannen.com
@@ -41,26 +43,25 @@ files:
41
43
  - support.rb
42
44
  homepage: https://github.com/jonathannen/gemfresh
43
45
  licenses: []
46
+ metadata: {}
44
47
  post_install_message:
45
48
  rdoc_options: []
46
49
  require_paths:
47
50
  - .
48
51
  required_ruby_version: !ruby/object:Gem::Requirement
49
- none: false
50
52
  requirements:
51
53
  - - ! '>='
52
54
  - !ruby/object:Gem::Version
53
55
  version: '0'
54
56
  required_rubygems_version: !ruby/object:Gem::Requirement
55
- none: false
56
57
  requirements:
57
58
  - - ! '>='
58
59
  - !ruby/object:Gem::Version
59
60
  version: '0'
60
61
  requirements: []
61
62
  rubyforge_project:
62
- rubygems_version: 1.8.6
63
+ rubygems_version: 2.0.3
63
64
  signing_key:
64
- specification_version: 3
65
+ specification_version: 4
65
66
  summary: Checks the freshness of your Gemfile.
66
67
  test_files: []