cardname 0.3.3 → 0.3.4

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/cardname/manipulate.rb +2 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e68137fa6f70406e7843575fe24b90c2ef9409a5
4
- data.tar.gz: ee0c939311e076a303b41133d613da2adfa6e670
3
+ metadata.gz: bf1832464a49d11f4c764febac16c4e4edaaa8ce
4
+ data.tar.gz: c31cba5b985a16875701ac5cf91cc3b44d860024
5
5
  SHA512:
6
- metadata.gz: f89083100dee487c7a1d3ba5939afc7a0f11336fb07dedce45a794c9d3e7e52e233b79e9801e044aa452884df10a16288cecd8b30ecfeb05b901ca71ec514203
7
- data.tar.gz: 6a84edb2b41f565b2bfc6d617f0c5a05ebb95e011a6806d62872f8568d96f7bab57894e4d0512a6493ae3cd083ee304643b68881879491df157dded58e50452e
6
+ metadata.gz: d13bca66d9ea80f578bcfc71e95f87645b86b264df958b09e9a4ce3c3064dd5f39bcd9e192abd65a1f98bf831bca0a8d2f755552d0efa53eb7a70b2c700314b4
7
+ data.tar.gz: 9c67d3c05272e3098a1d357ccc005407dc1bc47a94a23515e207e6942c4830877df0c5d7d0349407c54dfa149c8603bc4ae6edea8a660f22d8b2fc7b09170801
@@ -41,6 +41,8 @@ class Cardname
41
41
  self =~ /^#{Regexp.escape joint}/ ? self : (joint + self)
42
42
  end
43
43
 
44
+ alias_method :to_field, :prepend_joint
45
+
44
46
  private
45
47
 
46
48
  def swap_all_subsequences oldseq, newseq
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.3.3
4
+ version: 0.3.4
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: 2017-11-20 00:00:00.000000000 Z
13
+ date: 2017-11-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport