rack-reducer 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/reducer/refinements.rb +1 -1
- data/lib/rack/reducer/version.rb +1 -1
- data/spec/reducer_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f873c82d2086af18eb08d88accb164a6694ff5be7c88f468db013ba068ae009
|
4
|
+
data.tar.gz: e0ebf95f94eedc38f61da779e578844c0d7645f725871713af73759ce9817ef2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18b2af15129314633b9c3e29a5045bf4cf7927e8b6cae72b4cb160129e0edc55b4f231312481098ba654d30d3b0e464fd9c3b272f1dd2d736622e43d4d866fce
|
7
|
+
data.tar.gz: be9d27ca83200a17a6462f0f637d7c95ad1c55d17327e606c60c1733d8e52b6b6790d57a5b70732261d393a6ba3fa91740e2ccc0bd6fca5b9ea8df746944cf6c
|
data/lib/rack/reducer/version.rb
CHANGED
data/spec/reducer_spec.rb
CHANGED
@@ -108,4 +108,10 @@ RSpec.describe Rack::Reducer do
|
|
108
108
|
expect(@warnings.first).to include('mixin-style is deprecated')
|
109
109
|
end
|
110
110
|
end
|
111
|
+
|
112
|
+
it 'accepts nested params' do
|
113
|
+
get('/artists?range[min]=1&range[max]=100') do |response|
|
114
|
+
expect(response.status).to eq(200)
|
115
|
+
end
|
116
|
+
end
|
111
117
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-reducer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Frank
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|