pundit_can 0.1.5 → 0.1.6

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
  SHA256:
3
- metadata.gz: 95df5ff56989946351acaa622d23e1aa0d0575e8cce7c47dd4e47b266a02c247
4
- data.tar.gz: e9f75be20b4e055f0583657ef05d3dcea4cdb314f6998642bef734c369fd8024
3
+ metadata.gz: ee7ae1217afe7e5d7eb82f54ab8f80d2b4eb23f4bc0c93e486ef2c40872358ab
4
+ data.tar.gz: 63529abcdb7bf9e28d6cbd021d6140adaec3bec139868170bb7d9593448c9bb3
5
5
  SHA512:
6
- metadata.gz: 1ff5fb33b343efd582132d77edeb12651b73dd40f0c035c301997beb6f775cdd3a9dbfb660f16897f0a0f34655beeddab96d32f48732497229dd03900cdeafc6
7
- data.tar.gz: 365fbe976dea92ef37d57701f363f6f416a078983e46bd9a6002cdb9283a1341df0ca5c163c7b5de95f2861b483a2e17cc086ba1518d5a6d365ac523cdbdccbd
6
+ metadata.gz: d6bef4609f4709c792cd23223a25a691dd3529d073640b6f013e6b741eb32dae6cbc68df991c3f26d8cc0b0a890711f4e199c2d759f0b6694d056fd25c417df1
7
+ data.tar.gz: 3ccbe8de84a845a751adf7206b9c360112d467a960681acdb30a1dae3847896c10105571670fc9b2f6b467812b1d80aaa115ae43d421e9511179ef97eb49f3ed
@@ -121,7 +121,7 @@ module PunditCan
121
121
  else
122
122
  model_class
123
123
  end
124
- load_instance_var(model_class, param_key, policy_kwopts, policy_scope_kwopts, scope_class, parent, options[:through] || options[:parent_key])
124
+ load_instance_var(model_class, param_key, policy_kwopts, policy_scope_kwopts, scope_class, parent, options[:parent_key] || options[:through])
125
125
  end
126
126
 
127
127
  instance_name = instance_name.pluralize unless loaded.is_a?(model_class)
@@ -1,3 +1,3 @@
1
1
  module PunditCan
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pundit_can
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
  - candland