MovableInkAWS 2.7.2 → 2.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +10 -10
- data/lib/movable_ink/version.rb +1 -1
- data/spec/errors_spec.rb +21 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e63c5966f197e0bce1048cd51aae3a310fea5f76bc25e3d116b6a08e5113c25d
|
|
4
|
+
data.tar.gz: b72b5c3f38e8344217e7d999c2cd086bc9328fcf196f476f70c12b2f7bd58543
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3bd418547afcad6e528d987863eacf8e2c85b48f04ec3cbc990c0ab6fde12fc33699bc8469bed92d3e4dabcb0de833b95991fc2387ee6bb229389d4d87983742
|
|
7
|
+
data.tar.gz: fd7eee67d42e52e1677eb79e9d2a2be393bbd8a74c7fd511e3aad0bfd3f9a3fb52224cf79e03916760bc343b9d4028f4417091b5298f2239327bb2370d29ea34
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
MovableInkAWS (2.7.
|
|
4
|
+
MovableInkAWS (2.7.3)
|
|
5
5
|
aws-sdk-athena (~> 1)
|
|
6
6
|
aws-sdk-autoscaling (~> 1)
|
|
7
7
|
aws-sdk-cloudwatch (~> 1)
|
|
@@ -22,7 +22,7 @@ PATH
|
|
|
22
22
|
GEM
|
|
23
23
|
remote: https://rubygems.org/
|
|
24
24
|
specs:
|
|
25
|
-
addressable (2.
|
|
25
|
+
addressable (2.8.0)
|
|
26
26
|
public_suffix (>= 2.0.2, < 5.0)
|
|
27
27
|
aws-eventstream (1.2.0)
|
|
28
28
|
aws-partitions (1.605.0)
|
|
@@ -73,8 +73,8 @@ GEM
|
|
|
73
73
|
aws-sigv4 (~> 1.1)
|
|
74
74
|
aws-sigv4 (1.5.0)
|
|
75
75
|
aws-eventstream (~> 1, >= 1.0.2)
|
|
76
|
-
crack (0.4.
|
|
77
|
-
|
|
76
|
+
crack (0.4.5)
|
|
77
|
+
rexml
|
|
78
78
|
deep_merge (1.2.2)
|
|
79
79
|
diff-lcs (1.3)
|
|
80
80
|
diplomat (2.4.2)
|
|
@@ -82,7 +82,7 @@ GEM
|
|
|
82
82
|
faraday (>= 0.9, < 1.1.0)
|
|
83
83
|
faraday (1.0.1)
|
|
84
84
|
multipart-post (>= 1.2, < 3)
|
|
85
|
-
hashdiff (1.0.
|
|
85
|
+
hashdiff (1.0.1)
|
|
86
86
|
httparty (0.16.3)
|
|
87
87
|
mime-types (~> 3.0)
|
|
88
88
|
multi_xml (>= 0.5.2)
|
|
@@ -92,7 +92,8 @@ GEM
|
|
|
92
92
|
mime-types-data (3.2022.0105)
|
|
93
93
|
multi_xml (0.6.0)
|
|
94
94
|
multipart-post (2.2.3)
|
|
95
|
-
public_suffix (4.0.
|
|
95
|
+
public_suffix (4.0.7)
|
|
96
|
+
rexml (3.2.5)
|
|
96
97
|
rspec (3.9.0)
|
|
97
98
|
rspec-core (~> 3.9.0)
|
|
98
99
|
rspec-expectations (~> 3.9.0)
|
|
@@ -106,9 +107,8 @@ GEM
|
|
|
106
107
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
107
108
|
rspec-support (~> 3.9.0)
|
|
108
109
|
rspec-support (3.9.3)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
addressable (>= 2.3.6)
|
|
110
|
+
webmock (3.17.1)
|
|
111
|
+
addressable (>= 2.8.0)
|
|
112
112
|
crack (>= 0.3.2)
|
|
113
113
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
114
114
|
|
|
@@ -121,4 +121,4 @@ DEPENDENCIES
|
|
|
121
121
|
webmock
|
|
122
122
|
|
|
123
123
|
BUNDLED WITH
|
|
124
|
-
2.3.
|
|
124
|
+
2.3.11
|
data/lib/movable_ink/version.rb
CHANGED
data/spec/errors_spec.rb
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
require_relative '../lib/movable_ink/aws'
|
|
2
|
+
require 'webmock/rspec'
|
|
3
|
+
|
|
4
|
+
describe MovableInk::AWS::Errors do
|
|
5
|
+
context 'ExpectedError' do
|
|
6
|
+
it 'matches exception by class name and pattern' do
|
|
7
|
+
expected = MovableInk::AWS::Errors::ExpectedError.new(Aws::Errors::ServiceError, [/something failed/])
|
|
8
|
+
expect(expected.match?(Aws::Errors::ServiceError.new(nil, 'There\'s something failed.'))).to eq(true)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
it 'matches exception by class name only' do
|
|
12
|
+
expected = MovableInk::AWS::Errors::ExpectedError.new(Aws::Errors::ServiceError)
|
|
13
|
+
expect(expected.match?(Aws::Errors::ServiceError.new(nil, 'There\'s something failed.'))).to eq(true)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
it 'matches exception by class name only - negative match' do
|
|
17
|
+
expected = MovableInk::AWS::Errors::ExpectedError.new(Aws::IAM::Errors::Throttling)
|
|
18
|
+
expect(expected.match?(Aws::Errors::ServiceError.new(nil, 'There\'s something failed.'))).to eq(false)
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: MovableInkAWS
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.7.
|
|
4
|
+
version: 2.7.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- MI SRE
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-08-
|
|
11
|
+
date: 2022-08-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -268,6 +268,7 @@ files:
|
|
|
268
268
|
- spec/consul_spec.rb
|
|
269
269
|
- spec/ec2_spec.rb
|
|
270
270
|
- spec/elasticache_spec.rb
|
|
271
|
+
- spec/errors_spec.rb
|
|
271
272
|
- spec/iam_spec.rb
|
|
272
273
|
- spec/metadata_spec.rb
|
|
273
274
|
- spec/route53_spec.rb
|