pinyin_split 1.0.1 → 1.0.2

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.
@@ -0,0 +1,18 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ coverage
6
+ InstalledFiles
7
+ lib/bundler/man
8
+ pkg
9
+ rdoc
10
+ spec/reports
11
+ test/tmp
12
+ test/version_tmp
13
+ tmp
14
+
15
+ # YARD artifacts
16
+ .yardoc
17
+ _yardoc
18
+ doc/
@@ -10,7 +10,7 @@ class PinyinSplit
10
10
  # Arguments:
11
11
  # source: (String)
12
12
  def self.split(source)
13
- self.slipt(source).join(' ')
13
+ Slipt.slipt(source).join(' ')
14
14
  end
15
15
 
16
16
  # Example:
@@ -21,7 +21,7 @@ class PinyinSplit
21
21
  # source: (String)
22
22
 
23
23
  def self.splitArray(source)
24
- self.slipt(source)
24
+ Slipt.slipt(source)
25
25
  end
26
26
  end
27
27
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'pinyin_split'
3
- s.version = '1.0.1'
3
+ s.version = '1.0.2'
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.rubygems_version = "1.8.23"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pinyin_split
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -18,6 +18,7 @@ extensions: []
18
18
  extra_rdoc_files:
19
19
  - README.md
20
20
  files:
21
+ - .gitignore
21
22
  - README.md
22
23
  - lib/pinyin_split.rb
23
24
  - lib/pinyin_split/slipt.rb