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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/ellen/message.rb +3 -3
- data/lib/ellen/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00aad36c6f88f0f259b0fa6cd9a24c6e1a0cdd13
|
4
|
+
data.tar.gz: 38e66b51e6389d497260ca257f6145ee25f22c4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63bb23ab82f4d1781b6c9474fb8694113020eec94f497151d6f7e12ff1c5a44fd047a726f965ee1e16283be05cad46140fcee1ed5e47df4fc52c903ac8aaf4df
|
7
|
+
data.tar.gz: a14ac2143cde8550c000027ae6fdb4525b2bff22da17b5442cf3cb6e558f553f949543300a4d806458ce3e29ca281c68cb8ec33316179fbb60a615fd5001bd08
|
data/CHANGELOG.md
CHANGED
data/lib/ellen/message.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
module Ellen
|
2
2
|
class Message
|
3
|
-
attr_reader :body, :
|
3
|
+
attr_reader :body, :match_data, :from, :to
|
4
4
|
|
5
5
|
def initialize(options)
|
6
6
|
@body = options[:body]
|
7
|
-
@
|
8
|
-
@
|
7
|
+
@from = options[:from]
|
8
|
+
@to = options[:to]
|
9
9
|
end
|
10
10
|
|
11
11
|
def match(pattern)
|
data/lib/ellen/version.rb
CHANGED
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.
|
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:
|