HyakuninIssyu 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/HyakuninIssyu.gemspec +23 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/lib/HyakuninIssyu/version.rb +3 -0
- data/lib/HyakuninIssyu.rb +13 -0
- data/lib/data/authors.yml +600 -0
- data/lib/data/songs.yml +600 -0
- metadata +82 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8190cd5d4dc2c48d4be0e6398ba920021201bd16
|
4
|
+
data.tar.gz: 42d39dc400b3900dc39dc94ad9e27a15f0af1488
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a8ec70b5d8ece12fa52e417f13b050bd5df84b44b64787463783d59dfd97ad361e8a52c6552935787595b5223b031be7668b3185b452c8c8e6a055d42e695f87
|
7
|
+
data.tar.gz: 993a80b035a578e700c7f840b5093b2b68da2e8ad566460ad1c23edb1299313f1ad709a31b62ddfa17edca7741d1db56f2df574b106453fb67193f0b0794803c
|
data/.gitignore
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'HyakuninIssyu/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "HyakuninIssyu"
|
8
|
+
spec.version = HyakuninIssyu::VERSION
|
9
|
+
spec.authors = ["tomomichi"]
|
10
|
+
spec.email = ["tomomichi.onishi@gmail.com"]
|
11
|
+
spec.description = %q{Database for HyakuninIssyu, 100 poems by 100 poets.}
|
12
|
+
spec.summary = %q{Database for HyakuninIssyu, 100 poems by 100 poets.}
|
13
|
+
spec.homepage = "https://github.com/Tomomichi/HyakuninIssyu"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
end
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 tomomichi
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# HyakuninIssyu
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'HyakuninIssyu'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install HyakuninIssyu
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require "HyakuninIssyu/version"
|
2
|
+
require "yaml"
|
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__))
|
7
|
+
|
8
|
+
class << self
|
9
|
+
def author
|
10
|
+
Authors
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|