lib/octospy/parser.rb in octospy-0.0.3 vs lib/octospy/parser.rb in octospy-0.0.4
- old
+ new
@@ -5,10 +5,11 @@
require 'octospy/parser/issue'
require 'octospy/parser/pull_request'
require 'octospy/parser/wiki'
require 'octospy/parser/download'
require 'octospy/parser/gist'
+require 'octospy/parser/release'
module Octospy
class Parser
include User
include Organization
@@ -16,10 +17,11 @@
include Issue
include PullRequest
include Wiki
include Download
include Gist
+ include Release
def initialize(event)
@event = event
end
@@ -97,10 +99,11 @@
closed: :brown,
deleted: :red,
edited: :green,
published: :blue,
started: :rainbow,
- followed: :seven_eleven
+ followed: :seven_eleven,
+ saved: :cyan
}
end
def behavior_color(string)
color_table.each { |word, color|