lazy_columns 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/lazy_columns/acts_as_lazy_column_loader.rb +1 -1
- data/lib/lazy_columns/version.rb +1 -1
- metadata +11 -27
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6912df43b521da5aaea085d4640dbbf36eb8e747
|
4
|
+
data.tar.gz: 77fd0671a56fa4c14becb4e179ac39813588eb31
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e8e474f3b50590e5e8bcca580e2aa21bcd2e93896def07a9b274519ea584446d8e0caf8ae5ba000a39fa972bad09dffe9d1cb3e568ec64bb92938125c7f09c3a
|
7
|
+
data.tar.gz: 5311634d20ded836536bba6adb34a7ac61a5ff9910cf6c12475867320e893e7da04324dea920b9f53a96490bf8a258e3b29d46a1cdae291cca608905012d1983
|
@@ -13,7 +13,7 @@ module LazyColumns
|
|
13
13
|
private
|
14
14
|
|
15
15
|
def exclude_columns_from_default_scope(columns)
|
16
|
-
default_scope select((column_names - columns).map { |column_name| "#{table_name}.#{column_name}" })
|
16
|
+
default_scope { select((column_names - columns).map { |column_name| "#{table_name}.#{column_name}" }) }
|
17
17
|
end
|
18
18
|
|
19
19
|
def define_lazy_accessors_for(columns)
|
data/lib/lazy_columns/version.rb
CHANGED
metadata
CHANGED
@@ -1,52 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lazy_columns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
5
|
-
prerelease:
|
4
|
+
version: 0.5.7
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jorge Manrubia
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-08-21 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '3.2'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '3.2'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: sqlite3
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rspec-rails
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -134,33 +125,26 @@ files:
|
|
134
125
|
- spec/spec_helper.rb
|
135
126
|
homepage: https://github.com/jorgemanrubia/lazy_columns
|
136
127
|
licenses: []
|
128
|
+
metadata: {}
|
137
129
|
post_install_message:
|
138
130
|
rdoc_options: []
|
139
131
|
require_paths:
|
140
132
|
- lib
|
141
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
142
|
-
none: false
|
143
134
|
requirements:
|
144
|
-
- -
|
135
|
+
- - '>='
|
145
136
|
- !ruby/object:Gem::Version
|
146
137
|
version: '0'
|
147
|
-
segments:
|
148
|
-
- 0
|
149
|
-
hash: -1026142534990287093
|
150
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
|
-
none: false
|
152
139
|
requirements:
|
153
|
-
- -
|
140
|
+
- - '>='
|
154
141
|
- !ruby/object:Gem::Version
|
155
142
|
version: '0'
|
156
|
-
segments:
|
157
|
-
- 0
|
158
|
-
hash: -1026142534990287093
|
159
143
|
requirements: []
|
160
144
|
rubyforge_project:
|
161
|
-
rubygems_version:
|
145
|
+
rubygems_version: 2.0.2
|
162
146
|
signing_key:
|
163
|
-
specification_version:
|
147
|
+
specification_version: 4
|
164
148
|
summary: Rails plugin that let you configure ActiveRecord columns to be loaded lazily
|
165
149
|
test_files:
|
166
150
|
- spec/dummy/app/assets/javascripts/application.js
|