aws_assume_role 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/aws_assume_role.gemspec +1 -7
- data/ext/mkrf_conf.rb +25 -0
- data/lib/aws_assume_role/version.rb +1 -1
- metadata +6 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66b6fbba784521cbce5a73e1b7c7483eed5936ffe5604d6e49bc847c1b720b09
|
4
|
+
data.tar.gz: 622cbd5da5bc1e95f0903d5d6d7aa8d81f65af395bab935b7157612258060e31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e3b6175c9a26a52f0def3b4f0b988941427da3c6462bc9c2a07f39ff028be3a83763ead53e79064d63877e471096eeddbc4205b5f672828cdccabe112579b70
|
7
|
+
data.tar.gz: 9c799754c7634cd8c36b78d4203c18609f5d0b02e49d7386e27f54913144739f9f1417e4d73ff90ba6a66989568712a712415588fd3b77a47b15666b4ae6b861
|
data/CHANGELOG.md
CHANGED
data/aws_assume_role.gemspec
CHANGED
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
}
|
22
22
|
spec.bindir = "bin"
|
23
23
|
spec.executables = spec.files.grep(%r{^bin/aws}) { |f| File.basename(f) }
|
24
|
+
spec.extensions = "ext/mkrf_conf.rb"
|
24
25
|
spec.require_paths = ["lib"]
|
25
26
|
|
26
27
|
spec.add_runtime_dependency "activesupport", "~> 4.2"
|
@@ -43,11 +44,4 @@ Gem::Specification.new do |spec|
|
|
43
44
|
spec.add_development_dependency "yard", "~> 0.9"
|
44
45
|
spec.add_development_dependency "simplecov", "~> 0.13"
|
45
46
|
spec.add_development_dependency "webmock", "~> 2.3"
|
46
|
-
|
47
|
-
case Gem::Platform.local.os
|
48
|
-
when "linux"
|
49
|
-
spec.add_dependency "gir_ffi-gnome_keyring", "~> 0.0", ">= 0.0.3"
|
50
|
-
when "darwin"
|
51
|
-
spec.add_dependency "ruby-keychain", "~> 0.3", ">= 0.3.2"
|
52
|
-
end
|
53
47
|
end
|
data/ext/mkrf_conf.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
require "rubygems"
|
2
|
+
require "rubygems/command"
|
3
|
+
require "rubygems/dependency_installer"
|
4
|
+
begin
|
5
|
+
Gem::Command.build_args = ARGV
|
6
|
+
rescue NoMethodError # rubocop:disable Lint/HandleExceptions
|
7
|
+
end
|
8
|
+
|
9
|
+
installer = Gem::DependencyInstaller.new
|
10
|
+
|
11
|
+
begin
|
12
|
+
case Gem::Platform.local.os
|
13
|
+
when "linux"
|
14
|
+
installer.install "gir_ffi-gnome_keyring", Gem::Requirement.new("~> 0.0", ">= 0.0.3")
|
15
|
+
when "darwin"
|
16
|
+
installer.install "ruby-keychain", Gem::Requirement.new("~> 0.3", ">= 0.3.2")
|
17
|
+
end
|
18
|
+
rescue => e # rubocop:disable Lint/RescueWithoutErrorClass
|
19
|
+
puts e.backtrace
|
20
|
+
exit(1)
|
21
|
+
end
|
22
|
+
|
23
|
+
f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w") # create dummy rakefile to indicate success
|
24
|
+
f.write("task :default\n")
|
25
|
+
f.close
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws_assume_role
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Topper
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date:
|
17
|
+
date: 2018-01-02 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: activesupport
|
@@ -308,26 +308,6 @@ dependencies:
|
|
308
308
|
- - "~>"
|
309
309
|
- !ruby/object:Gem::Version
|
310
310
|
version: '2.3'
|
311
|
-
- !ruby/object:Gem::Dependency
|
312
|
-
name: gir_ffi-gnome_keyring
|
313
|
-
requirement: !ruby/object:Gem::Requirement
|
314
|
-
requirements:
|
315
|
-
- - "~>"
|
316
|
-
- !ruby/object:Gem::Version
|
317
|
-
version: '0.0'
|
318
|
-
- - ">="
|
319
|
-
- !ruby/object:Gem::Version
|
320
|
-
version: 0.0.3
|
321
|
-
type: :runtime
|
322
|
-
prerelease: false
|
323
|
-
version_requirements: !ruby/object:Gem::Requirement
|
324
|
-
requirements:
|
325
|
-
- - "~>"
|
326
|
-
- !ruby/object:Gem::Version
|
327
|
-
version: '0.0'
|
328
|
-
- - ">="
|
329
|
-
- !ruby/object:Gem::Version
|
330
|
-
version: 0.0.3
|
331
311
|
description: Used to fetch multiple AWS Role Credential Keys using different Session
|
332
312
|
Keys and store them securely using Gnome Keyring or OSX keychain
|
333
313
|
email:
|
@@ -337,7 +317,8 @@ email:
|
|
337
317
|
- tim@scalefactory.com
|
338
318
|
executables:
|
339
319
|
- aws-assume-role
|
340
|
-
extensions:
|
320
|
+
extensions:
|
321
|
+
- ext/mkrf_conf.rb
|
341
322
|
extra_rdoc_files: []
|
342
323
|
files:
|
343
324
|
- ".gitignore"
|
@@ -352,6 +333,7 @@ files:
|
|
352
333
|
- Rakefile
|
353
334
|
- aws_assume_role.gemspec
|
354
335
|
- bin/aws-assume-role
|
336
|
+
- ext/mkrf_conf.rb
|
355
337
|
- i18n/en.yml
|
356
338
|
- lib/aws_assume_role.rb
|
357
339
|
- lib/aws_assume_role/cli.rb
|
@@ -431,7 +413,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
431
413
|
version: '0'
|
432
414
|
requirements: []
|
433
415
|
rubyforge_project:
|
434
|
-
rubygems_version: 2.7.
|
416
|
+
rubygems_version: 2.7.4
|
435
417
|
signing_key:
|
436
418
|
specification_version: 4
|
437
419
|
summary: Manage AWS STS credentials with MFA
|