tacoma 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fce789d1564fad3825b87873661b003f82160f66
4
- data.tar.gz: d8d901bd38127bb217000a2d299201d7e26e7e37
3
+ metadata.gz: 2101ae19937ab9ae68ef81dc17d7124a4b2150f7
4
+ data.tar.gz: 74d9d4972f1064675b2b9bae17009d92a0062c07
5
5
  SHA512:
6
- metadata.gz: f0a3c9de6ffce76985c63b770b698e06060b8a7c563d0c766e1160aaff9f74482fe9150b7a5a60c44f88767af7a806f69941bddeaad8e7cd8066a8060cb0aaac
7
- data.tar.gz: 77c8932695e405ac2a510fcd42711d2dcdab3affc784fceb88dd7c28f091b5f36bc999564ad5b3476d9ae928f0aab74fa89bdde853a6e96afaa3f72ba2be9560
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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Tacoma
2
- VERSION='1.0.6'
2
+ VERSION='1.0.7'
3
3
  end
@@ -0,0 +1,7 @@
1
+ ---
2
+ access_key: <%= @aws_access_key_id %>
3
+ secret_key: <%= @aws_secret_access_key %>
4
+ api: '2011-05-05'
5
+ endpoint: https://route53.amazonaws.com/
6
+ default_ttl: '3600'
7
+ # This file was automatically generated by Tacoma at <%= Time.now %>
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
- spec.add_runtime_dependency "thor"
23
- spec.add_development_dependency "minitest"
24
- spec.add_development_dependency "bundler"
25
- spec.add_development_dependency "rake"
26
- end
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.6
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: 2014-04-07 00:00:00.000000000 Z
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.0.3
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