error_stalker 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +4 -0
- data/Gemfile.lock +1 -1
- data/lib/error_stalker/store/mongoid.rb +7 -1
- data/lib/error_stalker/version.rb +1 -1
- metadata +5 -4
data/.travis.yml
ADDED
data/Gemfile.lock
CHANGED
@@ -264,7 +264,13 @@ class ErrorStalker::Store::Mongoid::ExceptionGroup < ErrorStalker::ExceptionGrou
|
|
264
264
|
r.most_recent_report = id_map[r.most_recent_report_id]
|
265
265
|
end
|
266
266
|
|
267
|
-
recent.paginate(:per_page => pagination_opts[:per_page], :total_entries => total_entries)
|
267
|
+
recent = recent.paginate(:per_page => pagination_opts[:per_page], :total_entries => total_entries)
|
268
|
+
|
269
|
+
# We're 'fake paginating' this collection, but we still want the
|
270
|
+
# page number to be correct. This is the only way to set it
|
271
|
+
# without triggering a pagination on records we don't actually have.
|
272
|
+
recent.instance_variable_set(:@current_page, WillPaginate::PageNumber(pagination_opts[:page] || 1))
|
273
|
+
recent
|
268
274
|
end
|
269
275
|
end
|
270
276
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: error_stalker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-03 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: Logs exceptions to a pluggable backend. Also provides a server for centralized
|
15
15
|
exception logging using a pluggable data store.
|
@@ -22,6 +22,7 @@ extensions: []
|
|
22
22
|
extra_rdoc_files: []
|
23
23
|
files:
|
24
24
|
- .gitignore
|
25
|
+
- .travis.yml
|
25
26
|
- Gemfile
|
26
27
|
- Gemfile.lock
|
27
28
|
- README.rdoc
|
@@ -85,7 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
86
|
version: '0'
|
86
87
|
segments:
|
87
88
|
- 0
|
88
|
-
hash:
|
89
|
+
hash: -1187536212377381335
|
89
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
91
|
none: false
|
91
92
|
requirements:
|
@@ -94,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
95
|
version: '0'
|
95
96
|
segments:
|
96
97
|
- 0
|
97
|
-
hash:
|
98
|
+
hash: -1187536212377381335
|
98
99
|
requirements: []
|
99
100
|
rubyforge_project: error_stalker
|
100
101
|
rubygems_version: 1.8.10
|