cased-rails 0.4.2 → 0.4.3

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
  SHA256:
3
- metadata.gz: 6d6bacd90ea3b675f7ca088d57cd619b787883e931f357e0bd5ee73a4124cbc1
4
- data.tar.gz: 8c3f267304a97ead3dd2bcb61bfb7b71bfd90e8e38097d9ed3ef1909e2476f92
3
+ metadata.gz: 49f90bda9670e4c31103308b7140637c601f769112a8f94873f48b2f8e957a75
4
+ data.tar.gz: 50788a3192675057b100135a72c8b33b6e263961c181683de574585663a7e494
5
5
  SHA512:
6
- metadata.gz: 4ae027821c072115aab41fa51b5176ca01295a2ab1c9fa7195c948f670c52fc69ccf641af75bc82cddcd7408651e9de2d8af5c0a365449a85d485209b3b7af0c
7
- data.tar.gz: 11f037b2353093026183c39351d8a8ec005280f4ecb2cefa8014d7110f56c21d7b0e8dc0c35211bab2834dc1ba4e7bde65c1f63e42e482d4fe21c40ed826f84f
6
+ metadata.gz: 0f960a6c6bbaad726b8efae2dc34bec84c2f8cf45389bcc1785c50f5efc2b463f4b703c1560c1ab1bdd3baf3626cca80f00671050cb134d3d959c3f82ae708ce
7
+ data.tar.gz: 0dba75ffb963563d4122aa473dbfb0aca765b0fbc5d970eb3876e77a1a05720f7e5bb22a2d0484bd1ae6bf2e96d6d719af43e5d6fefcc54ec7c8e74c157e1256
@@ -4,7 +4,7 @@
4
4
  <div>
5
5
  <%= form.label 'guard_session[reason]', 'Reason', class: 'block text-sm font-medium text-gray-700' %>
6
6
  <div class="mt-1">
7
- <%= form.text_field 'guard_session[reason]', required: true, autocomplete: 'none', placeholder: 'Provide a reason', class: 'appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm' %>
7
+ <%= form.text_field 'guard_session[reason]', required: true, autocomplete: 'off', placeholder: 'Provide a reason', class: 'appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm' %>
8
8
  </div>
9
9
  </div>
10
10
 
@@ -28,7 +28,7 @@ module Cased
28
28
  @filter_parameters = if ENV['CASED_FILTER_PARAMETERS']
29
29
  parse_bool(ENV['CASED_FILTER_PARAMETERS'])
30
30
  else
31
- true
31
+ ::Rails.env.staging? || ::Rails.env.production?
32
32
  end
33
33
  end
34
34
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Cased
4
4
  module Rails
5
- VERSION = '0.4.2'
5
+ VERSION = '0.4.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cased-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garrett Bjerkhoel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-04 00:00:00.000000000 Z
11
+ date: 2021-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cased-ruby
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.4.1
19
+ version: 0.4.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.4.1
26
+ version: 0.4.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jbuilder
29
29
  requirement: !ruby/object:Gem::Requirement