active_spy 2.0.0.pre1 → 2.0.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e86bd2b0638a1f6f81bbca9aa8e9a40f335406fa
4
- data.tar.gz: 49b7496fa72f2107f8d8e8bb0c53d49b6399deeb
3
+ metadata.gz: e5ea4576b9c157d2c08c00a0235918302fa39b59
4
+ data.tar.gz: 6c2dbae61778fcefa542571baa2b5438edfe8a02
5
5
  SHA512:
6
- metadata.gz: 8a2589841b831c08a586c9b0e5935d632287da21774fd421a7d6138dc160aa1ae020ac10b9a6889bf02ad124a560c1e11b1c06797f489ed32db673404033e589
7
- data.tar.gz: cb209fe807bf696e3af09d7126e439361f735e0af263ec49d74d53bf0ff2f249375ad4d625e4a01bb06345d401a2a42366fe98d2a409813da87e2a344fd3edd3
6
+ metadata.gz: 505138265fcbd3a23b87917985ab7c7ed532b3e9a25a3746d0a0721f88b58b0bc06ff961fc2abd485bf2e61793509b35a30902eb099b82985b43ca7e7acd923a
7
+ data.tar.gz: 664584ec54fd4621659ed69b3e876412463f2340ac56c35dcbd450f0e544502162b64793e8d9b0ef61317d1bee1448638e74d88210394a83e54fb104b5542983
data/active_spy.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: active_spy 2.0.0.pre1 ruby lib
5
+ # stub: active_spy 2.0.0.pre2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "active_spy"
9
- s.version = "2.0.0.pre1"
9
+ s.version = "2.0.0.pre2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
@@ -10,6 +10,8 @@ module ActiveSpy
10
10
 
11
11
  shoryuken_options queue: sqs_queue_name, auto_delete: true,
12
12
  body_parser: :json
13
+
14
+ load_shoryuken_queue!
13
15
  end
14
16
 
15
17
  def perform(sqs_message, body)
@@ -37,6 +39,10 @@ module ActiveSpy
37
39
  module ClassMethods
38
40
  private
39
41
 
42
+ def load_shoryuken_queue!
43
+ Shoryuken.queues << sqs_queue_name
44
+ end
45
+
40
46
  def sqs_queue_name
41
47
  @sqs_queue_name ||= "#{dasherized_name}-#{ActiveSpy.options[:app_env]}"
42
48
  end
@@ -3,7 +3,7 @@ module ActiveSpy
3
3
  MAJOR = 2
4
4
  MINOR = 0
5
5
  PATCH = 0
6
- BUILD = 'pre1'
6
+ BUILD = 'pre2'
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_spy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre1
4
+ version: 2.0.0.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douglas Camata