tdl-client-ruby 0.29.6 → 0.29.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8240a8e5d865fc79fbc846b2872eb992f178f4717c295e0f30d2fdfc06c57c55
4
- data.tar.gz: 3c905b83fb9ff15a3fb7ec49f3fac1d3d0b3fda582ca1dbd5f454bdf89253a58
3
+ metadata.gz: 6264d8e5d961380839c32853b71d9b0788b512c12a3dbe9d3342e25dfbd5bd19
4
+ data.tar.gz: 987911ce072fe3bd0b8bf5159e9d366dbe675489588694bb05f76b397d7e31db
5
5
  SHA512:
6
- metadata.gz: 4b40be2440d4b08b2e2be0fad8bba399ca207b60d104bc9e4bddb1883f2b7226aad62980de69176de3204a982732e75ef4bb48bdb0aa5ca9d2f79310db6ad170
7
- data.tar.gz: 5e1d9468d03aa8ad7099e808cbc0472d291e28132a33baab60c5d78da316195203c6bc1e1d25609da6abd1f7858f27366e0da7e3befaa33476dbd2cc6f655d13
6
+ metadata.gz: 0c141fed6d50e8a34e3621886466f53ea94c1a8f869c43d9821e8d67e94950a1655434ff2d8de9241733daa29c2020646fd55e1a3235c2dd9ad2a1cf938b755a
7
+ data.tar.gz: 86a7b748df181bdee114810b16b43e514983e6b3f6a2b3a1af172bf17fbb8bd49c113bd7afd1bf0c76a3ccf0cb3ec27ae6d7b7448be075c5fc1907c25ea2bff0
@@ -63,8 +63,7 @@ module TDL
63
63
  @audit.log_request(request)
64
64
 
65
65
  # Obtain response from user
66
- request_as_object = ApplyProcessingRules.request_as_object(request)
67
- response = @processing_rules.get_response_for(request_as_object)
66
+ response = @processing_rules.get_response_for(request)
68
67
  @audit.log_response(response)
69
68
 
70
69
  # Act
@@ -90,24 +89,6 @@ module TDL
90
89
  # Do nothing
91
90
  end
92
91
  end
93
-
94
- def self.request_as_object(request)
95
- Request.new(request.original_message,
96
- request.id,
97
- request.method,
98
- ApplyProcessingRules.to_openstruct(request.params))
99
- end
100
-
101
- def self.to_openstruct(obj)
102
- case obj
103
- when Hash
104
- OpenStruct.new(obj.transform_values { |v| to_openstruct(v) })
105
- when Array
106
- obj.map { |e| to_openstruct(e) }
107
- else
108
- obj
109
- end
110
- end
111
92
  end
112
93
  end
113
94
  end
@@ -3,7 +3,7 @@ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  #
6
- VERSION = "0.29.6"
6
+ VERSION = "0.29.7"
7
7
 
8
8
 
9
9
  #~~~~~ Create gemspec
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdl-client-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.6
4
+ version: 0.29.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Ghionoiu