odata 0.6.3 → 0.6.4

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
  SHA1:
3
- metadata.gz: 41730d574103288a650b5b0a75ac63805f4882c7
4
- data.tar.gz: 66dacc17716212d8c7a773d1c8b6570a6598bcb1
3
+ metadata.gz: b4036311566c446d7bd165902d2f7ddaab1723bc
4
+ data.tar.gz: c6aa004df39b76f301ce7ac10fbd910e1a91f9b4
5
5
  SHA512:
6
- metadata.gz: 1caeb2f264cb71cb220fe62f6e7da19475259901a350b106568588cb092816511267b33f8f1e11080b2dca1182115f870eb123a20c493ab2c40753e1156fd9e4
7
- data.tar.gz: ad2dca3eeeb199520eaf5cd6b0057d1f340b85abc2bd9c617d8073a77cc2be65763e272693eb7162d3cc2623d6d10b02b52fbffd4a305dc63f0836d2287bb1c0
6
+ metadata.gz: 89e62614c4d01b6e5c2f12988b0a4ccb91c4a9e15038f8912254f02017dae5bb91f9f1be069038903d5ed41a0d5b77a25e1f88fed02b6d387ac9d0a6c0461ec3
7
+ data.tar.gz: 4f6b9eb649e1398e9a47a0ff8f6bb6e8a4df15be375ab48b9748bd78b15636b064b80c8b3e968942b772ce0b53cce60fd370d6a39cbf7515f47dafc95579a0f8
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.6.4
4
+
5
+ * Added implementation of OData::ComplexType#type.
6
+
3
7
  ## 0.6.3
4
8
 
5
9
  * Added OData::ComplexType#to_xml to make entity saving work correctly.
@@ -19,6 +19,12 @@ module OData
19
19
  collect_properties
20
20
  end
21
21
 
22
+ # Returns the namespaced type for the ComplexType.
23
+ # @return [String]
24
+ def type
25
+ "#{namespace}.#{name}"
26
+ end
27
+
22
28
  # Returns the namespace this ComplexType belongs to.
23
29
  # @return [String]
24
30
  def namespace
@@ -1,3 +1,3 @@
1
1
  module OData
2
- VERSION = '0.6.3'
2
+ VERSION = '0.6.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: odata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Thompson