stalk_climber 0.0.5 → 0.0.6

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.
@@ -4,7 +4,7 @@ module StalkClimber
4
4
  class Job
5
5
 
6
6
  STATS_ATTRIBUTES = %w[age buries delay kicks pri releases reserves state time-left timeouts ttr tube]
7
- HASH_ATTRIBUTES = (STATS_ATTRIBUTES + %w[body id]).sort!.map!(&:to_sym)
7
+ HASH_ATTRIBUTES = (STATS_ATTRIBUTES + %w[body connection id]).sort!.map!(&:to_sym)
8
8
  attr_reader :id
9
9
 
10
10
  STATS_ATTRIBUTES.each do |method_name|
@@ -1,3 +1,3 @@
1
1
  module StalkClimber
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
@@ -168,6 +168,7 @@ class Job < Test::Unit::TestCase
168
168
  'age' => 3,
169
169
  'body' => job_body, # Will be ignored during job init
170
170
  'buries' => 0,
171
+ :connection => @connection, # Will be ignored during job init
171
172
  'delay' => 0,
172
173
  'id' => 4412,
173
174
  'kicks' => 0,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stalk_climber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: