embossing_name 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -2
  3. data/embossing_name.gemspec +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ff9bba45e4c69b8a24dc48360a792e30d464753
4
- data.tar.gz: 7f06aa19be7ccd4ddbed54864fee07dd69b6b142
3
+ metadata.gz: 0a8c035a9fdaa31b04432f761bae893be58a8e02
4
+ data.tar.gz: 1c1455add704f566dbb26a22d876a794bf76fa5e
5
5
  SHA512:
6
- metadata.gz: 0f90089a842d248e8d840dc4c44f477f8aa622f16f8543e89dfb27bbbc29fe5f0f2a20a3cbc48e2e851e5ab800283956a005f11dd11a3a8e455fd83545b0f6b4
7
- data.tar.gz: 11957e0e9f5622eddb04fdea8b6457d3cd3d0389b6ee77be00dde26072c2c8dc167ccedcfd165309c9397749685c0ffb319f7890455f6550a0ccfefb65f215a7
6
+ metadata.gz: 3b4da528c65c834be6e9846f056c13380bd0bacc31ff7fa7f5bae5a845dcd974139054e48b9ef2e699d49d275ad8fe9ceab089539f443bce2fc065f32e66eaa5
7
+ data.tar.gz: f63b6da468434b1c62a7e8638ede0402324eec1283aba521c09a22867d075dcd91d3c7b7322b4300d854ebe0e8cb6e7352e32c7eb4639263b6b1bc955a535f3a
data/README.md CHANGED
@@ -22,7 +22,18 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
25
+ Full format:
26
+
27
+ EmbossingName::EmbossingName.normalize_name_to_embossing('Wickaninnish Muscowequan Aputsiaq Goyathlay') #=> "WICKANINNISH M A GOY"
28
+
29
+ Only reducing the name:
30
+
31
+ EmbossingName::EmbossingName.reduct_name('Nanook Quidel Kaneonuskatew Qillaq') #=> "Nanook Q K Qillaq"
32
+
33
+ Only removing the accents:
34
+
35
+ EmbossingName::EmbossingName.remove_accents('Nanóók Quídél Kaneonuskatew Qillaq') #=> "Nanook Quidel Kaneonuskatew Qillaq"
36
+
26
37
 
27
38
  ## Development
28
39
 
@@ -32,7 +43,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
43
 
33
44
  ## Contributing
34
45
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/Jhonatan I. Nascimento/embossing_name. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
46
+ Bug reports and pull requests are welcome on GitHub at https://github.com/jhonatannascimento1994/embossing_name. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
47
 
37
48
 
38
49
  ## License
@@ -5,8 +5,8 @@ require 'embossing_name/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "embossing_name"
8
- spec.version = "0.1.6"
9
- spec.authors = ["https://github.com/jhonatannascimento1994"]
8
+ spec.version = "0.1.7"
9
+ spec.authors = ["Jhonatan I. Nascimento"]
10
10
  spec.email = ["jhonatan-nascimento94@hotmail.com.br"]
11
11
 
12
12
  spec.summary = "A gem of embossing of card"
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embossing_name
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
- - https://github.com/jhonatannascimento1994
7
+ - Jhonatan I. Nascimento
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []