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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f0e6276fc86d3e404bdbab2a2d21679f3bbe28c
4
- data.tar.gz: 00d355e314d2c4db4cb0c50ed4b1c7d56b796190
3
+ metadata.gz: 26e50bddd1de2dbef7aca50769db2b10a207582b
4
+ data.tar.gz: e7dea59f5f595c932b183f7e412ae2f39e315b85
5
5
  SHA512:
6
- metadata.gz: 1d1ef9b873ea0db0d5a94c36d88ac11d89d0e6e0cbe68c69515f0767c75f5b5bd64aa5e696f243ae462068802f0391e2fdce75cc8b70e7cc246053825a8809f4
7
- data.tar.gz: 920020559a4618dcb84d11feb558b164324cd55c6a331820c33ff22ee40b1e25f06cadd537da9be7057ec3385bc52d76068ff13a196a86aac1b7135029080c62
6
+ metadata.gz: 4b4b5b403bef3b2670b0d5679d8496144a23e1b63c01bf4de3451dbdac9c7710a5f4ec8e48687f359992fa0bc1692db88fcd7ea2e12a8935337eeb02dad13b55
7
+ data.tar.gz: 2677731c1360d1337015b3c1ac26b31c1138ad4c692744a9db6e4b6da9be55616805b880e6b9b37c5bbf8914e5942a757c5ae2e242f3b5d1c0147d1c4466b887
data/.gitignore CHANGED
@@ -7,6 +7,7 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ .idea/**
10
11
 
11
12
  # rspec failure tracking
12
13
  .rspec_status
@@ -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.0'
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', '~> 0.52'
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
- def create
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
@@ -3,5 +3,5 @@
3
3
  require 'atlas/cli'
4
4
 
5
5
  module Atlas
6
- VERSION = '0.3.1'
6
+ VERSION = '0.4.0'
7
7
  end
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.3.1
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-03-11 00:00:00.000000000 Z
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.0
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.0
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: '0'
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: '0'
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.