zhongwen_tools 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zhongwen_tools/integer.rb +1 -1
- data/lib/zhongwen_tools/string.rb +3 -3
- data/lib/zhongwen_tools/version.rb +3 -0
- data/lib/zhongwen_tools.rb +1 -0
- data/zhongwen_tools.gemspec +2 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 258fc61026656be4012a91e65cb844780ca6a731
|
4
|
+
data.tar.gz: f80f2bf3e866dec213434ec72462e52b098b99f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73b990af30f1baf6aa83f16f53613374a17c932ec462953f90fea23b9b704968cab90e89ee2b28356a44b07ab4f96ff1a7d8a87185d6cbc61709cd04c1fa8834
|
7
|
+
data.tar.gz: 25c76d739ce899541df58a8aef4173f035ebd51b8c5122ac9642f84ea2d1da538e4c939e5f92a2fcc286a63df849d84e3c4e7b181b69f92d1eaffd83a89a5924
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#$:.unshift File.join(File.dirname(__FILE__),'..','lib','zhongwen_tools', 'string')
|
3
3
|
require 'uri'
|
4
|
-
require
|
4
|
+
require File.expand_path("../string/fullwidth", __FILE__)
|
5
5
|
|
6
6
|
module ZhongwenTools
|
7
7
|
module String
|
@@ -158,7 +158,7 @@ module ZhongwenTools
|
|
158
158
|
end
|
159
159
|
|
160
160
|
if RUBY_VERSION < '1.9'
|
161
|
-
require
|
161
|
+
require File.expand_path("../string/ruby18", __FILE__)
|
162
162
|
elsif RUBY_VERSION < '2.0'
|
163
|
-
require
|
163
|
+
require File.expand_path("../string/ruby19", __FILE__)
|
164
164
|
end
|
data/lib/zhongwen_tools.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require File.expand_path("../zhongwen_tools/string", __FILE__)
|
3
3
|
require File.expand_path("../zhongwen_tools/numbers", __FILE__)
|
4
|
+
require File.expand_path("../zhongwen_tools/version", __FILE__)
|
4
5
|
#require File.expand_path("../zhongwen_tools/romanization", __FILE__)
|
5
6
|
#require File.expand_path("../zhongwen_tools/conversion", __FILE__)
|
6
7
|
|
data/zhongwen_tools.gemspec
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require 'zhongwen_tools/version'
|
3
4
|
|
4
5
|
Gem::Specification.new do |s|
|
5
6
|
s.name = "zhongwen_tools"
|
6
7
|
s.license = "MIT"
|
7
|
-
s.version =
|
8
|
+
s.version = ZhongwenTools::VERSION
|
8
9
|
s.authors = ["Steven Daniels"]
|
9
10
|
s.email = ["steven@tastymantou.com"]
|
10
11
|
s.homepage = "https://github.com/stevendaniels/zhongwen_tools"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zhongwen_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Daniels
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -86,6 +86,7 @@ files:
|
|
86
86
|
- lib/zhongwen_tools/string/fullwidth.rb
|
87
87
|
- lib/zhongwen_tools/string/ruby18.rb
|
88
88
|
- lib/zhongwen_tools/string/ruby19.rb
|
89
|
+
- lib/zhongwen_tools/version.rb
|
89
90
|
- test/test_conversion.rb
|
90
91
|
- test/test_helper.rb
|
91
92
|
- test/test_integer.rb
|