sqs_async 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,13 @@
1
+ require 'sqs_async/sqs_utilities'
2
+
3
+ class Hash
4
+ include SQS::Utilities
5
+
6
+ def amazonize_keys!
7
+ keys = self.keys
8
+ keys.each do |k|
9
+ self[camelize(k.to_s)] = self[k]
10
+ self.delete(k)
11
+ end
12
+ end
13
+ end
data/lib/sqs_async.rb ADDED
@@ -0,0 +1,13 @@
1
+ # Core extensions and global mixins
2
+ require 'sqs_async/core_ext/hash'
3
+ require 'sqs_async/sqs_utilities'
4
+
5
+ # App classes and modules
6
+ require 'sqs_async/sqs_queue'
7
+ require 'sqs_async/sqs_message'
8
+ require 'sqs_async/sqs_attributes'
9
+ require 'sqs_async/sqs_permission'
10
+ require 'sqs_async/sqs_send_message_response'
11
+
12
+ # main app module
13
+ require 'sqs_async/sqs'
data/spec/spec_helper.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  ENV["BUBBLE_ENV"] = "test"
2
2
 
3
3
  $:.unshift(File.dirname(__FILE__))
4
- %w{ ../ lib config vendor/sqs_async/lib lib/core_ext }.each do |d|
4
+ %w{ ../ lib lib/sqs_async lib/sqs_async/core_ext }.each do |d|
5
5
  $:.unshift(File.dirname(__FILE__)+"/#{d}/")
6
6
  end
7
7
 
@@ -1,5 +1,4 @@
1
1
  require 'spec_helper'
2
- require 'sqs_message'
3
2
 
4
3
  describe "SQSQueue" do
5
4
  context ".parse" do
data/spec/sqs_spec.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require 'spec_helper'
2
- require 'sqs'
3
2
 
4
3
  class MySQSClient
5
4
  include SQS
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sqs_async
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.4
5
+ version: 0.0.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - EdgeCase <contact@edgecase.com>
@@ -134,13 +134,15 @@ extensions: []
134
134
  extra_rdoc_files: []
135
135
 
136
136
  files:
137
- - lib/sqs.rb
138
- - lib/sqs_attributes.rb
139
- - lib/sqs_message.rb
140
- - lib/sqs_permission.rb
141
- - lib/sqs_queue.rb
142
- - lib/sqs_send_message_response.rb
143
- - lib/sqs_utilities.rb
137
+ - lib/sqs_async/core_ext/hash.rb
138
+ - lib/sqs_async/sqs.rb
139
+ - lib/sqs_async/sqs_attributes.rb
140
+ - lib/sqs_async/sqs_message.rb
141
+ - lib/sqs_async/sqs_permission.rb
142
+ - lib/sqs_async/sqs_queue.rb
143
+ - lib/sqs_async/sqs_send_message_response.rb
144
+ - lib/sqs_async/sqs_utilities.rb
145
+ - lib/sqs_async.rb
144
146
  - spec/fixtures/add_permission.xml
145
147
  - spec/fixtures/change_message_visibility.xml
146
148
  - spec/fixtures/create_queue.xml
@@ -168,6 +170,8 @@ rdoc_options: []
168
170
 
169
171
  require_paths:
170
172
  - lib
173
+ - lib/sqs_async
174
+ - lib/sqs_async/core_ext
171
175
  required_ruby_version: !ruby/object:Gem::Requirement
172
176
  none: false
173
177
  requirements:
File without changes
File without changes
File without changes