scopie_rails 0.4.1 → 0.5.0

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: e79ca18741231bd6ae48f35ca5bb906962c63915
4
- data.tar.gz: 93f0f978fcdf8a524a38912e468cb96c2dc6f800
3
+ metadata.gz: 2706a80a390af65a9bfb4a28c98e19117ecd5ffb
4
+ data.tar.gz: 46602e6540f541d1a7229cf516e0d20b6c977534
5
5
  SHA512:
6
- metadata.gz: a30787da712ac4245dba3a1739a31713f81961419eaf37f1ce076e3e6575457e944dba56cc6ba6085e9a6e81e6a826bb326e9f50f74fa16e334001819b6a566c
7
- data.tar.gz: 5637832e34c7376ec59f102321bde65510b38ed1e16cbb765c6c1e2968e59a213f6f546461c4df5fa3141ed7e99dd70b65140ad4e65567751a2749f5b8350742
6
+ metadata.gz: c29dad9018d49dcf45e96795089a48733338ab3e031d50922bb06f6ef4a15db368d2666b05671794f59b7752554363f39ee41ef9cb63c9233ee88ccfe3c3b4fe
7
+ data.tar.gz: 2917e9aac8024a4744adaa75f36465624e463c3fbaa4e8a7626c32aadcfe85e372c1bf5b11827802639e8d8c0893f53b4ed3c2ab416b960897f59a41b4efc47e
data/README.md CHANGED
@@ -79,6 +79,8 @@ Scopie supports several options:
79
79
 
80
80
  * `:as` - The key in the params hash expected to find the scope. Defaults to the scope name.
81
81
 
82
+ * `:in` - The key in the params hash expected to contain a hash holding scope name as a value.
83
+
82
84
  * `:default` - Default value for the scope. Whenever supplied the scope is always called.
83
85
 
84
86
  ## Rails
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ScopieRails
3
- VERSION = '0.4.1'
3
+ VERSION = '0.5.0'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scopie_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yury Kotov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-23 00:00:00.000000000 Z
11
+ date: 2016-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: scopie