atlas_peering_ctl 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/lib/atlas.rb +1 -1
- data/lib/atlas/cli.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b2017387d90906d3f64a06e9663baf6e12220fb
|
4
|
+
data.tar.gz: 34658bd044a7099426a372c815b3a2b841d851d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d23387936df34465a03bb2f124d20874d5b9c33da98a520c36b1be5effa90644ad9b58496c3267b8945d2d3981697dc14d1be8fffd33b960bae7e71741618082
|
7
|
+
data.tar.gz: 7b6659e1e64ca9967be1bdb06927de0c3fcc5ce84e087eb880726bc3643eebc9f8980e205a3880f129bb5ba417fa505412fdae6b0093e17501d22f1cc2f6940d
|
data/.travis.yml
CHANGED
data/lib/atlas.rb
CHANGED
data/lib/atlas/cli.rb
CHANGED
@@ -33,14 +33,13 @@ module Atlas
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
class_option :config, type: :string, aliases: ['-f'], desc: 'The configuration file'
|
37
|
-
|
38
36
|
desc 'version', 'Atlas peering CTL version'
|
39
37
|
def version
|
40
38
|
puts Atlas::VERSION
|
41
39
|
end
|
42
40
|
|
43
41
|
desc 'list', 'List all the Atlas MongoDB peerings for the configuration given'
|
42
|
+
option :config, required: true, type: :string, aliases: ['-f'], desc: 'The VPC identificator to make the peering'
|
44
43
|
def list
|
45
44
|
Config.configure(options[:config])
|
46
45
|
|
@@ -53,6 +52,7 @@ module Atlas
|
|
53
52
|
end
|
54
53
|
|
55
54
|
desc 'create', 'Create a new Atlas MongoDB peering connection based on the configuration given'
|
55
|
+
option :config, required: true, type: :string, aliases: ['-f'], desc: 'The VPC identificator to make the peering'
|
56
56
|
option :vpcid, required: true, type: :string, desc: 'The VPC identificator to make the peering'
|
57
57
|
def create()
|
58
58
|
Config.configure(options[:config])
|
@@ -67,6 +67,7 @@ module Atlas
|
|
67
67
|
end
|
68
68
|
|
69
69
|
desc 'delete', 'Delete a Atlas MongoDB peering connection based on the configuration given'
|
70
|
+
option :config, required: true, type: :string, aliases: ['-f'], desc: 'The VPC identificator to make the peering'
|
70
71
|
def delete(id)
|
71
72
|
Config.configure(options[:config])
|
72
73
|
Config.configure { |c| c.id = id }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atlas_peering_ctl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Juarez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|