snaptable 1.1.0 → 1.1.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 425f7b1eff1c147de09531a263b41987c67fde2d
|
4
|
+
data.tar.gz: f7000b471d917f975c2497bfd46d518903e54774
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43c2cdd003b6b50d1dd6ab6973e87bc22ff130cb4d36cb43e7362bf13148aaf5c92709dcc7af3853751cbc263e11919af400e6c1def17fd846246d780402529b
|
7
|
+
data.tar.gz: 8133473172ac95a85574d173fbd3f3e00466436292e8ac34c7b28b94fd6e307a44e3a0052c18c8c587d4e324cf7d4a994976d0045d478f207d76bec6c8df41dc
|
@@ -12,8 +12,8 @@ module Snaptable
|
|
12
12
|
|
13
13
|
def initialize(parent, collection = nil, options = {})
|
14
14
|
super(parent)
|
15
|
-
@collection = collection
|
16
15
|
@options = options
|
16
|
+
@collection = collection || model.none
|
17
17
|
@token = stored_token if Snaptable.use_permission
|
18
18
|
end
|
19
19
|
|
@@ -36,4 +36,4 @@ module Snaptable
|
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
|
-
BaseTable = Snaptable::Constructor::BaseTable
|
39
|
+
BaseTable = Snaptable::Constructor::BaseTable
|
data/lib/snaptable/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snaptable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- khcr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|