polysearch 0.2.3 → 0.2.4

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
  SHA256:
3
- metadata.gz: e527bae221d08edf537ee05002258f8cdf982c09f0748eccfee8f170fb83629e
4
- data.tar.gz: 3f4d4d07575755d6a89e2d20be671128a861305cc5f41b7437a7d4c88a0a7bb2
3
+ metadata.gz: babc73df6dc70b27a5f6ae5c0adb98af6adfaa5080ba9072800002d3102af646
4
+ data.tar.gz: 6dc3742766a2f8d737c6f045741fc1981a0a538ca269bfae11ab28ca4d8897b2
5
5
  SHA512:
6
- metadata.gz: '09093059f97e4f6af87403c21e8eb3b834ba82acfaebfa9708992f7028304d59bfc32cad6a7c38b482d7045a535f6e7c1cbc379416e594ec2fcef65b9a17d445'
7
- data.tar.gz: 03f1cf68155d2cf68431e032459363c43252c7bfe359e93a43db3f2cb3ef4827f784ea16ee7539ed34999ad30936a82f735c2eb57857773eb23c6d319ffa581e
6
+ metadata.gz: fdee3a4765bd4d4ca85671355a84c2f71336a6ef0d7d31bfc1287975e384f0b42148a383c418a13eddade4d2681c80a67c996ba9eed83b73aaad1dc72e764b84
7
+ data.tar.gz: efc6a17835a5400d5220e434ff6ca332d2ce8a0aa09d0ed2a55fd772da8ea97546389f2fe1be3e4243091b02012d243e26ecd62143f75b11633c774071715568
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- polysearch (0.2.3)
4
+ polysearch (0.2.4)
5
5
  rails (>= 6.0)
6
6
 
7
7
  GEM
@@ -68,14 +68,14 @@ GEM
68
68
  zeitwerk (~> 2.3)
69
69
  ast (2.4.2)
70
70
  builder (3.2.4)
71
- concurrent-ruby (1.1.8)
71
+ concurrent-ruby (1.1.9)
72
72
  crass (1.0.6)
73
73
  erubi (1.10.0)
74
74
  globalid (0.4.2)
75
75
  activesupport (>= 4.2.0)
76
76
  i18n (1.8.10)
77
77
  concurrent-ruby (~> 1.0)
78
- loofah (2.9.1)
78
+ loofah (2.10.0)
79
79
  crass (~> 1.0.2)
80
80
  nokogiri (>= 1.5.9)
81
81
  magic_frozen_string_literal (1.2.0)
@@ -84,9 +84,13 @@ GEM
84
84
  marcel (1.0.1)
85
85
  method_source (1.0.0)
86
86
  mini_mime (1.0.3)
87
+ mini_portile2 (2.5.3)
87
88
  minitest (5.14.4)
88
89
  nio4r (2.5.7)
89
- nokogiri (1.11.5-arm64-darwin)
90
+ nokogiri (1.11.7)
91
+ mini_portile2 (~> 2.5.0)
92
+ racc (~> 1.4)
93
+ nokogiri (1.11.7-arm64-darwin)
90
94
  racc (~> 1.4)
91
95
  parallel (1.20.1)
92
96
  parser (3.0.1.1)
@@ -134,7 +138,7 @@ GEM
134
138
  rubocop-ast (>= 1.5.0, < 2.0)
135
139
  ruby-progressbar (~> 1.7)
136
140
  unicode-display_width (>= 1.4.0, < 3.0)
137
- rubocop-ast (1.5.0)
141
+ rubocop-ast (1.7.0)
138
142
  parser (>= 3.0.1.1)
139
143
  rubocop-performance (1.11.2)
140
144
  rubocop (>= 1.7.0, < 2.0)
@@ -156,7 +160,7 @@ GEM
156
160
  tzinfo (2.0.4)
157
161
  concurrent-ruby (~> 1.0)
158
162
  unicode-display_width (2.0.0)
159
- websocket-driver (0.7.3)
163
+ websocket-driver (0.7.5)
160
164
  websocket-extensions (>= 0.1.0)
161
165
  websocket-extensions (0.1.5)
162
166
  zeitwerk (2.4.2)
@@ -110,7 +110,7 @@ module Polysearch
110
110
  Arel::Nodes::SqlLiteral.new(sanitize_sql_value("SELECT #{tsvector}"))
111
111
  ])
112
112
  length = Arel::Nodes::NamedFunction.new("length", [Arel::Nodes::SqlLiteral.new(quote_column_name(:word))])
113
- query = self.class.select(:word).from(ts_stat.to_sql).where(length.gteq(3)).to_sql
113
+ query = self.class.unscoped.select(:word).from(ts_stat.to_sql).where(length.gteq(3)).to_sql
114
114
  result = self.class.connection.execute(query)
115
115
  result.values.flatten
116
116
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Polysearch
4
- VERSION = "0.2.3"
4
+ VERSION = "0.2.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polysearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Hopkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-06 00:00:00.000000000 Z
11
+ date: 2021-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails