Skip to content

Commit

Permalink
GHI-5855 - Added the type field to the Ey::Core::Client::Alert class …
Browse files Browse the repository at this point in the history
…(updated ey-core 3.4.4) (#138)

* Added debug messages to check if it appears in the output

* Added `type` field to `Ey::Core::Client::Alert` class

* Changed the version number

* Added bin/console script

* Removed debug message

* Added Idea IDE file to .gitignore

* Removed meaningless changes in get_alerts.rb

* Added homepage
  • Loading branch information
eudalov authored Dec 15, 2023
1 parent fae13a3 commit 14b0a93
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ tmp
.rspec
.gemrelease
tags

# Idea files
.idea/
4 changes: 4 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env ruby

require "irb"
IRB.start(__FILE__)
2 changes: 1 addition & 1 deletion ey-core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
gem.email = ["[email protected]"]
gem.description = %q{Engine Yard Core API Ruby Client}
gem.summary = %q{Client library providing real and mock functionality for accessing Engine Yard's Core API}
gem.homepage = ""
gem.homepage = "https://github.com/engineyard/core-client-rb"

gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
Expand Down
1 change: 1 addition & 0 deletions lib/ey-core/models/alert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class Ey::Core::Client::Alert < Ey::Core::Model
attribute :severity
attribute :started_at, type: :time
attribute :updated_at, type: :time
attribute :type

attr_writer :database_server, :server, :agent, :resource

Expand Down
2 changes: 1 addition & 1 deletion lib/ey-core/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Ey
module Core
VERSION = "3.4.4"
VERSION = "3.4.5"
end
end

0 comments on commit 14b0a93

Please sign in to comment.