blackbox 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/blackbox.gemspec +1 -0
- data/lib/blackbox/gem.rb +2 -1
- data/lib/blackbox/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f26a19cd25157fe49555e98c26450c911e94ce0b
|
4
|
+
data.tar.gz: a58c6ad12eacee2fd421a6eb530b92a9a43c9fe5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ab43ce5dbe34ff8dcfe8253ee392b74de198521569f284b1a411beef6847f207e21b5426538f7851d896834d56e839ce3d419534c1bf2fc29c3ca0460ec95bf
|
7
|
+
data.tar.gz: 96ad3ad7f771898944cc5c255608bcc3bab33d226d3dc5a1a3a66be16f0dc5709a959b8aad59cc6e21ef2299982ee240d4c3635a4e0c199f34af3c73bb351d63
|
data/.travis.yml
CHANGED
data/blackbox.gemspec
CHANGED
data/lib/blackbox/gem.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
+
require 'versionomy'
|
2
3
|
module BB
|
3
4
|
# Gem utilities.
|
4
5
|
module Gem
|
@@ -77,7 +78,7 @@ module BB
|
|
77
78
|
last_checked_for_update: last_check_at,
|
78
79
|
next_check_for_update: last_check_at + opts[:check_interval],
|
79
80
|
installed_is_latest: ret[:gem_installed_version] == checker.latest_version,
|
80
|
-
gem_update_available: checker.
|
81
|
+
gem_update_available: Versionomy.parse(ret[:gem_installed_version]) < Versionomy.parse(checker.latest_version)
|
81
82
|
)
|
82
83
|
|
83
84
|
if ret[:installed_is_latest] || opts[:force_check]
|
data/lib/blackbox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blackbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Moe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -220,6 +220,20 @@ dependencies:
|
|
220
220
|
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: 0.10.6
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: versionomy
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 0.5.0
|
230
|
+
type: :runtime
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 0.5.0
|
223
237
|
description: Various little helpers
|
224
238
|
email:
|
225
239
|
- moe@busyloop.net
|