mysql2_query_filter 0.0.3 → 0.0.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
  SHA1:
3
- metadata.gz: fb01b6e631409a7d6c38d9b724515981152c6a92
4
- data.tar.gz: cc7f7cb4981ec9de01e315f63c458be80ea6569b
3
+ metadata.gz: 26a4bfc6c61a34fee0a13b2975178a2781170647
4
+ data.tar.gz: 58c39646ee126def932b6f6a9b03963d8c716fd5
5
5
  SHA512:
6
- metadata.gz: 6979097d14a725502d6764af59ce549d37b37161f5a8a6eec2755d25d05503fb5855d3effb0ab86112469c6d6f4d0ef280e6cde6cc88dcfe979f6700aef06460
7
- data.tar.gz: 0280ca49590178cc47f3391b4e2856ba9103c78a79ac20e516e6a3ae867bba3f041590373578def37a8f6f947dbff194841314b3f65890c90344265a79ca86cb
6
+ metadata.gz: dc9d62ef7def1265a832dbfb339da0449e5273c67761c8b97a126e4c386e57fc8e186919c4dfa8360d69077474345ffc6563d4bc0538fd805bf35b10357a1459
7
+ data.tar.gz: 5625c71965e6357e8dc9da56b63356e2e557f9dea6e7d54ce332b54ce84a02b1910ff2d5e5b31f04b0e9fc0c6c9ea19c504c946e21683073d2bffa7b5a62e172
data/README.md CHANGED
@@ -31,7 +31,7 @@ class MyFilter < Mysql2QueryFilter::Plugin::Filter
31
31
  end
32
32
 
33
33
  Mysql2QueryFilter.configure do |filter|
34
- filter.append MyFilter
34
+ filter.add MyFilter
35
35
  end
36
36
 
37
37
  Mysql2QueryFilter.enable
@@ -8,7 +8,7 @@ class Mysql2QueryFilter::QueryFilter
8
8
  append(filter_class, options)
9
9
  end
10
10
 
11
- def append(filter_class, options = {})
11
+ def add(filter_class, options = {})
12
12
  unless filter_class < Mysql2QueryFilter::Plugin::Filter
13
13
  raise "Invalid plug-in has been appended: #{filter_class}"
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module Mysql2QueryFilter
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql2_query_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara