redis_page 0.1.15 → 0.1.16

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: b8596548ecfa19e197f56e74f3f403e77c0b9115
4
- data.tar.gz: 4ce725f85a9d4314c79fbf47694b76d6f7b693cf
3
+ metadata.gz: 7e2eed00a88bfcfff5196a2288752c5901a15851
4
+ data.tar.gz: 66989b1851972289e201d100f06ad204021e3fdb
5
5
  SHA512:
6
- metadata.gz: 338b11c2a01ce06d708c06013f28bf43657b983f1a553eb740306f010394d74313c1442dd48dfcaf44dcb949cea3cacc12d184b8ca4278a9e7f49ad71eb49a93
7
- data.tar.gz: 725bd98b8d926bd8e93d1b93fe6dde4555778a4d1b9e8e0ca158a44c5239c2a2cf2004c453a0e8ad66941737d566114f492687925427de36e5f6b8fa1c4dc53d
6
+ metadata.gz: 559d251f7c6090fe66dd0429d63a37e90e369589cb640a5b4ffc080ec33247dae8d65e131890f44edb367acebbb3a6abab03f205b75f75bc1f39cee7a722d52a
7
+ data.tar.gz: f38420bb21bc6b7e39522c9c9b1ce5a014259eab6db6d010bccb8d94233e9258912a5040884cf15e43c0989bec80a03ced06818b000ea01b77436daf59a5842c
@@ -3,7 +3,7 @@ require "sidekiq"
3
3
  module RedisPage
4
4
  class SweeperWorker
5
5
  include Sidekiq::Worker
6
- sidekiq_options queue: :redis_page, retry: false
6
+ sidekiq_options queue: :redis_page, retry: false, unique: :until_and_while_executing
7
7
 
8
8
  def perform(url, country=nil)
9
9
  uri = URI(url)
@@ -1,3 +1,3 @@
1
1
  module RedisPage
2
- VERSION = '0.1.15'
2
+ VERSION = '0.1.16'
3
3
  end
data/redis_page.gemspec CHANGED
@@ -9,10 +9,6 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["saberma"]
10
10
  spec.email = ["mahb45@gmail.com"]
11
11
 
12
- if spec.respond_to?(:metadata)
13
- spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com' to prevent pushes to rubygems.org, or delete to allow pushes to any server."
14
- end
15
-
16
12
  spec.summary = %q{use redis to cache your rails page.}
17
13
  spec.description = %q{use redis to cache your rails page.}
18
14
  spec.homepage = "https://github.com/saberma/redis_page"
@@ -26,6 +22,7 @@ Gem::Specification.new do |spec|
26
22
  spec.add_dependency "activesupport", "~> 4.0.9"
27
23
  spec.add_dependency "actionpack", "~> 4.0.9"
28
24
  spec.add_dependency "sidekiq", "~> 3.2.6"
25
+ spec.add_dependency "sidekiq-unique-jobs", "~> 4.0.17"
29
26
 
30
27
  spec.add_development_dependency "bundler", "~> 1.8"
31
28
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis_page
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - saberma
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-25 00:00:00.000000000 Z
11
+ date: 2016-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: 3.2.6
55
+ - !ruby/object:Gem::Dependency
56
+ name: sidekiq-unique-jobs
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 4.0.17
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 4.0.17
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -108,9 +122,7 @@ files:
108
122
  homepage: https://github.com/saberma/redis_page
109
123
  licenses:
110
124
  - MIT
111
- metadata:
112
- allowed_push_host: 'TODO: Set to ''http://mygemserver.com'' to prevent pushes to
113
- rubygems.org, or delete to allow pushes to any server.'
125
+ metadata: {}
114
126
  post_install_message:
115
127
  rdoc_options: []
116
128
  require_paths:
@@ -127,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
139
  version: '0'
128
140
  requirements: []
129
141
  rubyforge_project:
130
- rubygems_version: 2.1.11
142
+ rubygems_version: 2.4.8
131
143
  signing_key:
132
144
  specification_version: 4
133
145
  summary: use redis to cache your rails page.