hyakunin-issyu 0.0.7 → 0.0.8

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.
@@ -1,3 +1,3 @@
1
1
  module HyakuninIssyu
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  #encoding: utf-8
2
2
  require 'hyakunin-issyu/version'
3
3
  require 'yaml'
4
- path = Dir.pwd + '/vendor/bundle/ruby/1.9.1/gems/hyakunin-issyu-0.0.7/lib/hyakunin-issyu/data.yml'
4
+ path = Dir.pwd + '/vendor/bundle/ruby/1.9.1/gems/hyakunin-issyu-0.0.8/lib/hyakunin-issyu/data.yml'
5
5
  @data = YAML.load_file(path)
6
6
 
7
7
  module HyakuninIssyu
@@ -12,15 +12,12 @@ module HyakuninIssyu
12
12
  end
13
13
  return new_data
14
14
  end
15
- module_function :songs
16
15
 
17
16
  def self.poem(id=1)
18
17
  @data[id]['poem']
19
18
  end
20
- module_function :poem
21
19
 
22
20
  def self.poet(id=1)
23
21
  @data[id]['poet']
24
22
  end
25
- module_function :poet
26
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyakunin-issyu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: