HyakuninIssyu 0.0.1 → 0.0.2

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: 8190cd5d4dc2c48d4be0e6398ba920021201bd16
4
- data.tar.gz: 42d39dc400b3900dc39dc94ad9e27a15f0af1488
3
+ metadata.gz: b047457b9efaec904d09f6cef2c5e6b2d04c259b
4
+ data.tar.gz: 45265de80f9022d9554afc573167f7f0bc86ce37
5
5
  SHA512:
6
- metadata.gz: a8ec70b5d8ece12fa52e417f13b050bd5df84b44b64787463783d59dfd97ad361e8a52c6552935787595b5223b031be7668b3185b452c8c8e6a055d42e695f87
7
- data.tar.gz: 993a80b035a578e700c7f840b5093b2b68da2e8ad566460ad1c23edb1299313f1ad709a31b62ddfa17edca7741d1db56f2df574b106453fb67193f0b0794803c
6
+ metadata.gz: d746700387d53f5ea1e83742b8ef19a1c335d808e918b7cace2043be4f700e3bc3a3a1872820b597f075d3e7fc4dc1c207b0952a892088eb003a50c3bf92a59c
7
+ data.tar.gz: 95d02ff80552d9aa2155c0c94ca6262847a419a09700f5b99b34fc23364e40c3a8d62593717b55c73a062ee5b419e47f1c973e3cdc52bedeb59feaee251c9cb9
data/lib/HyakuninIssyu.rb CHANGED
@@ -1,13 +1,11 @@
1
1
  require "HyakuninIssyu/version"
2
2
  require "yaml"
3
3
 
4
- class HyakuninIssyu
5
- Authors = YAML.load_file(File.expand_path(File.join('..', 'data', 'authors.yml'), __FILE__))
6
- Songs = YAML.load_file(File.expand_path(File.join('..', 'data', 'songs.yml'), __FILE__))
4
+ module HyakuninIssyu
5
+ AUTHORS = YAML.load_file(File.expand_path(File.join('..', 'data', 'authors.yml'), __FILE__))
6
+ POEMS = YAML.load_file(File.expand_path(File.join('..', 'data', 'poems.yml'), __FILE__))
7
7
 
8
- class << self
9
- def author
10
- Authors
11
- end
8
+ def poem(id)
12
9
  end
10
+ module_function :poem
13
11
  end
@@ -1,3 +1,3 @@
1
1
  module HyakuninIssyu
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
File without changes
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.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - tomomichi
@@ -54,7 +54,7 @@ files:
54
54
  - lib/HyakuninIssyu.rb
55
55
  - lib/HyakuninIssyu/version.rb
56
56
  - lib/data/authors.yml
57
- - lib/data/songs.yml
57
+ - lib/data/poems.yml
58
58
  homepage: https://github.com/Tomomichi/HyakuninIssyu
59
59
  licenses:
60
60
  - MIT