queuel 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Gemfile.lock +10 -10
- data/README.md +7 -11
- data/lib/queuel/aws_constant_finder.rb +67 -0
- data/lib/queuel/sns/engine.rb +2 -18
- data/lib/queuel/sqs/engine.rb +2 -19
- data/lib/queuel/version.rb +1 -1
- data/queuel.gemspec +1 -1
- data/spec/lib/aws_constant_finder_spec.rb +13 -0
- data/spec/lib/queuel/sns/engine_spec.rb +0 -8
- data/spec/lib/queuel/sqs/engine_spec.rb +0 -8
- data/spec/lib/queuel/sqs/message_spec.rb +1 -1
- metadata +9 -52
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MGYwZTIxZDExNzdiNjJiMjcxYjhjNjkyMTZlN2E1YzA5Y2NiMWQwMA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZjQwYjVhMzVmZDkzMmNlMjA2ZWNmZWVhNWJkYzI2ZTAxMzYzMGQ2MA==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
OWY0ZDkwZDk0YzlkYTQxMTQ4OTBjMGJjYjc3ZjNjNTljODZkMzgxMThhMzNl
|
10
|
+
ZjUwYjUzZjE2ZDUzMjk0YWYyODZlMzk0ZThlYmZkYjAwMjQzMmYwMzA1MjA1
|
11
|
+
YmJjM2IxMjY3MDQ2MTY4ODg5MmI2NTAzOGI5Y2ExMzRiYTAwNDQ=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NDE3YjQ0ZTdhOTUyM2U0MGFmYjI4M2U4OGM3ZGY1NWYyYjE4N2JiYjljM2Fk
|
14
|
+
N2FmODA0YTFlOWVlMWRjMjgyY2M4NDhlOWFjZmE4MjBhMzU1NzdjMWJmNzAz
|
15
|
+
ZWU2NWM4NGNjODdjMzJlZDIzYTBiYmUzMmU4ZTVlYWIyNWU4YzQ=
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
queuel (0.4.
|
4
|
+
queuel (0.4.5)
|
5
5
|
mono_logger
|
6
6
|
multi_json
|
7
7
|
thread
|
@@ -9,10 +9,9 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
aws-sdk (1.
|
12
|
+
aws-sdk-v1 (1.64.0)
|
13
13
|
json (~> 1.4)
|
14
14
|
nokogiri (>= 1.4.4)
|
15
|
-
uuidtools (~> 2.1)
|
16
15
|
cane (2.5.2)
|
17
16
|
parallel
|
18
17
|
coderay (1.0.9)
|
@@ -58,13 +57,12 @@ GEM
|
|
58
57
|
lumberjack (1.0.3)
|
59
58
|
method_source (0.8.1)
|
60
59
|
mime-types (1.23)
|
61
|
-
mini_portile (0.
|
60
|
+
mini_portile (0.6.2)
|
62
61
|
mono_logger (1.1.0)
|
63
62
|
multi_json (1.7.3)
|
64
|
-
nokogiri (1.6.
|
65
|
-
mini_portile (~> 0.
|
66
|
-
nokogiri (1.6.
|
67
|
-
mini_portile (~> 0.5.0)
|
63
|
+
nokogiri (1.6.6.2)
|
64
|
+
mini_portile (~> 0.6.0)
|
65
|
+
nokogiri (1.6.6.2-java)
|
68
66
|
parallel (0.6.5)
|
69
67
|
pry (0.9.12.2)
|
70
68
|
coderay (~> 1.0.5)
|
@@ -106,14 +104,13 @@ GEM
|
|
106
104
|
thread (0.1.4)
|
107
105
|
typhoeus (0.6.3)
|
108
106
|
ethon (~> 0.5.11)
|
109
|
-
uuidtools (2.1.4)
|
110
107
|
|
111
108
|
PLATFORMS
|
112
109
|
java
|
113
110
|
ruby
|
114
111
|
|
115
112
|
DEPENDENCIES
|
116
|
-
aws-sdk
|
113
|
+
aws-sdk-v1
|
117
114
|
bundler (~> 1.3)
|
118
115
|
cane
|
119
116
|
coveralls
|
@@ -130,3 +127,6 @@ DEPENDENCIES
|
|
130
127
|
rspec
|
131
128
|
simplecov
|
132
129
|
typhoeus
|
130
|
+
|
131
|
+
BUNDLED WITH
|
132
|
+
1.10.3
|
data/README.md
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
Queuel
|
2
|
-
======
|
1
|
+
# Queuel
|
3
2
|
|
4
3
|
[![Gem Version](https://badge.fury.io/rb/queuel.png)](http://badge.fury.io/rb/queuel)
|
5
4
|
[![Build Status](https://travis-ci.org/sportngin/queuel.png?branch=master)](https://travis-ci.org/sportngin/queuel)
|
@@ -20,16 +19,15 @@ Each of these should reliably implement:
|
|
20
19
|
|
21
20
|
Along with some further conveniences.
|
22
21
|
|
23
|
-
|
24
|
-
|
25
|
-
Installation
|
26
|
-
------------
|
22
|
+
# Installation
|
27
23
|
|
28
24
|
Add this line to your application's Gemfile as well as the proper Gem for
|
29
25
|
your queuing:
|
30
26
|
|
31
27
|
```ruby
|
32
|
-
gem 'iron_mq'
|
28
|
+
gem 'iron_mq' # if using IronMQ
|
29
|
+
gem 'aws-sdk' # if using Amazon SQS
|
30
|
+
gem 'aws-sdk-v1' # if using Amazon SQS but you are already using AWS and need to continue using v2
|
33
31
|
# IronMQ recommends `gem "typhoeus"` as well for some speed benefits
|
34
32
|
gem 'queuel'
|
35
33
|
```
|
@@ -74,8 +72,7 @@ end
|
|
74
72
|
|
75
73
|
|
76
74
|
|
77
|
-
Usage
|
78
|
-
-----
|
75
|
+
# Usage
|
79
76
|
|
80
77
|
### General Queue API
|
81
78
|
|
@@ -159,8 +156,7 @@ Queuel.receive decode: false
|
|
159
156
|
|
160
157
|
|
161
158
|
|
162
|
-
Contributing
|
163
|
-
------------
|
159
|
+
# Contributing
|
164
160
|
|
165
161
|
1. Fork it
|
166
162
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
@@ -0,0 +1,67 @@
|
|
1
|
+
module Queuel
|
2
|
+
class AWSConstantFinder
|
3
|
+
AWSSDKMissingError = Class.new(StandardError)
|
4
|
+
|
5
|
+
extend Forwardable
|
6
|
+
def_delegators :Queuel, :logger
|
7
|
+
|
8
|
+
def self.find(*args)
|
9
|
+
new(*args).find
|
10
|
+
end
|
11
|
+
|
12
|
+
attr_reader :klass_name
|
13
|
+
|
14
|
+
def initialize(klass_name)
|
15
|
+
@klass_name = klass_name.to_s.upcase
|
16
|
+
end
|
17
|
+
|
18
|
+
def find
|
19
|
+
return fetch_const if fetch_const
|
20
|
+
|
21
|
+
logger.info "Loading AWS SDK..."
|
22
|
+
fetch_sdk "aws-sdk" do
|
23
|
+
return fetch_const if supported_version?
|
24
|
+
end
|
25
|
+
|
26
|
+
fetch_sdk 'aws-sdk-v1' do
|
27
|
+
return fetch_const
|
28
|
+
end
|
29
|
+
|
30
|
+
fail!
|
31
|
+
end
|
32
|
+
|
33
|
+
def fail!
|
34
|
+
message = "Couldn't find any compatible aws-sdk gem, try installing aws-sdk-v1"
|
35
|
+
logger.error message
|
36
|
+
raise(AWSSDKMissingError, message)
|
37
|
+
end
|
38
|
+
private :fail!
|
39
|
+
|
40
|
+
def constants
|
41
|
+
["AWS", klass_name]
|
42
|
+
end
|
43
|
+
private :constants
|
44
|
+
|
45
|
+
def fetch_const
|
46
|
+
constants.inject(Object) { |singleton, string|
|
47
|
+
singleton.public_send(:const_get, string)
|
48
|
+
}
|
49
|
+
rescue NameError, ArgumentError
|
50
|
+
nil
|
51
|
+
end
|
52
|
+
private :fetch_const
|
53
|
+
|
54
|
+
def fetch_sdk(gem_name)
|
55
|
+
require gem_name
|
56
|
+
yield
|
57
|
+
rescue LoadError
|
58
|
+
nil
|
59
|
+
end
|
60
|
+
private :fetch_sdk
|
61
|
+
|
62
|
+
def supported_version?
|
63
|
+
::AWS::VERSION.start_with?("1")
|
64
|
+
end
|
65
|
+
private :supported_version?
|
66
|
+
end
|
67
|
+
end
|
data/lib/queuel/sns/engine.rb
CHANGED
@@ -1,27 +1,11 @@
|
|
1
|
-
require "
|
1
|
+
require "queuel/aws_constant_finder"
|
2
2
|
module Queuel
|
3
3
|
module SNS
|
4
4
|
class Engine < Base::Engine
|
5
|
-
extend Forwardable
|
6
|
-
def_delegators :Queuel, :logger
|
7
|
-
|
8
|
-
AWSSDKMissingError = Class.new(StandardError)
|
9
|
-
|
10
5
|
private
|
11
6
|
|
12
7
|
def client_klass
|
13
|
-
|
14
|
-
::AWS::SNS
|
15
|
-
else
|
16
|
-
begin
|
17
|
-
logger.info "Loading AWS SDK..."
|
18
|
-
require 'aws-sdk'
|
19
|
-
::AWS::SNS
|
20
|
-
rescue LoadError
|
21
|
-
logger.error "Couldn't find aws_sdk gem"
|
22
|
-
raise(AWSSDKMissingError)
|
23
|
-
end
|
24
|
-
end
|
8
|
+
AWSConstantFinder.find(:sns)
|
25
9
|
end
|
26
10
|
end
|
27
11
|
end
|
data/lib/queuel/sqs/engine.rb
CHANGED
@@ -1,32 +1,15 @@
|
|
1
|
-
require "
|
1
|
+
require "queuel/aws_constant_finder"
|
2
2
|
module Queuel
|
3
3
|
module SQS
|
4
4
|
class Engine < Base::Engine
|
5
|
-
extend Forwardable
|
6
|
-
def_delegators :Queuel, :logger
|
7
|
-
|
8
|
-
AWSSDKMissingError = Class.new(StandardError)
|
9
|
-
|
10
5
|
def queue(which_queue)
|
11
6
|
memoized_queues[which_queue.to_s] ||= queue_klass.new(client, which_queue, credentials)
|
12
7
|
end
|
13
8
|
|
14
9
|
private
|
15
10
|
|
16
|
-
|
17
11
|
def client_klass
|
18
|
-
|
19
|
-
::AWS::SQS
|
20
|
-
else
|
21
|
-
begin
|
22
|
-
logger.info "Loading AWS SDK..."
|
23
|
-
require 'aws-sdk'
|
24
|
-
::AWS::SQS
|
25
|
-
rescue LoadError
|
26
|
-
logger.error "Couldn't find aws_sdk gem"
|
27
|
-
raise(AWSSDKMissingError)
|
28
|
-
end
|
29
|
-
end
|
12
|
+
AWSConstantFinder.find(:sqs)
|
30
13
|
end
|
31
14
|
end
|
32
15
|
end
|
data/lib/queuel/version.rb
CHANGED
data/queuel.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_development_dependency "simplecov"
|
25
25
|
spec.add_development_dependency "iron_mq"
|
26
26
|
spec.add_development_dependency "typhoeus"
|
27
|
-
spec.add_development_dependency "aws-sdk"
|
27
|
+
spec.add_development_dependency "aws-sdk-v1"
|
28
28
|
spec.add_development_dependency "guard-bundler"
|
29
29
|
spec.add_development_dependency "guard-rspec"
|
30
30
|
spec.add_development_dependency "guard-cane"
|
@@ -6,14 +6,6 @@ module Queuel
|
|
6
6
|
|
7
7
|
describe "getting SNS client" do
|
8
8
|
its(:client_klass) { should == ::AWS::SNS }
|
9
|
-
|
10
|
-
describe "undefined" do
|
11
|
-
before do
|
12
|
-
subject.stub defined?: false
|
13
|
-
end
|
14
|
-
|
15
|
-
its(:client_klass) { should == ::AWS::SNS }
|
16
|
-
end
|
17
9
|
end
|
18
10
|
end
|
19
11
|
end
|
@@ -6,14 +6,6 @@ module Queuel
|
|
6
6
|
|
7
7
|
describe "getting SQS client" do
|
8
8
|
its(:client_klass) { should == ::AWS::SQS }
|
9
|
-
|
10
|
-
describe "undefined" do
|
11
|
-
before do
|
12
|
-
subject.stub defined?: false
|
13
|
-
end
|
14
|
-
|
15
|
-
its(:client_klass) { should == ::AWS::SQS }
|
16
|
-
end
|
17
9
|
end
|
18
10
|
end
|
19
11
|
end
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: queuel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jon Phenow
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-06-10 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: bundler
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rake
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: simplecov
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ! '>='
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ! '>='
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: iron_mq
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ! '>='
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ! '>='
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -94,7 +83,6 @@ dependencies:
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: typhoeus
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - ! '>='
|
100
88
|
- !ruby/object:Gem::Version
|
@@ -102,15 +90,13 @@ dependencies:
|
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - ! '>='
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: '0'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
|
-
name: aws-sdk
|
98
|
+
name: aws-sdk-v1
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
101
|
- - ! '>='
|
116
102
|
- !ruby/object:Gem::Version
|
@@ -118,7 +104,6 @@ dependencies:
|
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
108
|
- - ! '>='
|
124
109
|
- !ruby/object:Gem::Version
|
@@ -126,7 +111,6 @@ dependencies:
|
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: guard-bundler
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
115
|
- - ! '>='
|
132
116
|
- !ruby/object:Gem::Version
|
@@ -134,7 +118,6 @@ dependencies:
|
|
134
118
|
type: :development
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
122
|
- - ! '>='
|
140
123
|
- !ruby/object:Gem::Version
|
@@ -142,7 +125,6 @@ dependencies:
|
|
142
125
|
- !ruby/object:Gem::Dependency
|
143
126
|
name: guard-rspec
|
144
127
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
128
|
requirements:
|
147
129
|
- - ! '>='
|
148
130
|
- !ruby/object:Gem::Version
|
@@ -150,7 +132,6 @@ dependencies:
|
|
150
132
|
type: :development
|
151
133
|
prerelease: false
|
152
134
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
135
|
requirements:
|
155
136
|
- - ! '>='
|
156
137
|
- !ruby/object:Gem::Version
|
@@ -158,7 +139,6 @@ dependencies:
|
|
158
139
|
- !ruby/object:Gem::Dependency
|
159
140
|
name: guard-cane
|
160
141
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
142
|
requirements:
|
163
143
|
- - ! '>='
|
164
144
|
- !ruby/object:Gem::Version
|
@@ -166,7 +146,6 @@ dependencies:
|
|
166
146
|
type: :development
|
167
147
|
prerelease: false
|
168
148
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
149
|
requirements:
|
171
150
|
- - ! '>='
|
172
151
|
- !ruby/object:Gem::Version
|
@@ -174,7 +153,6 @@ dependencies:
|
|
174
153
|
- !ruby/object:Gem::Dependency
|
175
154
|
name: rb-inotify
|
176
155
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
156
|
requirements:
|
179
157
|
- - ! '>='
|
180
158
|
- !ruby/object:Gem::Version
|
@@ -182,7 +160,6 @@ dependencies:
|
|
182
160
|
type: :development
|
183
161
|
prerelease: false
|
184
162
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
163
|
requirements:
|
187
164
|
- - ! '>='
|
188
165
|
- !ruby/object:Gem::Version
|
@@ -190,7 +167,6 @@ dependencies:
|
|
190
167
|
- !ruby/object:Gem::Dependency
|
191
168
|
name: rb-fsevent
|
192
169
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
170
|
requirements:
|
195
171
|
- - ! '>='
|
196
172
|
- !ruby/object:Gem::Version
|
@@ -198,7 +174,6 @@ dependencies:
|
|
198
174
|
type: :development
|
199
175
|
prerelease: false
|
200
176
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
177
|
requirements:
|
203
178
|
- - ! '>='
|
204
179
|
- !ruby/object:Gem::Version
|
@@ -206,7 +181,6 @@ dependencies:
|
|
206
181
|
- !ruby/object:Gem::Dependency
|
207
182
|
name: rb-fchange
|
208
183
|
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
184
|
requirements:
|
211
185
|
- - ! '>='
|
212
186
|
- !ruby/object:Gem::Version
|
@@ -214,7 +188,6 @@ dependencies:
|
|
214
188
|
type: :development
|
215
189
|
prerelease: false
|
216
190
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
191
|
requirements:
|
219
192
|
- - ! '>='
|
220
193
|
- !ruby/object:Gem::Version
|
@@ -222,7 +195,6 @@ dependencies:
|
|
222
195
|
- !ruby/object:Gem::Dependency
|
223
196
|
name: cane
|
224
197
|
requirement: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
226
198
|
requirements:
|
227
199
|
- - ! '>='
|
228
200
|
- !ruby/object:Gem::Version
|
@@ -230,7 +202,6 @@ dependencies:
|
|
230
202
|
type: :development
|
231
203
|
prerelease: false
|
232
204
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
none: false
|
234
205
|
requirements:
|
235
206
|
- - ! '>='
|
236
207
|
- !ruby/object:Gem::Version
|
@@ -238,7 +209,6 @@ dependencies:
|
|
238
209
|
- !ruby/object:Gem::Dependency
|
239
210
|
name: json
|
240
211
|
requirement: !ruby/object:Gem::Requirement
|
241
|
-
none: false
|
242
212
|
requirements:
|
243
213
|
- - ~>
|
244
214
|
- !ruby/object:Gem::Version
|
@@ -246,7 +216,6 @@ dependencies:
|
|
246
216
|
type: :development
|
247
217
|
prerelease: false
|
248
218
|
version_requirements: !ruby/object:Gem::Requirement
|
249
|
-
none: false
|
250
219
|
requirements:
|
251
220
|
- - ~>
|
252
221
|
- !ruby/object:Gem::Version
|
@@ -254,7 +223,6 @@ dependencies:
|
|
254
223
|
- !ruby/object:Gem::Dependency
|
255
224
|
name: coveralls
|
256
225
|
requirement: !ruby/object:Gem::Requirement
|
257
|
-
none: false
|
258
226
|
requirements:
|
259
227
|
- - ! '>='
|
260
228
|
- !ruby/object:Gem::Version
|
@@ -262,7 +230,6 @@ dependencies:
|
|
262
230
|
type: :development
|
263
231
|
prerelease: false
|
264
232
|
version_requirements: !ruby/object:Gem::Requirement
|
265
|
-
none: false
|
266
233
|
requirements:
|
267
234
|
- - ! '>='
|
268
235
|
- !ruby/object:Gem::Version
|
@@ -270,7 +237,6 @@ dependencies:
|
|
270
237
|
- !ruby/object:Gem::Dependency
|
271
238
|
name: thread
|
272
239
|
requirement: !ruby/object:Gem::Requirement
|
273
|
-
none: false
|
274
240
|
requirements:
|
275
241
|
- - ! '>='
|
276
242
|
- !ruby/object:Gem::Version
|
@@ -278,7 +244,6 @@ dependencies:
|
|
278
244
|
type: :runtime
|
279
245
|
prerelease: false
|
280
246
|
version_requirements: !ruby/object:Gem::Requirement
|
281
|
-
none: false
|
282
247
|
requirements:
|
283
248
|
- - ! '>='
|
284
249
|
- !ruby/object:Gem::Version
|
@@ -286,7 +251,6 @@ dependencies:
|
|
286
251
|
- !ruby/object:Gem::Dependency
|
287
252
|
name: mono_logger
|
288
253
|
requirement: !ruby/object:Gem::Requirement
|
289
|
-
none: false
|
290
254
|
requirements:
|
291
255
|
- - ! '>='
|
292
256
|
- !ruby/object:Gem::Version
|
@@ -294,7 +258,6 @@ dependencies:
|
|
294
258
|
type: :runtime
|
295
259
|
prerelease: false
|
296
260
|
version_requirements: !ruby/object:Gem::Requirement
|
297
|
-
none: false
|
298
261
|
requirements:
|
299
262
|
- - ! '>='
|
300
263
|
- !ruby/object:Gem::Version
|
@@ -302,7 +265,6 @@ dependencies:
|
|
302
265
|
- !ruby/object:Gem::Dependency
|
303
266
|
name: multi_json
|
304
267
|
requirement: !ruby/object:Gem::Requirement
|
305
|
-
none: false
|
306
268
|
requirements:
|
307
269
|
- - ! '>='
|
308
270
|
- !ruby/object:Gem::Version
|
@@ -310,7 +272,6 @@ dependencies:
|
|
310
272
|
type: :runtime
|
311
273
|
prerelease: false
|
312
274
|
version_requirements: !ruby/object:Gem::Requirement
|
313
|
-
none: false
|
314
275
|
requirements:
|
315
276
|
- - ! '>='
|
316
277
|
- !ruby/object:Gem::Version
|
@@ -338,6 +299,7 @@ files:
|
|
338
299
|
- Rakefile
|
339
300
|
- config/s3_example.yml
|
340
301
|
- lib/queuel.rb
|
302
|
+
- lib/queuel/aws_constant_finder.rb
|
341
303
|
- lib/queuel/base/engine.rb
|
342
304
|
- lib/queuel/base/message.rb
|
343
305
|
- lib/queuel/base/poller.rb
|
@@ -363,6 +325,7 @@ files:
|
|
363
325
|
- lib/queuel/sqs/queue.rb
|
364
326
|
- lib/queuel/version.rb
|
365
327
|
- queuel.gemspec
|
328
|
+
- spec/lib/aws_constant_finder_spec.rb
|
366
329
|
- spec/lib/queuel/base/queue_spec.rb
|
367
330
|
- spec/lib/queuel/client_spec.rb
|
368
331
|
- spec/lib/queuel/configurator_spec.rb
|
@@ -391,35 +354,29 @@ files:
|
|
391
354
|
homepage: ''
|
392
355
|
licenses:
|
393
356
|
- MIT
|
357
|
+
metadata: {}
|
394
358
|
post_install_message:
|
395
359
|
rdoc_options: []
|
396
360
|
require_paths:
|
397
361
|
- lib
|
398
362
|
required_ruby_version: !ruby/object:Gem::Requirement
|
399
|
-
none: false
|
400
363
|
requirements:
|
401
364
|
- - ! '>='
|
402
365
|
- !ruby/object:Gem::Version
|
403
366
|
version: '0'
|
404
|
-
segments:
|
405
|
-
- 0
|
406
|
-
hash: 3092356165768740159
|
407
367
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
408
|
-
none: false
|
409
368
|
requirements:
|
410
369
|
- - ! '>='
|
411
370
|
- !ruby/object:Gem::Version
|
412
371
|
version: '0'
|
413
|
-
segments:
|
414
|
-
- 0
|
415
|
-
hash: 3092356165768740159
|
416
372
|
requirements: []
|
417
373
|
rubyforge_project:
|
418
|
-
rubygems_version:
|
374
|
+
rubygems_version: 2.4.6
|
419
375
|
signing_key:
|
420
|
-
specification_version:
|
376
|
+
specification_version: 4
|
421
377
|
summary: Light Queue wrapper tool
|
422
378
|
test_files:
|
379
|
+
- spec/lib/aws_constant_finder_spec.rb
|
423
380
|
- spec/lib/queuel/base/queue_spec.rb
|
424
381
|
- spec/lib/queuel/client_spec.rb
|
425
382
|
- spec/lib/queuel/configurator_spec.rb
|