hyakunin-issyu 0.1.5 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,16 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyakunin-issyu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
5
- prerelease:
4
+ version: 0.8.1
6
5
  platform: ruby
7
6
  authors:
8
- - Tomomichi
7
+ - tomomichi
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-19 00:00:00.000000000 Z
13
- dependencies: []
11
+ date: 2015-12-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: moji
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
14
69
  description: This Gem offer all the information about Hyakunin-issyu, the One Hundred
15
70
  Poems by One Hundred Poets.
16
71
  email:
@@ -19,40 +74,45 @@ executables: []
19
74
  extensions: []
20
75
  extra_rdoc_files: []
21
76
  files:
22
- - .gitignore
77
+ - ".gitignore"
78
+ - ".rspec"
79
+ - ".travis.yml"
23
80
  - Gemfile
81
+ - HyakuninIssyu.gemspec
24
82
  - LICENSE.txt
25
83
  - README.md
26
84
  - Rakefile
27
- - hyakunin-issyu.gemspec
28
- - lib/hyakunin-issyu.rb
29
- - lib/hyakunin-issyu/data.yml
30
- - lib/hyakunin-issyu/version.rb
85
+ - config/poems.yml
86
+ - config/poets.yml
87
+ - lib/HyakuninIssyu.rb
88
+ - lib/HyakuninIssyu/version.rb
89
+ - spec/hyakuninissyu_spec.rb
31
90
  - spec/spec_helper.rb
32
- homepage: http://hyaku-1.eure-ka.me
33
- licenses: []
91
+ homepage: https://github.com/notsobad-jp/hyakunin-issyu
92
+ licenses:
93
+ - MIT
94
+ metadata: {}
34
95
  post_install_message:
35
96
  rdoc_options: []
36
97
  require_paths:
37
98
  - lib
38
99
  required_ruby_version: !ruby/object:Gem::Requirement
39
- none: false
40
100
  requirements:
41
- - - ! '>='
101
+ - - ">="
42
102
  - !ruby/object:Gem::Version
43
103
  version: '0'
44
104
  required_rubygems_version: !ruby/object:Gem::Requirement
45
- none: false
46
105
  requirements:
47
- - - ! '>='
106
+ - - ">="
48
107
  - !ruby/object:Gem::Version
49
108
  version: '0'
50
109
  requirements: []
51
110
  rubyforge_project:
52
- rubygems_version: 1.8.23
111
+ rubygems_version: 2.4.8
53
112
  signing_key:
54
- specification_version: 3
113
+ specification_version: 4
55
114
  summary: This Gem offer all the information about Hyakunin-issyu, the One Hundred
56
115
  Poems by One Hundred Poets.
57
116
  test_files:
117
+ - spec/hyakuninissyu_spec.rb
58
118
  - spec/spec_helper.rb
@@ -1,19 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'hyakunin-issyu/version'
5
-
6
- Gem::Specification.new do |gem|
7
- gem.name = "hyakunin-issyu"
8
- gem.version = HyakuninIssyu::VERSION
9
- gem.authors = ["Tomomichi"]
10
- gem.email = ["tomomichi.onishi@gmail.com"]
11
- gem.description = %q{This Gem offer all the information about Hyakunin-issyu, the One Hundred Poems by One Hundred Poets.}
12
- gem.summary = %q{This Gem offer all the information about Hyakunin-issyu, the One Hundred Poems by One Hundred Poets.}
13
- gem.homepage = "http://hyaku-1.eure-ka.me"
14
-
15
- gem.files = `git ls-files`.split($/)
16
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
- gem.require_paths = ["lib"]
19
- end
@@ -1,23 +0,0 @@
1
- #encoding: utf-8
2
- require 'hyakunin-issyu/version'
3
- require 'yaml'
4
- # path = Rails.root.join("vendor","bundle","ruby","1.9.1","gems","hyakunin-issyu-#{HyakuninIssyu::VERSION}","lib","hyakunin-issyu","data.yml")
5
- path = Dir.pwd + "/vendor/bundle/ruby/1.9.1/gems/hyakunin-issyu-#{HyakuninIssyu::VERSION}/lib/hyakunin-issyu/data.yml"
6
- @data_set = YAML.load_file(path)
7
-
8
- module HyakuninIssyu
9
- def initialize
10
- HyakuninIssyu.const_set("SONGS", @data_set)
11
- end
12
-
13
- def songs(id_from, id_to)
14
- @songs = Array.new
15
- for i in id_from..id_to
16
- song = HyakuninIssyu.const_get("SONGS")
17
- @songs[i] = song[i]
18
- end
19
- return @songs
20
- end
21
-
22
- module_function :initialize, :songs
23
- end
@@ -1,15 +0,0 @@
1
- 1:
2
- poem: 秋の田のかりほの庵の苫をあらみ わが衣手は露にぬれつつ
3
- poet: 天智天皇
4
- 2:
5
- poem: 春過ぎて夏来にけらし白妙の 衣干すてふ天の香具山
6
- poet: 持統天皇
7
- 3:
8
- poem: あしびきの山鳥の尾のしだり尾の ながながし夜をひとりかも寝む
9
- poet: 柿本人麻呂
10
- 4:
11
- poem: 田子の浦にうち出でて見れば白妙の 富士の高嶺に雪は降りつつ
12
- poet: 山部赤人
13
- 5:
14
- poem: 奥山に紅葉踏み分け鳴く鹿の 声聞く時ぞ秋は悲しき
15
- poet: 猿丸太夫
@@ -1,3 +0,0 @@
1
- module HyakuninIssyu
2
- VERSION = "0.1.5"
3
- end