randwordjp 0.0.9 → 0.0.10

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b7803fe68c1ca38afbc68824cedaa71667bc4a6
4
- data.tar.gz: 29c4ec112231143d88709b0967f19073b7685b61
3
+ metadata.gz: c62f8438c99c064b93cfa7f5c783b35a49f8715c
4
+ data.tar.gz: 5dc3c6250590e56a94829bbdceda002b12fccc07
5
5
  SHA512:
6
- metadata.gz: badd31f271596662925996fe03d31ebe526078634ee9ac71e2f2f107e5f923622b010cb824cb420a6254d14f8a99070380ab2273e8e07cc0d3b0ca0341cb7fba
7
- data.tar.gz: e6045462d5f02ac7b23e66fa6138b3c07b8c90343268faf1c1c4c08c8cbf2c5a355ab41573f0433e0037c5053df648a5f41db7f2793d8aaf1f3d105c265ec4cd
6
+ metadata.gz: c00eca2d2251e6a43af8af7bc766e857183d06446a87777900b2bc4e91bced3c8f45d8c57d493c990956942101e3c80a2b554b66bd3c53c6ded2dee4829768d3
7
+ data.tar.gz: 52aac51a9a084ae085fb690ce743c691e007df3ccc16d3ed53e527e29f4d116ed2d58c6e81592a304e4c4865cd9b37698f4d210796371e86648c61819f24c37c
@@ -2,5 +2,5 @@
2
2
  # ランダムで日本語文字列などを生成するライブラリとなります。
3
3
  # can get random words(sentence).
4
4
  module Randwordjp
5
- VERSION = '0.0.9'
5
+ VERSION = '0.0.10'
6
6
  end
data/lib/randwordjp.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # coding: utf-8
1
2
  require 'randwordjp/version'
2
3
  require 'date'
3
4
  require 'yaml'
@@ -133,7 +134,7 @@ module Randwordjp
133
134
  end
134
135
 
135
136
  # Hash型の苗字データを取得する
136
- # @return [Hash] {:kanji => 漢字名, :kana => 読み仮名}
137
+ # @return [Hash] :kanji => 漢字名, :kana => 読み仮名
137
138
  def self.myoji
138
139
  db = SQLite3::Database.new(@dbfile)
139
140
  sql = 'select count(*) from myojilist;'
@@ -146,7 +147,7 @@ module Randwordjp
146
147
 
147
148
  # Hash型の名前データを取得する
148
149
  # genderは男性はMで女性はFになります。
149
- # @return [Hash] {:kanji => 漢字名, :kana => 読み仮名, :gender => 性別}
150
+ # @return [Hash] :kanji => 漢字名, :kana => 読み仮名, :gender => 性別
150
151
  def self.namae
151
152
  db = SQLite3::Database.new(@dbfile)
152
153
  sql = 'select count(*) from namaelist;'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: randwordjp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - inpwjp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-18 00:00:00.000000000 Z
11
+ date: 2015-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -116,3 +116,4 @@ summary: get Japanese random words.
116
116
  test_files:
117
117
  - spec/randwordjp_spec.rb
118
118
  - spec/spec_helper.rb
119
+ has_rdoc: