Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ end

group :test do
gem 'codeclimate-test-reporter', '~> 0.3'
gem 'faker'
gem 'faker', '= 1.7.2'
gem 'hashie'
gem 'rack-test'
gem 'rspec', '~> 3.1'
Expand Down
2 changes: 2 additions & 0 deletions lib/ey-core/models/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class Ey::Core::Client::Server < Ey::Core::Model
attribute :keymaster_id
attribute :location
attribute :name
attribute :no_deploy
attribute :private_hostname
attribute :provisioned_at, type: :time
attribute :provisioned_id
Expand Down Expand Up @@ -111,6 +112,7 @@ def save!
"dedicated" => self.dedicated,
"flavor" => self.flavor_id,
"iops" => self.iops,
"no_deploy" => self.no_deploy,
"location" => self.location || environment.region,
"mnt_volume_size" => self.mnt_volume_size,
"name" => self.name,
Expand Down