compare_linker 1.4.0 → 1.4.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
  SHA256:
3
- metadata.gz: 50d73ff348de6f8b4260b5467c4c6a2b74f558def5f8abca4a763f2c47dd5607
4
- data.tar.gz: 92a7a6877f185302aa084422dd2e24f83e0cd77945884c43e2d355080e9c66fc
3
+ metadata.gz: b6c38322e782230d1ef5e12c31808dbadeb564fe452bd91df5a65518fb809e95
4
+ data.tar.gz: e650a0d48a4c4785a2abdf83ad18985eeebf698a417381eb16547ebb84aeaa93
5
5
  SHA512:
6
- metadata.gz: 203911ffe47740f23723ba60860779e5ed3e4a5d8df78f697ce12fe0aace28d6b18e4c6ad025f9518dfccb109014800fd38107fd2f9c718e7ecaa67c64b806f7
7
- data.tar.gz: 456b807be6b9b5773589b01cc4cd90013e34165f9a81a6750e31cedf487b815a42a81b7f4c722655bbcc88beda5691fa2f5522ba907ffaed336210d8af6ee54c
6
+ metadata.gz: aa6d3ac40c49e0ad9be1b03d72384c43c825befb840c966462aca21118a7a69d9105dab2998ae8669ec79cce7a7ace5826a23e6e451845ed457ffeffb5511247
7
+ data.tar.gz: 3072a1d8d189c2ccf6d6791d9490773893e37e88cf2395e735d31d486bbd4d98de3e2630661bcc39d93d05453af4c17b38fa24679f9b6be49e503bfda8ad222f
data/.gitignore CHANGED
@@ -1,5 +1,4 @@
1
1
  /.bundle
2
- /.envrc
3
2
  /Gemfile.lock
4
3
  /pkg
5
4
  /vendor/bundle
@@ -21,6 +21,8 @@ class CompareLinker
21
21
  Gem::Version.new(new_ver) < Gem::Version.new(old_ver) ||
22
22
  (old_tag && new_tag && Gem::Version.new(to_ver(new_tag)) < Gem::Version.new(to_ver(old_tag))) ||
23
23
  (old_rev && new_rev && Gem::Version.new(to_ver(new_rev)) < Gem::Version.new(to_ver(old_rev)))
24
+ rescue ArgumentError # Gem::Version raise ArgumentError if it is invalid as version
25
+ false
24
26
  end
25
27
 
26
28
  def to_ver(tag)
@@ -1,3 +1,3 @@
1
1
  class CompareLinker
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compare_linker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kensuke Nagae
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-03 00:00:00.000000000 Z
11
+ date: 2018-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit