progressrus 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +3 -2
- data/lib/progressrus.rb +2 -1
- data/lib/progressrus/store/redis.rb +1 -1
- data/lib/progressrus/version.rb +1 -1
- data/progressrus.gemspec +1 -2
- metadata +5 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 727055d15ba54369cae7046c8aa952825bb9e231a4a71c93eb8478ed733dec0e
|
4
|
+
data.tar.gz: b97d4e19b2c37fe8b7bf431a94dedb50d1ce9dae71b649707331bc560ab3ecba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ed8f27268df03f9ca64537053688c14323fe02e36bdaa82a3909670ca404cf6d53215db3aa1d74e966e831a26edce1687a4f3b989db94d3c3cbca47f69716fe
|
7
|
+
data.tar.gz: 794568abeca06e53f22fd32d19c0da54a888053278a1bd6e16af5a4103a5903000705ed74b2f8a9d83ea33229a0ee079970c3907fac0a1874789e0c3f8205e28
|
data/.travis.yml
CHANGED
data/lib/progressrus.rb
CHANGED
@@ -164,7 +164,8 @@ class Progressrus
|
|
164
164
|
stores.each do |store|
|
165
165
|
begin
|
166
166
|
store.persist(self, force: force, expires_at: expires_at)
|
167
|
-
rescue Progressrus::Store::BackendError
|
167
|
+
rescue Progressrus::Store::BackendError
|
168
|
+
# noop
|
168
169
|
end
|
169
170
|
end
|
170
171
|
@persisted = true
|
@@ -3,7 +3,7 @@ class Progressrus
|
|
3
3
|
class Redis < Base
|
4
4
|
BACKEND_EXCEPTIONS = [ ::Redis::BaseError ]
|
5
5
|
|
6
|
-
attr_reader :redis, :interval, :
|
6
|
+
attr_reader :redis, :interval, :prefix, :name
|
7
7
|
|
8
8
|
def initialize(instance, prefix: "progressrus", interval: 1, now: Time.now)
|
9
9
|
@name = :redis
|
data/lib/progressrus/version.rb
CHANGED
data/progressrus.gemspec
CHANGED
@@ -18,10 +18,9 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "redis", "
|
21
|
+
spec.add_dependency "redis", ">= 3.0"
|
22
22
|
spec.add_dependency "ruby-progressbar", "~> 1.0"
|
23
23
|
|
24
|
-
spec.add_development_dependency "bundler", "~> 1.3"
|
25
24
|
spec.add_development_dependency "rake"
|
26
25
|
spec.add_development_dependency "mocha", "~> 0.14"
|
27
26
|
spec.add_development_dependency "pry"
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: progressrus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Eskildsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bundler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.3'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.3'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: rake
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,8 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
171
|
- !ruby/object:Gem::Version
|
186
172
|
version: '0'
|
187
173
|
requirements: []
|
188
|
-
|
189
|
-
rubygems_version: 2.6.14
|
174
|
+
rubygems_version: 3.0.2
|
190
175
|
signing_key:
|
191
176
|
specification_version: 4
|
192
177
|
summary: Monitor the progress of remote, long-running jobs.
|