fog-ovirt 0.0.1 → 0.1.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: bc52a94f5d8a1853ec82917020fb19675199d879
4
- data.tar.gz: 7db52539a92ec7434d74b55dd3bca1cc2836d506
3
+ metadata.gz: 55093b2fd8fa6266805c6ccfcaa28bd954c726d6
4
+ data.tar.gz: 56aa2f5a6715cdde247eb946a494fe20ae744203
5
5
  SHA512:
6
- metadata.gz: e15a97d9edaab2e3faa45b6ce593af20be206b0e826bb658166d9a089436e6d68d24a6b1ad1305c86f247b53153b5c341dcba164ec619735a88fe337cada518a
7
- data.tar.gz: b94bfcb40da72705457decf083c852d13e6b13421cf2e3a324cb067ef11cd23f2da59f265900767c413166a1b08166046bb4be1c501d327adfa2d01c69ec9275
6
+ metadata.gz: 852066b57a8ea9687050c71df830abd8a45a8cc0d80729590b36ad796825eed1c24828eddd0ca374390bbc5711a7d1fda8e41e9a721c9664a3c1b3841b5c0dea
7
+ data.tar.gz: 181ee0e2b3d72d7db0cfa52d5e12f4a71b3a3e360b4cd8a47b9b30715c7322fc4009bcd58f2dedf04c222c31280fdf49f5e87c197da778b57537a593fce4ba17
data/.travis.yml ADDED
@@ -0,0 +1,24 @@
1
+ language: ruby
2
+
3
+ sudo: false
4
+ dist: trusty
5
+
6
+ script: bundle exec rake test
7
+
8
+ rvm:
9
+ - 2.1
10
+ - 2.2
11
+ - 2.3
12
+ - 2.4
13
+ - jruby-head
14
+
15
+ gemfile:
16
+ - Gemfile
17
+
18
+ matrix:
19
+ fast_finish: true
20
+ allow_failures:
21
+ - rvm: jruby-head
22
+
23
+ notifications:
24
+ email: false
data/fog-ovirt.gemspec CHANGED
@@ -22,11 +22,11 @@ Gem::Specification.new do |spec|
22
22
  spec.add_dependency("fog-core", "~> 1.45")
23
23
  spec.add_dependency("fog-json")
24
24
  spec.add_dependency("fog-xml", "~> 0.1.1")
25
+ spec.add_dependency("rbovirt", "~> 0.1.4")
25
26
 
26
27
  spec.add_development_dependency 'bundler', '~> 1.10'
27
28
  spec.add_development_dependency 'pry', '~> 0.10'
28
29
  spec.add_development_dependency 'rake', '~> 10.0'
29
30
  spec.add_development_dependency 'rubocop', '~> 0.34'
30
31
  spec.add_development_dependency 'shindo', '~> 0.3'
31
- spec.add_development_dependency("rbovirt", "0.1.3")
32
32
  end
@@ -123,7 +123,11 @@ module Fog
123
123
 
124
124
  def start_with_cloudinit(options = {})
125
125
  wait_for { !locked? } if options[:blocking]
126
- user_data = Hash[YAML.load(options[:user_data]).map{|a| [a.first.to_sym, a.last]}]
126
+ if options[:use_custom_script]
127
+ user_data = { :custom_script => options[:user_data] }
128
+ else
129
+ user_data = Hash[YAML.load(options[:user_data]).map{|a| [a.first.to_sym, a.last]}]
130
+ end
127
131
  service.vm_start_with_cloudinit(:id =>id, :user_data =>user_data)
128
132
  reload
129
133
  end
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Ovirt
3
- VERSION = '0.0.1'
3
+ VERSION = '0.1.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-ovirt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ori Rabin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-20 00:00:00.000000000 Z
11
+ date: 2017-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.1.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: rbovirt
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.1.4
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.1.4
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -122,20 +136,6 @@ dependencies:
122
136
  - - "~>"
123
137
  - !ruby/object:Gem::Version
124
138
  version: '0.3'
125
- - !ruby/object:Gem::Dependency
126
- name: rbovirt
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - '='
130
- - !ruby/object:Gem::Version
131
- version: 0.1.3
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - '='
137
- - !ruby/object:Gem::Version
138
- version: 0.1.3
139
139
  description: This library can be used as a module for `fog`.
140
140
  email:
141
141
  - orabin@redhat.com
@@ -144,6 +144,7 @@ extensions: []
144
144
  extra_rdoc_files: []
145
145
  files:
146
146
  - ".gitignore"
147
+ - ".travis.yml"
147
148
  - CONTRIBUTING.md
148
149
  - CONTRIBUTORS.md
149
150
  - Gemfile