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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: e23ad986357ab94ab2780b46e51d875ea5aba8baeee2b8e348ae7c8c9808a2cc
4
- data.tar.gz: 51d0bf4d28df10a04eb68f9c469fa36dea4710d041df9dd811be260b18989af2
2
+ SHA1:
3
+ metadata.gz: 1d009fac0c444516f981ee98e8c7c77eb291e833
4
+ data.tar.gz: f636439c19a0cec53581372cc0be27e00e379ba6
5
5
  SHA512:
6
- metadata.gz: f8d920de1b55fa6cbe6934128c5cc4984e5cb30bd81614fa1a3c8ef4eb3f6af42cb986462f007023260a920299fd3d6594f220d07c9d04ab833e2eefa35652d1
7
- data.tar.gz: d9c002204bdedc0f16cb82d76e2970138c91b568cdefda9d94c342c1d9499a5f5a9e156fe1c65bd0a3629118d3feae1a23e02cf2c8c449f7e84a78f0577886fe
6
+ metadata.gz: e7a1009f588ef6565f03187e8762d7632b378f81d6efda17e8dcc9f1a71e090e64e69f69f6ca670321854ec8d85ac46fef33786d624f119c95dfaff1483242b2
7
+ data.tar.gz: ddee20d34ce4c20a8639cb684b8d93a830f3656b42f37a89db9e8e624df1d97d3f5650fb1e31f1f1e843e14504c9e186607790010cceabf02ae64f81a097d5d7
@@ -1,7 +1,7 @@
1
1
  language: ruby
2
2
  sudo: false
3
3
  before_install:
4
- - gem update bundler
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.2.10
13
+ - rvm: 2.3.8
14
14
  gemfile: Gemfile
15
- - rvm: 2.3.7
15
+ - rvm: 2.4.5
16
16
  gemfile: Gemfile
17
- - rvm: 2.4.4
17
+ - rvm: 2.5.3
18
18
  gemfile: Gemfile
19
- - rvm: 2.5.1
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.2.10
16
- 2.3.7
17
- 2.4.4
18
- 2.5.1
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.2.10
31
- 2.3.7
32
- 2.4.4
33
- 2.5.1
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
@@ -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.6'
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"
@@ -6,7 +6,7 @@ module Fog
6
6
  evacuate = {}
7
7
  evacuate['host'] = host if host
8
8
 
9
- if !microversion_newwer_than('2.13') && on_shared_storage
9
+ if !microversion_newer_than('2.13') && on_shared_storage
10
10
  evacuate['onSharedStorage'] = on_shared_storage
11
11
  end
12
12
 
@@ -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 = []) # options can include :subtree_as_ids, :subtree_as_list, :parents_as_ids, :parents_as_list
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 = [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}?#{options.join '&'}"
10
+ :path => "projects/#{id}",
11
+ :query => options
11
12
  )
12
13
  end
13
14
  end
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module OpenStack
3
- VERSION = '1.0.6'.freeze
3
+ VERSION = '1.0.7'.freeze
4
4
  end
5
5
  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.6
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: 2018-11-06 00:00:00.000000000 Z
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.6'
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.6'
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.7.6
1402
+ rubygems_version: 2.6.13
1403
1403
  signing_key:
1404
1404
  specification_version: 4
1405
1405
  summary: OpenStack fog provider gem