tableless 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tableless/connection.rb +4 -0
- data/lib/tableless/persistence.rb +2 -2
- data/lib/tableless/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: ac9d1cacf0d6b1a5c66d8463e959cff01bed9714
|
4
|
+
data.tar.gz: 3d8103d8994a3ad0c99f3f444ce165307cdbac98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbef2c16edfcae0f3ef0a9b4e5e026017f9c58b956f743eaa1134981e9c7de530a5e0eec633c204dd82bbcd974ef8d773577f759c11f03558d7c78ad4d24bd1e
|
7
|
+
data.tar.gz: 617c8eef9bb61076f033349ca726138692a205cb14f547f15062487d8ecde6cf17b10854573ef1c3c76a58366a83a4129657804dd519aec26cf6682d8dc77a6b
|
data/lib/tableless/connection.rb
CHANGED
@@ -12,7 +12,7 @@ module Tableless
|
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
15
|
-
def reload(
|
15
|
+
def reload(*)
|
16
16
|
@attributes = self.class.new.instance_variable_get("@attributes")
|
17
17
|
@new_record = false
|
18
18
|
self
|
@@ -26,7 +26,7 @@ module Tableless
|
|
26
26
|
def destroy
|
27
27
|
@_trigger_destroy_callback = true
|
28
28
|
@destroyed = true
|
29
|
-
freeze
|
29
|
+
reload and freeze
|
30
30
|
end
|
31
31
|
|
32
32
|
private
|
data/lib/tableless/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tableless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonian Guveli
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|