unswear 3.4.5 → 3.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/unswear.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e46b0b0b6032d00fffc720b4e206becfa9a745f
4
- data.tar.gz: 8403a5ca8619a385165f5748eeb3a028bf2af8d3
3
+ metadata.gz: 7728c649a0dabb1f2c5408e14d65c5bdc35a5595
4
+ data.tar.gz: 52dbc6c57143785f08ec6755c70a7cb6e003a1f4
5
5
  SHA512:
6
- metadata.gz: fc81c6d021ba1221dff6d750a95d7178d41c2e62c297f5e7b9d4243798482192b3aebc21213b3a6bc44c95df2e7f8edc433195b6146b6f5e7aa03b6ecc4f6e74
7
- data.tar.gz: 22543aa55f69a1a046c5fab47da3f53b452d35ba2b3da24e26fd94455688dfaaf3fec122c5cfba7e93489a9f793cdc9fe4fefd2282e5359b3868fe846ba27b23
6
+ metadata.gz: 7db2668fe29269149f193a8887914b6b318005c79a7fb0eb48e9d55a423cf6bef346000f2351490cdcb0b0808fa675d4d456bfa2a62f61f76292d9c3fba0c0c1
7
+ data.tar.gz: aed6311ab6e3e4d00a5cc0dda247271d6bf3fb735360e7314f60200b4b2e01e23042758f10d0c487f2c14559ea44666268ddcc268550cb80adc7baff25b75875
@@ -1,5 +1,5 @@
1
1
  # Define VERSION variable for use with Unswear.version
2
- VERSION = '3.4.5'
2
+ VERSION = '3.4.6'
3
3
 
4
4
  # Create array of curse words
5
5
  $curses = %w(
@@ -67,7 +67,7 @@ class String
67
67
  new = self
68
68
  $swear = false
69
69
  $curses.each do |c|
70
- if new.include?(c)
70
+ if new.downcase.include?(c)
71
71
  $swear = true
72
72
  end
73
73
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unswear
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.5
4
+ version: 3.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh