adaptation 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -1
- data/lib/adaptation/test/test_help.rb +3 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
@@ -38,7 +38,7 @@
|
|
38
38
|
- embedded mom publish method changed. Subscribrers publish, and a separated mom loop
|
39
39
|
will send messages to other subscribers.
|
40
40
|
* 0.1.3
|
41
|
-
- solved loop that
|
41
|
+
- solved loop that consumed lots of cpu in mom command
|
42
42
|
* 0.1.4
|
43
43
|
- subscribers with a message buffer too; mom just delivers messages without waiting
|
44
44
|
subscriber to finnish oprocessing it
|
@@ -46,3 +46,5 @@
|
|
46
46
|
- settings.yml template improved
|
47
47
|
- added support to subscribe/publish to Xmlblaster (http://www.xmlblaster.org)
|
48
48
|
via XML-RPC
|
49
|
+
* 0.1.5
|
50
|
+
- added dynamic xml fixtures
|
@@ -12,6 +12,8 @@ if File.exists?("config/database.yml")
|
|
12
12
|
Test::Unit::TestCase.fixture_path = 'test/fixtures'
|
13
13
|
end
|
14
14
|
|
15
|
+
require 'erb'
|
16
|
+
|
15
17
|
class Test::Unit::TestCase
|
16
18
|
|
17
19
|
# Asserts that a message[link:/classes/Adaptation/Message.html] in a xml
|
@@ -253,7 +255,7 @@ class Test::Unit::TestCase
|
|
253
255
|
fixture_contents << line.strip.chomp
|
254
256
|
end
|
255
257
|
}
|
256
|
-
fixture_contents.chomp
|
258
|
+
ERB.new(fixture_contents.chomp).result
|
257
259
|
end
|
258
260
|
|
259
261
|
def load_message_fixture fixture_symbol #:nodoc:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adaptation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xavi Vila Morell
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-02-09 00:00:00 +01:00
|
13
13
|
default_executable: adaptation
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|