unicode_japanese 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9a9eaaab0e28d3ec88a0a4336d33025a7f0c6c83
4
+ data.tar.gz: e61774b9f0ed1f80c209988df7ebca5ef847f3cd
5
+ SHA512:
6
+ metadata.gz: a0a98319f1c8d7e8d2906a41dc34a8ec23e68e7f1ed7f9bc5fd0fe4312104ebff0c9e2f6039b53497054251f426f495da1a11a29dfc182d6801db94e534cdb8a
7
+ data.tar.gz: 9df5497b40f3363262a4673c92df18838ea47b6c2d43281d7fb5e575f957942cca8bb7b39ce8ec996efdc53faf702d6b6345133b35191f4cc19536260e24ab05
data/README CHANGED
@@ -15,7 +15,7 @@ The patterns and tables are derived from
15
15
  Example
16
16
  =======
17
17
 
18
- Unicode::Japanese.new("スズキ アイリ").z2h
18
+ Unicode::Japanese.z2h("スズキ アイリ")
19
19
  # => "スズキ アイリ"
20
20
 
21
21
  Copyright (c) 2008 maiha@wota.jp, released under the MIT license
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'rake'
2
2
  require 'rake/testtask'
3
- require 'rake/rdoctask'
3
+ require 'rdoc/task'
4
4
 
5
5
  desc 'Default: run unit tests.'
6
6
  task :default => :test
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Unicode
2
3
  class Japanese
3
4
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Unicode
2
3
  class Japanese
3
4
  module Pattern
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Unicode
2
3
  class Japanese
3
4
  module Table
@@ -1,3 +1,4 @@
1
- require 'unicode/japanese'
2
- require 'unicode/japanese/pattern'
3
- require 'unicode/japanese/table'
1
+ # -*- encoding : utf-8 -*-
2
+ require File.expand_path('unicode/japanese', File.dirname(__FILE__))
3
+ require File.expand_path('unicode/japanese/pattern', File.dirname(__FILE__))
4
+ require File.expand_path('unicode/japanese/table', File.dirname(__FILE__))
@@ -1,5 +1,6 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require 'test/unit'
2
- require File.dirname(__FILE__) + '/../init'
3
+ require File.expand_path('../init', File.dirname(__FILE__))
3
4
 
4
5
  class UnicodeJapaneseTest < Test::Unit::TestCase
5
6
 
@@ -1,12 +1,13 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "unicode_japanese"
3
- s.version = "0.2"
3
+ s.version = "0.3"
4
4
  s.date = "2008-11-08"
5
- s.summary = ""
5
+ s.summary = "unicode japanese"
6
6
  s.email = "maiha@wota.jp"
7
7
  s.homepage = "https://github.com/sunfmin/unicode_japanese"
8
- s.description = ""
8
+ s.description = "Japanese charset converter especially for hankaku and zenkaku characters"
9
9
  s.has_rdoc = true
10
+ s.license = 'MIT'
10
11
  s.authors = ["maiha"]
11
12
  s.files = %w(MIT-LICENSE lib/unicode/japanese.rb lib/unicode/japanese/table.rb lib/unicode/japanese/pattern.rb lib/unicode_japanese.rb test/unicode_japanese_test.rb unicode_japanese.gemspec Rakefile README)
12
13
  end
metadata CHANGED
@@ -1,32 +1,21 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: unicode_japanese
3
- version: !ruby/object:Gem::Version
4
- hash: 15
5
- prerelease:
6
- segments:
7
- - 0
8
- - 2
9
- version: "0.2"
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.3'
10
5
  platform: ruby
11
- authors:
6
+ authors:
12
7
  - maiha
13
8
  autorequire:
14
9
  bindir: bin
15
10
  cert_chain: []
16
-
17
- date: 2008-11-08 00:00:00 +08:00
18
- default_executable:
11
+ date: 2008-11-08 00:00:00.000000000 Z
19
12
  dependencies: []
20
-
21
- description: ""
13
+ description: Japanese charset converter especially for hankaku and zenkaku characters
22
14
  email: maiha@wota.jp
23
15
  executables: []
24
-
25
16
  extensions: []
26
-
27
17
  extra_rdoc_files: []
28
-
29
- files:
18
+ files:
30
19
  - MIT-LICENSE
31
20
  - lib/unicode/japanese.rb
32
21
  - lib/unicode/japanese/table.rb
@@ -36,39 +25,28 @@ files:
36
25
  - unicode_japanese.gemspec
37
26
  - Rakefile
38
27
  - README
39
- has_rdoc: true
40
28
  homepage: https://github.com/sunfmin/unicode_japanese
41
- licenses: []
42
-
29
+ licenses:
30
+ - MIT
31
+ metadata: {}
43
32
  post_install_message:
44
33
  rdoc_options: []
45
-
46
- require_paths:
34
+ require_paths:
47
35
  - lib
48
- required_ruby_version: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- hash: 3
54
- segments:
55
- - 0
56
- version: "0"
57
- required_rubygems_version: !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- hash: 3
63
- segments:
64
- - 0
65
- version: "0"
36
+ required_ruby_version: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ required_rubygems_version: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
66
46
  requirements: []
67
-
68
47
  rubyforge_project:
69
- rubygems_version: 1.4.1
48
+ rubygems_version: 2.0.2
70
49
  signing_key:
71
- specification_version: 3
72
- summary: ""
50
+ specification_version: 4
51
+ summary: unicode japanese
73
52
  test_files: []
74
-