fullname-parser 1.1.2 → 1.1.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
  SHA1:
3
- metadata.gz: 09b6eb370fa0893594a6934ed9e8f55f813b65e4
4
- data.tar.gz: 8198c830256103491c9c3ed2582d841281c18622
3
+ metadata.gz: 65ca3fa9fec1b073c51ba3b65990f0fde75d170e
4
+ data.tar.gz: 02ecc8c23bdf4da720e65e51593a9ff406922e6a
5
5
  SHA512:
6
- metadata.gz: f71b2ad9c81cd2d1b04b081afb46500c7299523a5610cda0748a4fc5e9267614593c7e79565e332b9a922f9eff4758f5d084a0e74f1b4c114b2d01c146e05838
7
- data.tar.gz: b83e7539c310718571ab58c94e350b16c09d0e9042953144c5fa27b7b6e54d6584dfe8b72af2f74b50617179331e7e8598a849bb0747280589edfc11293840a7
6
+ metadata.gz: 61e85a97097a8722075eb4ba456edb2bd4ff3977281076f143d6fbc281bf7439190b01ae8230cd92f61b2e2f21a1ac8c2c9604559e2c6ebc29876456879e888c
7
+ data.tar.gz: 0a003625e43b80c353b47faa9f7c8a2f566e43ceb2c5e0429e8216225fabf6b0eb76495b5ad323fd09f5d0ca70101892e371c76bb6fe32761846ce9c40ae639b
Binary file
Binary file
Binary file
@@ -117,6 +117,8 @@ module Fullname
117
117
  private
118
118
 
119
119
  def sanitize!
120
+ # remove the spaces
121
+ name.strip!
120
122
  # replace "’" to "'"
121
123
  name.gsub!(/’/, "'")
122
124
  # remove strings which contain and include in parentheses
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Fullname
3
3
  module Parser
4
- VERSION = '1.1.2'
4
+ VERSION = '1.1.3'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fullname-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - xiaohui
@@ -17,9 +17,12 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - .DS_Store
20
21
  - .gitignore
21
22
  - README.md
22
23
  - fullname-parser.gemspec
24
+ - lib/.DS_Store
25
+ - lib/fullname/.DS_Store
23
26
  - lib/fullname/parser.rb
24
27
  - lib/fullname/parser/version.rb
25
28
  homepage: http://github.com/xiaohui-zhangxh/fullname-parser