resque-pause 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -7,3 +7,4 @@ coverage/*
7
7
  spec/dump.rdb
8
8
  spec/stdout
9
9
  vendor/*
10
+ Gemfile.lock
@@ -1,5 +1,10 @@
1
+ sudo: false
1
2
  rvm:
2
3
  - 1.9.2
3
4
  - 1.9.3
4
5
  - 2.0.0
5
6
  - 2.1.2
7
+ - 2.2.9
8
+ - 2.3.6
9
+ - 2.4.3
10
+ - 2.5.0
@@ -69,7 +69,7 @@ module ResquePause
69
69
  ResquePauseHelper.encode(:queue_name => params['queue_name'], :paused => pause)
70
70
  end
71
71
 
72
- get /pause\/public\/([a-z]+\.[a-z]+)/ do
72
+ get %r{/pause/public/([a-z]+\.[a-z]+)} do
73
73
  send_file ResquePause::Server.public_path(params[:captures].first)
74
74
  end
75
75
  end
@@ -1,7 +1,7 @@
1
1
  module Resque
2
2
  module Plugins
3
3
  module Pause
4
- VERSION = "0.2.0"
4
+ VERSION = '0.3.0'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,103 +1,118 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-pause
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Wandenberg Peixoto
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2016-07-04 00:00:00.000000000 Z
12
+ date: 2018-02-18 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: resque
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - ">="
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: 1.9.10
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - ">="
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: 1.9.10
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: multi_json
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
37
  version: '1.0'
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
45
  version: '1.0'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: rspec
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - ">="
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: 2.3.0
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - ">="
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: 2.3.0
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rack-test
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - ">="
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: '0'
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - ">="
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: '0'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: simplecov
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - ">="
83
+ - - ! '>='
74
84
  - !ruby/object:Gem::Version
75
85
  version: 0.4.2
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - ">="
91
+ - - ! '>='
81
92
  - !ruby/object:Gem::Version
82
93
  version: 0.4.2
83
- description: |-
84
- A Resque plugin to add functionality to pause resque jobs through the web interface.
94
+ description: ! 'A Resque plugin to add functionality to pause resque jobs through
95
+ the web interface.
96
+
85
97
 
86
98
  Using a `pause` allows you to stop the job for a slice of time.
87
- The job finish the process it are doing and don't get a new task to do,
99
+
100
+ The job finish the process it are doing and don''t get a new task to do,
101
+
88
102
  until the queue is released.
89
- You can use this functionality to do some maintenance whithout kill workers, for example.
103
+
104
+ You can use this functionality to do some maintenance whithout kill workers, for
105
+ example.'
90
106
  email:
91
107
  - wandenberg@gmail.com
92
108
  executables: []
93
109
  extensions: []
94
110
  extra_rdoc_files: []
95
111
  files:
96
- - ".gitignore"
97
- - ".travis.yml"
112
+ - .gitignore
113
+ - .travis.yml
98
114
  - Changelog.md
99
115
  - Gemfile
100
- - Gemfile.lock
101
116
  - LICENSE
102
117
  - README.md
103
118
  - Rakefile
@@ -117,26 +132,38 @@ files:
117
132
  - spec/spec_helper.rb
118
133
  homepage: ''
119
134
  licenses: []
120
- metadata: {}
121
135
  post_install_message:
122
136
  rdoc_options: []
123
137
  require_paths:
124
138
  - lib
125
139
  required_ruby_version: !ruby/object:Gem::Requirement
140
+ none: false
126
141
  requirements:
127
- - - ">="
142
+ - - ! '>='
128
143
  - !ruby/object:Gem::Version
129
144
  version: '0'
145
+ segments:
146
+ - 0
147
+ hash: 456570661369181351
130
148
  required_rubygems_version: !ruby/object:Gem::Requirement
149
+ none: false
131
150
  requirements:
132
- - - ">="
151
+ - - ! '>='
133
152
  - !ruby/object:Gem::Version
134
153
  version: '0'
154
+ segments:
155
+ - 0
156
+ hash: 456570661369181351
135
157
  requirements: []
136
158
  rubyforge_project: resque-pause
137
- rubygems_version: 2.5.1
159
+ rubygems_version: 1.8.23.2
138
160
  signing_key:
139
- specification_version: 4
161
+ specification_version: 3
140
162
  summary: A Resque plugin to add functionality to pause resque jobs through the web
141
163
  interface.
142
- test_files: []
164
+ test_files:
165
+ - spec/redis-test.conf
166
+ - spec/resque-pause/plugins/pause_spec.rb
167
+ - spec/resque-web_spec.rb
168
+ - spec/resque_pause_helper_spec.rb
169
+ - spec/spec_helper.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 556f2192f7d4152f2c36c6c9d025da63a284007b
4
- data.tar.gz: 23889f55a4772fdae025deffb73f42f67f814526
5
- SHA512:
6
- metadata.gz: e9a4cd7579bc9b8d502bdaa117c1b3194c8fb50c699b1d871a0f94ac9507bd607cecfd2c8894328d4dfc3d3e515ac34020e52ca5bb74f41cbcbbca4b3ac1386d
7
- data.tar.gz: ff0095a087c12613175dfbf4edcf8201272192a466170a6f63f0eab54ea7b620d8cc51384b46bca30a631e7b5b2ee77420e33e996d14f99cecb73e9299bdc007
@@ -1,73 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- resque-pause (0.2.0)
5
- multi_json (~> 1.0)
6
- resque (>= 1.9.10)
7
-
8
- GEM
9
- remote: http://rubygems.org/
10
- specs:
11
- byebug (3.2.0)
12
- columnize (~> 0.8)
13
- debugger-linecache (~> 1.2)
14
- columnize (0.8.9)
15
- debugger-linecache (1.2.0)
16
- diff-lcs (1.2.5)
17
- docile (1.1.5)
18
- mono_logger (1.1.0)
19
- multi_json (1.10.1)
20
- rack (1.5.2)
21
- rack-protection (1.5.3)
22
- rack
23
- rack-test (0.6.2)
24
- rack (>= 1.0)
25
- rake (10.3.2)
26
- redis (3.3.0)
27
- redis-namespace (1.5.2)
28
- redis (~> 3.0, >= 3.0.4)
29
- resque (1.26.0)
30
- mono_logger (~> 1.0)
31
- multi_json (~> 1.0)
32
- redis-namespace (~> 1.3)
33
- sinatra (>= 0.9.2)
34
- vegas (~> 0.1.2)
35
- rspec (3.0.0)
36
- rspec-core (~> 3.0.0)
37
- rspec-expectations (~> 3.0.0)
38
- rspec-mocks (~> 3.0.0)
39
- rspec-core (3.0.3)
40
- rspec-support (~> 3.0.0)
41
- rspec-expectations (3.0.3)
42
- diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.0.0)
44
- rspec-mocks (3.0.3)
45
- rspec-support (~> 3.0.0)
46
- rspec-support (3.0.3)
47
- simplecov (0.9.0)
48
- docile (~> 1.1.0)
49
- multi_json
50
- simplecov-html (~> 0.8.0)
51
- simplecov-html (0.8.0)
52
- sinatra (1.4.7)
53
- rack (~> 1.5)
54
- rack-protection (~> 1.4)
55
- tilt (>= 1.3, < 3)
56
- tilt (1.4.1)
57
- vegas (0.1.11)
58
- rack (>= 1.0.0)
59
-
60
- PLATFORMS
61
- ruby
62
-
63
- DEPENDENCIES
64
- byebug
65
- debugger
66
- rack-test
67
- rake
68
- resque-pause!
69
- rspec (>= 2.3.0)
70
- simplecov (>= 0.4.2)
71
-
72
- BUNDLED WITH
73
- 1.12.4