dispatch-rider 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a40781fbd1133ef7eba5b8a9841d0963461e4403
4
- data.tar.gz: 9db77db1c0e2b8b3448794d49b16d52bb094d02b
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YmRhMWRiODkzNDMzMDU5NzBjYjNlYzFjZGE3Yzk5ZGFlNDIxMDViOA==
5
+ data.tar.gz: !binary |-
6
+ ODRkMGIyZWUzODdhMmYxNDg0MTgzZjQxYmQ3OGJlYWFkZTE1YTk0ZQ==
5
7
  SHA512:
6
- metadata.gz: 90346455f91180419c57ae88be7f1f017e3d41834b5dadc79c161d198984e68491ee585d54d14955ec48ed5e2094e2374cdf9269d3bbd903359d942027c60ec6
7
- data.tar.gz: b6ceed53c068e8733dec971b5832cd5e2d0d39a4ec4a9d09ffddce2d5938274640cf1b07cab9417f1ff27ff7d14343032b96d211621d075b77c4f0b6c8320f98
8
+ metadata.gz: !binary |-
9
+ ZTUzNjVhNDVkNjY0N2VjY2NmNjAxZDQ3NDk0NWZhNTY1M2ZjODA1ZjA0MGZi
10
+ YzVjNmFjZWM1MWQ0OGZjNzhiMDM3MzdmOWZjMDMzOGUyYjRlMzU1YTI5YmM5
11
+ YzZlMzRmNzY1MWZhYjE5NWM3MDdiNGMyNWUxZmVhYTZhZTkyZTk=
12
+ data.tar.gz: !binary |-
13
+ OGJjYjBkYWY5NzdlOTIxMTgyYzU4ZTI2ODc3ODgzNzM2MmE0YjMzNGJmMDI2
14
+ OWM5OWQ1MTBiNmNjNzg2M2I4ZTVlODY5NTE1MGM5NzJjYmExYzMzYThmODc2
15
+ ODBlZGI4YWNlYTUwMTU3MzI5MDY1MTg3ZjQzYmE3MWI4YWQ5MmM=
@@ -4,6 +4,7 @@ module DispatchRider
4
4
  end
5
5
  end
6
6
 
7
+ require 'ostruct'
7
8
  require "dispatch-rider/queue_services/base"
8
9
  require "dispatch-rider/queue_services/simple"
9
10
  require "dispatch-rider/queue_services/aws_sqs"
@@ -26,7 +26,7 @@ module DispatchRider
26
26
  def pop(&block)
27
27
  begin
28
28
  queue.receive_message do |raw_item|
29
- obj = OpenStruct.new(:item => raw_item, :message => construct_message_from(raw_item))
29
+ obj = ::OpenStruct.new(:item => raw_item, :message => construct_message_from(raw_item))
30
30
 
31
31
  visibility_timout_shield(obj.message) do
32
32
  raise AbortExecution, "false received from handler" unless block.call(obj.message)
@@ -36,7 +36,7 @@ module DispatchRider
36
36
 
37
37
  def head
38
38
  raw_item = raw_head
39
- raw_item && OpenStruct.new(:item => raw_item, :message => construct_message_from(raw_item))
39
+ raw_item && ::OpenStruct.new(:item => raw_item, :message => construct_message_from(raw_item))
40
40
  end
41
41
 
42
42
  def raw_head
@@ -1,8 +1,10 @@
1
+ require 'ostruct'
2
+
1
3
  module DispatchRider
2
4
  module Registrars
3
5
  class PublishingDestination < Base
4
6
  def value(name, options = {})
5
- OpenStruct.new(:service => options[:service], :channel => options[:channel])
7
+ ::OpenStruct.new(:service => options[:service], :channel => options[:channel])
6
8
  end
7
9
  end
8
10
  end
@@ -1,4 +1,4 @@
1
1
  # This file specifies the current version of the gem.
2
2
  module DispatchRider
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dispatch-rider
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suman Mukherjee
@@ -11,62 +11,62 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-01-14 00:00:00.000000000 Z
14
+ date: 2014-01-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  requirements:
20
- - - '>='
20
+ - - ! '>='
21
21
  - !ruby/object:Gem::Version
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - '>='
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: activemodel
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - '>='
34
+ - - ! '>='
35
35
  - !ruby/object:Gem::Version
36
36
  version: '0'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - '>='
41
+ - - ! '>='
42
42
  - !ruby/object:Gem::Version
43
43
  version: '0'
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: daemons
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - '>='
48
+ - - ! '>='
49
49
  - !ruby/object:Gem::Version
50
50
  version: '0'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - '>='
55
+ - - ! '>='
56
56
  - !ruby/object:Gem::Version
57
57
  version: '0'
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: bundler
60
60
  requirement: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - '>='
62
+ - - ! '>='
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  type: :development
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - '>='
69
+ - - ! '>='
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
72
  - !ruby/object:Gem::Dependency
@@ -87,56 +87,56 @@ dependencies:
87
87
  name: rake
88
88
  requirement: !ruby/object:Gem::Requirement
89
89
  requirements:
90
- - - '>='
90
+ - - ! '>='
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  type: :development
94
94
  prerelease: false
95
95
  version_requirements: !ruby/object:Gem::Requirement
96
96
  requirements:
97
- - - '>='
97
+ - - ! '>='
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  - !ruby/object:Gem::Dependency
101
101
  name: travis-lint
102
102
  requirement: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - '>='
104
+ - - ! '>='
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  type: :development
108
108
  prerelease: false
109
109
  version_requirements: !ruby/object:Gem::Requirement
110
110
  requirements:
111
- - - '>='
111
+ - - ! '>='
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: rspec
116
116
  requirement: !ruby/object:Gem::Requirement
117
117
  requirements:
118
- - - '>='
118
+ - - ! '>='
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  type: :development
122
122
  prerelease: false
123
123
  version_requirements: !ruby/object:Gem::Requirement
124
124
  requirements:
125
- - - '>='
125
+ - - ! '>='
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  - !ruby/object:Gem::Dependency
129
129
  name: debugger
130
130
  requirement: !ruby/object:Gem::Requirement
131
131
  requirements:
132
- - - '>='
132
+ - - ! '>='
133
133
  - !ruby/object:Gem::Version
134
134
  version: '0'
135
135
  type: :development
136
136
  prerelease: false
137
137
  version_requirements: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - '>='
139
+ - - ! '>='
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  description: Messaging system that is customizable based on which queueing system
@@ -213,12 +213,12 @@ require_paths:
213
213
  - lib
214
214
  required_ruby_version: !ruby/object:Gem::Requirement
215
215
  requirements:
216
- - - '>='
216
+ - - ! '>='
217
217
  - !ruby/object:Gem::Version
218
218
  version: '0'
219
219
  required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  requirements:
221
- - - '>='
221
+ - - ! '>='
222
222
  - !ruby/object:Gem::Version
223
223
  version: '0'
224
224
  requirements: []