em_aws 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- em_aws (0.1.2)
4
+ em_aws (0.1.3)
5
5
  aws-sdk
6
6
  em-http-request
7
7
  em-synchrony
@@ -10,7 +10,7 @@ GEM
10
10
  remote: http://rubygems.org/
11
11
  specs:
12
12
  addressable (2.2.8)
13
- aws-sdk (1.5.1)
13
+ aws-sdk (1.5.2)
14
14
  httparty (~> 0.7)
15
15
  json (~> 1.4)
16
16
  nokogiri (>= 1.4.4)
@@ -0,0 +1,8 @@
1
+ require 'em-synchrony/thread'
2
+ module AWS
3
+ module Core
4
+ class SessionSigner
5
+ @create_mutex = EM::Synchrony::Thread::Mutex.new
6
+ end
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module EmAws
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -0,0 +1,10 @@
1
+ require 'spec_helper'
2
+
3
+ describe AWS::Core::SessionSigner do
4
+ context '@create_mutex' do
5
+ it "should be a fiber safe mutex" do
6
+ AWS::Core::SessionSigner.instance_variable_get(:@create_mutex).should be_kind_of(EM::Synchrony::Thread::Mutex)
7
+ end
8
+ end
9
+ end
10
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em_aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-15 00:00:00.000000000Z
12
+ date: 2012-05-16 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk
16
- requirement: &70217100028200 !ruby/object:Gem::Requirement
16
+ requirement: &70246363093540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70217100028200
24
+ version_requirements: *70246363093540
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: em-synchrony
27
- requirement: &70217099998900 !ruby/object:Gem::Requirement
27
+ requirement: &70246363093020 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70217099998900
35
+ version_requirements: *70246363093020
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: em-http-request
38
- requirement: &70217099922420 !ruby/object:Gem::Requirement
38
+ requirement: &70246363092500 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70217099922420
46
+ version_requirements: *70246363092500
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70217099886960 !ruby/object:Gem::Requirement
49
+ requirement: &70246363091940 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70217099886960
57
+ version_requirements: *70246363091940
58
58
  description: Adds EM-Synchrony support to AWS-SDK gem
59
59
  email:
60
60
  - joshmckin@gmail.com
@@ -71,9 +71,11 @@ files:
71
71
  - Rakefile
72
72
  - em_aws.gemspec
73
73
  - lib/aws/core/http/em_http_handler.rb
74
+ - lib/aws/core/session_signer.rb
74
75
  - lib/em_aws.rb
75
76
  - lib/em_aws/version.rb
76
77
  - spec/em_http_handler_spec.rb
78
+ - spec/session_signer_spec.rb
77
79
  - spec/spec_helper.rb
78
80
  homepage: ''
79
81
  licenses: []
@@ -101,4 +103,5 @@ specification_version: 3
101
103
  summary: Adds EM-Synchrony support to AWS-SDK gem
102
104
  test_files:
103
105
  - spec/em_http_handler_spec.rb
106
+ - spec/session_signer_spec.rb
104
107
  - spec/spec_helper.rb