fog-softlayer 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTRkYjQxZWNhZTFhMzZhNWE5OWU2NmIyMjQ3ZGVkYzI2MTQ0MGRhZA==
4
+ ZDgzYjVhMTZlZjU5YjE3OWRlMmM5MzNkM2QyMGMyYjgxMWJlNmNkMQ==
5
5
  data.tar.gz: !binary |-
6
- YjkzMWIxMWU2NTVkY2E4N2U4YTE5ZThmZmU4ZWZhNWI1MDQ1MmNiMg==
6
+ ODE1OWEzZmFhZjNmMmJkNTBkOGI5MDMyOTNhOTQzMzU3OWMwMTcwYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmFmY2YyMTc2MzU2NDNhOGM5MDUyMjFhOTVjOWM2ZjQ1YzRhMjRlNzY4ZjI4
10
- NDg2NjZkMTJmYTI2OTQxN2Q1OGFmZDU4NGQ4ZjIyZjQ0NDVjYmFhNjA0ZmQy
11
- MDMxNTljNmE2Yjg4YjllMWU2ZDM5MWU4NDBlYzkzNzY2YmFhMzk=
9
+ YTQzOGVhNDJjMzkzYWY4YjBiNzE3YzhlZTZjZGE2ZDE0ZDY1MDU5MzM5Mjgw
10
+ MzcxMTYwNDg5MjMxM2Q5ZmM1MDU3MDVhNzliZmEzZjVlOTUxMWZkZGM1MGFl
11
+ ZWQ4Y2RlMzI2NTk2YTYyMDRhOTFmMGZjNWQ4ZTQzMWEwNTFmYWY=
12
12
  data.tar.gz: !binary |-
13
- NWIwOTc3N2ZiMGQ4MmYxMWMxOGZiMjllODg0MDk1YmVkNmJlMWQ0MmVhY2I5
14
- OTU2Y2ExYzA4MDdiNzMzYTNmMjZjODY1YWRlNzFkNjQzNmE3NDM0NjVkZTIy
15
- MjI1MThjZDI3NTFlMjIxODg2ZjQxYjU1OTQ4ZTY5YWVjY2NiZGQ=
13
+ ZGQwODJjN2RlOWQ0NzUwMDg2ZjVhNDhlNWZlZjBlYTM5YTE1NGY1NGRmMjg4
14
+ NzkzZWYyMmFhOWUyNmFjODYzNzVmNGE3Y2NiMDFlNDA4YTZmMjg2ZmViMWQ1
15
+ MWM3NDNhMDI5YzBkNWM4ZDNjODAzNThjMTdkZDM5YTc0Y2M3MWI=
data/CHANGELOG.md CHANGED
@@ -2,8 +2,9 @@
2
2
  * Added support for ssh key pairs.
3
3
  * See [key_pairs.md](https://github.com/fog/fog-softlayer/blob/master/examples/key_pairs.md) for details.
4
4
  * Fix [issue 19](https://github.com/fog/fog-softlayer/issues/19) Storage initialization bug.
5
- * Fix [issue 17], incompatibility with Rails 4.1.4. *thanks konsti*
6
- * Updated .fog file example and datacenter option. *thanks
5
+ * Fix [issue 17](https://github.com/fog/fog-softlayer/issues/17), incompatibility with Rails 4.1.4. *thanks konsti*
6
+ * Updated .fog file example and datacenter option. *thanks urasoko*
7
+ * Fix [issue 14](https://github.com/fog/fog-softlayer/issues/14), added `:private_network_only` flag to Server model.
7
8
 
8
9
  ## 0.3.2 2014-06-30
9
10
  * No longer requires `fog` gem.
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ require 'date'
21
21
  require 'rubygems'
22
22
  require 'rubygems/package_task'
23
23
  require 'yard'
24
- require File.dirname(__FILE__) + '/lib/fog'
24
+ require File.dirname(__FILE__) + '/lib/fog/softlayer'
25
25
 
26
26
  #############################################################################
27
27
  #
data/examples/compute.md CHANGED
@@ -229,4 +229,20 @@ default:
229
229
 
230
230
 
231
231
  ```
232
+
233
+ 1. Provision a Server with only a private network.
234
+
235
+ ```ruby
236
+ opts = {
237
+ :flavor_id => 'm1.large',
238
+ :os_code => 'UBUNTU_LATEST',
239
+ :domain => 'example.com',
240
+ :datacenter => 'ams01',
241
+ :name => 'private-eye',
242
+ :private_network_only => true
243
+ }
244
+
245
+ private_vm = @sl.servers.create(opts)
246
+ # => <Fog::Compute::Softlayer::Server>
247
+ ```
232
248
 
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Fog::Softlayer::VERSION
9
9
  spec.authors = ["Matt Eldridge"]
10
10
  spec.email = ["matt.eldridge@us.ibm.com"]
11
- spec.date = '2014-06-26'
11
+ spec.date = '2014-07-16'
12
12
  spec.description = %q{Module for the 'fog' gem to support SoftLayer Cloud}
13
13
  spec.summary = %q{This library can be used as a module for `fog` or as standalone provider
14
14
  to use the SoftLayer Cloud in applications}
data/lib/fog/softlayer.rb CHANGED
@@ -5,7 +5,6 @@
5
5
  # LICENSE: MIT (http://opensource.org/licenses/MIT)
6
6
  #
7
7
 
8
- require 'fog'
9
8
  require 'fog/softlayer'
10
9
  require 'fog/softlayer/compute'
11
10
  require 'fog/softlayer/dns'
@@ -7,6 +7,6 @@
7
7
 
8
8
  module Fog
9
9
  module Softlayer
10
- VERSION = "0.3.7"
10
+ VERSION = "0.3.8"
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-softlayer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Eldridge
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-26 00:00:00.000000000 Z
11
+ date: 2014-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core
@@ -207,7 +207,6 @@ files:
207
207
  - fog-softlayer.gemspec
208
208
  - gemfiles/Gemfile-edge
209
209
  - gemfiles/Gemfile-ruby-1.8.7
210
- - lib/fog.rb
211
210
  - lib/fog/softlayer.rb
212
211
  - lib/fog/softlayer/compute.rb
213
212
  - lib/fog/softlayer/compute/shared.rb
@@ -371,7 +370,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
371
370
  version: '0'
372
371
  requirements: []
373
372
  rubyforge_project:
374
- rubygems_version: 2.2.2
373
+ rubygems_version: 2.3.0
375
374
  signing_key:
376
375
  specification_version: 4
377
376
  summary: This library can be used as a module for `fog` or as standalone provider
data/lib/fog.rb DELETED
@@ -1,15 +0,0 @@
1
- #
2
- # Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>)
3
- # © Copyright IBM Corporation 2014.
4
- #
5
- # LICENSE: MIT (http://opensource.org/licenses/MIT)
6
- #
7
-
8
- # necessary when requiring fog without rubygems while also
9
- # maintaining ruby 1.8.7 support (can't use require_relative)
10
- __LIB_DIR__ = File.expand_path(File.dirname(__FILE__))
11
- $LOAD_PATH.unshift __LIB_DIR__ unless $LOAD_PATH.include?(__LIB_DIR__)
12
-
13
- require 'fog/core'
14
- require 'fog/json'
15
- require 'fog/softlayer'