ellen 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d335cc5735c8d5308fcdc4fc9cae63e922016d75
4
- data.tar.gz: b6bd23aa38894718ec4c334187296bb4380ff1cf
3
+ metadata.gz: 00aad36c6f88f0f259b0fa6cd9a24c6e1a0cdd13
4
+ data.tar.gz: 38e66b51e6389d497260ca257f6145ee25f22c4b
5
5
  SHA512:
6
- metadata.gz: d4f00ccc9dba2c6e54faab5dc56c36cb591cc1b020fa6184bb1fd8a2c44e4ec5421e3742650ae5d7de311d53acd5825f39e9d6df4c609722450af2fa20d55aa0
7
- data.tar.gz: 9bc6fd8798da1a74ecda1d696db68a1f3a50354e25cd70e765e23a3ae488c29cedfcf81382ee689c53d5398d2c1bedfbdf0234fd016bcb7a8a29a48b9ac146cb
6
+ metadata.gz: 63bb23ab82f4d1781b6c9474fb8694113020eec94f497151d6f7e12ff1c5a44fd047a726f965ee1e16283be05cad46140fcee1ed5e47df4fc52c903ac8aaf4df
7
+ data.tar.gz: a14ac2143cde8550c000027ae6fdb4525b2bff22da17b5442cf3cb6e558f553f949543300a4d806458ce3e29ca281c68cb8ec33316179fbb60a615fd5001bd08
@@ -1,3 +1,6 @@
1
+ ## 0.1.3
2
+ * Change Ellen::Message interface
3
+
1
4
  ## 0.1.2
2
5
  * Make Handler validatable
3
6
 
@@ -1,11 +1,11 @@
1
1
  module Ellen
2
2
  class Message
3
- attr_reader :body, :command, :match_data, :source
3
+ attr_reader :body, :match_data, :from, :to
4
4
 
5
5
  def initialize(options)
6
6
  @body = options[:body]
7
- @source = options[:source]
8
- @command = options[:command]
7
+ @from = options[:from]
8
+ @to = options[:to]
9
9
  end
10
10
 
11
11
  def match(pattern)
@@ -1,3 +1,3 @@
1
1
  module Ellen
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ellen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
@@ -236,3 +236,4 @@ test_files:
236
236
  - spec/ellen/handlers/ping_spec.rb
237
237
  - spec/ellen/robot_spec.rb
238
238
  - spec/spec_helper.rb
239
+ has_rdoc: