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.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
  • Loading branch information
eudalov authored Dec 15, 2023
1 parent 7a181d0 commit a7d82d3
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 IDE 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.6.5"
VERSION = "3.6.6"
end
end

0 comments on commit a7d82d3

Please sign in to comment.