sidekiq-history 0.0.6 → 0.0.7

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: d88618031c00984c99875a070e0123b60d1ac950
4
- data.tar.gz: 03e46796150a684d28491e3a3b27f451f44f00fd
3
+ metadata.gz: dcb4da53bbc80b6383a113ee1d552a4e28d72f1e
4
+ data.tar.gz: 94b30cd2f275a06c86c09ee3a91adf5efbfcaa8a
5
5
  SHA512:
6
- metadata.gz: c377bc0a5905f6a78e73955467401fd5d89b3e760d0ab07416b720a80d08ac08f11dc5b1e41d056afb592f8893ca4a189fbc0e68fbcf6a269beb5c129a6e9336
7
- data.tar.gz: 28db473f76674d6b9f28bcd73f72e6d66056064f222696d21be11a36e4c9d9c74d1c592186dfa0e829f5607a21c079f43e1f8bcfe06f0c66f9439e80c3d67220
6
+ metadata.gz: 0b33902b46397cad8a00aa8f616205049ed0f7bb86463a269b7e683e98527cba23302ef32366c6b085028b10d54ada0302d423c5b1c7ba7f5dfe61f0445c93b8
7
+ data.tar.gz: 7ef485dc3262f2da74042713a0756e8501e63301fc28a96824506b2ef6bb68b59a35c27e4ffeb68e57f69f84483e83ee13a5dd69be7f504289d078a2fe9b1646
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module History
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
@@ -6,7 +6,7 @@ module Sidekiq
6
6
  def self.registered(app)
7
7
  app.get '/history' do
8
8
  @count = (params[:count] || 25).to_i
9
- (@current_page, @total_size, @messages) = page('history', params[:page], @count)
9
+ (@current_page, @total_size, @messages) = page('history', params[:page], @count, reverse: true)
10
10
  @messages = @messages.map { |msg, score| Sidekiq::SortedEntry.new(nil, score, msg) }
11
11
 
12
12
  render(:erb, File.read("#{ROOT}/views/history.erb"))
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-history
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Russ Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-18 00:00:00.000000000 Z
11
+ date: 2016-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  version: '0'
136
136
  requirements: []
137
137
  rubyforge_project:
138
- rubygems_version: 2.4.5
138
+ rubygems_version: 2.5.1
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: History for sidekiq jobs.