aws-sdk-core 3.21.1 → 3.21.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/aws-sdk-core/event_emitter.rb +14 -12
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f73c389d65e7ecb25df2e0f22489538a28636ed0
|
4
|
+
data.tar.gz: 275bf6a5377d21e766c69e9cae3776f1f3526105
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7d7e1889b37bdfcaae07b1ed52192047cff3c93ccae7d8789194778c8d329fb622c48de6c0f7f12146fae8f1133ecb01d3fbc98adbb831dd4dbda7e0d0aa522
|
7
|
+
data.tar.gz: aa6a810a6a2bdf1dd78e55340493f893fc0f86bb365b4765b17ed4addfd1bf35f54e4ac4116327b141987490aa29f87a85a545967f8af63b78174e474c6fcc3d
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.21.
|
1
|
+
3.21.2
|
@@ -1,18 +1,20 @@
|
|
1
|
-
|
1
|
+
module Aws
|
2
|
+
class EventEmitter
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
|
4
|
+
def initialize
|
5
|
+
@listeners = {}
|
6
|
+
end
|
6
7
|
|
7
|
-
|
8
|
-
|
9
|
-
|
8
|
+
def on(type, callback)
|
9
|
+
(@listeners[type] ||= []) << callback
|
10
|
+
end
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
def signal(type, event)
|
13
|
+
return unless @listeners[type]
|
14
|
+
@listeners[type].each do |listener|
|
15
|
+
listener.call(event) if event.event_type == type
|
16
|
+
end
|
15
17
|
end
|
16
|
-
end
|
17
18
|
|
19
|
+
end
|
18
20
|
end
|
data/lib/aws-sdk-sts.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.21.
|
4
|
+
version: 3.21.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|