diff --git a/.gitignore b/.gitignore index 0108070..2e6247f 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,6 @@ tmp .rspec .gemrelease tags + +# Idea files +.idea/ \ No newline at end of file diff --git a/bin/console b/bin/console new file mode 100644 index 0000000..6eab8a7 --- /dev/null +++ b/bin/console @@ -0,0 +1,4 @@ +#!/usr/bin/env ruby + +require "irb" +IRB.start(__FILE__) \ No newline at end of file diff --git a/ey-core.gemspec b/ey-core.gemspec index 4ae91c0..f2dea35 100644 --- a/ey-core.gemspec +++ b/ey-core.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |gem| gem.email = ["engineering@engineyard.com"] 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) } diff --git a/lib/ey-core/models/alert.rb b/lib/ey-core/models/alert.rb index ad48eb2..c09c3c2 100644 --- a/lib/ey-core/models/alert.rb +++ b/lib/ey-core/models/alert.rb @@ -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 diff --git a/lib/ey-core/version.rb b/lib/ey-core/version.rb index 2b1e43f..9a8f907 100644 --- a/lib/ey-core/version.rb +++ b/lib/ey-core/version.rb @@ -1,5 +1,5 @@ module Ey module Core - VERSION = "3.4.4" + VERSION = "3.4.5" end end