mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Standardise empty lines throughout codebase
Done with `rubocop --auto-correct --only EmptyLineBetweenDefs,EmptyLines,EmptyLinesAroundBody`
This commit is contained in:
parent
2e4fb619df
commit
2e0b7e545a
3819 changed files with 21 additions and 10695 deletions
|
|
@ -3,9 +3,7 @@ require 'fog/core/model'
|
|||
module Fog
|
||||
module Compute
|
||||
class Clodo
|
||||
|
||||
class Image < Fog::Model
|
||||
|
||||
identity :id
|
||||
|
||||
attribute :name
|
||||
|
|
@ -23,9 +21,7 @@ module Fog
|
|||
def ready?
|
||||
status == 'ACTIVE'
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -4,9 +4,7 @@ require 'fog/clodo/models/compute/image'
|
|||
module Fog
|
||||
module Compute
|
||||
class Clodo
|
||||
|
||||
class Images < Fog::Collection
|
||||
|
||||
model Fog::Compute::Clodo::Image
|
||||
|
||||
def all
|
||||
|
|
@ -20,9 +18,7 @@ module Fog
|
|||
rescue Fog::Compute::Clodo::NotFound
|
||||
nil
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -3,9 +3,7 @@ require 'fog/compute/models/server'
|
|||
module Fog
|
||||
module Compute
|
||||
class Clodo
|
||||
|
||||
class Server < Fog::Compute::Server
|
||||
|
||||
identity :id
|
||||
|
||||
attribute :addresses
|
||||
|
|
@ -117,10 +115,7 @@ module Fog
|
|||
end
|
||||
|
||||
private
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
|
|
@ -4,9 +4,7 @@ require 'fog/clodo/models/compute/server'
|
|||
module Fog
|
||||
module Compute
|
||||
class Clodo
|
||||
|
||||
class Servers < Fog::Collection
|
||||
|
||||
model Fog::Compute::Clodo::Server
|
||||
|
||||
def all
|
||||
|
|
@ -28,9 +26,7 @@ module Fog
|
|||
rescue Fog::Compute::Clodo::NotFound
|
||||
nil
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue