honeybadger 2.0.0.beta.10 → 2.0.0.beta.11

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,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- M2UwNTIwYTEyMzYyMTBhZTQwYmE4MjgxMDZmOTViM2ZkYzg0MGY1Ng==
5
- data.tar.gz: !binary |-
6
- MDI2Yjg0NDgyMzdiNmU0MmRiYTZiMjZiMTQ2MGE5MTEzNWMyNmNiZA==
2
+ SHA1:
3
+ metadata.gz: 047e06b2f9c1ad1178f0acec89a80c7a4a6ac51c
4
+ data.tar.gz: 48949791254cdaf720f012fa3e516f269edb3533
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MmY4MzE2MjQzNDVlNzdhMTY3ZDkxNDk4MWI0ZWRmODdiZDA0MzllZjA2YmNm
10
- MTVmOGY3ZmU5YjFkNmE1MmYyNjg0ZTljMDk4MjFjMTg5NmIwN2MzYWVhMDAz
11
- MDM3MTEyYTJiMzE0ZGU2NDM1NmQ0ZjhlNmQ1MDRhYmQ4NDc0MjE=
12
- data.tar.gz: !binary |-
13
- Y2RiMDRkOGMwOWY3ZDhkNmEyYmRmZDQ4NTUzMjgxNWRiM2NmMWJmN2Y2OWY1
14
- MDVlZDYwNDE2Y2RhYjIzODViOTU4NzFkMGVmODA0OTI0YWUxMzFhYjYzZjlh
15
- YjhlNWI1OTYzODAxNWQ4YjYxZTQxMmRlZDJlYWQ5NzZmMzRhNGI=
6
+ metadata.gz: a975c34dcdb43f187251696ac68af8cf29290faca1c18e55a85e99b9d5e1a10dd1e2a326933c5916ddd876a0233fd075f59a39f35d903bb75fdb10d9a2d112ad
7
+ data.tar.gz: ce873c45c9e52d2658861851dae85457154e072d561f9a2e20f3691e1c7a5d2beecf354a9583b5c7c29b9bbe5c07039f1934211c72c48e0e7daac396c1bb53e0
@@ -3,7 +3,7 @@ require 'securerandom'
3
3
  module Honeybadger
4
4
  class Agent
5
5
  class Batch
6
- def initialize(config, name = :data, max = 100, interval = 60, now = now)
6
+ def initialize(config, name = :data, max = 100, interval = 60, now = now())
7
7
  @id = SecureRandom.uuid
8
8
  @config = config
9
9
  @name = name
@@ -3,7 +3,7 @@ module Honeybadger
3
3
  # Internal: A thread-safe first-in-first-out queue. Values are pushed onto
4
4
  # the queue and released at a defined interval.
5
5
  class MeteredQueue
6
- def initialize(interval = 1, max = 1000, now = now)
6
+ def initialize(interval = 1, max = 1000, now = now())
7
7
  @interval = interval
8
8
  @max = max
9
9
  @values = Array.new
@@ -68,11 +68,11 @@ module Honeybadger
68
68
  Time.now
69
69
  end
70
70
 
71
- def calculate_future(now = now, interval = interval)
71
+ def calculate_future(now = now(), interval = interval())
72
72
  now.to_i + throttled_interval(interval)
73
73
  end
74
74
 
75
- def throttled_interval(interval = interval)
75
+ def throttled_interval(interval = interval())
76
76
  throttles.reduce(interval) {|a,e| a * e }
77
77
  end
78
78
  end
@@ -21,7 +21,7 @@ module Honeybadger
21
21
  def_delegators :@metrics, :to_json, :size
22
22
  end
23
23
 
24
- def initialize(config, interval = 60, now = now)
24
+ def initialize(config, interval = 60, now = now())
25
25
  @id = SecureRandom.uuid
26
26
  @config = config
27
27
  @interval = interval
@@ -49,7 +49,7 @@ module Honeybadger
49
49
  nil
50
50
  end
51
51
 
52
- def render_form(error_id, action = action)
52
+ def render_form(error_id, action = action())
53
53
  return unless action
54
54
  ERB.new(@template ||= File.read(template_file)).result(binding)
55
55
  end
@@ -1,4 +1,4 @@
1
1
  module Honeybadger
2
2
  # Public: The current String Honeybadger version.
3
- VERSION = '2.0.0.beta.10'.freeze
3
+ VERSION = '2.0.0.beta.11'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybadger
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta.10
4
+ version: 2.0.0.beta.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Honeybadger Industries LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-06 00:00:00.000000000 Z
11
+ date: 2014-12-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Make managing application errors a more pleasant experience.
14
14
  email:
@@ -117,28 +117,33 @@ homepage: https://github.com/honeybadger-io/honeybadger-ruby
117
117
  licenses:
118
118
  - MIT
119
119
  metadata: {}
120
- post_install_message: ! "\n Thanks for installing honeybadger version 2.0! If you're
121
- upgrading from 1.x,\n please note that there may be a few configuration changes
122
- required. Read the\n upgrade instructions at:\n\n https://www.honeybadger.io/s/gem-upgrade\n\n"
120
+ post_install_message: |2+
121
+
122
+ Thanks for installing honeybadger version 2.0! If you're upgrading from 1.x,
123
+ please note that there may be a few configuration changes required. Read the
124
+ upgrade instructions at:
125
+
126
+ https://www.honeybadger.io/s/gem-upgrade
127
+
123
128
  rdoc_options:
124
- - --markup=tomdoc
125
- - --main=README.md
129
+ - "--markup=tomdoc"
130
+ - "--main=README.md"
126
131
  require_paths:
127
132
  - lib
128
133
  - vendor/capistrano-honeybadger/lib
129
134
  required_ruby_version: !ruby/object:Gem::Requirement
130
135
  requirements:
131
- - - ! '>='
136
+ - - ">="
132
137
  - !ruby/object:Gem::Version
133
138
  version: 1.9.3
134
139
  required_rubygems_version: !ruby/object:Gem::Requirement
135
140
  requirements:
136
- - - ! '>'
141
+ - - ">"
137
142
  - !ruby/object:Gem::Version
138
143
  version: 1.3.1
139
144
  requirements: []
140
145
  rubyforge_project:
141
- rubygems_version: 2.4.4
146
+ rubygems_version: 2.4.5
142
147
  signing_key:
143
148
  specification_version: 4
144
149
  summary: Error reports you can be happy about.