gemshine 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 969c683a75e09a33d1425599ecc21f1348706753
4
- data.tar.gz: 77b36e3464d036160e61ed1401dfccb0216020b0
3
+ metadata.gz: 990f604887422fbe340c7d4363956bb829902b10
4
+ data.tar.gz: a8a8818e996d5d169fa4ae42ddbe564b6208bdf4
5
5
  SHA512:
6
- metadata.gz: e1f517a6cc739b77c8799e7bb4c0fe6a53027cc2e9d24a2c83cd744041eb2e525f682248f4ac87b8352b0e3cc56ae04723cbb9a330257a2a0c8c3460d805cb01
7
- data.tar.gz: bb58b90553d6f2e2a3421276861d749cd093a4bd7960b5d839048e23045317e7d32b7a8fc5ca5657be56d8cc6e903ec0763e8fde3bd7857b1d17a3ca54f07abc
6
+ metadata.gz: 2c73ad3b8bdd2b537fd125e49abf7dd7c6a21673a497d146bc5a408198e6c1bd514881c7ceeb1ce23abf26d0efed9ab8c0877d2820cc0d2172cd7270e3b885f3
7
+ data.tar.gz: 0393d72d4d525f9e5bf9a5a9b6b484404fd86c5db2203d9a62e10e13ede9fdf924beb03571efca13e8a049b3d3946ecb8cee7dcbe9e0f05ccc02fa7d4fb12420
@@ -23,5 +23,5 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.5'
25
25
  spec.add_development_dependency 'rake', '~> 0'
26
- spec.add_development_dependency 'minitest', '~> 4.7'
26
+ spec.add_development_dependency 'minitest', '~> 5.3'
27
27
  end
@@ -41,7 +41,7 @@ module Gemshine
41
41
  latest_parts = latest.split('.')
42
42
  outdated_position = 2
43
43
 
44
- version_comparison = installed_parts.zip(latest_parts).map { |a, b| a < b }
44
+ version_comparison = installed_parts.zip(latest_parts).map { |a, b| b ||= 0 ; a < b }
45
45
 
46
46
  version_comparison.each_with_index do |outdated_digit, i|
47
47
  if outdated_digit
@@ -1,3 +1,3 @@
1
1
  module Gemshine
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  require 'fileutils'
2
2
  require_relative File.join('..', 'test_helper')
3
3
 
4
- class TestCLI < Minitest::Unit::TestCase
4
+ class TestCLI < Minitest::Test
5
5
  include Gemshine::Test
6
6
 
7
7
  def test_path
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemshine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Janetakis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-27 00:00:00.000000000 Z
11
+ date: 2014-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '4.7'
75
+ version: '5.3'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '4.7'
82
+ version: '5.3'
83
83
  description: Enter a path and gemshine will recursively explore every ruby project
84
84
  and show you both the latest version and the current version of each gem in your
85
85
  Gemfile.