searchable-by 0.5.4 → 0.5.5
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 +4 -4
- data/Gemfile.lock +32 -29
- data/lib/searchable_by.rb +2 -2
- data/searchable-by.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b2c3092a9a334ae2ea2256953e9a1fa3198d6b6aa8d8f5fe7eb841920782dce
|
|
4
|
+
data.tar.gz: 6e6ba3ee470d96063a91e24c3fdcbe2be411a13a567828b57c39d74dc1a8133a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52a694bb37c67c2f4a8905e41d0affa729f1ddf0a595428278af25f8d97e986fe6bb5aa8cb462932dee1258032f4f3adb8b2f4f1c804f3c049482b7ef64493b0
|
|
7
|
+
data.tar.gz: ea1c883f1f9636c0baf7575918bf89330b22503efc132a65084a49a6e9ff63c96313efcc69259d4e26175b8f75744a65b8f6c39bfb130a9e4532a189aa19ed3f
|
data/Gemfile.lock
CHANGED
|
@@ -1,65 +1,68 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
searchable-by (0.5.
|
|
4
|
+
searchable-by (0.5.5)
|
|
5
5
|
activerecord
|
|
6
6
|
activesupport
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: http://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
activemodel (6.0.1)
|
|
12
|
-
activesupport (= 6.0.1)
|
|
13
|
-
activerecord (6.0.1)
|
|
14
|
-
activemodel (= 6.0.1)
|
|
15
|
-
activesupport (= 6.0.1)
|
|
16
|
-
activesupport (6.0.1)
|
|
11
|
+
activemodel (6.0.3.1)
|
|
12
|
+
activesupport (= 6.0.3.1)
|
|
13
|
+
activerecord (6.0.3.1)
|
|
14
|
+
activemodel (= 6.0.3.1)
|
|
15
|
+
activesupport (= 6.0.3.1)
|
|
16
|
+
activesupport (6.0.3.1)
|
|
17
17
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
18
18
|
i18n (>= 0.7, < 2)
|
|
19
19
|
minitest (~> 5.1)
|
|
20
20
|
tzinfo (~> 1.1)
|
|
21
|
-
zeitwerk (~> 2.2)
|
|
21
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
|
22
22
|
ast (2.4.0)
|
|
23
|
-
concurrent-ruby (1.1.
|
|
23
|
+
concurrent-ruby (1.1.6)
|
|
24
24
|
diff-lcs (1.3)
|
|
25
|
-
i18n (1.
|
|
25
|
+
i18n (1.8.2)
|
|
26
26
|
concurrent-ruby (~> 1.0)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
parser (2.6.5.0)
|
|
27
|
+
minitest (5.14.1)
|
|
28
|
+
parallel (1.19.1)
|
|
29
|
+
parser (2.7.1.3)
|
|
31
30
|
ast (~> 2.4.0)
|
|
32
31
|
rainbow (3.0.0)
|
|
33
32
|
rake (13.0.1)
|
|
33
|
+
rexml (3.2.4)
|
|
34
34
|
rspec (3.9.0)
|
|
35
35
|
rspec-core (~> 3.9.0)
|
|
36
36
|
rspec-expectations (~> 3.9.0)
|
|
37
37
|
rspec-mocks (~> 3.9.0)
|
|
38
|
-
rspec-core (3.9.
|
|
39
|
-
rspec-support (~> 3.9.
|
|
40
|
-
rspec-expectations (3.9.
|
|
38
|
+
rspec-core (3.9.2)
|
|
39
|
+
rspec-support (~> 3.9.3)
|
|
40
|
+
rspec-expectations (3.9.2)
|
|
41
41
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
42
42
|
rspec-support (~> 3.9.0)
|
|
43
|
-
rspec-mocks (3.9.
|
|
43
|
+
rspec-mocks (3.9.1)
|
|
44
44
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
45
45
|
rspec-support (~> 3.9.0)
|
|
46
|
-
rspec-support (3.9.
|
|
47
|
-
rubocop (0.
|
|
48
|
-
jaro_winkler (~> 1.5.1)
|
|
46
|
+
rspec-support (3.9.3)
|
|
47
|
+
rubocop (0.84.0)
|
|
49
48
|
parallel (~> 1.10)
|
|
50
|
-
parser (>= 2.
|
|
49
|
+
parser (>= 2.7.0.1)
|
|
51
50
|
rainbow (>= 2.2.2, < 4.0)
|
|
51
|
+
rexml
|
|
52
|
+
rubocop-ast (>= 0.0.3)
|
|
52
53
|
ruby-progressbar (~> 1.7)
|
|
53
|
-
unicode-display_width (>= 1.4.0, <
|
|
54
|
-
rubocop-
|
|
54
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
|
55
|
+
rubocop-ast (0.0.3)
|
|
56
|
+
parser (>= 2.7.0.1)
|
|
57
|
+
rubocop-performance (1.6.0)
|
|
55
58
|
rubocop (>= 0.71.0)
|
|
56
59
|
ruby-progressbar (1.10.1)
|
|
57
|
-
sqlite3 (1.4.
|
|
60
|
+
sqlite3 (1.4.2)
|
|
58
61
|
thread_safe (0.3.6)
|
|
59
|
-
tzinfo (1.2.
|
|
62
|
+
tzinfo (1.2.7)
|
|
60
63
|
thread_safe (~> 0.1)
|
|
61
|
-
unicode-display_width (1.
|
|
62
|
-
zeitwerk (2.
|
|
64
|
+
unicode-display_width (1.7.0)
|
|
65
|
+
zeitwerk (2.3.0)
|
|
63
66
|
|
|
64
67
|
PLATFORMS
|
|
65
68
|
ruby
|
|
@@ -74,4 +77,4 @@ DEPENDENCIES
|
|
|
74
77
|
sqlite3
|
|
75
78
|
|
|
76
79
|
BUNDLED WITH
|
|
77
|
-
2.
|
|
80
|
+
2.1.2
|
data/lib/searchable_by.rb
CHANGED
|
@@ -30,9 +30,9 @@ module ActiveRecord
|
|
|
30
30
|
def column(*attrs, &block)
|
|
31
31
|
opts = attrs.extract_options!
|
|
32
32
|
attrs.each do |attr|
|
|
33
|
-
columns.push Column.new(attr, opts)
|
|
33
|
+
columns.push Column.new(attr, **opts)
|
|
34
34
|
end
|
|
35
|
-
columns.push Column.new(block, opts) if block
|
|
35
|
+
columns.push Column.new(block, **opts) if block
|
|
36
36
|
columns
|
|
37
37
|
end
|
|
38
38
|
|
data/searchable-by.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'searchable-by'
|
|
3
|
-
s.version = '0.5.
|
|
3
|
+
s.version = '0.5.5'
|
|
4
4
|
s.authors = ['Dimitrij Denissenko']
|
|
5
5
|
s.email = ['dimitrij@blacksquaremedia.com']
|
|
6
6
|
s.summary = 'Generate search scopes'
|
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
|
8
8
|
s.homepage = 'https://github.com/bsm/sortable-by'
|
|
9
9
|
s.license = 'MIT'
|
|
10
10
|
|
|
11
|
-
s.files = `git ls-files -z`.split("\x0").reject {|f| f.
|
|
11
|
+
s.files = `git ls-files -z`.split("\x0").reject {|f| f.start_with?('spec/') }
|
|
12
12
|
s.test_files = `git ls-files -z -- spec/*`.split("\x0")
|
|
13
13
|
s.require_paths = ['lib']
|
|
14
14
|
s.required_ruby_version = '>= 2.5'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: searchable-by
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dimitrij Denissenko
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-05-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
161
161
|
- !ruby/object:Gem::Version
|
|
162
162
|
version: '0'
|
|
163
163
|
requirements: []
|
|
164
|
-
rubygems_version: 3.
|
|
164
|
+
rubygems_version: 3.1.2
|
|
165
165
|
signing_key:
|
|
166
166
|
specification_version: 4
|
|
167
167
|
summary: Generate search scopes
|