resque-history 1.11.1 → 1.12.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa35ed2dfe0f60b32150577161ca889b893b754a
4
- data.tar.gz: 7236586bba0430076eb1ba86db5c34fb15eda97b
3
+ metadata.gz: 490052374b0f9d30b459eca8728055ef86af926e
4
+ data.tar.gz: 97c09f70ad5d9c1d96c4f550ef5c51e74a21479e
5
5
  SHA512:
6
- metadata.gz: 00d3f7c8e6f0db8d3f127501dc616fb36857ac01e158ba620bf4788cc1d6af859b961d87b5cdb20d68cf51688efe0dd9c3306f2840adfbceb8616ee351f41ace
7
- data.tar.gz: 155ab5aef8e9deac61b9bff159a60e248dfa397e93c6d1cc203296257cc3bae7dad806b45e1f286928f13804706bc198253ffc80b3c6262feacb71922d3294fe
6
+ metadata.gz: 65722fb443ad4a41d9f239c2225bac36d93d9ab66ff64c44ef0d9407a412b93b2df4567a8742220ff2eeb9b08c8c3e10168c7404dbf900ad66b02df144dad9fe
7
+ data.tar.gz: bfa4894efca67f0ca4df54a2c8dce5d01494139a9d5590965b10b2d4f04079e6c64f95e47bc5d5c4c0ef8b99ff8d65a104244533deeb9ba8aa833a00532b35d0
data/.travis.yml CHANGED
@@ -7,7 +7,5 @@ rvm:
7
7
  - 2.0.0
8
8
  - jruby-18mode # JRuby in 1.8 mode
9
9
  - jruby-19mode # JRuby in 1.9 mode
10
- - rbx-18mode
11
- - rbx-19mode
12
10
  services:
13
11
  - redis-server
data/Gemfile.lock CHANGED
@@ -1,51 +1,50 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- addressable (2.3.5)
4
+ addressable (2.3.6)
5
5
  backports (3.1.1)
6
6
  builder (3.2.2)
7
- diff-lcs (1.2.2)
8
- faraday (0.8.8)
7
+ diff-lcs (1.2.5)
8
+ faraday (0.8.9)
9
9
  multipart-post (~> 1.2.0)
10
- git (1.2.6)
11
- github_api (0.10.1)
10
+ git (1.2.8)
11
+ github_api (0.10.2)
12
12
  addressable
13
- faraday (~> 0.8.1)
13
+ faraday (~> 0.8.7)
14
14
  hashie (>= 1.2)
15
15
  multi_json (~> 1.4)
16
- nokogiri (~> 1.5.2)
16
+ nokogiri (~> 1.6.0)
17
17
  oauth2
18
- hashie (2.0.5)
19
- highline (1.6.20)
20
- httpauth (0.2.0)
21
- jeweler (1.8.8)
18
+ hashie (3.3.1)
19
+ highline (1.6.21)
20
+ jeweler (2.0.1)
22
21
  builder
23
- bundler (~> 1.0)
22
+ bundler (>= 1.0)
24
23
  git (>= 1.2.5)
25
- github_api (= 0.10.1)
24
+ github_api
26
25
  highline (>= 1.6.15)
27
- nokogiri (= 1.5.10)
26
+ nokogiri (>= 1.5.10)
28
27
  rake
29
28
  rdoc
30
29
  json (1.8.1)
31
- jwt (0.1.8)
32
- multi_json (>= 1.5)
30
+ jwt (1.0.0)
31
+ mini_portile (0.6.0)
33
32
  multi_json (1.7.1)
34
33
  multi_xml (0.5.5)
35
34
  multipart-post (1.2.0)
36
- nokogiri (1.5.10)
37
- oauth2 (0.9.2)
38
- faraday (~> 0.8)
39
- httpauth (~> 0.2)
40
- jwt (~> 0.1.4)
41
- multi_json (~> 1.0)
35
+ nokogiri (1.6.3.1)
36
+ mini_portile (= 0.6.0)
37
+ oauth2 (1.0.0)
38
+ faraday (>= 0.8, < 0.10)
39
+ jwt (~> 1.0)
40
+ multi_json (~> 1.3)
42
41
  multi_xml (~> 0.5)
43
42
  rack (~> 1.2)
44
43
  rack (1.4.5)
45
44
  rack-test (0.6.2)
46
45
  rack (>= 1.0)
47
- rake (10.1.0)
48
- rdoc (4.0.1)
46
+ rake (10.3.2)
47
+ rdoc (4.1.1)
49
48
  json (~> 1.4)
50
49
  redis (3.0.3)
51
50
  redis-namespace (1.2.1)
@@ -55,17 +54,21 @@ GEM
55
54
  redis-namespace (~> 1.0)
56
55
  sinatra (>= 0.9.2)
57
56
  vegas (~> 0.1.2)
58
- rspec (2.13.0)
59
- rspec-core (~> 2.13.0)
60
- rspec-expectations (~> 2.13.0)
61
- rspec-mocks (~> 2.13.0)
62
- rspec-core (2.13.1)
63
- rspec-expectations (2.13.0)
64
- diff-lcs (>= 1.1.3, < 2.0)
65
- rspec-mocks (2.13.0)
57
+ rspec (3.1.0)
58
+ rspec-core (~> 3.1.0)
59
+ rspec-expectations (~> 3.1.0)
60
+ rspec-mocks (~> 3.1.0)
61
+ rspec-core (3.1.1)
62
+ rspec-support (~> 3.1.0)
63
+ rspec-expectations (3.1.0)
64
+ diff-lcs (>= 1.2.0, < 2.0)
65
+ rspec-support (~> 3.1.0)
66
+ rspec-mocks (3.1.0)
67
+ rspec-support (~> 3.1.0)
66
68
  rspec-rails (1.3.2)
67
69
  rack (>= 1.0.0)
68
70
  rspec (>= 1.3.0)
71
+ rspec-support (3.1.0)
69
72
  sinatra (1.2.9)
70
73
  backports
71
74
  rack (~> 1.1, < 1.5)
data/LICENSE CHANGED
@@ -1,20 +1,21 @@
1
- Copyright (c) Ilya Katz (ilyakatz@gmail.com)
1
+ The MIT License (MIT)
2
2
 
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
3
+ Copyright (c) 2013 Ilya Katz
10
4
 
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
13
11
 
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.1
1
+ 1.12.0
@@ -1,12 +1,20 @@
1
- <% if start - 20 >= 0 || start + 20 <= size %>
2
- <p class='pagination'>
3
- <% if start - 20 >= 0 %>
4
- <a href="<%= current_page %>?start=<%= start - 20 %>" class='less'>&laquo; less</a>
5
- <% end %>
6
- <% if start + 20 < size %>
7
- <a href="<%= current_page %>?start=<%= start + 20 %>" class='more'>more &raquo;</a>
8
- <% end %>
9
- </p>
10
- <% end %>
1
+ <% per_page ||= 20 %>
2
+ <%if start - per_page >= 0 || start + per_page <= size%>
3
+ <p class='pagination'>
4
+ <% if start - per_page >= 0 %>
5
+ <a href="<%= current_page %>?start=<%= start - per_page %>" class='less'>&laquo; Previous</a>
6
+ <% end %>
11
7
 
8
+ <% (0...(size / per_page.to_f).ceil).each do |page_num| %>
9
+ <% if start == page_num * per_page %>
10
+ <%= page_num + 1 %>
11
+ <% else %>
12
+ <a href="<%= current_page %>?start=<%= page_num * per_page %>"> <%= page_num + 1 %></a>
13
+ <% end %>
14
+ <% end %>
12
15
 
16
+ <% if start + per_page <= size %>
17
+ <a href="<%= current_page %>?start=<%= start + per_page %>" class='more'>Next &raquo;</a>
18
+ <% end %>
19
+ </p>
20
+ <%end%>
@@ -2,14 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: resque-history 1.12.0 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "resque-history"
8
- s.version = "1.11.1"
9
+ s.version = "1.12.0"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
11
13
  s.authors = ["Katzmopolitan"]
12
- s.date = "2013-11-14"
14
+ s.date = "2014-09-07"
13
15
  s.description = "Show history of recently executed jobs"
14
16
  s.email = "ilyakatz@gmail.com"
15
17
  s.extra_rdoc_files = [
@@ -18,7 +20,6 @@ Gem::Specification.new do |s|
18
20
  ]
19
21
  s.files = [
20
22
  ".document",
21
- ".rvmrc",
22
23
  ".travis.yml",
23
24
  "Changelog.md",
24
25
  "Gemfile",
@@ -36,6 +37,7 @@ Gem::Specification.new do |s|
36
37
  "lib/version.rb",
37
38
  "resque-history.gemspec",
38
39
  "spec/redis-test.conf",
40
+ "spec/redis/.keep",
39
41
  "spec/resque-history/plugins/history_spec.rb",
40
42
  "spec/resque-history/resque_history_helper_spec.rb",
41
43
  "spec/resque-web_spec.rb",
@@ -44,8 +46,7 @@ Gem::Specification.new do |s|
44
46
  "test/test_resque-history.rb"
45
47
  ]
46
48
  s.homepage = "https://github.com/ilyakatz/resque-history"
47
- s.require_paths = ["lib"]
48
- s.rubygems_version = "2.0.0"
49
+ s.rubygems_version = "2.2.0"
49
50
  s.summary = "Show history of recently executed jobs"
50
51
 
51
52
  if s.respond_to? :specification_version then
data/spec/redis-test.conf CHANGED
@@ -1,111 +1,16 @@
1
- # Redis configuration file example
2
-
3
- # By default Redis does not run as a daemon. Use 'yes' if you need it.
4
- # Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
5
1
  daemonize yes
6
-
7
- # When run as a daemon, Redis write a pid file in /var/run/redis.pid by default.
8
- # You can specify a custom pid file location here.
9
- pidfile ./spec/redis-test.pid
10
-
11
- # Accept connections on the specified port, default is 6379
2
+ pidfile redis-test.pid
12
3
  port 9736
13
-
14
- # If you want you can bind a single interface, if the bind option is not
15
- # specified all the interfaces will listen for connections.
16
- #
17
- # bind 127.0.0.1
18
-
19
- # Close the connection after a client is idle for N seconds (0 to disable)
20
4
  timeout 300
21
5
 
22
- # Save the DB on disk:
23
- #
24
- # save <seconds> <changes>
25
- #
26
- # Will save the DB if both the given number of seconds and the given
27
- # number of write operations against the DB occurred.
28
- #
29
- # In the example below the behaviour will be to save:
30
- # after 900 sec (15 min) if at least 1 key changed
31
- # after 300 sec (5 min) if at least 10 keys changed
32
- # after 60 sec if at least 10000 keys changed
33
6
  save 900 1
34
7
  save 300 10
35
8
  save 60 10000
36
9
 
37
- # The filename where to dump the DB
38
10
  dbfilename dump.rdb
39
11
 
40
- # For default save/load DB in/from the working directory
41
- # Note that you must specify a directory not a file name.
42
- dir ./spec/
12
+ dir ./spec/redis
43
13
 
44
- # Set server verbosity to 'debug'
45
- # it can be one of:
46
- # debug (a lot of information, useful for development/testing)
47
- # notice (moderately verbose, what you want in production probably)
48
- # warning (only very important / critical messages are logged)
49
14
  loglevel debug
50
-
51
- # Specify the log file name. Also 'stdout' can be used to force
52
- # the demon to log on the standard output. Note that if you use standard
53
- # output for logging but daemonize, logs will be sent to /dev/null
54
15
  logfile stdout
55
-
56
- # Set the number of databases. The default database is DB 0, you can select
57
- # a different one on a per-connection basis using SELECT <dbid> where
58
- # dbid is a number between 0 and 'databases'-1
59
- databases 16
60
-
61
- ################################# REPLICATION #################################
62
-
63
- # Master-Slave replication. Use slaveof to make a Redis instance a copy of
64
- # another Redis server. Note that the configuration is local to the slave
65
- # so for example it is possible to configure the slave to save the DB with a
66
- # different interval, or to listen to another port, and so on.
67
-
68
- # slaveof <masterip> <masterport>
69
-
70
- ################################## SECURITY ###################################
71
-
72
- # Require clients to issue AUTH <PASSWORD> before processing any other
73
- # commands. This might be useful in environments in which you do not trust
74
- # others with access to the host running redis-server.
75
- #
76
- # This should stay commented out for backward compatibility and because most
77
- # people do not need auth (e.g. they run their own servers).
78
-
79
- # requirepass foobared
80
-
81
- ################################### LIMITS ####################################
82
-
83
- # Set the max number of connected clients at the same time. By default there
84
- # is no limit, and it's up to the number of file descriptors the Redis process
85
- # is able to open. The special value '0' means no limts.
86
- # Once the limit is reached Redis will close all the new connections sending
87
- # an error 'max number of clients reached'.
88
-
89
- # maxclients 128
90
-
91
- # Don't use more memory than the specified amount of bytes.
92
- # When the memory limit is reached Redis will try to remove keys with an
93
- # EXPIRE set. It will try to start freeing keys that are going to expire
94
- # in little time and preserve keys with a longer time to live.
95
- # Redis will also try to remove objects from free lists if possible.
96
- #
97
- # If all this fails, Redis will start to reply with errors to commands
98
- # that will use more memory, like SET, LPUSH, and so on, and will continue
99
- # to reply to most read-only commands like GET.
100
- #
101
- # WARNING: maxmemory can be a good idea mainly if you want to use Redis as a
102
- # 'state' server or cache, not as a real DB. When Redis is used as a real
103
- # database the memory usage will grow over the weeks, it will be obvious if
104
- # it is going to use too much memory in the long run, and you'll have the time
105
- # to upgrade. With maxmemory after the limit is reached you'll start to get
106
- # errors for write operations, and this may even lead to DB inconsistency.
107
-
108
- # maxmemory <bytes>
109
-
110
- ############################### ADVANCED CONFIG ###############################
111
-
16
+ databases 1
data/spec/redis/.keep ADDED
File without changes
@@ -34,22 +34,25 @@ describe Resque::Plugins::History do
34
34
  arr = Resque.redis.lrange(Resque::Plugins::History::HISTORY_SET_NAME, 0, -1)
35
35
 
36
36
  arr.count.should == 1
37
- JSON.parse(arr.first).should == {"class"=>"HistoryJob", "args"=>[12], "time"=>"2000-09-01 12:00", "execution"=>0}
37
+ expected = {
38
+ "class" => "HistoryJob", "args" => [12],
39
+ "time" => "2000-09-01 12:00", "execution" => 0
40
+ }
41
+ expect(JSON.parse(arr.first)).to eq(expected)
38
42
  end
39
43
  end
40
44
 
41
45
  it "should use the max_history size of the history list" do
42
- MaxHistoryJob.maximum_history_size.should == 15
46
+ expect(MaxHistoryJob.maximum_history_size).to eq 15
43
47
  end
44
48
 
45
-
46
49
  it "should set the default size of the history list to be 500" do
47
50
  HistoryJob.maximum_history_size.should == 500
48
51
  end
49
52
 
50
53
  it "should truncate the maximum" do
51
54
 
52
- HistoryJob.stub(:maximum_history_size).and_return { 3 }
55
+ expect(HistoryJob).to receive(:maximum_history_size).at_least(:once).and_return(3)
53
56
 
54
57
  Resque.enqueue(HistoryJob, 15)
55
58
  Resque.enqueue(HistoryJob, 13)
@@ -94,14 +97,12 @@ describe Resque::Plugins::History do
94
97
 
95
98
  Resque.reset_history
96
99
 
97
-
98
100
  arr = Resque.redis.lrange(Resque::Plugins::History::HISTORY_SET_NAME, 0, -1)
99
101
 
100
102
  arr.count.should == 0
101
103
 
102
104
  end
103
105
 
104
-
105
106
  describe "record execution time" do
106
107
 
107
108
  it "should record execution time" do
@@ -157,12 +158,10 @@ describe Resque::Plugins::History do
157
158
 
158
159
  arr = Resque.redis.lrange(Resque::Plugins::History::HISTORY_SET_NAME, 0, -1)
159
160
 
160
-
161
161
  JSON.parse(arr.first)["class"].should =="SleepyHistoryJob"
162
162
  JSON.parse(arr.first)["args"].should ==[1]
163
163
  JSON.parse(arr.first)["execution"].should ==1
164
164
 
165
-
166
165
  JSON.parse(arr.last)["class"].should =="SleepyHistoryJob"
167
166
  JSON.parse(arr.last)["args"].should ==[3]
168
167
  JSON.parse(arr.last)["execution"].should ==3
@@ -178,7 +177,6 @@ describe Resque::Plugins::History do
178
177
  lambda { job.perform }.should raise_exception
179
178
  arr = Resque.redis.lrange(Resque::Plugins::History::HISTORY_SET_NAME, 0, -1)
180
179
 
181
-
182
180
  arr.count.should == 1
183
181
 
184
182
  JSON.parse(arr.first)["class"].should =="ExceptionJob"
data/spec/spec_helper.rb CHANGED
@@ -45,19 +45,19 @@ RSpec.configure do |config|
45
45
  `redis-server #{File.dirname(File.expand_path(__FILE__))}/redis-test.conf`
46
46
  pid = ''
47
47
  while pid.empty? do
48
- pid = `ps -e -o pid,command | grep [r]edis-test`.split(" ")[0]
48
+ pid = `cat #{File.dirname(File.expand_path(__FILE__))}/redis/redis-test.pid`
49
49
  end
50
+ puts "redis pid is #{pid}"
50
51
  Resque.redis = '127.0.0.1:9736'
51
52
  end
52
53
 
53
54
  config.before(:each) do
54
55
  Resque.redis.flushall
55
- Kernel.stub!(:sleep)
56
56
  end
57
57
 
58
58
  config.after(:suite) do
59
- pid = `ps -e -o pid,command | grep [r]edis-test`.split(" ")[0]
60
- puts '', "Killing test redis server..."
59
+ pid = `cat #{File.dirname(File.expand_path(__FILE__))}/redis/redis-test.pid`
60
+ puts "Killing test redis server (pid: #{pid})..."
61
61
  Process.kill("KILL", pid.to_i)
62
62
  `rm -f #{File.dirname(File.expand_path(__FILE__))}/dump.rdb`
63
63
  end
metadata CHANGED
@@ -1,125 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-history
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.1
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katzmopolitan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-14 00:00:00.000000000 Z
11
+ date: 2014-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: resque
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '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: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: jeweler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec-rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>'
87
+ - - ">"
88
88
  - !ruby/object:Gem::Version
89
89
  version: 2.12.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>'
94
+ - - ">"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 2.12.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rack-test
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: timecop
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  description: Show history of recently executed jobs
@@ -130,9 +130,8 @@ extra_rdoc_files:
130
130
  - LICENSE
131
131
  - README.md
132
132
  files:
133
- - .document
134
- - .rvmrc
135
- - .travis.yml
133
+ - ".document"
134
+ - ".travis.yml"
136
135
  - Changelog.md
137
136
  - Gemfile
138
137
  - Gemfile.lock
@@ -149,6 +148,7 @@ files:
149
148
  - lib/version.rb
150
149
  - resque-history.gemspec
151
150
  - spec/redis-test.conf
151
+ - spec/redis/.keep
152
152
  - spec/resque-history/plugins/history_spec.rb
153
153
  - spec/resque-history/resque_history_helper_spec.rb
154
154
  - spec/resque-web_spec.rb
@@ -164,17 +164,17 @@ require_paths:
164
164
  - lib
165
165
  required_ruby_version: !ruby/object:Gem::Requirement
166
166
  requirements:
167
- - - '>='
167
+ - - ">="
168
168
  - !ruby/object:Gem::Version
169
169
  version: '0'
170
170
  required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - '>='
172
+ - - ">="
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0'
175
175
  requirements: []
176
176
  rubyforge_project:
177
- rubygems_version: 2.0.0
177
+ rubygems_version: 2.2.0
178
178
  signing_key:
179
179
  specification_version: 4
180
180
  summary: Show history of recently executed jobs
data/.rvmrc DELETED
@@ -1,2 +0,0 @@
1
- rvm ruby-1.9.3
2
- rvm gemset use resque-history --create