dumper 1.2.0 → 1.2.1

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.
data/README.md CHANGED
@@ -65,3 +65,13 @@ end
65
65
  ```
66
66
 
67
67
  If you are using resque, it's a good idea to run it on the same host with Redis, and start the agent on the resque instance.
68
+
69
+ ## Debugging
70
+
71
+ If the agent doesn't seem to work, pass `Logger::DEBUG` to the `loglevel` option.
72
+
73
+ ```ruby
74
+ Dumper::Agent.start(app_key: '...', loglevel: Logger::DEBUG)
75
+ ```
76
+
77
+ It gives verbose logging that helps us to understand the problem.
@@ -40,8 +40,8 @@ module Dumper
40
40
  end
41
41
 
42
42
  def start
43
+ log "stack: #{@stack.to_hash}", :debug
43
44
  return unless @stack.supported?
44
- log "stack: dispatcher = #{@stack.dispatcher}, framework = #{@stack.framework}, rackup = #{@stack.rackup}"
45
45
 
46
46
  @loop_thread = Thread.new { start_loop }
47
47
  @loop_thread[:name] = 'Loop Thread'
@@ -1,3 +1,3 @@
1
1
  module Dumper
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dumper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
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-08-31 00:00:00.000000000 Z
12
+ date: 2012-09-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
@@ -215,19 +215,24 @@ required_ruby_version: !ruby/object:Gem::Requirement
215
215
  - - ! '>='
216
216
  - !ruby/object:Gem::Version
217
217
  version: '0'
218
+ segments:
219
+ - 0
220
+ hash: 229918553143605081
218
221
  required_rubygems_version: !ruby/object:Gem::Requirement
219
222
  none: false
220
223
  requirements:
221
224
  - - ! '>='
222
225
  - !ruby/object:Gem::Version
223
226
  version: '0'
227
+ segments:
228
+ - 0
229
+ hash: 229918553143605081
224
230
  requirements: []
225
231
  rubyforge_project:
226
- rubygems_version: 1.8.19
232
+ rubygems_version: 1.8.24
227
233
  signing_key:
228
234
  specification_version: 3
229
235
  summary: The Dumper Agent for Rails (coming soon!)
230
236
  test_files:
231
237
  - spec/dumper_spec.rb
232
238
  - spec/spec_helper.rb
233
- has_rdoc: