mms-api 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mms/agent.rb +0 -1
  3. data/lib/mms/version.rb +1 -1
  4. metadata +23 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac6fac7f0a708aa558139470e4f7b69bc27bfe8f
4
- data.tar.gz: d6a83bcba04188d7d5eac2356d5bf43318018d6c
3
+ metadata.gz: 50cd66f939df1e09e3450fdfd842c9a436f20196
4
+ data.tar.gz: 2137ffe56e222c1ac8c2724f93000e518fe76e14
5
5
  SHA512:
6
- metadata.gz: 4a73e15507b0f0087696d5bbdbf62ea2193b16337407e69fb7502958a992267a77ca0ade9e80218b4ba6afa8cf0f984e8d18eb3cfe98fef86dd19fef8999fd62
7
- data.tar.gz: e17f25b4f98f279ed2ec3185a5fd3cdcca1ba2e78c2bf9e191563d79d29af52b556ef0187d94006e68714fa0363e8e20410c496edb6bb5d94253e25bd3446721
6
+ metadata.gz: 11c61acd2182e0ad6ee7562cb7357d0467d1e09faa809b8928164586d8606607cd13125c50a0fbfd35dd40f637211e02a26d3b8bcb2ae53b9ee56486269d4371
7
+ data.tar.gz: 2e4f259e3431da3fce0f5d9fba5cd9808e9c2f5aa7dbce5bf75b410c697e7e4e047610b92867cdd937c7f2fd88e9a06725e449ff4378543c3f85dad16d8d4cd6
@@ -95,7 +95,6 @@ module MMS
95
95
  # @param [String] hostid
96
96
  # @return [TrueClass, FalseClass]
97
97
  def host_delete(groupid, hostid)
98
- client.delete("/groups/#{groupid}/hosts/#{hostid}")
99
98
  host = client.delete("/groups/#{groupid}/hosts/#{hostid}")
100
99
  host == {} ? true : false
101
100
  end
@@ -1,3 +1,3 @@
1
1
  module MMS
2
- VERSION = '0.2.2'.freeze
2
+ VERSION = '0.2.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mms-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cargo Media
@@ -10,118 +10,118 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-10-06 00:00:00.000000000 Z
13
+ date: 2016-11-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: net-http-digest_auth
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - "~>"
19
+ - - ~>
20
20
  - !ruby/object:Gem::Version
21
21
  version: '1.4'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - "~>"
26
+ - - ~>
27
27
  - !ruby/object:Gem::Version
28
28
  version: '1.4'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: terminal-table
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - "~>"
33
+ - - ~>
34
34
  - !ruby/object:Gem::Version
35
35
  version: 1.4.5
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - "~>"
40
+ - - ~>
41
41
  - !ruby/object:Gem::Version
42
42
  version: 1.4.5
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: parseconfig
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
47
+ - - ~>
48
48
  - !ruby/object:Gem::Version
49
49
  version: 1.0.6
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - "~>"
54
+ - - ~>
55
55
  - !ruby/object:Gem::Version
56
56
  version: 1.0.6
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: clamp
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - "~>"
61
+ - - ~>
62
62
  - !ruby/object:Gem::Version
63
63
  version: 0.6.0
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - "~>"
68
+ - - ~>
69
69
  - !ruby/object:Gem::Version
70
70
  version: 0.6.0
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: rake
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - ">="
75
+ - - '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - ">="
82
+ - - '>='
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: pry
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - ">="
89
+ - - '>='
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - ">="
96
+ - - '>='
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: rubocop
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - "~>"
103
+ - - ~>
104
104
  - !ruby/object:Gem::Version
105
105
  version: 0.41.2
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
- - - "~>"
110
+ - - ~>
111
111
  - !ruby/object:Gem::Version
112
112
  version: 0.41.2
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: rspec
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - "~>"
117
+ - - ~>
118
118
  - !ruby/object:Gem::Version
119
119
  version: '2.0'
120
120
  type: :development
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
- - - "~>"
124
+ - - ~>
125
125
  - !ruby/object:Gem::Version
126
126
  version: '2.0'
127
127
  description: Agent for MMS API
@@ -134,14 +134,12 @@ files:
134
134
  - LICENSE
135
135
  - README.md
136
136
  - bin/mms-api
137
- - lib/mms.rb
138
137
  - lib/mms/agent.rb
139
138
  - lib/mms/cache.rb
140
139
  - lib/mms/cli.rb
141
140
  - lib/mms/client.rb
142
141
  - lib/mms/config.rb
143
142
  - lib/mms/errors.rb
144
- - lib/mms/resource.rb
145
143
  - lib/mms/resource/alert.rb
146
144
  - lib/mms/resource/backup_config.rb
147
145
  - lib/mms/resource/cluster.rb
@@ -151,7 +149,9 @@ files:
151
149
  - lib/mms/resource/restore_job.rb
152
150
  - lib/mms/resource/snapshot.rb
153
151
  - lib/mms/resource/snapshot_schedule.rb
152
+ - lib/mms/resource.rb
154
153
  - lib/mms/version.rb
154
+ - lib/mms.rb
155
155
  homepage: https://github.com/cargomedia/mms-api
156
156
  licenses:
157
157
  - MIT
@@ -162,17 +162,17 @@ require_paths:
162
162
  - lib
163
163
  required_ruby_version: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - ">="
165
+ - - '>='
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  requirements:
170
- - - ">="
170
+ - - '>='
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0'
173
173
  requirements: []
174
174
  rubyforge_project:
175
- rubygems_version: 2.5.1
175
+ rubygems_version: 2.0.14.1
176
176
  signing_key:
177
177
  specification_version: 4
178
178
  summary: MongoDB MMS API client