adaptation 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -3,7 +3,7 @@
3
3
  * 0.0.4
4
4
  - added console and debugger
5
5
  * 0.0.5
6
- - migrated to ActiveRrecord validations
6
+ - migrated to ActiveRecord validations
7
7
  * 0.0.6
8
8
  - forced to use ROXML version 1.2
9
9
  * 0.0.7
@@ -33,7 +33,7 @@
33
33
  - removed breakpoint.rb library
34
34
  * 0.1.2
35
35
  - messages publish with publish method in Adaptor::Adaptor need quotation marks
36
- - adaptors without ApplicationAdaptor complained, so if ApplicationAdapotr doesn't
36
+ - adaptors without ApplicationAdaptor complained, so if ApplicationAdaptor doesn't
37
37
  exist return an Adaptation::Adaptor in base.rb
38
38
  - embedded mom publish method changed. Subscribrers publish, and a separated mom loop
39
39
  will send messages to other subscribers.
@@ -41,10 +41,14 @@
41
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
- subscriber to finnish oprocessing it
44
+ subscriber to finnish processing it
45
45
  - if when subscribing desired address is in use just log it and return
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
49
  * 0.1.5
50
50
  - added dynamic xml fixtures
51
+ * 0.1.6
52
+ - added deprecated method Adaptation::Message#check for backwards compatibility
53
+ - corrected path in base.rb to find settings.yml using ADAPTOR_ROOT
54
+ - forced ActiveRecord versions 2.2.2 (2.3.x breaks tests)
@@ -8,7 +8,7 @@ module Adaptation
8
8
  $environment = "development"
9
9
  end
10
10
 
11
- if File.exists?("config/settings.yml")
11
+ if File.exists?("#{ADAPTOR_ROOT}/config/settings.yml")
12
12
  $config = YAML::load(File.open("#{ADAPTOR_ROOT}/config/settings.yml"))[$environment]
13
13
  end
14
14
 
@@ -330,6 +330,12 @@ module Adaptation
330
330
  parse xml_message
331
331
  end
332
332
 
333
+ # Alias for {Adaptation::Message#valid?}[http://api.rubyonrails.org/classes/ActiveRecord/Validations.html#M002099]
334
+ # <em>Deprecated</em>, use <em>valid?</em> instead.
335
+ def check
336
+ valid?
337
+ end
338
+
333
339
  end
334
340
 
335
341
  end
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.5
4
+ version: 0.1.6
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-02-09 00:00:00 +01:00
12
+ date: 2009-03-11 00:00:00 +01:00
13
13
  default_executable: adaptation
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -28,9 +28,9 @@ dependencies:
28
28
  version_requirement:
29
29
  version_requirements: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "="
32
32
  - !ruby/object:Gem::Version
33
- version: "0"
33
+ version: 2.2.2
34
34
  version:
35
35
  description: Adaptation is a framework for building "adaptors" for web-applications, so they can interact with other web-applications publishing messages and being subscribed to a message queue.
36
36
  email: xavi@oaproject.net
@@ -68,6 +68,7 @@ files:
68
68
  - lib/adaptation/test/fake_fixtures.rb
69
69
  - lib/adaptation/test/test_help.rb
70
70
  - lib/adaptation/validateable.rb
71
+ - lib/tasks
71
72
  - lib/commands.rb
72
73
  - lib/rails_generator
73
74
  - lib/rails_generator/options.rb