misty 0.7.0 → 0.7.1

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: 8cceca72756e7b5ac049400a5dd97043be65bb7d
4
- data.tar.gz: 52dfc65c6b4054a6b605b66af4ee2a4f63e87199
3
+ metadata.gz: 3cba138d230cbc5611de24937a9260e259829f0c
4
+ data.tar.gz: 382a181297e74ca2e255fcaa75b265fae07fc182
5
5
  SHA512:
6
- metadata.gz: 2395f2cbe462561f24239d559cf972aa41b3a7259e42855ef7406eea894180ae062bf8446bb3b02a23ca754b6efe21f5dfbd0b5af84b263b83c32b98e5d442dc
7
- data.tar.gz: 727fd1657060393641224ba738189d4ee6283eaabdbabb3ee31abb9b0bd568320ed41ba1264b7f0c9407a9b860bc3832390124a5b3844feb502172ce49b11266
6
+ metadata.gz: 0ed4869bf73bc5da3acbe958a6eb569af11989530a03e80fd7706b8773d2327ef4d4103617af3625a14a6674a6f8eda2ac4f56a841a1cd3bbe111b549ee4dcb9
7
+ data.tar.gz: d270aa7752c0ebefa442c10cfcab8e8023a6c7238a2fe67e7c9647aa89b5a2eb703f023aaaecebbb599fe80fd4585d2b0c63a590498061342d9ac75027013966
@@ -16,7 +16,6 @@ module Misty
16
16
  def initialize(params)# = {:auth => {}})
17
17
  @params = params
18
18
  @config = self.class.set_configuration(params)
19
- @services = Misty.services
20
19
  @auth = Misty::Auth.factory(params[:auth], @config)
21
20
  end
22
21
 
@@ -32,7 +31,7 @@ module Misty
32
31
  end
33
32
 
34
33
  def build_service(service_name)
35
- service = @services.find {|service| service.name == service_name}
34
+ service = Misty.services.find {|service| service.name == service_name}
36
35
  service.options = @params[service.name] if @params[service.name]
37
36
  service.version = service.options[:api_version]
38
37
  version = self.class.dot_to_underscore(service.version)
@@ -138,7 +137,7 @@ module Misty
138
137
 
139
138
  def method_missing(method_name)
140
139
  services_avail = []
141
- @services.names.each do |service_name|
140
+ Misty.services.names.each do |service_name|
142
141
  services_avail << service_name if /#{method_name}/.match(service_name)
143
142
  end
144
143
 
@@ -75,6 +75,12 @@ module Misty::Openstack::NeutronV2_0
75
75
  {:PUT=>[:insert_rule_into_a_firewall_policy]},
76
76
  "/v2.0/fwaas/firewall_policies/{firewall_policy_id}/remove_rule"=>
77
77
  {:PUT=>[:remove_rule_from_firewall_policy]},
78
+ "/v2.0/rbac-policies/{rbac_policy_id}"=>
79
+ {:GET=>[:show_rbac_policy_details],
80
+ :PUT=>[:update_rbac_policy],
81
+ :DELETE=>[:delete_rbac_policy]},
82
+ "/v2.0/rbac-policies"=>
83
+ {:GET=>[:list_rbac_policies], :POST=>[:create_rbac_policy]},
78
84
  "/v2.0/security-group-rules"=>
79
85
  {:GET=>[:list_security_group_rules], :POST=>[:create_security_group_rule]},
80
86
  "/v2.0/security-group-rules/{security_group_rule_id}"=>
@@ -1,3 +1,3 @@
1
1
  module Misty
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: misty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gilles Dubreuil
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-06 00:00:00.000000000 Z
11
+ date: 2017-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json