auto_define_scope 0.1.1 → 0.1.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
  SHA256:
3
- metadata.gz: 9e2dc8de05d089a3b8c75c03fb1967b536063b20e3adf17362ab67779f923ec9
4
- data.tar.gz: e27d1cc17bd525d5c18eb06351497d0e32aa3e499d39616a6a0a887c7367b4f3
3
+ metadata.gz: e89899dce51700c9cf40c79298b174c6609f0d2df9b135417433a5ae5caedeb5
4
+ data.tar.gz: 20732954b23e408a6f187996dadf1dbe81c31140dd0dd880c0721ccdf40008cd
5
5
  SHA512:
6
- metadata.gz: 60e33b821b74ecc0fbe5b74ce1ed8f2c80d5b6c9747dbe41fb28aa37258ecdfbd406a96ccda2b64b449dd764fb6f250d9fe0dacb148131f1c28b7a61460a570e
7
- data.tar.gz: 6911588c11b607c161267dcde080b376885e9014869f489d4068a26e0e6724a3ce2f7a814b2d8a9669507f3bfab3437942aa09f3e45874a989470741119e0695
6
+ metadata.gz: 8418db0eb6e4b731058eb5681cc8c79922f2d1c395805a8496fd555711adedfd43d51180d360dcfc6abfcc227485bfedd4012c257068b61d6c39a748f472e3cf
7
+ data.tar.gz: 0a5f4932e926b674a53ac54467f181f2d96d3dc6cd3090fb794df39bca096df16fa175d0c73ead9cad99834fbbe27944911dfa4dd6705b92ebcf95f1198cbb9d
@@ -25,7 +25,7 @@ module AutoDefineScope
25
25
  @auto_define_scopes << scope_name
26
26
  end
27
27
 
28
- private
28
+ protect
29
29
  def generate_cope columns, type, klass = self, joins_params_array = []
30
30
  columns.each do |c|
31
31
  if c.is_a?(Hash)
@@ -1,3 +1,3 @@
1
1
  module AutoDefineScope
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auto_define_scope
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
  - tinyfeng.hou