Skip to content

Commit a7d82d3

Browse files
authored
GHI-5855 - Added the type field to the Ey::Core::Client::Alert class (updated ey-core 3.6.5) (#139)
* Changed gem version to debug one * Added debug messages to check if it appears in the output * Added `type` field to `Ey::Core::Client::Alert` class * Added bin/console script * Added Idea IDE related files to ``.gitignore` * Fixed typo in debug message and changed the gem version * Added homepage * Removed debug message * Fixed .gitignore
1 parent 7a181d0 commit a7d82d3

File tree

5 files changed

+10
-2
lines changed

5 files changed

+10
-2
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ tmp
2121
.rspec
2222
.gemrelease
2323
tags
24+
25+
# Idea IDE files
26+
.idea/

bin/console

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env ruby
2+
3+
require "irb"
4+
IRB.start(__FILE__)

ey-core.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
1010
gem.email = ["[email protected]"]
1111
gem.description = %q{Engine Yard Core API Ruby Client}
1212
gem.summary = %q{Client library providing real and mock functionality for accessing Engine Yard's Core API}
13-
gem.homepage = ""
13+
gem.homepage = "https://github.com/engineyard/core-client-rb"
1414

1515
gem.files = `git ls-files`.split($/)
1616
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }

lib/ey-core/models/alert.rb

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class Ey::Core::Client::Alert < Ey::Core::Model
1515
attribute :severity
1616
attribute :started_at, type: :time
1717
attribute :updated_at, type: :time
18+
attribute :type
1819

1920
attr_writer :database_server, :server, :agent, :resource
2021

lib/ey-core/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Ey
22
module Core
3-
VERSION = "3.6.5"
3+
VERSION = "3.6.6"
44
end
55
end

0 commit comments

Comments
 (0)