eaal 0.1.8 → 0.1.9

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.
Files changed (3) hide show
  1. data/lib/eaal/result.rb +5 -1
  2. data/lib/eaal.rb +1 -1
  3. metadata +2 -2
data/lib/eaal/result.rb CHANGED
@@ -27,6 +27,11 @@ module EAAL
27
27
  def method_missing(method, *args)
28
28
  self.container[method.id2name]
29
29
  end
30
+
31
+ def to_hash
32
+ hash = {}
33
+ return hash.merge!(self.container)
34
+ end
30
35
  end
31
36
 
32
37
  # result element
@@ -48,7 +53,6 @@ module EAAL
48
53
  else
49
54
  self.value.send(method, *args)
50
55
  end
51
-
52
56
  end
53
57
 
54
58
  # parses an xml element to create either the ResultElement, ResultContainer or Rowset
data/lib/eaal.rb CHANGED
@@ -35,7 +35,7 @@ require 'eaal/result'
35
35
  require 'eaal/rowset'
36
36
  module EAAL
37
37
  mattr_reader :version_string
38
- VERSION = "0.1.8" # fix for Hoe.spec 2.x
38
+ VERSION = "0.1.9" # fix for Hoe.spec 2.x
39
39
  @@version_string = "EAAL" + VERSION # the version string, used as client name in http requests
40
40
 
41
41
  mattr_accessor :api_base, :additional_request_parameters, :cache
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eaal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-30 00:00:00.000000000 Z
12
+ date: 2012-08-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport