breezy 0.10.1 → 0.11.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: ef5641dfcac8d3779955b4d9d8689e3861b5ddb9
4
- data.tar.gz: 0bd4e918973827e046047b707b3e050490f35d98
3
+ metadata.gz: aa0ba31629a150f6450ba7c8608bfa993cf94647
4
+ data.tar.gz: 3720bc116d960eec527161dc35eb6968f0ca8a60
5
5
  SHA512:
6
- metadata.gz: 278846c43c35a39e366dabb92e1b62b608349ace0dab982d87542b3a35ea76a6fbbdc6f42b8aa8fcdaebe6aec8024a327282565f6e3bc91bd842ba30e19d6172
7
- data.tar.gz: 27dfef5d1aa6ab733e40d4cf3ad4ef43cfda050b397741b3cc3198373276b679daf0dca189de979798a0cd81ec2434b7060827081db751a4177736564d897da6
6
+ metadata.gz: da76c5c33c3cb43302fc0ae8c79771700e052ec2f05169d1fb0d187dc49e06af528a386090c18f1e1f7065bd74a4fdaa43470b59386dd15ab03089a3e6878af7
7
+ data.tar.gz: c03fb6c6271db1ce4ef6bf8b6ebb40cdaef2d9243b0ab70a4c80acc58c126d4b6cadf6c0e60acd5ae4762fef8ba344ae887bbe8e9b5b42d98bbf1e9a7815e6fa
@@ -12,7 +12,7 @@ module Breezy
12
12
  end
13
13
 
14
14
  def breezy_filter
15
- filter = request.params[:_bz]
15
+ filter = request.params[:bzq]
16
16
 
17
17
  if filter
18
18
  filter.gsub(/[^\da-zA-Z\_\=\.]+/, '')
data/test/helpers_test.rb CHANGED
@@ -11,14 +11,14 @@ class HelpersTest < ActiveSupport::TestCase
11
11
  end
12
12
  end
13
13
 
14
- test 'breezy_filter returns a valid _bz param' do
15
- @request = Request.new({:_bz => 'foo.bar.baz_baz'})
14
+ test 'breezy_filter returns a valid bzq param' do
15
+ @request = Request.new({:bzq => 'foo.bar.baz_baz'})
16
16
 
17
17
  assert_equal breezy_filter, 'foo.bar.baz_baz'
18
18
  end
19
19
 
20
- test 'breezy_filter removes invalid _bz param chars' do
21
- @request = Request.new({:_bz => 'foo.bar/?)()-'})
20
+ test 'breezy_filter removes invalid bzq param chars' do
21
+ @request = Request.new({:bzq => 'foo.bar/?)()-'})
22
22
 
23
23
  assert_equal breezy_filter, 'foo.bar'
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breezy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johny Ho
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-02 00:00:00.000000000 Z
11
+ date: 2019-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.10.1
33
+ version: 0.11.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.10.1
40
+ version: 0.11.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: webpacker
43
43
  requirement: !ruby/object:Gem::Requirement