fog-xenserver 0.2.1 → 0.2.2

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
- ---
2
- SHA512:
3
- data.tar.gz: d0ac34b63502b7b35a6bc805c2b2a820f9994a3a2e4a88d2e41b4042dd5bd53522abd4cb9f8c28ec74fcc5c3fbe1230bb8efa8f28c6ba279b11fb381f7221608
4
- metadata.gz: 522acc12e5a3405b1d2194c04201c2c4de4d963a7f3c0f91415fedc0b73ba6530fb41e16425de27260be369fbf11407b071299eeed9f8e10a06f219ce4028996
5
- SHA1:
6
- data.tar.gz: e52e7c087cd6034f4ebaf9af941c21feb77ca749
7
- metadata.gz: e0a54caf0e1052f809c836a58facebac1151ea51
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b828fe8475fa78d419a21ef900cf757ba7227e75
4
+ data.tar.gz: 9d27af6427233e3c81f69554781892dc81389c4e
5
+ SHA512:
6
+ metadata.gz: caba9aca2b1e7319e2218966d99400bc7ba78014319036c3d446f6c08acaa954efb6d51a95cdd2830b38ac02fcd197aa82ae14d40b69ef92d6c24f52420cbe4d
7
+ data.tar.gz: e70788e7aeb6e05a45674a2718be94f403f4100c460148cbf207e42d7516b66d48e72ca35619d2385646bba17b12a00b2849dc4a61b2c17d44dac2acb5f1ca0c
@@ -154,7 +154,7 @@ module Fog
154
154
 
155
155
  def clone(name)
156
156
  raise "Clone Operation not Allowed" unless can_be_cloned?
157
- self.reference = service.clone_vm(name, self.reference)
157
+ self.reference = service.clone_vm(reference, name)
158
158
  reload
159
159
  end
160
160
 
@@ -168,4 +168,4 @@ module Fog
168
168
  end
169
169
  end
170
170
  end
171
- end
171
+ end
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module XenServer
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
@@ -508,7 +508,7 @@ describe Fog::Compute::XenServer::Models::Server do
508
508
  describe "when it can be cloned" do
509
509
  before :each do
510
510
  def server.can_be_cloned?; true end
511
- def service.clone_vm(name, reference); @cloned = true end
511
+ def service.clone_vm(_reference, _name); @cloned = true end
512
512
  def server.reload; @reloaded = true end
513
513
  server.stub(:service, service) do
514
514
  server.clone('')
@@ -551,4 +551,4 @@ describe Fog::Compute::XenServer::Models::Server do
551
551
  service.instance_variable_get(:@reverted).must_equal(true)
552
552
  end
553
553
  end
554
- end
554
+ end
metadata CHANGED
@@ -1,97 +1,152 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: fog-xenserver
3
- version: !ruby/object:Gem::Version
4
- version: 0.2.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.2
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Paulo Henrique Lopes Ribeiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
-
12
- date: 2015-04-04 00:00:00 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- requirement: &id001 !ruby/object:Gem::Requirement
16
- requirements:
17
- - &id002
18
- - ">="
19
- - !ruby/object:Gem::Version
20
- version: "0"
21
- version_requirements: *id001
22
- prerelease: false
23
- type: :runtime
11
+ date: 2015-04-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
24
14
  name: fog-xml
25
- - !ruby/object:Gem::Dependency
26
- requirement: &id003 !ruby/object:Gem::Requirement
27
- requirements:
28
- - *id002
29
- version_requirements: *id003
30
- prerelease: false
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
31
20
  type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
32
28
  name: fog-core
33
- - !ruby/object:Gem::Dependency
34
- requirement: &id004 !ruby/object:Gem::Requirement
35
- requirements:
36
- - *id002
37
- version_requirements: *id004
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
38
35
  prerelease: false
39
- type: :development
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
40
42
  name: rake
41
- - !ruby/object:Gem::Dependency
42
- requirement: &id005 !ruby/object:Gem::Requirement
43
- requirements:
44
- - *id002
45
- version_requirements: *id005
46
- prerelease: false
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
47
48
  type: :development
48
- name: minitest
49
- - !ruby/object:Gem::Dependency
50
- requirement: &id006 !ruby/object:Gem::Requirement
51
- requirements:
52
- - *id002
53
- version_requirements: *id006
54
49
  prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
55
62
  type: :development
56
- name: turn
57
- - !ruby/object:Gem::Dependency
58
- requirement: &id007 !ruby/object:Gem::Requirement
59
- requirements:
60
- - *id002
61
- version_requirements: *id007
62
63
  prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: turn
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
63
76
  type: :development
64
- name: pry
65
- - !ruby/object:Gem::Dependency
66
- requirement: &id008 !ruby/object:Gem::Requirement
67
- requirements:
68
- - *id002
69
- version_requirements: *id008
70
77
  prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
71
90
  type: :development
72
- name: vcr
73
- - !ruby/object:Gem::Dependency
74
- requirement: &id009 !ruby/object:Gem::Requirement
75
- requirements:
76
- - *id002
77
- version_requirements: *id009
78
91
  prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: vcr
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
79
104
  type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
80
112
  name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: coveralls
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
81
139
  description: Module for the 'fog' gem to support XENSERVER.
82
140
  email: plribeiro3000@gmail.com
83
141
  executables: []
84
-
85
142
  extensions: []
86
-
87
143
  extra_rdoc_files: []
88
-
89
- files:
90
- - .gitignore
91
- - .rubocop
92
- - .ruby-gemset
93
- - .ruby-version
94
- - .travis.yml
144
+ files:
145
+ - ".gitignore"
146
+ - ".rubocop"
147
+ - ".ruby-gemset"
148
+ - ".ruby-version"
149
+ - ".travis.yml"
95
150
  - CONTRIBUTING.md
96
151
  - CONTRIBUTORS.md
97
152
  - Gemfile
@@ -536,29 +591,31 @@ files:
536
591
  - spec/fog/compute/xen_server_spec.rb
537
592
  - spec/minitest_helper.rb
538
593
  homepage: https://github.com/fog/fog-xenserver
539
- licenses:
594
+ licenses:
540
595
  - MIT
541
596
  metadata: {}
542
-
543
597
  post_install_message:
544
598
  rdoc_options: []
545
-
546
- require_paths:
599
+ require_paths:
547
600
  - lib
548
- required_ruby_version: !ruby/object:Gem::Requirement
549
- requirements:
550
- - *id002
551
- required_rubygems_version: !ruby/object:Gem::Requirement
552
- requirements:
553
- - *id002
601
+ required_ruby_version: !ruby/object:Gem::Requirement
602
+ requirements:
603
+ - - ">="
604
+ - !ruby/object:Gem::Version
605
+ version: '0'
606
+ required_rubygems_version: !ruby/object:Gem::Requirement
607
+ requirements:
608
+ - - ">="
609
+ - !ruby/object:Gem::Version
610
+ version: '0'
554
611
  requirements: []
555
-
556
612
  rubyforge_project:
557
- rubygems_version: 2.0.14
613
+ rubygems_version: 2.2.2
558
614
  signing_key:
559
615
  specification_version: 4
560
- summary: This library can be used as a module for `fog` or as standalone provider to use the XENSERVER in applications.
561
- test_files:
616
+ summary: This library can be used as a module for `fog` or as standalone provider
617
+ to use the XENSERVER in applications.
618
+ test_files:
562
619
  - spec/cassettes/builtin_templates.yml
563
620
  - spec/cassettes/clone_server.yml
564
621
  - spec/cassettes/create_network.yml