copy_tuner_client 0.1.1.beta17 → 0.1.1.beta18

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/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- copy_tuner_client (0.1.1.beta17)
4
+ copy_tuner_client (0.1.1.beta18)
5
5
  i18n (>= 0.5.0)
6
6
  json
7
7
 
@@ -70,7 +70,7 @@ GEM
70
70
  multi_json (~> 1.3)
71
71
  hike (1.2.1)
72
72
  i18n (0.6.0)
73
- json (1.8.2)
73
+ json (1.8.3)
74
74
  mail (2.3.0)
75
75
  i18n (>= 0.4.0)
76
76
  mime-types (~> 1.16)
@@ -86,6 +86,16 @@ module CopyTunerClient
86
86
  job_was_performed
87
87
  end
88
88
  end
89
+ elsif defined?(Delayed::Worker)
90
+ @logger.info("Registered Delayed::Job start hook")
91
+ poller = @poller
92
+ Delayed::Worker.class_eval do
93
+ alias_method :start_without_copy_tuner, :start
94
+ define_method :start do
95
+ poller.start
96
+ start_without_copy_tuner
97
+ end
98
+ end
89
99
  end
90
100
  end
91
101
  end
@@ -1,6 +1,6 @@
1
1
  module CopyTunerClient
2
2
  # Client version
3
- VERSION = '0.1.1.beta17'
3
+ VERSION = '0.1.1.beta18'
4
4
 
5
5
  # API version being used to communicate with the server
6
6
  API_VERSION = '2.0'.freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copy_tuner_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.beta17
4
+ version: 0.1.1.beta18
5
5
  prerelease: 6
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: 2015-02-18 00:00:00.000000000 Z
12
+ date: 2015-07-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -347,9 +347,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
347
347
  - - ! '>='
348
348
  - !ruby/object:Gem::Version
349
349
  version: '0'
350
- segments:
351
- - 0
352
- hash: -4147796897350930747
353
350
  required_rubygems_version: !ruby/object:Gem::Requirement
354
351
  none: false
355
352
  requirements: