odata-model 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/odata/model/persistence.rb +2 -2
- data/lib/odata/model/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 348ee88a34cbf023b7ccd2fe90b04cbc287fbf8f
|
4
|
+
data.tar.gz: 81edf1ccc1fbe3eeead2e7e56206a1a33c0fa77b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3d07826032fe6bd687325450a73c153824ec9ec0372aa7ae94e70cfa7c830fd09e295a8649fc9b7d679e24c55050d6f31fe9e3fa74a1bf4ba720e6521a6ed54
|
7
|
+
data.tar.gz: e57cc7621bbc4bacdf7a4bb8577aaeeba2857ee5d2d7c4aab6bf627a08e2d5dfb51b6a4aa692f7a51eb28210593d98d6c395f1a8581e9baa5ae6a12e4f8ae1e9
|
data/CHANGELOG.md
CHANGED
@@ -35,7 +35,7 @@ module OData
|
|
35
35
|
|
36
36
|
# Save the current model.
|
37
37
|
def save
|
38
|
-
odata_service[odata_entity_set_name] << odata_entity
|
38
|
+
self.class.odata_service[odata_entity_set_name] << odata_entity
|
39
39
|
instance_variable_set(:@persisted, true)
|
40
40
|
changes_applied
|
41
41
|
end
|
@@ -43,7 +43,7 @@ module OData
|
|
43
43
|
# Reload the model from OData
|
44
44
|
def reload!
|
45
45
|
# TODO reload OData entity
|
46
|
-
reset_changes
|
46
|
+
#reset_changes
|
47
47
|
end
|
48
48
|
|
49
49
|
# Methods mixed in at the class level.
|
data/lib/odata/model/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: odata-model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Thompson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|