sidekiq-throttled 0.7.2 → 0.7.3
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 -0
- data/Appraisals +4 -0
- data/CHANGES.md +7 -0
- data/README.md +1 -0
- data/gemfiles/sidekiq_5.0.gemfile +29 -0
- data/lib/sidekiq/throttled/version.rb +1 -1
- data/lib/sidekiq/throttled/web.rb +1 -1
- data/lib/sidekiq/throttled/web/throttled.html.erb +1 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84ceb88578f276b9161f1efa7428e46204da69e7
|
4
|
+
data.tar.gz: f57a36074d1d25b43125735f1a7fc8249d130533
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1f1e6086b2d493361a1413abecccdfaef578660f72fd6d46f41dc636fb143039cb54968eec7e497a12a43a70f6f1b74d78d573497f9d6141b1d390ee14677e7
|
7
|
+
data.tar.gz: b2bbc09d00d09c49ad5653d4eec477fb05049ac2423a3637cfdc5aae80d11e3808fd081fa9144757ff3f392ed45618f958e50ed0d4e264f844d6dd7960012f57
|
data/.travis.yml
CHANGED
data/Appraisals
CHANGED
data/CHANGES.md
CHANGED
data/README.md
CHANGED
@@ -0,0 +1,29 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "appraisal"
|
6
|
+
gem "rake"
|
7
|
+
gem "redis-namespace", :require => false
|
8
|
+
gem "rspec"
|
9
|
+
gem "rubocop", "~> 0.47.0", :require => false
|
10
|
+
gem "sidekiq", "~> 5.0.0"
|
11
|
+
|
12
|
+
group :development do
|
13
|
+
gem "byebug"
|
14
|
+
gem "guard", :require => false
|
15
|
+
gem "guard-rspec", :require => false
|
16
|
+
gem "guard-rubocop", :require => false
|
17
|
+
end
|
18
|
+
|
19
|
+
group :test do
|
20
|
+
gem "capybara"
|
21
|
+
gem "coveralls", :require => false
|
22
|
+
gem "poltergeist"
|
23
|
+
gem "rack-test"
|
24
|
+
gem "simplecov", ">= 0.9"
|
25
|
+
gem "sinatra", "~> 1.4", ">= 1.4.6"
|
26
|
+
gem "timecop"
|
27
|
+
end
|
28
|
+
|
29
|
+
gemspec :path => "../"
|
@@ -20,9 +20,8 @@
|
|
20
20
|
<%= Sidekiq::Throttled::Web::Stats.new(strategy.threshold).to_html %>
|
21
21
|
</td>
|
22
22
|
<td style="vertical-align:middle;text-align:center;">
|
23
|
-
<form action="<%= root_path %>throttled/<%= CGI.escape name
|
23
|
+
<form action="<%= root_path %>throttled/<%= CGI.escape name %>/reset" method="post">
|
24
24
|
<%= csrf_tag %>
|
25
|
-
<input type="hidden" name="_method" value="delete" />
|
26
25
|
<button class="btn btn-danger" type="submit">Reset</button>
|
27
26
|
</form>
|
28
27
|
</td>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-throttled
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey V Zapparov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -62,6 +62,7 @@ files:
|
|
62
62
|
- gemfiles/sidekiq_4.0.gemfile
|
63
63
|
- gemfiles/sidekiq_4.1.gemfile
|
64
64
|
- gemfiles/sidekiq_4.2.gemfile
|
65
|
+
- gemfiles/sidekiq_5.0.gemfile
|
65
66
|
- lib/sidekiq/throttled.rb
|
66
67
|
- lib/sidekiq/throttled/communicator.rb
|
67
68
|
- lib/sidekiq/throttled/communicator/callbacks.rb
|
@@ -112,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
113
|
version: '0'
|
113
114
|
requirements: []
|
114
115
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.6.
|
116
|
+
rubygems_version: 2.6.12
|
116
117
|
signing_key:
|
117
118
|
specification_version: 4
|
118
119
|
summary: Concurrency and threshold throttling for Sidekiq.
|