fog-openstack 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +5 -5
- data/.zuul.yaml +8 -8
- data/fog-openstack.gemspec +1 -1
- data/lib/fog/openstack/compute/requests/evacuate_server.rb +1 -1
- data/lib/fog/openstack/identity/v3/models/projects.rb +2 -2
- data/lib/fog/openstack/identity/v3/requests/get_project.rb +3 -2
- data/lib/fog/openstack/version.rb +1 -1
- data/playbooks/fog-openstack-unittest-spec/run.yaml +1 -2
- data/playbooks/fog-openstack-unittest-test/run.yaml +1 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1d009fac0c444516f981ee98e8c7c77eb291e833
|
4
|
+
data.tar.gz: f636439c19a0cec53581372cc0be27e00e379ba6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7a1009f588ef6565f03187e8762d7632b378f81d6efda17e8dcc9f1a71e090e64e69f69f6ca670321854ec8d85ac46fef33786d624f119c95dfaff1483242b2
|
7
|
+
data.tar.gz: ddee20d34ce4c20a8639cb684b8d93a830f3656b42f37a89db9e8e624df1d97d3f5650fb1e31f1f1e843e14504c9e186607790010cceabf02ae64f81a097d5d7
|
data/.travis.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
language: ruby
|
2
2
|
sudo: false
|
3
3
|
before_install:
|
4
|
-
- gem
|
4
|
+
- gem install bundler --version '~> 1'
|
5
5
|
script:
|
6
6
|
- bundle exec rake test TESTOPTS="--verbose"
|
7
7
|
- bundle exec rake spec
|
@@ -10,13 +10,13 @@ env:
|
|
10
10
|
matrix:
|
11
11
|
fast_finish: true
|
12
12
|
include:
|
13
|
-
- rvm: 2.
|
13
|
+
- rvm: 2.3.8
|
14
14
|
gemfile: Gemfile
|
15
|
-
- rvm: 2.
|
15
|
+
- rvm: 2.4.5
|
16
16
|
gemfile: Gemfile
|
17
|
-
- rvm: 2.
|
17
|
+
- rvm: 2.5.3
|
18
18
|
gemfile: Gemfile
|
19
|
-
- rvm: 2.
|
19
|
+
- rvm: 2.6.0
|
20
20
|
gemfile: Gemfile
|
21
21
|
- rvm: jruby-head
|
22
22
|
gemfile: Gemfile
|
data/.zuul.yaml
CHANGED
@@ -12,10 +12,10 @@
|
|
12
12
|
run: playbooks/fog-openstack-unittest-test/run.yaml
|
13
13
|
vars:
|
14
14
|
rvm:
|
15
|
-
2.
|
16
|
-
2.
|
17
|
-
2.
|
18
|
-
2.
|
15
|
+
2.3.8
|
16
|
+
2.4.5
|
17
|
+
2.5.3
|
18
|
+
2.6.0
|
19
19
|
jruby-head
|
20
20
|
nodeset: ubuntu-xenial
|
21
21
|
|
@@ -27,9 +27,9 @@
|
|
27
27
|
run: playbooks/fog-openstack-unittest-spec/run.yaml
|
28
28
|
vars:
|
29
29
|
rvm:
|
30
|
-
2.
|
31
|
-
2.
|
32
|
-
2.
|
33
|
-
2.
|
30
|
+
2.3.8
|
31
|
+
2.4.5
|
32
|
+
2.5.3
|
33
|
+
2.6.0
|
34
34
|
jruby-head
|
35
35
|
nodeset: ubuntu-xenial
|
data/fog-openstack.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_dependency 'fog-json', '>= 1.0'
|
26
26
|
spec.add_dependency 'ipaddress', '>= 0.8'
|
27
27
|
|
28
|
-
spec.add_development_dependency 'bundler', '~> 1
|
28
|
+
spec.add_development_dependency 'bundler', '~> 1'
|
29
29
|
spec.add_development_dependency 'coveralls'
|
30
30
|
spec.add_development_dependency "mime-types"
|
31
31
|
spec.add_development_dependency "mime-types-data"
|
@@ -33,9 +33,9 @@ module Fog
|
|
33
33
|
load(service.auth_projects(options).body['projects'])
|
34
34
|
end
|
35
35
|
|
36
|
-
def find_by_id(id, options =
|
36
|
+
def find_by_id(id, options = {}) # options can include :subtree_as_ids, :subtree_as_list, :parents_as_ids, :parents_as_list
|
37
37
|
if options.kind_of? Symbol # Deal with a single option being passed on its own
|
38
|
-
options =
|
38
|
+
options = {options => nil}
|
39
39
|
end
|
40
40
|
|
41
41
|
if service.openstack_cache_ttl > 0
|
@@ -3,11 +3,12 @@ module Fog
|
|
3
3
|
class Identity
|
4
4
|
class V3
|
5
5
|
class Real
|
6
|
-
def get_project(id, options =
|
6
|
+
def get_project(id, options = {})
|
7
7
|
request(
|
8
8
|
:expects => [200],
|
9
9
|
:method => 'GET',
|
10
|
-
:path => "projects/#{id}
|
10
|
+
:path => "projects/#{id}",
|
11
|
+
:query => options
|
11
12
|
)
|
12
13
|
end
|
13
14
|
end
|
@@ -24,8 +24,7 @@
|
|
24
24
|
rvm use ${version} > /dev/null 2>&1
|
25
25
|
echo "Running tests based on Ruby ${version}..."
|
26
26
|
ruby --version
|
27
|
-
gem install bundler
|
28
|
-
gem update bundler
|
27
|
+
gem install bundler --version '~> 1'
|
29
28
|
bundle install --jobs=3 --retry=3
|
30
29
|
bundle exec rake spec TESTOPTS="--verbose"
|
31
30
|
done
|
@@ -24,8 +24,7 @@
|
|
24
24
|
rvm use ${version} > /dev/null 2>&1
|
25
25
|
echo "Running tests based on Ruby ${version}..."
|
26
26
|
ruby --version
|
27
|
-
gem install bundler
|
28
|
-
gem update bundler
|
27
|
+
gem install bundler --version '~> 1'
|
29
28
|
bundle install --jobs=3 --retry=3
|
30
29
|
bundle exec rake test TESTOPTS="--verbose"
|
31
30
|
done
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-openstack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Darby
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1
|
61
|
+
version: '1'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '1
|
68
|
+
version: '1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: coveralls
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1399,7 +1399,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1399
1399
|
version: '0'
|
1400
1400
|
requirements: []
|
1401
1401
|
rubyforge_project:
|
1402
|
-
rubygems_version: 2.
|
1402
|
+
rubygems_version: 2.6.13
|
1403
1403
|
signing_key:
|
1404
1404
|
specification_version: 4
|
1405
1405
|
summary: OpenStack fog provider gem
|