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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a654e74220bfd54eb96f2c18390e8fcc794ae937
4
- data.tar.gz: db38bb7f163a7ef1d2cca42fde38a644464e0316
2
+ SHA256:
3
+ metadata.gz: 727055d15ba54369cae7046c8aa952825bb9e231a4a71c93eb8478ed733dec0e
4
+ data.tar.gz: b97d4e19b2c37fe8b7bf431a94dedb50d1ce9dae71b649707331bc560ab3ecba
5
5
  SHA512:
6
- metadata.gz: 80adef7173fa11523e3ea323333d8b4dd50cfdc9b88c41dc85ba718b9c2b5f0e25a97086f9e0e552e9b1878ac4c0e07aefd20e8d9370ca7ffe0f776d7d78a5b1
7
- data.tar.gz: 2a4bdbef69f9f31d8675f922ff73d02325c1732d8fb24823b12b6765ca1451cb6f0176af7c45e08b817663d1fa65e613951300480a88941f2818fb045863cc08
6
+ metadata.gz: 0ed8f27268df03f9ca64537053688c14323fe02e36bdaa82a3909670ca404cf6d53215db3aa1d74e966e831a26edce1687a4f3b989db94d3c3cbca47f69716fe
7
+ data.tar.gz: 794568abeca06e53f22fd32d19c0da54a888053278a1bd6e16af5a4103a5903000705ed74b2f8a9d83ea33229a0ee079970c3907fac0a1874789e0c3f8205e28
data/.travis.yml CHANGED
@@ -2,5 +2,6 @@ language: ruby
2
2
  services:
3
3
  - redis-server
4
4
  rvm:
5
- - 2.0.0
6
- - 2.1.1
5
+ - 2.3
6
+ - 2.4
7
+ - 2.5
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 => e
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, :persisted_at, :prefix, :name
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
@@ -1,3 +1,3 @@
1
1
  class Progressrus
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
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", "~> 3.0"
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.6
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: 2018-01-30 00:00:00.000000000 Z
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
- rubyforge_project:
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.