activerecord_reindex 0.2.1 → 0.2.2

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: 3935a55283f2824e669f9f5b669b82ff4242779e
4
- data.tar.gz: 848a4b8e5ceb4379846ce2119ff38292fbe56494
3
+ metadata.gz: 951b22d357cf54f6642f58e52adfb1fdceb0e643
4
+ data.tar.gz: 8da9eaf7d37501ad23e6f2b368003babccb15f44
5
5
  SHA512:
6
- metadata.gz: 6a35107ab674882f57ad17d89ada77a3fcd34ead94553633774abae201308b6cd112860275920bfeafbb0b2546199b34940164b9007348f12c824c31fa95d06b
7
- data.tar.gz: 86da00f80b987fef72f7662104661b3ad43598d80b2fa7c4c93417a3ddd29b42a559940dff20424a46b38b75494eb91f20f1767c3d64baf0e0a32ac1de6498b2
6
+ metadata.gz: 5bf42319e183b05531d763dc15a20150abb1c480ef6a0e8bc3514276f0ffad9898d9fbbcda9f6d509224c3939d69e32237f9caeed16e5ea304aff7d9e2e69e5d
7
+ data.tar.gz: 650f1e5e6dceeb24ee127c1c6984ac033ee5a7d5e41df86e9e4c26f50ea00483f81c5a4ca8680d508a4b6b896cfbfdca166077ec2d2ad4368f9d43795bb50e90
@@ -17,7 +17,7 @@ module ActiveRecord
17
17
 
18
18
  class << self
19
19
 
20
- alias original_valid_options valid_options
20
+ alias original_valid_options_ar_reindex valid_options
21
21
 
22
22
  # This method monkey patches ActiveRecord valid_options to add one more valid option :reindex
23
23
  # Examples:
@@ -26,7 +26,7 @@ module ActiveRecord
26
26
  # has_many :tags, reindex: async
27
27
  # has_many :tags, through: :taggings, reindex: true
28
28
  def valid_options(*args)
29
- original_valid_options(*args) + [:reindex]
29
+ original_valid_options_ar_reindex(*args) + [:reindex]
30
30
  end
31
31
 
32
32
  alias original_define_callbacks define_callbacks
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  # author: Vadim Shaveiko <@vshaveyko>
3
3
  module ActiverecordReindex
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_reindex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - vs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-11 00:00:00.000000000 Z
11
+ date: 2017-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails