fog-softlayer 0.3.24 → 0.3.25

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZjA1MDg2NWU4OWViM2IyNTU4Y2Y1OTViOWEwMjIwZTM4ZTBjZjg4OA==
5
- data.tar.gz: !binary |-
6
- NjFkODczNzBmOGQ2ZjlhNTIxYzE3ZWNjMTA3YjA3MmIxNzI5ZmMzZA==
2
+ SHA1:
3
+ metadata.gz: 6bdcbe975bf34108b4f2939a580a838577cd6411
4
+ data.tar.gz: 72ecf786bbb3281b118d7eb2414d3f66e8f1827c
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- Y2E0NWIxYTJjYzRiM2M5ZjdkODdjMTE5OTQ1OGJiYzA3ZDliZThhMzZlNGIx
10
- N2E3NzcwOWExMzcyNGZkOGRjY2FlYzRjMjUxMDU2MjAxMzljYjdjY2JkMmVl
11
- YmU2Y2FjNTVhYmZkYTJiOTVlZGIzYWQ0NzA4OGEzNDZlYTgxNjI=
12
- data.tar.gz: !binary |-
13
- MzM3MmY5MTUxYzliNTRmNTFkNzY2NmZkYmY4MWQwNzk5NmY4MzkwOGEzMTJh
14
- ZDM1YjM5ZjllNWVhNWEzYzQ1MzFlMTcyMzZlNjY4ZjQ4MjViM2VmYzFjZWRi
15
- YTkxNDE4NzNkMzA0N2I2YmVlYTgzZWNkNjNhMDkzM2U5NDYyYWI=
6
+ metadata.gz: e6de76f98f4ede5285e4746d73782417bd7cbcdd4cf577ecd71d4b8b10bc41b35f73e45e6e27c9f765d503b1769a0f0351b1d5ab4a3fff8ba3f3e909d103828e
7
+ data.tar.gz: e9c4fdf1d58556e939ac8add2de0f45fb07728d673b4f345984dec3c85f76e8ce36c90a8469c4f73b67332356223d285713f10b31fa8b8bb9d7e0a0c4942c305
data/CONTRIBUTORS.md CHANGED
@@ -1,6 +1,7 @@
1
+ * Akira Matsuda <ronnie@dio.jp>
1
2
  * Celso Fernandes <fernandes@zertico.com>
2
3
  * Hiroyuki Urasoko <ura.58.58@gmail.com>
3
4
  * Konstantin Krauss <konstantin@propertybase.com>
4
5
  * Matt Eldridge <matt.eldridge@us.ibm.com>
5
- * Paulo Henrique Lopes Ribeiro <plribeiro3000@gmail.com>
6
+ * Paulo Henrique Lopes Ribeiro <paulo@majority.co>
6
7
  * geemus <geemus@gmail.com>
@@ -69,7 +69,12 @@ module Fog
69
69
  private
70
70
 
71
71
  def self.credentialize_url(username, apikey)
72
- @request_url = "https://#{username}:#{apikey}@#{@request_url}"
72
+ @request_url = "https://#{sanitize_username(username)}:#{apikey}@#{@request_url}"
73
+ end
74
+
75
+ def self.sanitize_username(username)
76
+ username.gsub!(/@/, '%40')
77
+ username
73
78
  end
74
79
 
75
80
  ##
@@ -23,7 +23,7 @@ module Fog
23
23
  {
24
24
  :id => 'm1.tiny',
25
25
  :name => 'Tiny Instance',
26
- :cpu => 2,
26
+ :cpu => 1,
27
27
  :disk => [{'device' => 0, 'diskImage' => {'capacity' => 25 } }],
28
28
  :ram => 1024
29
29
  },
@@ -7,6 +7,6 @@
7
7
 
8
8
  module Fog
9
9
  module Softlayer
10
- VERSION = "0.3.24"
10
+ VERSION = "0.3.25"
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-softlayer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.24
4
+ version: 0.3.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Eldridge
@@ -14,98 +14,98 @@ dependencies:
14
14
  name: fog-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: fog-json
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
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
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rbvmomi
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: yard
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ! '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: thor
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ! '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
@@ -126,56 +126,56 @@ dependencies:
126
126
  name: shindo
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
131
  version: 0.3.4
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: 0.3.4
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: fission
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ! '>='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ! '>='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: pry
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ! '>='
157
+ - - ">="
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ! '>='
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: osrcry
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ! '>='
171
+ - - ">="
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ! '>='
178
+ - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  description: Module for the 'fog' gem to support SoftLayer Cloud
@@ -185,8 +185,8 @@ executables: []
185
185
  extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
- - .gitignore
189
- - .travis.yml
188
+ - ".gitignore"
189
+ - ".travis.yml"
190
190
  - CHANGELOG.md
191
191
  - CONTRIBUTING.md
192
192
  - CONTRIBUTORS.md
@@ -373,12 +373,12 @@ require_paths:
373
373
  - lib
374
374
  required_ruby_version: !ruby/object:Gem::Requirement
375
375
  requirements:
376
- - - ! '>='
376
+ - - ">="
377
377
  - !ruby/object:Gem::Version
378
378
  version: '0'
379
379
  required_rubygems_version: !ruby/object:Gem::Requirement
380
380
  requirements:
381
- - - ! '>='
381
+ - - ">="
382
382
  - !ruby/object:Gem::Version
383
383
  version: '0'
384
384
  requirements: []
@@ -390,4 +390,3 @@ summary: This library can be used as a module for `fog` or as standalone provide
390
390
  to use the SoftLayer Cloud in applications
391
391
  test_files:
392
392
  - spec/fog/compute/softlayer_spec.rb
393
- has_rdoc: