adaptation 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -63,3 +63,5 @@
63
63
  - unused breakpointer.rb still present
64
64
  * 0.1.9
65
65
  - bug: test environment not set properly since 0.1.7
66
+ * 0.1.10
67
+ - generated mock publish.rb bug corrected
@@ -8,17 +8,14 @@ class Adaptation::Adaptor
8
8
  elsif options.first.is_a?(String)
9
9
  xml_message = options.first
10
10
  message_type = xml_message[1..(xml_message.index(/(>| )/) - 1)]
11
- message_class = get_class_object(message_type.capitalize)
11
+ message_class = Adaptation::Message.get_class_object(message_type.capitalize)
12
12
  message_object = message_class.to_object(xml_message)
13
13
  end
14
14
 
15
- mom = File.new(File.dirname(__FILE__) + '/mom.txt', "a")
15
+ mom = File.new(ADAPTOR_ROOT + '/test/mocks/test/mom.txt', "a")
16
16
  mom.write("#{message_object.to_xml.to_s}\n")
17
17
  mom.close
18
18
 
19
- # configuration = {}
20
- # configuration.update(options.pop) if options.last.is_a?(Hash)
21
-
22
19
  end
23
20
 
24
21
  end
@@ -2,7 +2,7 @@ module Adaptation
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 9
5
+ TINY = 10
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  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.9
4
+ version: 0.1.10
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-04-16 00:00:00 +02:00
12
+ date: 2009-05-18 00:00:00 +02:00
13
13
  default_executable: adaptation
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -66,7 +66,6 @@ files:
66
66
  - lib/adaptation/test/fake_fixtures.rb
67
67
  - lib/adaptation/test/test_help.rb
68
68
  - lib/adaptation/validateable.rb
69
- - lib/tasks
70
69
  - lib/commands.rb
71
70
  - lib/rails_generator
72
71
  - lib/rails_generator/options.rb