patriot-aws 0.2.0 → 0.3.0
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/lib/patriot_aws/command/redshift.rb +1 -1
- data/lib/patriot_aws/ext/aws.rb +8 -6
- data/lib/patriot_aws/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: faff2f2ea52b51f80845d0e77f4b413ec0da7530
|
|
4
|
+
data.tar.gz: 03b8852cca5874402aa154a7d6d98c8c68ae1c58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e0a9a01cd5d22e06beda27daee8cce5acd51cc252feba8bcb30c40145dc36dcc6ce278bbb9257837dc751f9116ded099505ec3d4a156e88e152ed88c58f11b8
|
|
7
|
+
data.tar.gz: ccb4056adee40578611d519295fe696f50d78a9f8b3795ba25f6774697db69181b1cc371edbdbb842ce6cb314b02c85ba6b147d412af348b3ba30c5eaf1f31de
|
data/lib/patriot_aws/ext/aws.rb
CHANGED
|
@@ -9,15 +9,17 @@ module PatriotAWS
|
|
|
9
9
|
|
|
10
10
|
def config_aws(options)
|
|
11
11
|
options.symbolize_keys
|
|
12
|
-
Aws.config.update(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
Aws.config.update({
|
|
13
|
+
credentials: Aws::Credentials.new(
|
|
14
|
+
options[:access_key_id],
|
|
15
|
+
options[:secret_access_key]
|
|
16
|
+
)
|
|
17
|
+
})
|
|
16
18
|
|
|
17
19
|
if options[:region]
|
|
18
|
-
Aws.config.update(
|
|
20
|
+
Aws.config.update({
|
|
19
21
|
region: options[:region]
|
|
20
|
-
)
|
|
22
|
+
})
|
|
21
23
|
end
|
|
22
24
|
end
|
|
23
25
|
end
|
data/lib/patriot_aws/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: patriot-aws
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Takayuki Tanaka
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-06-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '3'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '
|
|
26
|
+
version: '3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: pg
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
87
87
|
version: '0'
|
|
88
88
|
requirements: []
|
|
89
89
|
rubyforge_project: patriot-aws
|
|
90
|
-
rubygems_version: 2.
|
|
90
|
+
rubygems_version: 2.5.1
|
|
91
91
|
signing_key:
|
|
92
92
|
specification_version: 4
|
|
93
93
|
summary: AWS plugin for Patriot Workflow Scheduler
|