ellen 0.2.6 → 0.2.7
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 +6 -0
- data/lib/ellen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe9068e389d0ffa32102d027f7f16bda97a0fd43
|
4
|
+
data.tar.gz: 12af41e5c1793bc7333d4519c3c4d0bbfd07a556
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c63584de57ef3187db685e909841be7db0a7dc89ebb45686f919d06773efc6ea63298df0eb57d72e19cba6ccafe34d39b0aeab2576375eaff6710160158f9776
|
7
|
+
data.tar.gz: c12864e946fb42f9458215e48def39d7e4304068f9f51e7b62d460a1ef8d694a330f78acb5204b597dfb45b7f0cdc3ed6c352b04fd748905027d84a73c9056fb
|
data/CHANGELOG.md
CHANGED
data/lib/ellen/message.rb
CHANGED
@@ -17,6 +17,12 @@ module Ellen
|
|
17
17
|
@original[:from]
|
18
18
|
end
|
19
19
|
|
20
|
+
# @note Some chat service such as XMPP has 2 types of address, address and username
|
21
|
+
# @return [String] User identifier in the Chat service
|
22
|
+
def from_name
|
23
|
+
@original[:from_name] || from
|
24
|
+
end
|
25
|
+
|
20
26
|
def robot
|
21
27
|
@original[:robot]
|
22
28
|
end
|
data/lib/ellen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ellen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|