atlas_peering_ctl 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/atlas_peering_ctl.gemspec +3 -4
- data/lib/atlas/cli.rb +3 -1
- data/lib/atlas.rb +1 -1
- metadata +9 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26e50bddd1de2dbef7aca50769db2b10a207582b
|
4
|
+
data.tar.gz: e7dea59f5f595c932b183f7e412ae2f39e315b85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b4b5b403bef3b2670b0d5679d8496144a23e1b63c01bf4de3451dbdac9c7710a5f4ec8e48687f359992fa0bc1692db88fcd7ea2e12a8935337eeb02dad13b55
|
7
|
+
data.tar.gz: 2677731c1360d1337015b3c1ac26b31c1138ad4c692744a9db6e4b6da9be55616805b880e6b9b37c5bbf8914e5942a757c5ae2e242f3b5d1c0147d1c4466b887
|
data/.gitignore
CHANGED
data/atlas_peering_ctl.gemspec
CHANGED
@@ -23,14 +23,13 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
24
|
spec.require_paths = ['lib']
|
25
25
|
|
26
|
-
spec.add_runtime_dependency 'httparty', '0.16.
|
26
|
+
spec.add_runtime_dependency 'httparty', '0.16.2'
|
27
27
|
spec.add_runtime_dependency 'json', '2.1.0'
|
28
28
|
spec.add_runtime_dependency 'thor', '0.20.0'
|
29
29
|
|
30
|
-
spec.add_development_dependency 'awesome_print'
|
31
30
|
spec.add_development_dependency 'bundler', '~> 1.15'
|
32
31
|
spec.add_development_dependency 'rake', '~> 10.0'
|
33
32
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
34
|
-
spec.add_development_dependency 'rubocop', '
|
35
|
-
spec.add_development_dependency 'wirble'
|
33
|
+
spec.add_development_dependency 'rubocop', '0.58.1'
|
36
34
|
end
|
35
|
+
|
data/lib/atlas/cli.rb
CHANGED
@@ -53,8 +53,10 @@ module Atlas
|
|
53
53
|
end
|
54
54
|
|
55
55
|
desc 'create', 'Create a new Atlas MongoDB peering connection based on the configuration given'
|
56
|
-
|
56
|
+
option :vpcid, required: true, type: :string, desc: 'The VPC identificator to make the peering'
|
57
|
+
def create()
|
57
58
|
Config.configure(options[:config])
|
59
|
+
Config.configure.vpc_id = options[:vpcid]
|
58
60
|
|
59
61
|
client = Client.new(Config.user_name, Config.api_key, Config.group_id)
|
60
62
|
response = client.create(Config).parsed_response
|
data/lib/atlas.rb
CHANGED
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.4.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-
|
11
|
+
date: 2018-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.16.
|
19
|
+
version: 0.16.2
|
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: 0.16.
|
26
|
+
version: 0.16.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.20.0
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: awesome_print
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: bundler
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,30 +98,16 @@ dependencies:
|
|
112
98
|
name: rubocop
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
|
-
- -
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0.52'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0.52'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: wirble
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
101
|
+
- - '='
|
130
102
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
103
|
+
version: 0.58.1
|
132
104
|
type: :development
|
133
105
|
prerelease: false
|
134
106
|
version_requirements: !ruby/object:Gem::Requirement
|
135
107
|
requirements:
|
136
|
-
- -
|
108
|
+
- - '='
|
137
109
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
110
|
+
version: 0.58.1
|
139
111
|
description: This cli helps to handle peering connectons with MongoDB Atlas service.
|
140
112
|
email:
|
141
113
|
- javier.juarez@gmail.com
|
@@ -181,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
153
|
version: '0'
|
182
154
|
requirements: []
|
183
155
|
rubyforge_project:
|
184
|
-
rubygems_version: 2.6.14
|
156
|
+
rubygems_version: 2.6.14.1
|
185
157
|
signing_key:
|
186
158
|
specification_version: 4
|
187
159
|
summary: This cli helps to handle peering connectons with MongoDB Atlas service.
|