scopie_rails 0.5.0 → 0.6.0

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: 2706a80a390af65a9bfb4a28c98e19117ecd5ffb
4
- data.tar.gz: 46602e6540f541d1a7229cf516e0d20b6c977534
3
+ metadata.gz: f39ceaab4c85dc0f5fc971b12479ad9293d3e67e
4
+ data.tar.gz: a2e77736d3909ffdebd42a1d6abd40ceb86874bd
5
5
  SHA512:
6
- metadata.gz: c29dad9018d49dcf45e96795089a48733338ab3e031d50922bb06f6ef4a15db368d2666b05671794f59b7752554363f39ee41ef9cb63c9233ee88ccfe3c3b4fe
7
- data.tar.gz: 2917e9aac8024a4744adaa75f36465624e463c3fbaa4e8a7626c32aadcfe85e372c1bf5b11827802639e8d8c0893f53b4ed3c2ab416b960897f59a41b4efc47e
6
+ metadata.gz: 56199df37823bfbfc443ee06098e9da859f237e873b9b05293fceeb6c020960f97ac46be919098e7e1177d982ea50014fcc8b2b8a83472033f62dea453e5dd0e
7
+ data.tar.gz: f0350903c854a008f1a1bbeeb18e0ff78554b057a87532b99d1ecd3b795c87cc5c9ff529d1aee8693842f14656bb1812779d30968598309734200f7cf95eba27
data/README.md CHANGED
@@ -81,6 +81,8 @@ Scopie supports several options:
81
81
 
82
82
  * `:in` - The key in the params hash expected to contain a hash holding scope name as a value.
83
83
 
84
+ * `:allow_blank` - Blank values are not sent to scopes by default. Set to true to overwrite.
85
+
84
86
  * `:default` - Default value for the scope. Whenever supplied the scope is always called.
85
87
 
86
88
  ## Rails
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ScopieRails
3
- VERSION = '0.5.0'
3
+ VERSION = '0.6.0'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scopie_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yury Kotov