cardname 0.11.6 → 0.13.1

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: efe87d1f2888db5675116ad00f6faa6c01c12c289d5a6d2850f5c25d20eb23a4
4
- data.tar.gz: d032074293d879a6cfcb23b7025f9680161315585fd61086ec6f02c7b7f17e94
3
+ metadata.gz: eccd39597d09bf9378cb085a18c37427f48c55997d4dd50c0d9d0d2bec80de11
4
+ data.tar.gz: ae0ba7ff34670d3ff231c37794b83cecdc04ff75601aeaa43af1a6ba60c1b58e
5
5
  SHA512:
6
- metadata.gz: e43d481ed69d2aa4005b43f1015cec5f886678345d13e8d7cf4d0a43aa089f227030885968aa1bade6bfcb3d43ba5d4bc884fafce7b7db40e41a19ce27638dc8
7
- data.tar.gz: 8eb138b4f8496d430f9eff5f6c2fef6e251d0f5b9a4c15ab5eb4ee678582c5fb56561c9be3803ac9fd684fda2f500859af85dd63c0bc6fb3f34b5b942a75fada
6
+ metadata.gz: ede5f7daeebd3e2ec114985adf6810a4e7778b1f61bbca4b6af397129a92fc4f1a737b9097e6da557b8297630b4a3d6eaa130d38fe5b09e63e2fec7b9e8d7191
7
+ data.tar.gz: 447d668197aeb81d58c44bbe9c43779eed643fe5728430603ed0ab2333903d2087309f866b2d5c8411aade0fdf2931b653a4d1c6042dde35bc4fb08e9c02868b
data/lib/cardname.rb CHANGED
@@ -83,7 +83,7 @@ class Cardname < String
83
83
  end
84
84
 
85
85
  def dangerous_methods
86
- bang_methods = String.instance_methods.select { |m| m.to_s.ends_with?("!") }
86
+ bang_methods = String.instance_methods.select { |m| m.to_s.end_with?("!") }
87
87
  %i[replace concat clear].concat bang_methods
88
88
  end
89
89
 
@@ -1,3 +1,5 @@
1
+ require "htmlentities"
2
+
1
3
  class Cardname
2
4
  module Variants
3
5
  def simple_key
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cardname
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.6
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-05-21 00:00:00.000000000 Z
13
+ date: 2021-08-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: '6'
21
+ version: '6.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: '6'
28
+ version: '6.1'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: htmlentities
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubygems_version: 3.1.4
84
+ rubygems_version: 3.1.6
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Card names without all the cards