active_record_mysql_repl 0.1.5 → 0.1.6

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: 5c3f840dac882b20496edf1781709416bf8e81f4ed801683892b6a54431cbd4c
4
- data.tar.gz: 5f947005433e288cc043e0375849d1ff51e335b863e81fbf890cb66fc3056658
3
+ metadata.gz: 489b4d821f8cf40519a68467b478bd1d0513645a339f857db3c5c8115283fb02
4
+ data.tar.gz: b9b213e37f4f8b33a23e4f2fc0fefc5eb4efe7e973f183ab8f38802aeb1df3bf
5
5
  SHA512:
6
- metadata.gz: ae1b915b0668004ac07f597da9fae0a9b35b0103699e7e224fcb3b25ce2924700818850de6fb70fc5ecc3fe6d99ead005c1471bcb7f89744f942567b3092c66d
7
- data.tar.gz: 37091f71892c3cf3c1fdf62aed7202ab44f72ad5cb87bf1f2e8f99bff52c0f007434e226d565229f03ed312f42e9ce23d6d7b27904e72b27d272ea2c3d29cba3
6
+ metadata.gz: 12f4ae422a58cdbcb9464a4599564b08e51bb5ab31ac129b7a84ab97850e9ec52ebec7c1b0aa4eedc549e2a25e08666a1507f20da33bae47af7943d493a8dade
7
+ data.tar.gz: 1a289dd4aa4b8a15b8e851bfee7838fd1479a3116969d1a3a5d19b034a3d5674d64b224c3f6add66953b44b764106defee225e1f73ca62774f520a02e494c0f5
@@ -13,8 +13,8 @@ module ActiverecordMysqlRepl
13
13
  end
14
14
  end
15
15
 
16
- def respond_to_missing?
17
- true
16
+ def respond_to_missing?(sym, include_private)
17
+ (keys & [name, name.to_s]).present? || name.to_s.end_with?("=") && keys.include?(name.to_s[0..-2])
18
18
  end
19
19
 
20
20
  ::Hash.include(Hash)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveRecordMysqlRepl
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_mysql_repl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroki Kishi