kakuyomu_client 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.env.sample +4 -0
- data/.gitignore +14 -0
- data/.rspec +3 -0
- data/.rubocop.yml +6 -0
- data/.travis.yml +23 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +71 -0
- data/LICENSE.txt +21 -0
- data/README.md +56 -0
- data/Rakefile +6 -0
- data/bin/console +10 -0
- data/bin/setup +8 -0
- data/kakuyomu_client.gemspec +33 -0
- data/lib/kakuyomu_client.rb +93 -0
- data/lib/kakuyomu_client/version.rb +3 -0
- metadata +158 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 670a8ae2275b29ae77c48ab08e25b22a9a7c053b17a9eb570aff48fc54267be6
|
4
|
+
data.tar.gz: 802fa0887bbe4d7fc4f05346d885f066999f0dda98aed0485d09ff7120dbe0c5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: acfab7f32c8883db39cd3bcca87896e61223c80a2381421f8495ffe3e920e9537a725ba23703437cfa20a7c5f08fa12cb8021b2c61c92b2472e379306fec6fd2
|
7
|
+
data.tar.gz: d37f6b33726e18d54db032b57551d5da8018aec7fb31f5788dd21d306c99914a1c36f02d403cf6c6598ef7dab6cf8320f05cd528f8155fc5c86a69c98e1e74fe
|
data/.env.sample
ADDED
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
sudo: required
|
2
|
+
language: ruby
|
3
|
+
rvm:
|
4
|
+
- 2.5
|
5
|
+
addons:
|
6
|
+
chrome: stable
|
7
|
+
env:
|
8
|
+
global:
|
9
|
+
- WORK_ID=1177354054887416186
|
10
|
+
- EPISODE_ID=1177354054887416236
|
11
|
+
- secure: xiEpWd8ZpsPHUaR/pkaW4+X/WgrIwk6KFlqWJeKdcWVYgpZNa3T0AkR959AE5kCtm3KsHkl0TH6DgmGm2QKJaG7QdnTThHUF1j5MGuZG0IDMIfj4JybPC1OfAxF50y66DjrDViJilb/XuAU8AE+XOYf8LJTQ2zLHz7qvV7ZFm6v94cYreKio90HrNvLGoLFtlC5PUkrJ7nsdEVIvvLArlTsPmMUWc5ZN8eOpTPM1tFTr2sXbf6Sa7/6NzWKHNpuDJ2fZnwR5qHTojXXhxI64CXj4D846wPAz13LiIhQcdtCvt+B+YGHQMmjn3q+thjo+IBCvTeUw7uuoIc9Cfkl7hEauj5r3GUQ0Q00TNs6JLR2ZJ7EM/WPQ6FpvqN5hwmnq1+Rk3p3OCfEGqT1wPDcr0jvQFtTpFQAs2JdLQpNArXFcuLspCWtBjFcU5zgBMoLSWLfaUxtRH3MAP4ei0v6TNB+wPa/c3D//YWqyOBbru8vxFjCz63db7tfofQEQMBIwlEG3OYJpocz7o571IAqxzpPXtvXIYYRKI0ter6aGkUIoeGYNzvoWtDG7QkqRizVZw6hzq57ZqAnkzplML1yW5g7uZWTUfuqyFEptW05e1kRzloIKiCdWvG2q0ZVVYt4TZW2iuQGaaCE8x7GU06dgOWKnJ/WHkhGex9nKdIRzrsg=
|
12
|
+
cache: bundler
|
13
|
+
before_install:
|
14
|
+
- gem install bundler -v 1.17.1
|
15
|
+
install:
|
16
|
+
- bundle install --jobs=3 --retry=3
|
17
|
+
# https://github.com/SeleniumHQ/selenium/blob/master/scripts/travis/install.sh#L4-L6
|
18
|
+
- export CHROMEDRIVER_VERSION=`curl -s http://chromedriver.storage.googleapis.com/LATEST_RELEASE`
|
19
|
+
- curl -L -O "http://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
|
20
|
+
- unzip chromedriver_linux64.zip && chmod +x chromedriver && sudo mv chromedriver /usr/local/bin
|
21
|
+
branches:
|
22
|
+
only:
|
23
|
+
- master
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -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 fujinakahara2032@gmail.com. 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
data/Gemfile.lock
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
kakuyomu_client (0.1.0)
|
5
|
+
selenium-webdriver (~> 3.14)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
ast (2.4.0)
|
11
|
+
childprocess (0.9.0)
|
12
|
+
ffi (~> 1.0, >= 1.0.11)
|
13
|
+
coderay (1.1.2)
|
14
|
+
diff-lcs (1.3)
|
15
|
+
dotenv (2.5.0)
|
16
|
+
ffi (1.9.25)
|
17
|
+
jaro_winkler (1.5.1)
|
18
|
+
meowcop (1.17.1)
|
19
|
+
rubocop (>= 0.57.0)
|
20
|
+
method_source (0.9.0)
|
21
|
+
parallel (1.12.1)
|
22
|
+
parser (2.5.3.0)
|
23
|
+
ast (~> 2.4.0)
|
24
|
+
powerpack (0.1.2)
|
25
|
+
pry (0.11.3)
|
26
|
+
coderay (~> 1.1.0)
|
27
|
+
method_source (~> 0.9.0)
|
28
|
+
rainbow (3.0.0)
|
29
|
+
rake (10.5.0)
|
30
|
+
rspec (3.8.0)
|
31
|
+
rspec-core (~> 3.8.0)
|
32
|
+
rspec-expectations (~> 3.8.0)
|
33
|
+
rspec-mocks (~> 3.8.0)
|
34
|
+
rspec-core (3.8.0)
|
35
|
+
rspec-support (~> 3.8.0)
|
36
|
+
rspec-expectations (3.8.2)
|
37
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
+
rspec-support (~> 3.8.0)
|
39
|
+
rspec-mocks (3.8.0)
|
40
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
41
|
+
rspec-support (~> 3.8.0)
|
42
|
+
rspec-support (3.8.0)
|
43
|
+
rubocop (0.60.0)
|
44
|
+
jaro_winkler (~> 1.5.1)
|
45
|
+
parallel (~> 1.10)
|
46
|
+
parser (>= 2.5, != 2.5.1.1)
|
47
|
+
powerpack (~> 0.1)
|
48
|
+
rainbow (>= 2.2.2, < 4.0)
|
49
|
+
ruby-progressbar (~> 1.7)
|
50
|
+
unicode-display_width (~> 1.4.0)
|
51
|
+
ruby-progressbar (1.10.0)
|
52
|
+
rubyzip (1.2.2)
|
53
|
+
selenium-webdriver (3.14.1)
|
54
|
+
childprocess (~> 0.5)
|
55
|
+
rubyzip (~> 1.2, >= 1.2.2)
|
56
|
+
unicode-display_width (1.4.0)
|
57
|
+
|
58
|
+
PLATFORMS
|
59
|
+
ruby
|
60
|
+
|
61
|
+
DEPENDENCIES
|
62
|
+
bundler (~> 1.17)
|
63
|
+
dotenv (~> 2.5)
|
64
|
+
kakuyomu_client!
|
65
|
+
meowcop
|
66
|
+
pry
|
67
|
+
rake (~> 10.0)
|
68
|
+
rspec (~> 3.0)
|
69
|
+
|
70
|
+
BUNDLED WITH
|
71
|
+
1.17.1
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Fuji Nakahara
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
# KakuyomuClient
|
2
|
+
|
3
|
+
Client interface for kakuyomu.jp to automate episode management.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'kakuyomu_client'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install kakuyomu_client
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
require 'kakuyomu_client'
|
25
|
+
|
26
|
+
WORK_ID = 1234567890123456789 # URLから取得した小説ID https://kakuyomu.jp/works/#{WORK_ID}
|
27
|
+
|
28
|
+
client = KakuyomuClient.new
|
29
|
+
|
30
|
+
# エピソードを執筆
|
31
|
+
episode_id = client.create_episode(work_id: WORK_ID, title: 'タイトル', body: '本文')
|
32
|
+
|
33
|
+
# エピソードを編集
|
34
|
+
client.update_episode(work_id: WORK_ID, episode_id: episode_id, title: '新しいタイトル', body: '新しい本文')
|
35
|
+
|
36
|
+
# エピソードを削除
|
37
|
+
client.delete_episode(work_id: WORK_ID, episode_id: episode_id)
|
38
|
+
```
|
39
|
+
|
40
|
+
## Development
|
41
|
+
|
42
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
43
|
+
|
44
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
45
|
+
|
46
|
+
## Contributing
|
47
|
+
|
48
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/fuji-nakahara/kakuyomu_client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
49
|
+
|
50
|
+
## License
|
51
|
+
|
52
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
53
|
+
|
54
|
+
## Code of Conduct
|
55
|
+
|
56
|
+
Everyone interacting in the KakuyomuClient project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/fuji-nakahara/kakuyomu_client/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "kakuyomu_client"
|
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
|
+
require "pry"
|
10
|
+
Pry.start
|
data/bin/setup
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "kakuyomu_client/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "kakuyomu_client"
|
8
|
+
spec.version = KakuyomuClient::VERSION
|
9
|
+
spec.authors = ["Fuji Nakahara"]
|
10
|
+
spec.email = ["fujinakahara2032@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = "Client interface for kakuyomu.jp to automate episode management"
|
13
|
+
spec.homepage = "https://github.com/fuji-nakahara/kakuyomu_client"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
# Specify which files should be added to the gem when it is released.
|
17
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
18
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
19
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
|
+
end
|
21
|
+
spec.bindir = "exe"
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
+
spec.require_paths = ["lib"]
|
24
|
+
|
25
|
+
spec.add_dependency "selenium-webdriver", "~> 3.14"
|
26
|
+
|
27
|
+
spec.add_development_dependency "bundler", "~> 1.17"
|
28
|
+
spec.add_development_dependency "dotenv", "~> 2.5"
|
29
|
+
spec.add_development_dependency "meowcop"
|
30
|
+
spec.add_development_dependency "pry"
|
31
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
32
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
33
|
+
end
|
@@ -0,0 +1,93 @@
|
|
1
|
+
require "selenium-webdriver"
|
2
|
+
|
3
|
+
require_relative "kakuyomu_client/version"
|
4
|
+
|
5
|
+
class KakuyomuClient
|
6
|
+
Error = Class.new(StandardError)
|
7
|
+
NotLoggedInError = Class.new(Error)
|
8
|
+
|
9
|
+
BASE_URL = 'https://kakuyomu.jp'
|
10
|
+
|
11
|
+
attr_reader :base_url, :driver
|
12
|
+
|
13
|
+
def initialize(base_url: BASE_URL, driver: Selenium::WebDriver.for(:chrome))
|
14
|
+
@base_url = base_url
|
15
|
+
@driver = driver
|
16
|
+
@logged_in = false
|
17
|
+
end
|
18
|
+
|
19
|
+
def logged_in?
|
20
|
+
@logged_in
|
21
|
+
end
|
22
|
+
|
23
|
+
def login!(email:, password:)
|
24
|
+
driver.navigate.to("#{base_url}/login")
|
25
|
+
driver.find_element(name: 'email_address').send_keys(email)
|
26
|
+
driver.find_element(name: 'password').send_keys(password)
|
27
|
+
driver.find_element(xpath: '//button[text()="ログイン"]').click
|
28
|
+
|
29
|
+
Selenium::WebDriver::Wait.new.until do
|
30
|
+
driver.find_element(id: 'page-my')
|
31
|
+
end
|
32
|
+
|
33
|
+
@logged_in = true
|
34
|
+
rescue Selenium::WebDriver::Error::WebDriverError => e
|
35
|
+
raise Error, 'Logging in failed: ', e.message
|
36
|
+
end
|
37
|
+
|
38
|
+
def create_episode(work_id:, title:, body:)
|
39
|
+
raise NotLoggedInError unless logged_in?
|
40
|
+
|
41
|
+
driver.navigate.to("#{base_url}/my/works/#{work_id}/episodes/new")
|
42
|
+
driver.find_element(name: 'title').send_keys(title)
|
43
|
+
driver.find_element(name: 'body').send_keys(body)
|
44
|
+
driver.find_element(id: 'reserveButton').click
|
45
|
+
driver.find_element(id: 'reservationControl-footer').find_element(tag_name: 'button').click
|
46
|
+
|
47
|
+
Selenium::WebDriver::Wait.new.until do
|
48
|
+
driver.find_element(id: 'page-my-works-episodes-published')
|
49
|
+
end
|
50
|
+
|
51
|
+
driver.current_url[%r{episodes/(\d+)}, 1]
|
52
|
+
rescue Selenium::WebDriver::Error::WebDriverError => e
|
53
|
+
raise Error, 'Creating episode failed: ', e.message
|
54
|
+
end
|
55
|
+
|
56
|
+
def update_episode(work_id:, episode_id:, title:, body:)
|
57
|
+
raise NotLoggedInError unless logged_in?
|
58
|
+
|
59
|
+
driver.navigate.to("#{base_url}/my/works/#{work_id}/episodes/#{episode_id}")
|
60
|
+
|
61
|
+
title_input = driver.find_element(name: 'title')
|
62
|
+
title_input.clear
|
63
|
+
title_input.send_keys(title)
|
64
|
+
|
65
|
+
body_textarea = driver.find_element(name: 'body')
|
66
|
+
body_textarea.clear
|
67
|
+
body_textarea.send_keys(body)
|
68
|
+
|
69
|
+
driver.find_element(id: 'updateButton').click
|
70
|
+
|
71
|
+
Selenium::WebDriver::Wait.new.until do
|
72
|
+
driver.find_element(id: 'page-my-works-episodes-published')
|
73
|
+
end
|
74
|
+
rescue Selenium::WebDriver::Error::WebDriverError => e
|
75
|
+
raise Error, 'Updating episode failed: ', e.message
|
76
|
+
end
|
77
|
+
|
78
|
+
def delete_episode(work_id:, episode_id:)
|
79
|
+
raise NotLoggedInError unless logged_in?
|
80
|
+
|
81
|
+
driver.navigate.to("#{base_url}/my/works/#{work_id}/episodes/#{episode_id}")
|
82
|
+
driver.find_element(id: 'contentMainHeader-toolButton').click
|
83
|
+
driver.find_element(id: 'contentAsideHeader').find_element(xpath: '//*[contains(text(), "ツール")]').click
|
84
|
+
driver.find_element(id: 'deleteEpisode').find_element(tag_name: 'button').click
|
85
|
+
driver.switch_to.alert.accept
|
86
|
+
|
87
|
+
Selenium::WebDriver::Wait.new.until do
|
88
|
+
driver.find_element(id: 'modelessMessage')
|
89
|
+
end
|
90
|
+
rescue Selenium::WebDriver::Error::WebDriverError => e
|
91
|
+
raise Error, 'Deleting episode failed: ', e.message
|
92
|
+
end
|
93
|
+
end
|
metadata
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kakuyomu_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Fuji Nakahara
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-11-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: selenium-webdriver
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.14'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.14'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.17'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.17'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: dotenv
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.5'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.5'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: meowcop
|
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'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
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
|
+
description:
|
112
|
+
email:
|
113
|
+
- fujinakahara2032@gmail.com
|
114
|
+
executables: []
|
115
|
+
extensions: []
|
116
|
+
extra_rdoc_files: []
|
117
|
+
files:
|
118
|
+
- ".env.sample"
|
119
|
+
- ".gitignore"
|
120
|
+
- ".rspec"
|
121
|
+
- ".rubocop.yml"
|
122
|
+
- ".travis.yml"
|
123
|
+
- CODE_OF_CONDUCT.md
|
124
|
+
- Gemfile
|
125
|
+
- Gemfile.lock
|
126
|
+
- LICENSE.txt
|
127
|
+
- README.md
|
128
|
+
- Rakefile
|
129
|
+
- bin/console
|
130
|
+
- bin/setup
|
131
|
+
- kakuyomu_client.gemspec
|
132
|
+
- lib/kakuyomu_client.rb
|
133
|
+
- lib/kakuyomu_client/version.rb
|
134
|
+
homepage: https://github.com/fuji-nakahara/kakuyomu_client
|
135
|
+
licenses:
|
136
|
+
- MIT
|
137
|
+
metadata: {}
|
138
|
+
post_install_message:
|
139
|
+
rdoc_options: []
|
140
|
+
require_paths:
|
141
|
+
- lib
|
142
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
requirements: []
|
153
|
+
rubyforge_project:
|
154
|
+
rubygems_version: 2.7.6
|
155
|
+
signing_key:
|
156
|
+
specification_version: 4
|
157
|
+
summary: Client interface for kakuyomu.jp to automate episode management
|
158
|
+
test_files: []
|