mongoid-dynamic_matchers 0.0.1 → 0.0.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
  SHA1:
3
- metadata.gz: 0cbf5f1d7095166efb2843e7d9db2f379bf13320
4
- data.tar.gz: b537936c0d3a76bc79c09c159d56af41c051e956
3
+ metadata.gz: 3e8ee359a1085007f3fe0167883fb79ca66f69ea
4
+ data.tar.gz: 910b5b7df2b104d429b592927eb782645ef543c7
5
5
  SHA512:
6
- metadata.gz: f0c77c05c01cf3515cb28a32cb5691775f57259aa324a5ce237561b0d8837bc32e1572803fb9bb22146cf6697b24a59d34c37b90575511be581e6975862f4b95
7
- data.tar.gz: ac49511fbbb768333976dec80c338c60547028f5248d73e6e799d8e73b0d8257fdd9a06fe6325167cd1b5bc96ecf1de8bd4d3fa11cc30b73e4dc7ea9bef3a28e
6
+ metadata.gz: 7c9ace6afad1464e343bd300f893c4c87ca535a41ad29233a73c114648c91e0fc553ae82b8f41e2ae7c5007313896b84c6c11a335b5681cb20785b4d241a2762
7
+ data.tar.gz: 82949dc172979b0b38d8e2ba1e6182418ddf43f6bdfea5701f19b2de4cc50a1eecdab5de60634b3c70184fd633d897f172a272333214b218ba948179e92c622f
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Mongoid::DynamicMatchers
2
2
  ========================
3
3
 
4
- [![Gem Version](https://badge.fury.io/rb/mongoid-dynamic_matchers.png)][gem]
4
+ ![Gem Version](https://badge.fury.io/rb/mongoid-dynamic_matchers.png)
5
5
 
6
6
  Support `find_by_xxx_and_yyy` like a activerecord to mongoid.
7
7
 
@@ -60,7 +60,6 @@ module Mongoid
60
60
  end
61
61
 
62
62
  def define
63
- ap body
64
63
  model.class_eval <<-CODE, __FILE__, __LINE__ + 1
65
64
  def self.#{name}(#{signature})
66
65
  #{body}
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module DynamicMatchers
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-dynamic_matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - linyows