frodo 0.10.6 → 0.10.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 794d51d038cdd0d394f220be58870ff62595e44f51192dde8cf949871dcec4fb
4
- data.tar.gz: 61c94e9234206c8ecd8a21ed5a4969f203b968ffcb7d3fb4a6e89699c4cecb73
3
+ metadata.gz: e79cbc935ff239133a2d2e8a4442dfc20485909cafd792d6ae0d8b7e3337754c
4
+ data.tar.gz: 9f53db97b39d58ecd07229c3cfdedd25316dccb0d1836b8f324e72a9351597b5
5
5
  SHA512:
6
- metadata.gz: 2f0f0fad989d9453752412a9c478ed58719fdb84ed11abc35ed2a2c115066c9b7e035523ddda55c8d7916d876e864e78c528f05c13ff359cf15e4e8ecb65fbc8
7
- data.tar.gz: 426d6d42b6877f4b85a3e69a3263d064a7a66c96d3ffffc574262e8c21464e7cab20122da32df4131b689fcf17833bcfead2af4dce571601ee32cdfc494fda5e
6
+ metadata.gz: c49953c39c409d193ddde2dc3cadf7259d2758b7b2a96122f354a62b1031827357a999b921bf926d2d08b147cdaeecd92e7d1d408e9a412c46e25ec581f0bd5a
7
+ data.tar.gz: b6aaf7be4aed684517230a70e6a148d798931493d9803cabf89c788bbaeac6dd0e96f688c861df80146121cde6eec1f2fdaf11ec0533313222e95953f11f8564
@@ -40,6 +40,11 @@ module Frodo
40
40
  api_get("$metadata").body
41
41
  end
42
42
 
43
+ def metadata_on_init
44
+ # Creating Metadata using a different client than the one that is stored
45
+ Frodo::Client.new(@options).api_get("$metadata").body
46
+ end
47
+
43
48
  # Public: Execute a query and returns the result.
44
49
  #
45
50
  # Query can be the url_chunk per the OData V4 spec or
@@ -73,7 +73,7 @@ module Frodo
73
73
  end
74
74
 
75
75
  def service
76
- @service ||= Frodo::Service.new(instance_url, strict: false, metadata_document: metadata)
76
+ @service ||= Frodo::Service.new(instance_url, strict: false, metadata_document: metadata_on_init)
77
77
  end
78
78
 
79
79
  def inspect
data/lib/frodo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Frodo
2
- VERSION = '0.10.6'
2
+ VERSION = '0.10.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frodo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.6
4
+ version: 0.10.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emmanuel Pinault
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-21 00:00:00.000000000 Z
11
+ date: 2019-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri