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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdbfc0ceb9bdc0f665ec427fb76bdc2db7a4bc3c
4
- data.tar.gz: ab5d96ee76f8f5ff0b956f4d4d764d294298fe7e
3
+ metadata.gz: 258fc61026656be4012a91e65cb844780ca6a731
4
+ data.tar.gz: f80f2bf3e866dec213434ec72462e52b098b99f5
5
5
  SHA512:
6
- metadata.gz: cf974997567347ac74c60aef50bd2b3ec896476cbe6eab5783a0def5df92bd8d14983c2cea492ee0ad58753faca7c59a3f6a60553c23f23f641f03382f380ea4
7
- data.tar.gz: db46653e181291c9f8df6de0341ab40c3ab1b61494d00e915a756d4f12122363e44d17cdcee9718bcf3fcf9917e0f8f3636df7d1a4d36332719971e2f0e6b60a
6
+ metadata.gz: 73b990af30f1baf6aa83f16f53613374a17c932ec462953f90fea23b9b704968cab90e89ee2b28356a44b07ab4f96ff1a7d8a87185d6cbc61709cd04c1fa8834
7
+ data.tar.gz: 25c76d739ce899541df58a8aef4173f035ebd51b8c5122ac9642f84ea2d1da538e4c939e5f92a2fcc286a63df849d84e3c4e7b181b69f92d1eaffd83a89a5924
@@ -1,5 +1,5 @@
1
1
  #encoding: utf-8
2
- require './lib/zhongwen_tools/numbers'
2
+ require File.expand_path("../numbers", __FILE__)
3
3
 
4
4
  module ZhongwenTools
5
5
  module Integer
@@ -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 './lib/zhongwen_tools/string/fullwidth'
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 './lib/zhongwen_tools/string/ruby18'
161
+ require File.expand_path("../string/ruby18", __FILE__)
162
162
  elsif RUBY_VERSION < '2.0'
163
- require './lib/zhongwen_tools/string/ruby19'
163
+ require File.expand_path("../string/ruby19", __FILE__)
164
164
  end
@@ -0,0 +1,3 @@
1
+ module ZhongwenTools
2
+ VERSION = "0.2.1"
3
+ end
@@ -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
 
@@ -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 = "0.2.0"
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.0
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-20 00:00:00.000000000 Z
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