Skip to content

Commit

Permalink
Cleaned up extraneous whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
SLsthompson committed Jul 9, 2014
1 parent 3f0a4bd commit 37b0f03
Show file tree
Hide file tree
Showing 33 changed files with 8 additions and 64 deletions.
2 changes: 0 additions & 2 deletions lib/softlayer/BareMetalServerOrder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



module SoftLayer
#
# This class allows you to order a Bare Metal Server by providing
Expand Down
4 changes: 1 addition & 3 deletions lib/softlayer/BareMetalServerOrder_Package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



module SoftLayer
#
# This class is used to order a hardware server using a product package.
Expand All @@ -28,7 +26,7 @@ module SoftLayer
class BareMetalServerOrder_Package < Server
# The following properties are required in a server order.

# The product package object (an instance of SoftLayer::ProductPackage) identifying the base
# The product package object (an instance of SoftLayer::ProductPackage) identifying the base
# configuration for the server. A list of Bare Metal Server product packages is returned by
# SoftLayer::ProductPackage.bare_metal_server_packages
attr_reader :package
Expand Down
2 changes: 0 additions & 2 deletions lib/softlayer/Config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



require 'configparser'

module SoftLayer
Expand Down
2 changes: 0 additions & 2 deletions lib/softlayer/DynamicAttribute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



module SoftLayer

##
Expand Down
2 changes: 1 addition & 1 deletion lib/softlayer/ImageTemplate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -380,5 +380,5 @@ def self.template_with_global_id(global_id, options_hash = {})
def self.default_object_mask
return "mask[id,accountId,name,note,globalIdentifier,datacenters,blockDevices,tagReferences,publicFlag,flexImageFlag,transactionId,children.transactionId]"
end
end
end
end
2 changes: 0 additions & 2 deletions lib/softlayer/ModelBase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



module SoftLayer
##
# The SoftLayer Gem defines an Object Hierarchy representing entities in
Expand Down
2 changes: 0 additions & 2 deletions lib/softlayer/ObjectFilter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



module SoftLayer
##
# An ObjectFilter is a tool that, when passed to the SoftLayer API
Expand Down
2 changes: 0 additions & 2 deletions lib/softlayer/ObjectMaskParser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



require "softlayer/ObjectMaskTokenizer"
require "softlayer/ObjectMaskProperty"

Expand Down
2 changes: 0 additions & 2 deletions lib/softlayer/ObjectMaskProperty.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



module SoftLayer
#
# A class representing a SoftLayer Object's property as represented
Expand Down
2 changes: 0 additions & 2 deletions lib/softlayer/ObjectMaskToken.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



module SoftLayer
#
# This class is an implementation detail of the Object Mask Parser
Expand Down
2 changes: 0 additions & 2 deletions lib/softlayer/ObjectMaskTokenizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



require 'softlayer/ObjectMaskToken'
require 'strscan'

Expand Down
2 changes: 0 additions & 2 deletions lib/softlayer/ProductItemCategory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



module SoftLayer
# This struct represents a configuration option that can be included in
# a product order. Strictly speaking the only information required for
Expand Down
2 changes: 0 additions & 2 deletions lib/softlayer/ProductPackage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



require 'json'

module SoftLayer
Expand Down
2 changes: 0 additions & 2 deletions lib/softlayer/VirtualServer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



require 'time'

module SoftLayer
Expand Down
4 changes: 1 addition & 3 deletions lib/softlayer/VirtualServerOrder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



module SoftLayer
#
# VirtualServerOrder orders virtual servers using SoftLayer_Virtual_Guest::createObject.
Expand Down Expand Up @@ -43,7 +41,7 @@ class VirtualServerOrder

#--
# These two options are mutually exclusive, but one of them must be provided.
# If you provide both, the image_template will be added to the order and the
# If you provide both, the image_template will be added to the order and the
# os_reference_code will be ignored
#++

Expand Down
2 changes: 0 additions & 2 deletions lib/softlayer/object_mask_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



##
# This extension to the Hash class to allows object masks to be constructed
# from built-in Ruby types and converted to object masks strings for presentation
Expand Down
2 changes: 0 additions & 2 deletions rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__)))

require 'rubygems'
Expand Down
2 changes: 1 addition & 1 deletion softlayer_api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec'
s.add_development_dependency 'rdoc', '>=2.4.2'
s.add_development_dependency 'json', '~> 1.8', '>= 1.8.1'
s.add_development_dependency 'coveralls'
s.add_development_dependency 'coveralls'
end
2 changes: 0 additions & 2 deletions spec/APIParameterFilter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))

require 'rubygems'
Expand Down
2 changes: 1 addition & 1 deletion spec/Account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
expect(test_account.officePhone).to eq "555.123.4567"
end
end

it "fetches a list of open tickets" do
mock_client = SoftLayer::Client.new(:username => "fakeuser", :api_key => "fake_api_key")
account_service = mock_client["Account"]
Expand Down
2 changes: 1 addition & 1 deletion spec/BareMetalServerOrder_Package_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
package = SoftLayer::ProductPackage.new(client, fixture_from_json("Product_Package"))
SoftLayer::BareMetalServerOrder_Package.new(package, client)
end

let (:test_datacenter) do
client = SoftLayer::Client.new(:username => "fakeusername", :api_key => 'DEADBEEFBADF00D')
SoftLayer::Datacenter.new(client,'id' => 224092, 'name' => 'sng01')
Expand Down
4 changes: 2 additions & 2 deletions spec/BareMetalServerOrder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

it "places its :datacenter attribute into the order template" do
client = SoftLayer::Client.new(:username => "fakeusername", :api_key => 'DEADBEEFBADF00D')

expect(subject.hardware_instance_template["datacenter"]).to be_nil
subject.datacenter = SoftLayer::Datacenter.new(client, 'id' => 42, 'name' => "dal05")
expect(subject.hardware_instance_template["datacenter"]).to eq({ "name" => "dal05" })
Expand Down Expand Up @@ -211,7 +211,7 @@
client = SoftLayer::Client.new(:username => "fakeusername", :api_key => 'DEADBEEFBADF00D')
virtual_guest_service = client["Hardware"]
allow(virtual_guest_service).to receive(:call_softlayer_api_with_params)
fake_options =
fake_options =
allow(virtual_guest_service).to receive(:getCreateObjectOptions) { fixture_from_json("Hardware_createObjectOptions") }

location_service = client[:Location]
Expand Down
2 changes: 0 additions & 2 deletions spec/Config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))

require 'rubygems'
Expand Down
2 changes: 0 additions & 2 deletions spec/DynamicAttribute_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))

require 'rubygems'
Expand Down
2 changes: 0 additions & 2 deletions spec/ModelBase_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))

require 'rubygems'
Expand Down
2 changes: 0 additions & 2 deletions spec/ObjectMaskParser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))

require 'rubygems'
Expand Down
2 changes: 0 additions & 2 deletions spec/ObjectMaskProperty_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))

require 'rubygems'
Expand Down
2 changes: 0 additions & 2 deletions spec/ProductPackage_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))

require 'rubygems'
Expand Down
2 changes: 0 additions & 2 deletions spec/Server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))

require 'rubygems'
Expand Down
2 changes: 0 additions & 2 deletions spec/Service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))

require 'rubygems'
Expand Down
2 changes: 0 additions & 2 deletions spec/VirtualServer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))

require 'rubygems'
Expand Down
2 changes: 0 additions & 2 deletions spec/XMLRPC_Convert_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))

require 'rubygems'
Expand Down
2 changes: 0 additions & 2 deletions spec/object_mask_helpers_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# For licensing information see the LICENSE.md file in the project root.
#++



$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))

require 'rubygems'
Expand Down

0 comments on commit 37b0f03

Please sign in to comment.