HyakuninIssyu 0.2.0 → 0.2.1
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 +4 -4
- data/HyakuninIssyu.gemspec +2 -2
- data/README.md +8 -8
- data/lib/HyakuninIssyu/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca4e09d06d53259b6bef4e6e6b64ecb26264144c
|
|
4
|
+
data.tar.gz: b98149feb31fbdb5e951064079a7535534862703
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ca4c8751f6133fef914c67fa4167a7deef268f11585d7d46e5012b1bbd952e2475f8759224fa96c710a99ea7fd8d0b44ece83dd956550deeef31275fe2a1fb2
|
|
7
|
+
data.tar.gz: 25b6ca5e2392d429b4c485be3791601537594e66a8edc55b2aa129bf04d8fff3ee7e658394b821fe2ee4fb9e593e8ae7fe84aed8086ea0fa1c9e60a6a2fc39cc
|
data/HyakuninIssyu.gemspec
CHANGED
|
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = HyakuninIssyu::VERSION
|
|
9
9
|
spec.authors = ["tomomichi"]
|
|
10
10
|
spec.email = ["tomomichi.onishi@gmail.com"]
|
|
11
|
-
spec.description = %q{
|
|
12
|
-
spec.summary = %q{
|
|
11
|
+
spec.description = %q{This Gem offer all the information about Hyakunin-issyu, the One Hundred Poems by One Hundred Poets.}
|
|
12
|
+
spec.summary = %q{This Gem offer all the information about Hyakunin-issyu, the One Hundred Poems by One Hundred Poets.}
|
|
13
13
|
spec.homepage = "https://github.com/Tomomichi/HyakuninIssyu"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
data/README.md
CHANGED
|
@@ -23,22 +23,22 @@ Or install it yourself as:
|
|
|
23
23
|
|
|
24
24
|
## Usage
|
|
25
25
|
|
|
26
|
-
###Poem Info
|
|
26
|
+
###Poem Info | 歌情報の取得
|
|
27
27
|
When retrieving the 64th poem (it's one of my favourite),
|
|
28
28
|
|
|
29
29
|
poem = HyakuninIssyu::Poem.new(64)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
poem.full #=> "朝ぼらけ 宇治の川霧 たえだえに あらはれわたる 瀬々の網代木"
|
|
31
|
+
poem.comment #=> "「朝ぼらけ」は夜明けであたりがほのぼのと明るくなってくる頃..."
|
|
32
|
+
poem.first #=> "朝ぼらけ宇治の川霧たえだえに"
|
|
33
|
+
poem.last #=> "あらはれわたる瀬々の網代木"
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
###Poet Info
|
|
36
|
+
###Poet Info | 歌人情報の取得
|
|
37
37
|
To retrieve the poet info for the same poem,
|
|
38
38
|
|
|
39
39
|
poet = HyakuninIssyu::Poet.new(64)
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
poet.name #=> "権中納言定頼"
|
|
41
|
+
poet.period #=> "995-1045"
|
|
42
42
|
poet.info #=> "本名は藤原定頼(ふじわらの さだより)。平安時代中期の公家・歌人..."
|
|
43
43
|
|
|
44
44
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: HyakuninIssyu
|
|
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
|
- tomomichi
|
|
@@ -38,7 +38,8 @@ dependencies:
|
|
|
38
38
|
- - '>='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
|
-
description:
|
|
41
|
+
description: This Gem offer all the information about Hyakunin-issyu, the One Hundred
|
|
42
|
+
Poems by One Hundred Poets.
|
|
42
43
|
email:
|
|
43
44
|
- tomomichi.onishi@gmail.com
|
|
44
45
|
executables: []
|
|
@@ -78,5 +79,6 @@ rubyforge_project:
|
|
|
78
79
|
rubygems_version: 2.0.3
|
|
79
80
|
signing_key:
|
|
80
81
|
specification_version: 4
|
|
81
|
-
summary:
|
|
82
|
+
summary: This Gem offer all the information about Hyakunin-issyu, the One Hundred
|
|
83
|
+
Poems by One Hundred Poets.
|
|
82
84
|
test_files: []
|