tacoma 1.0.6 → 1.0.7
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/README.md +3 -0
- data/contrib/tacoma.completion.sh +31 -0
- data/lib/tacoma/command.rb +1 -1
- data/lib/tacoma/version.rb +1 -1
- data/lib/template/route53 +7 -0
- data/tacoma.gemspec +6 -5
- metadata +16 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2101ae19937ab9ae68ef81dc17d7124a4b2150f7
|
4
|
+
data.tar.gz: 74d9d4972f1064675b2b9bae17009d92a0062c07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6821a6791c6b7d8ac25c4b8ebbfcab8c0a085816fc4349118a2340c8b7326ad893dd4f076f90e375eb74aa9befb6f873677b5f7576137e3b0024ab62f4cfdff
|
7
|
+
data.tar.gz: 81ce56f8e3b25ca639d1d30768fb6bc139c6dffede1e96dd68e7978f99a204eec02a840d857949b22ba58f8ebb49d02bcbc4107ff0ef3caf22f3ddf697e7ce9a
|
data/README.md
CHANGED
@@ -39,6 +39,9 @@ Will display the export commands for the AWS_SECRET_ACCESS_KEY, AWS_ACCESS_KEY_I
|
|
39
39
|
- [Boto](https://github.com/boto/boto)
|
40
40
|
- [s3cmd](https://github.com/s3tools/s3cmd)
|
41
41
|
|
42
|
+
## Bash Completion
|
43
|
+
|
44
|
+
There's an user contributed script for bash completion feature. To use it simply get from the `/contrib/` path and source it in your bash session (after rbenv gets sourced if it is there)
|
42
45
|
|
43
46
|
## TODO
|
44
47
|
|
@@ -0,0 +1,31 @@
|
|
1
|
+
_tacoma()
|
2
|
+
{
|
3
|
+
local cur prev commands
|
4
|
+
COMPREPLY=()
|
5
|
+
cur="${COMP_WORDS[COMP_CWORD]}"
|
6
|
+
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
7
|
+
|
8
|
+
commands="cd help install list switch"
|
9
|
+
|
10
|
+
case "${prev}" in
|
11
|
+
cd)
|
12
|
+
local envs=$(echo $(tacoma list))
|
13
|
+
COMPREPLY=( $(compgen -W "${envs}" -- ${cur}) )
|
14
|
+
return 0
|
15
|
+
;;
|
16
|
+
help)
|
17
|
+
COMPREPLY=( $(compgen -W "${commands}" -- ${cur}) )
|
18
|
+
return 0
|
19
|
+
;;
|
20
|
+
switch)
|
21
|
+
local envs=$(echo $(tacoma list))
|
22
|
+
COMPREPLY=( $(compgen -W "${envs}" -- ${cur}) )
|
23
|
+
return 0
|
24
|
+
;;
|
25
|
+
*)
|
26
|
+
;;
|
27
|
+
esac
|
28
|
+
COMPREPLY=( $(compgen -W "${commands}" -- ${cur}) )
|
29
|
+
return 0
|
30
|
+
}
|
31
|
+
complete -F _tacoma tacoma
|
data/lib/tacoma/command.rb
CHANGED
@@ -55,7 +55,7 @@ module Tacoma
|
|
55
55
|
@repo = Tool.repo
|
56
56
|
|
57
57
|
# set configurations for tools
|
58
|
-
{fog: '.fog', boto: '.boto', s3cfg: '.s3cfg'}.each do |tool, config_path|
|
58
|
+
{fog: '.fog', boto: '.boto', s3cfg: '.s3cfg', route53: '.route53'}.each do |tool, config_path|
|
59
59
|
template_path = Pathname.new("#{self.class.source_root}/../template/#{tool}").realpath.to_s
|
60
60
|
file_path = File.join(Dir.home, config_path)
|
61
61
|
template template_path, file_path, :force => true
|
data/lib/tacoma/version.rb
CHANGED
data/tacoma.gemspec
CHANGED
@@ -19,8 +19,9 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
|
23
|
-
spec.
|
24
|
-
spec.add_development_dependency "
|
25
|
-
spec.add_development_dependency "
|
26
|
-
|
22
|
+
|
23
|
+
spec.add_runtime_dependency 'thor', '~> 0'
|
24
|
+
spec.add_development_dependency "minitest", '~> 0'
|
25
|
+
spec.add_development_dependency "bundler", '~> 0'
|
26
|
+
spec.add_development_dependency "rake", '~> 0'
|
27
|
+
end
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tacoma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Lupión
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
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
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
description: Easy command line tool for AWS credentials management
|
@@ -74,15 +74,17 @@ executables:
|
|
74
74
|
extensions: []
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
|
-
- .gitignore
|
77
|
+
- ".gitignore"
|
78
78
|
- Gemfile
|
79
79
|
- README.md
|
80
80
|
- bin/tacoma
|
81
|
+
- contrib/tacoma.completion.sh
|
81
82
|
- lib/tacoma.rb
|
82
83
|
- lib/tacoma/command.rb
|
83
84
|
- lib/tacoma/version.rb
|
84
85
|
- lib/template/boto
|
85
86
|
- lib/template/fog
|
87
|
+
- lib/template/route53
|
86
88
|
- lib/template/s3cfg
|
87
89
|
- lib/template/tacoma.yml
|
88
90
|
- tacoma.gemspec
|
@@ -96,17 +98,17 @@ require_paths:
|
|
96
98
|
- lib
|
97
99
|
required_ruby_version: !ruby/object:Gem::Requirement
|
98
100
|
requirements:
|
99
|
-
- -
|
101
|
+
- - ">="
|
100
102
|
- !ruby/object:Gem::Version
|
101
103
|
version: '0'
|
102
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
105
|
requirements:
|
104
|
-
- -
|
106
|
+
- - ">="
|
105
107
|
- !ruby/object:Gem::Version
|
106
108
|
version: '0'
|
107
109
|
requirements: []
|
108
110
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.
|
111
|
+
rubygems_version: 2.2.2
|
110
112
|
signing_key:
|
111
113
|
specification_version: 4
|
112
114
|
summary: This tool reads a YAML file with the credentials for your AWS accounts and
|