resque 3.0.2 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/HISTORY.md +9 -0
- data/lib/resque/server/public/ranger.js +3 -4
- data/lib/resque/server_helper.rb +1 -1
- data/lib/resque/version.rb +1 -1
- data/lib/resque/web_runner.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: acde04f0564445d35441b5d8fc947ece39fb99b181c9f67a0942ecf14c08fa8d
|
|
4
|
+
data.tar.gz: 2ed7744e0f167229c3b814d472223e8b860ddee3a20d20783cddfcb9a18f0bfe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2269306cd35af0f83ae337d24914eb40a2945fa7d7091be12942dce5415d29ce51ace66b56669a7748a5727610a208b81dc9146934b473dfd2a404ba325a95ae
|
|
7
|
+
data.tar.gz: c69034d1674ebfde72aa382317ee390cee6ddc62d31e1c0424eab392c106b2338021330cf1a4b7d0cd8fb3004e4fabc3902956481a494264a9194c744af77a8f
|
data/HISTORY.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 3.0.3
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
* resque-web: Fix an off-by-one error in the failed jobs pagination end index (#1931)
|
|
6
|
+
* resque-web: Pass the browser url as an argv element instead of a shell string, and launch it on Windows without going through `cmd.exe` (#1956)
|
|
7
|
+
* resque-web: Probe ports with `URI(...).open` instead of `Kernel.open` (#1955)
|
|
8
|
+
* resque-web: Build the relatized time markup with DOM APIs instead of HTML strings (#1957)
|
|
9
|
+
|
|
1
10
|
## 3.0.2
|
|
2
11
|
|
|
3
12
|
### Added
|
|
@@ -11,10 +11,9 @@ $(function() {
|
|
|
11
11
|
} else {
|
|
12
12
|
$(this)
|
|
13
13
|
.text('')
|
|
14
|
-
.append( $('<a href="#" class="toggle_format" title
|
|
15
|
-
.append('<span class="date_time"
|
|
16
|
-
|
|
17
|
-
relatized + '</span>') )
|
|
14
|
+
.append( $('<a href="#" class="toggle_format" />').attr('title', dt)
|
|
15
|
+
.append( $('<span class="date_time" />').text(dt) )
|
|
16
|
+
.append( $('<span class="relatized_time" />').text(relatized) ) )
|
|
18
17
|
}
|
|
19
18
|
};
|
|
20
19
|
|
data/lib/resque/server_helper.rb
CHANGED
data/lib/resque/version.rb
CHANGED
data/lib/resque/web_runner.rb
CHANGED
|
@@ -156,8 +156,8 @@ module Resque
|
|
|
156
156
|
end
|
|
157
157
|
end
|
|
158
158
|
|
|
159
|
-
def uri_open(*args)
|
|
160
|
-
|
|
159
|
+
def uri_open(url, *args)
|
|
160
|
+
URI.parse(url).open(*args)
|
|
161
161
|
end
|
|
162
162
|
|
|
163
163
|
def write_url
|
|
@@ -226,8 +226,8 @@ module Resque
|
|
|
226
226
|
|
|
227
227
|
def launch!(specific_url = nil, path = nil)
|
|
228
228
|
return if options[:skip_launch]
|
|
229
|
-
|
|
230
|
-
system "
|
|
229
|
+
target = "#{specific_url || url}#{path}"
|
|
230
|
+
WINDOWS ? system("rundll32", "url.dll,FileProtocolHandler", target) : system("open", target)
|
|
231
231
|
end
|
|
232
232
|
|
|
233
233
|
def kill!
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: resque
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Wanstrath
|
|
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
243
243
|
- !ruby/object:Gem::Version
|
|
244
244
|
version: '0'
|
|
245
245
|
requirements: []
|
|
246
|
-
rubygems_version: 4.0.
|
|
246
|
+
rubygems_version: 4.0.16
|
|
247
247
|
specification_version: 4
|
|
248
248
|
summary: Resque is a Redis-backed queueing system.
|
|
249
249
|
test_files: []
|