sekitori-search 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4151497db56b2016e3ff98b92dcf60e0ddff9a69
4
+ data.tar.gz: 74273905190ad2608147e23b78a7fccf9fa3baf3
5
+ SHA512:
6
+ metadata.gz: 29faee7a7ec2ed02875af82747f52b7917a46321cabc3be6687386d17d67fd635959199923ce26856400887e2bd5bff22690f8d9a8d4eb52d1b8a73b38476684
7
+ data.tar.gz: 0a2387528d550a0da77ef6047c56caa24852d8ce12b7fc95de57c6718e4f13e9a7b912df428ccb6365f3c48dee7a368a282f9e4124b28e2269aafc688b0d13dc
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ /bundle/
2
+ /.bundle/
3
+ /.yardoc
4
+ /Gemfile.lock
5
+ /_yardoc/
6
+ /coverage/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
11
+
12
+ # rspec failure tracking
13
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.1
5
+ before_install: gem install bundler -v 1.15.4
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at yutaka.kanno@livesense.co.jp. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in sekitori-search.gemspec
6
+ gemspec
data/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # このプログラムについて
2
+
3
+ このプログラムは、力士の検索を行うプログラムになります。
4
+ sekitoriコマンドにより、力士の検索を行うことが出来ます。
5
+
6
+ ```sh
7
+ $ sekitori search [-a, -d] word
8
+ ```
9
+
10
+ ## インストール
11
+
12
+ Add this line to your application's Gemfile:
13
+
14
+ ```ruby
15
+ gem 'sekitori-search'
16
+ ```
17
+
18
+ And then execute:
19
+
20
+ $ bundle
21
+
22
+ Or install it yourself as:
23
+
24
+ $ gem install sekitori-search
25
+
26
+
27
+ # 利用データのライセンスについて
28
+
29
+ このプログラム上で利用している力士一覧は、Wikipediaの以下のURLを参照して作成しております。
30
+
31
+ * https://ja.wikipedia.org/wiki/大相撲力士一覧
32
+ * https://ja.wikipedia.org/wiki/横綱一覧
33
+ * https://ja.wikipedia.org/wiki/大関一覧
34
+ * https://ja.wikipedia.org/wiki/関脇一覧
35
+ * https://ja.wikipedia.org/wiki/小結一覧
36
+
37
+ また、プログラム作成当時の成果物はdictionariesディレクトリ以下に置いており CC-BY-SA 3.0 で公開します。
38
+
39
+ ※ 著作権については、 https://ja.wikipedia.org/wiki/Wikipedia:ウィキペディアを二次利用する#ウィキペディアの著作権 に準じます
40
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "sekitori/search"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "pry"
14
+ Pry.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/exe/sekitori ADDED
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env ruby
2
+ #coding: utf-8
3
+
4
+ require 'pp'
5
+ require 'thor'
6
+ require 'launchy'
7
+ require 'sekitori/search/operator'
8
+
9
+ class SekitoriSearcher < Thor
10
+
11
+ default_task :search
12
+ desc 'search [検索文字]', '力士を検索します'
13
+ option :detail, aliases: ["-d"], type: :boolean
14
+ option :all, aliases: ["-a"], type: :boolean
15
+ def search word
16
+ operator = Sekitori::Search::Operator.new
17
+ if options[:detail]
18
+ result = options[:all] ? operator.rikishi_detail_search_from(word) : operator.sekitori_detail_search_from(word)
19
+ Launchy.open(result) if result
20
+ else
21
+ pp options[:all] ? operator.rikishi_search_from(word) : operator.sekitori_search_from(word)
22
+ end
23
+ end
24
+ end
25
+
26
+ SekitoriSearcher.start(ARGV)
@@ -0,0 +1,7 @@
1
+ require 'sekitori/generators/yokozuna_list_generator'
2
+ require 'sekitori/generators/oozeki_list_generator'
3
+ require 'sekitori/generators/sekiwake_list_generator'
4
+ require 'sekitori/generators/komusubi_list_generator'
5
+ require 'sekitori/generators/makuuchi_list_generator'
6
+ require 'sekitori/generators/juryo_list_generator'
7
+ require 'sekitori/generators/makushita_list_generator'
@@ -0,0 +1,16 @@
1
+ require 'sekitori/generators/list_generator.rb'
2
+
3
+ module Sekitori::Generators
4
+ class JuryoListGenerator < ListGenerator
5
+ BANZUKE = "前頭(十両)"
6
+ URL = "https://ja.wikipedia.org/wiki/大相撲力士一覧"
7
+
8
+ TARGET_XPATH_LIST = [
9
+ '//h2[contains(span/text(), "十両(十枚目)")]/following-sibling::div/ul/li/a'
10
+ ]
11
+
12
+ IGNORE_XPATH_LIST = [
13
+ '//h2[contains(span/text(), "幕下以下")]/following-sibling::div/ul/li/a'
14
+ ]
15
+ end
16
+ end
@@ -0,0 +1,17 @@
1
+ require_relative './list_generator.rb'
2
+
3
+ module Sekitori::Generators
4
+ class KomusubiListGenerator < ListGenerator
5
+ BANZUKE = "小結"
6
+ URL = "https://ja.wikipedia.org/wiki/小結一覧"
7
+
8
+ TARGET_XPATH_LIST = [
9
+ '//h2[contains(span/text(), "現役力士")]/following-sibling::ul/li//a',
10
+ '//h2[contains(span/text(), "引退・廃業した力士")]/following-sibling::div/ul/li/a'
11
+ ]
12
+
13
+ IGNORE_XPATH_LIST = [
14
+ '//h2[contains(span/text(), "関連項目")]/following-sibling::ul/li//a',
15
+ ]
16
+ end
17
+ end
@@ -0,0 +1,71 @@
1
+ require 'uri'
2
+ require 'open-uri'
3
+ require 'fileutils'
4
+ require 'tmpdir'
5
+ require 'nokogiri'
6
+ require 'active_support/all'
7
+
8
+ module Sekitori::Generators
9
+ class ListGenerator
10
+ CACHE_DIR=File.join(Dir.tmpdir, "sekitori_checker")
11
+
12
+ TARGET_XPATH_LIST=[]
13
+ IGNORE_XPATH_LIST=[]
14
+
15
+ def execute
16
+ return @list if @list.present?
17
+ url = self.class::URL
18
+ target_xpaths = self.class::TARGET_XPATH_LIST
19
+ ignore_xpath = self.class::IGNORE_XPATH_LIST
20
+
21
+ html = ListGenerator.get url
22
+ list = ListGenerator.parse html, url, target_xpaths
23
+ ignore_list = ListGenerator.parse html, url, ignore_xpath
24
+ @list = list - ignore_list
25
+ @list
26
+ end
27
+
28
+ def list
29
+ execute
30
+ end
31
+
32
+ def to_h
33
+ { self.class::BANZUKE => execute }
34
+ end
35
+
36
+ def self.get url
37
+ file_name = url.split('/').last
38
+ path = File.join(CACHE_DIR, file_name)
39
+ cache = get_from_file(path)
40
+ return cache if cache
41
+
42
+ puts "Creating cache for #{file_name}"
43
+ html = get_from_http(url)
44
+ FileUtils.mkdir_p CACHE_DIR
45
+ open(path, "w") {|file| file.write html }
46
+ html
47
+ end
48
+
49
+ def self.get_from_file path
50
+ if File.exist? path
51
+ File.read path
52
+ else
53
+ nil
54
+ end
55
+ end
56
+
57
+ def self.get_from_http url
58
+ encode_url = URI.escape(url)
59
+ html = open(encode_url).read
60
+ end
61
+
62
+ def self.parse html, url, xpath_list
63
+ document = Nokogiri::HTML(html, url)
64
+ xpath_list.flat_map{|xpath| document.xpath(xpath).map(&:text)}
65
+ end
66
+
67
+ def self.clean path=CACHE_DIR
68
+ FileUtils.rm_rf(path, secure: true)
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,12 @@
1
+ require 'sekitori/generators/list_generator.rb'
2
+
3
+ module Sekitori::Generators
4
+ class MakushitaListGenerator < ListGenerator
5
+ BANZUKE = "前頭(幕下)"
6
+ URL = "https://ja.wikipedia.org/wiki/大相撲力士一覧"
7
+
8
+ TARGET_XPATH_LIST = [
9
+ '//h2[contains(span/text(), "幕下以下")]/following-sibling::div/ul/li/a'
10
+ ]
11
+ end
12
+ end
@@ -0,0 +1,16 @@
1
+ require 'sekitori/generators/list_generator.rb'
2
+
3
+ module Sekitori::Generators
4
+ class MakuuchiListGenerator < ListGenerator
5
+ BANZUKE = "前頭(幕内)"
6
+ URL = "https://ja.wikipedia.org/wiki/大相撲力士一覧"
7
+
8
+ TARGET_XPATH_LIST = [
9
+ '//h2[contains(span/text(), "幕内")]/following-sibling::div/ul/li/a'
10
+ ]
11
+
12
+ IGNORE_XPATH_LIST = [
13
+ '//h2[contains(span/text(), "十両(十枚目)")]/following-sibling::div/ul/li/a'
14
+ ]
15
+ end
16
+ end
@@ -0,0 +1,13 @@
1
+ require 'sekitori/generators/list_generator.rb'
2
+
3
+ module Sekitori::Generators
4
+ class OozekiListGenerator < ListGenerator
5
+ BANZUKE = "大関"
6
+ URL = "https://ja.wikipedia.org/wiki/大関一覧"
7
+
8
+ TARGET_XPATH_LIST = [
9
+ '//h2[contains(span/text(), "現役力士")]/following-sibling::ul[1]/li//a',
10
+ '//h2[contains(span/text(), "引退した力士")]/following-sibling::div/ul/li/a'
11
+ ]
12
+ end
13
+ end
@@ -0,0 +1,17 @@
1
+ require 'sekitori/generators/list_generator.rb'
2
+
3
+ module Sekitori::Generators
4
+ class SekiwakeListGenerator < ListGenerator
5
+ BANZUKE = "関脇"
6
+ URL = "https://ja.wikipedia.org/wiki/関脇一覧"
7
+
8
+ TARGET_XPATH_LIST = [
9
+ '//h2[contains(span/text(), "現役力士")]/following-sibling::ul/li//a',
10
+ '//h2[contains(span/text(), "引退・廃業した力士")]/following-sibling::div/ul/li/a'
11
+ ]
12
+
13
+ IGNORE_XPATH_LIST = [
14
+ '//h2[contains(span/text(), "関連項目")]/following-sibling::ul/li//a',
15
+ ]
16
+ end
17
+ end
@@ -0,0 +1,10 @@
1
+ require 'sekitori/generators/list_generator.rb'
2
+
3
+ module Sekitori::Generators
4
+ class YokozunaListGenerator < ListGenerator
5
+ BANZUKE = "横綱"
6
+ URL = "https://ja.wikipedia.org/wiki/横綱一覧"
7
+
8
+ TARGET_XPATH_LIST = ['//h2[contains(span/text(), "歴代横綱")]/following-sibling::table[1]//td[1]//a']
9
+ end
10
+ end
@@ -0,0 +1,7 @@
1
+ require "sekitori/search/version"
2
+
3
+ module Sekitori
4
+ module Search
5
+ # Your code goes here...
6
+ end
7
+ end
@@ -0,0 +1,79 @@
1
+ require 'sekitori/generators/all'
2
+
3
+ module Sekitori::Search
4
+ class Operator
5
+
6
+ def initialize
7
+ @yokozuna_generator = Sekitori::Generators::YokozunaListGenerator.new
8
+ @oozeki_generator = Sekitori::Generators::OozekiListGenerator.new
9
+ @sekiwake_generator = Sekitori::Generators::SekiwakeListGenerator.new
10
+ @komusubi_generator = Sekitori::Generators::KomusubiListGenerator.new
11
+ @makuuchi_generator = Sekitori::Generators::MakuuchiListGenerator.new
12
+ @juryo_generator = Sekitori::Generators::JuryoListGenerator.new
13
+ @makushita_generator = Sekitori::Generators::MakushitaListGenerator.new
14
+
15
+ @sekitori_generators = [
16
+ @yokozuna_generator,
17
+ @oozeki_generator,
18
+ @sekiwake_generator,
19
+ @komusubi_generator,
20
+ @makuuchi_generator,
21
+ @juryo_generator,
22
+ @makuuchi_generator,
23
+ ]
24
+
25
+ @rikishi_generators = @sekitori_generators + [@makushita_generator]
26
+ end
27
+
28
+ def sekitori_search_from word
29
+ search_from word, sekitori_hash
30
+ end
31
+
32
+ def rikishi_search_from word
33
+ search_from word, rikishi_hash
34
+ end
35
+
36
+ def sekitori_detail_search_from name
37
+ detail_search_from name, sekitori_list
38
+ end
39
+
40
+ def rikishi_detail_search_from name
41
+ detail_search_from name, rikishi_list
42
+ end
43
+
44
+
45
+ private
46
+
47
+ def sekitori_hash
48
+ @sekitori_generators.reduce({}) {|work, item| work.merge item.to_h }
49
+ end
50
+
51
+ def sekitori_list
52
+ @sekitori_generators.map(&:list).flatten
53
+ end
54
+
55
+ def rikishi_hash
56
+ @rikishi_generators.reduce({}) {|work, item| work.merge item.to_h }
57
+ end
58
+
59
+ def rikishi_list
60
+ @rikishi_generators.map(&:list).flatten
61
+ end
62
+
63
+ def search_from word, hash
64
+ sekitori_result = hash.map do |key, list|
65
+ filterd_list = list.select {|name| name.include? word }
66
+ [key, filterd_list]
67
+ end.to_h
68
+ end
69
+
70
+ def detail_search_from name, list
71
+ result = list.find{|rikishi| rikishi == name }
72
+ if result
73
+ "https://ja.wikipedia.org/wiki/#{result.gsub(' ', '_')}"
74
+ else
75
+ puts "見つかりませんでした"
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,5 @@
1
+ module Sekitori
2
+ module Search
3
+ VERSION = "0.1.0"
4
+ end
5
+ end
@@ -0,0 +1,41 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "sekitori/search/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "sekitori-search"
8
+ spec.version = Sekitori::Search::VERSION
9
+ spec.authors = ["passol78"]
10
+ spec.email = ["passol.78.valie.77@gmail.com"]
11
+
12
+ spec.summary = %q{SUMO Sekitori Search Client.}
13
+ spec.description = %q{SUMO Sekitori Search Client.}
14
+ spec.homepage = "https://github.com/passol78/sekitori-search"
15
+
16
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
18
+ # if spec.respond_to?(:metadata)
19
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
20
+ # else
21
+ # raise "RubyGems 2.0 or newer is required to protect against " \
22
+ # "public gem pushes."
23
+ # end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
+ f.match(%r{^(test|spec|features)/})
27
+ end
28
+ spec.bindir = "exe"
29
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ["lib"]
31
+
32
+ spec.add_dependency "thor", "~> 0.2"
33
+ spec.add_dependency "nokogiri", "~> 1.8"
34
+ spec.add_dependency "activesupport", "~> 5.1"
35
+ spec.add_dependency "launchy", "~> 2.4"
36
+
37
+ spec.add_development_dependency "bundler", "~> 1.15"
38
+ spec.add_development_dependency "rake", "~> 10.0"
39
+ spec.add_development_dependency "rspec", "~> 3.0"
40
+ spec.add_development_dependency "pry", "~> 0.11"
41
+ end
metadata ADDED
@@ -0,0 +1,179 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sekitori-search
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - passol78
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-12-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.8'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.8'
41
+ - !ruby/object:Gem::Dependency
42
+ name: activesupport
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: launchy
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.4'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.15'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.15'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '10.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '10.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.11'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.11'
125
+ description: SUMO Sekitori Search Client.
126
+ email:
127
+ - passol.78.valie.77@gmail.com
128
+ executables:
129
+ - sekitori
130
+ extensions: []
131
+ extra_rdoc_files: []
132
+ files:
133
+ - ".gitignore"
134
+ - ".rspec"
135
+ - ".travis.yml"
136
+ - CODE_OF_CONDUCT.md
137
+ - Gemfile
138
+ - README.md
139
+ - Rakefile
140
+ - bin/console
141
+ - bin/setup
142
+ - exe/sekitori
143
+ - lib/sekitori/generators/all.rb
144
+ - lib/sekitori/generators/juryo_list_generator.rb
145
+ - lib/sekitori/generators/komusubi_list_generator.rb
146
+ - lib/sekitori/generators/list_generator.rb
147
+ - lib/sekitori/generators/makushita_list_generator.rb
148
+ - lib/sekitori/generators/makuuchi_list_generator.rb
149
+ - lib/sekitori/generators/oozeki_list_generator.rb
150
+ - lib/sekitori/generators/sekiwake_list_generator.rb
151
+ - lib/sekitori/generators/yokozuna_list_generator.rb
152
+ - lib/sekitori/search.rb
153
+ - lib/sekitori/search/operator.rb
154
+ - lib/sekitori/search/version.rb
155
+ - sekitori-search.gemspec
156
+ homepage: https://github.com/passol78/sekitori-search
157
+ licenses: []
158
+ metadata: {}
159
+ post_install_message:
160
+ rdoc_options: []
161
+ require_paths:
162
+ - lib
163
+ required_ruby_version: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ required_rubygems_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ requirements: []
174
+ rubyforge_project:
175
+ rubygems_version: 2.6.13
176
+ signing_key:
177
+ specification_version: 4
178
+ summary: SUMO Sekitori Search Client.
179
+ test_files: []