pg_tags_on 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7309e077c88514299fcd0166407bae538e99f6cf6308893957376ee2f7ff2959
4
- data.tar.gz: 893119a8b6487ba8bb7acbe5a82cca67ac4dc7bc14bf760416024b98c2359381
3
+ metadata.gz: bcce5c8d438aa1e92aa724d7ba14275a8f8a40e7515c33cb341eb8270a7b9f57
4
+ data.tar.gz: 7a61cf5537c72678f82692a999c67b0d5392b675bc5db24593b47341b42a9d74
5
5
  SHA512:
6
- metadata.gz: 1ba49f001365da7e716585d062f653dfe356b8c7355e1d7e99ba0a14926f4187e6ecb1217eb7b818684d7d29772fba7abc68722eeefb63847be1fea031eb4908
7
- data.tar.gz: cf84932b3a0b46ec17e1dbbb2cc07b1f807940b7bea8a3aa2ac10af96b38a58774266ae93ebc9571d64f5b79f21c4ffb4243c5654bde412800c144be2b997065
6
+ metadata.gz: 7330d881597fd28e77bd43ea44054eb9d3fe1f88e48afa00e61820d972afcf6255bbbd4bbb3af1b5061ab38adefa379bdf28a2f913456382907cfdaf8b806ed5
7
+ data.tar.gz: 25cffbb4603b83da2812e890a1b2ccd4d8c5cf4c0293009b6b4d91075ddc592dca8b9706f8ce73f7fcf30b57a1c6e68807da637571edde8fc2e99131c6d079bb
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ *.gem
data/Gemfile.lock CHANGED
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pg_tags_on (0.1.0)
4
+ pg_tags_on (0.1.1)
5
5
  activerecord (~> 6.0)
6
6
  activesupport (~> 6.0)
7
7
 
8
8
  GEM
9
9
  remote: https://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.2.1)
12
+ activesupport (= 6.0.2.1)
13
+ activerecord (6.0.2.1)
14
+ activemodel (= 6.0.2.1)
15
+ activesupport (= 6.0.2.1)
16
+ activesupport (6.0.2.1)
17
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
18
  i18n (>= 0.7, < 2)
19
19
  minitest (~> 5.1)
@@ -30,7 +30,7 @@ GEM
30
30
  concurrent-ruby (~> 1.0)
31
31
  jaro_winkler (1.5.4)
32
32
  method_source (0.9.2)
33
- minitest (5.13.0)
33
+ minitest (5.14.0)
34
34
  parallel (1.19.1)
35
35
  parser (2.7.0.2)
36
36
  ast (~> 2.4.0)
@@ -68,10 +68,10 @@ GEM
68
68
  simplecov-html (~> 0.11)
69
69
  simplecov-html (0.12.1)
70
70
  thread_safe (0.3.6)
71
- tzinfo (1.2.5)
71
+ tzinfo (1.2.6)
72
72
  thread_safe (~> 0.1)
73
73
  unicode-display_width (1.6.1)
74
- zeitwerk (2.2.1)
74
+ zeitwerk (2.2.2)
75
75
 
76
76
  PLATFORMS
77
77
  ruby
@@ -52,13 +52,13 @@ module PgTagsOn
52
52
  return true if tag.blank? || new_tag.blank? || tag == new_tag
53
53
 
54
54
  klass
55
- .where(column_name => Tags.one(tag))
55
+ .where(column_name => PgTagsOn.query_class.one(tag))
56
56
  .update_all(column_name => arel_array_replace(arel_column, bind_for(tag), bind_for(new_tag)))
57
57
  end
58
58
 
59
59
  def delete(tag)
60
60
  klass
61
- .where(column_name => Tags.one(tag))
61
+ .where(column_name => PgTagsOn.query_class.one(tag))
62
62
  .update_all(column_name => arel_array_remove(arel_column, bind_for(tag)))
63
63
  end
64
64
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgTagsOn
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_tags_on
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Catalin Marinescu