benelux 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +4 -0
- data/benelux.gemspec +1 -1
- data/lib/benelux.rb +1 -1
- data/lib/benelux/timeline.rb +9 -2
- metadata +2 -2
data/CHANGES.txt
CHANGED
data/benelux.gemspec
CHANGED
data/lib/benelux.rb
CHANGED
data/lib/benelux/timeline.rb
CHANGED
@@ -138,8 +138,15 @@ module Benelux
|
|
138
138
|
super
|
139
139
|
end
|
140
140
|
|
141
|
-
|
142
|
-
|
141
|
+
# +msg+ is the message to store. This can be any type of
|
142
|
+
# object that includes Selectable::Object (so that tags
|
143
|
+
# can be added to the message to retreive it later). If
|
144
|
+
# +msg+ does not include Selectable::Object it will be
|
145
|
+
# converted to a TaggableString object.
|
146
|
+
def add_message(msg, tags={})
|
147
|
+
unless msg.kind_of?(Selectable::Object)
|
148
|
+
msg = TaggableString.new msg.to_s
|
149
|
+
end
|
143
150
|
msg.add_tags self.default_tags
|
144
151
|
msg.add_tags tags
|
145
152
|
@messages << msg
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: benelux
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Delano Mandelbaum
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-13 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|