doorkeeper_jp 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/.rspec +3 -0
- data/.yardopts +6 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +75 -0
- data/Rakefile +8 -0
- data/doorkeeper_jp.gemspec +44 -0
- data/lib/doorkeeper_jp/client.rb +172 -0
- data/lib/doorkeeper_jp/response.rb +9 -0
- data/lib/doorkeeper_jp/version.rb +5 -0
- data/lib/doorkeeper_jp.rb +21 -0
- data/sig/doorkeeper_jp/client.rbs +25 -0
- data/sig/doorkeeper_jp/response.rbs +4 -0
- data/sig/doorkeeper_jp.rbs +6 -0
- metadata +173 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d2a440e47c1e390029eba1e47a857b8e3ce99583b188d08413d28518ddc4dde1
|
4
|
+
data.tar.gz: 169312c956b7247816d054171a8d83e0dea5f4562ef934858b67b6da6a03ee49
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8951263bb1083ec732345e9a98849b81ed30c4ffe98a1514b0bd7b67b2de8fc6a288a9a2c396ba128813bc5dd2764b68fee406c73d9e21fed3fd64bdf6b633d6
|
7
|
+
data.tar.gz: c014e9a7cf8d66611fc032eae3a205412a05dd06dc7a912fc318e9c79bac0fd22e677644c692e75081f64ceb41859fdcdb168f5fe3c48ff2ac59b574248a9a6e
|
data/.rspec
ADDED
data/.yardopts
ADDED
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2022 sue445
|
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,75 @@
|
|
1
|
+
# DoorkeeperJp
|
2
|
+
|
3
|
+
API client for [doorkeeper.jp](https://www.doorkeeper.jp/)
|
4
|
+
|
5
|
+
[![test](https://github.com/sue445/doorkeeper_jp/actions/workflows/test.yml/badge.svg)](https://github.com/sue445/doorkeeper_jp/actions/workflows/test.yml)
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'doorkeeper_jp'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle install
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install doorkeeper_jp
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
```ruby
|
25
|
+
require "doorkeeper_jp"
|
26
|
+
|
27
|
+
client = DoorkeeperJp.client(ENV["DOORKEEPER_ACCESS_TOKEN"])
|
28
|
+
|
29
|
+
# List all featured events
|
30
|
+
events = client.events
|
31
|
+
|
32
|
+
events.count
|
33
|
+
#=> 25
|
34
|
+
|
35
|
+
events[0].title
|
36
|
+
#=> "Kaigi on Rails 2022"
|
37
|
+
|
38
|
+
events[0].public_url
|
39
|
+
#=> "https://kaigionrails.doorkeeper.jp/events/143638"
|
40
|
+
|
41
|
+
# List a community's events
|
42
|
+
client.group_events("trbmeetup")
|
43
|
+
|
44
|
+
# Show a specific event
|
45
|
+
event = client.event(28319)
|
46
|
+
|
47
|
+
event.title
|
48
|
+
#=> "900K records per second with Ruby, Java, and JRuby"
|
49
|
+
|
50
|
+
event.public_url
|
51
|
+
#=> "https://trbmeetup.doorkeeper.jp/events/28319"
|
52
|
+
|
53
|
+
# Show a specific group
|
54
|
+
group = client.group("trbmeetup")
|
55
|
+
|
56
|
+
group.name
|
57
|
+
#=> "Tokyo Rubyist Meetup"
|
58
|
+
|
59
|
+
group.public_url
|
60
|
+
#=> "https://trbmeetup.doorkeeper.jp/"
|
61
|
+
```
|
62
|
+
|
63
|
+
## Development
|
64
|
+
|
65
|
+
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.
|
66
|
+
|
67
|
+
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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
68
|
+
|
69
|
+
## Contributing
|
70
|
+
|
71
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/sue445/doorkeeper_jp.
|
72
|
+
|
73
|
+
## License
|
74
|
+
|
75
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/doorkeeper_jp/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "doorkeeper_jp"
|
7
|
+
spec.version = DoorkeeperJp::VERSION
|
8
|
+
spec.authors = ["sue445"]
|
9
|
+
spec.email = ["sue445@sue445.net"]
|
10
|
+
|
11
|
+
spec.summary = "API client for doorkeeper.jp"
|
12
|
+
spec.description = "API client for doorkeeper.jp"
|
13
|
+
spec.homepage = "https://github.com/sue445/doorkeeper_jp"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = ">= 2.6.0"
|
16
|
+
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
+
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
|
20
|
+
|
21
|
+
# Specify which files should be added to the gem when it is released.
|
22
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
24
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
25
|
+
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
26
|
+
end
|
27
|
+
end
|
28
|
+
spec.bindir = "exe"
|
29
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
30
|
+
spec.require_paths = ["lib"]
|
31
|
+
|
32
|
+
spec.add_dependency "faraday", ">= 2.0.0"
|
33
|
+
spec.add_dependency "faraday-mashify"
|
34
|
+
spec.add_dependency "hashie"
|
35
|
+
|
36
|
+
spec.add_development_dependency "rake"
|
37
|
+
spec.add_development_dependency "rspec"
|
38
|
+
spec.add_development_dependency "rspec-its"
|
39
|
+
spec.add_development_dependency "webmock"
|
40
|
+
spec.add_development_dependency "yard"
|
41
|
+
|
42
|
+
# For more information and examples about making a new gem, check out our
|
43
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
44
|
+
end
|
@@ -0,0 +1,172 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module DoorkeeperJp
|
4
|
+
class Client
|
5
|
+
# @param access_token [String]
|
6
|
+
def initialize(access_token = nil)
|
7
|
+
@access_token = access_token
|
8
|
+
end
|
9
|
+
|
10
|
+
# List all featured events
|
11
|
+
#
|
12
|
+
# @param page [Integer] The page offset of the results.
|
13
|
+
# @param locale [String] The localized text for an event. One of `en`, `ja`. Default: `ja`.
|
14
|
+
# @param sort [String] The order of the results. One of `published_at`, `starts_at`, `updated_at`. Default: `published_at`.
|
15
|
+
# @param since_date [Date] Only events taking place during or after this date will be included. Default: Today.
|
16
|
+
# @param until_date [Date] Only events taking place during or before this date will be included.
|
17
|
+
# @param keyword [String] Keyword to search for from the title or description fields.
|
18
|
+
# @param prefecture [String] Only events with an address in prefecture.
|
19
|
+
# @param is_expand_group [Boolean] Expands the group object.
|
20
|
+
#
|
21
|
+
# @return [Array<DoorkeeperJp::Response>]
|
22
|
+
#
|
23
|
+
# @see https://www.doorkeeper.jp/developer/api?locale=en
|
24
|
+
def events(page: nil, locale: nil, sort: nil, since_date: nil, until_date: nil, keyword: nil, prefecture: nil, is_expand_group: false)
|
25
|
+
get_events(
|
26
|
+
path: "events",
|
27
|
+
page: page, locale: locale, sort: sort, since_date: since_date, until_date: until_date,
|
28
|
+
keyword: keyword, prefecture: prefecture, is_expand_group: is_expand_group,
|
29
|
+
)
|
30
|
+
end
|
31
|
+
|
32
|
+
# List a community's events
|
33
|
+
#
|
34
|
+
# @param group [String]
|
35
|
+
# @param page [Integer] The page offset of the results.
|
36
|
+
# @param locale [String] The localized text for an event. One of `en`, `ja`. Default: `ja`.
|
37
|
+
# @param sort [String] The order of the results. One of `published_at`, `starts_at`, `updated_at`. Default: `published_at`.
|
38
|
+
# @param since_date [Date] Only events taking place during or after this date will be included. Default: Today.
|
39
|
+
# @param until_date [Date] Only events taking place during or before this date will be included.
|
40
|
+
# @param keyword [String] Keyword to search for from the title or description fields.
|
41
|
+
# @param prefecture [String] Only events with an address in prefecture.
|
42
|
+
# @param is_expand_group [Boolean] Expands the group object.
|
43
|
+
#
|
44
|
+
# @return [Array<DoorkeeperJp::Response>]
|
45
|
+
#
|
46
|
+
# @see https://www.doorkeeper.jp/developer/api?locale=en
|
47
|
+
def group_events(group, page: nil, locale: nil, sort: nil, since_date: nil, until_date: nil, keyword: nil, prefecture: nil, is_expand_group: false)
|
48
|
+
get_events(
|
49
|
+
path: "groups/#{group}/events",
|
50
|
+
page: page, locale: locale, sort: sort, since_date: since_date, until_date: until_date,
|
51
|
+
keyword: keyword, prefecture: prefecture, is_expand_group: is_expand_group,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
|
55
|
+
# Show a specific group
|
56
|
+
#
|
57
|
+
# @param group [String]
|
58
|
+
# @param locale [String] The localized text for an event. One of `en`, `ja`. Default: `ja`.
|
59
|
+
#
|
60
|
+
# @return [DoorkeeperJp::Response]
|
61
|
+
#
|
62
|
+
# @see https://www.doorkeeper.jp/developer/api?locale=en
|
63
|
+
def group(group, locale: nil)
|
64
|
+
params = {
|
65
|
+
locale: locale,
|
66
|
+
}.compact
|
67
|
+
|
68
|
+
res = connection.get("groups/#{group}", params).body
|
69
|
+
res.group
|
70
|
+
end
|
71
|
+
|
72
|
+
# Show a specific event
|
73
|
+
#
|
74
|
+
# @param id [Integer]
|
75
|
+
# @param is_expand_group [Boolean] Expands the group object.
|
76
|
+
# @param locale [String] The localized text for an event. One of `en`, `ja`. Default: `ja`.
|
77
|
+
#
|
78
|
+
# @return [DoorkeeperJp::Response]
|
79
|
+
#
|
80
|
+
# @see https://www.doorkeeper.jp/developer/api?locale=en
|
81
|
+
def event(id, is_expand_group: false, locale: nil)
|
82
|
+
params = {
|
83
|
+
locale: locale,
|
84
|
+
}.compact
|
85
|
+
|
86
|
+
params["expand[]"] = "group" if is_expand_group
|
87
|
+
|
88
|
+
res = connection.get("events/#{id}", params).body
|
89
|
+
res.event
|
90
|
+
end
|
91
|
+
|
92
|
+
private
|
93
|
+
|
94
|
+
# @param path [String]
|
95
|
+
# @param page [Integer] The page offset of the results.
|
96
|
+
# @param locale [String] The localized text for an event. One of `en`, `ja`. Default: `ja`.
|
97
|
+
# @param sort [String] The order of the results. One of `published_at`, `starts_at`, `updated_at`. Default: `published_at`.
|
98
|
+
# @param since_date [Date] Only events taking place during or after this date will be included. Default: Today.
|
99
|
+
# @param until_date [Date] Only events taking place during or before this date will be included.
|
100
|
+
# @param keyword [String] Keyword to search for from the title or description fields.
|
101
|
+
# @param prefecture [String] Only events with an address in prefecture.
|
102
|
+
# @param is_expand_group [Boolean] Expands the group object.
|
103
|
+
#
|
104
|
+
# @return [Array<DoorkeeperJp::Response>]
|
105
|
+
def get_events(path:, page:, locale:, sort:, since_date:, until_date:, keyword:, prefecture:, is_expand_group:)
|
106
|
+
params = event_params(
|
107
|
+
page: page, locale: locale, sort: sort, since_date: since_date, until_date: until_date,
|
108
|
+
keyword: keyword, prefecture: prefecture, is_expand_group: is_expand_group,
|
109
|
+
)
|
110
|
+
|
111
|
+
res = connection.get(path, params).body
|
112
|
+
res.map(&:event)
|
113
|
+
end
|
114
|
+
|
115
|
+
# @return [Faraday::Connection]
|
116
|
+
def connection
|
117
|
+
Faraday.new(url: "https://api.doorkeeper.jp/", headers: request_headers) do |conn|
|
118
|
+
conn.response :mashify, mash_class: DoorkeeperJp::Response
|
119
|
+
conn.response :json
|
120
|
+
conn.response :raise_error
|
121
|
+
|
122
|
+
conn.adapter Faraday.default_adapter
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
# @return [Hash]
|
127
|
+
def request_headers
|
128
|
+
headers =
|
129
|
+
{
|
130
|
+
"User-Agent" => "DoorkeeperJp v#{DoorkeeperJp::VERSION} (https://github.com/sue445/doorkeeper_jp)",
|
131
|
+
"Content-Type" => "application/json",
|
132
|
+
}
|
133
|
+
|
134
|
+
headers["Authorization"] = "Bearer #{@access_token}" if @access_token
|
135
|
+
|
136
|
+
headers
|
137
|
+
end
|
138
|
+
|
139
|
+
# @param page [Integer] The page offset of the results.
|
140
|
+
# @param locale [String] The localized text for an event. One of `en`, `ja`. Default: `ja`.
|
141
|
+
# @param sort [String] The order of the results. One of `published_at`, `starts_at`, `updated_at`. Default: `published_at`.
|
142
|
+
# @param since_date [Date] Only events taking place during or after this date will be included. Default: Today.
|
143
|
+
# @param until_date [Date] Only events taking place during or before this date will be included.
|
144
|
+
# @param keyword [String] Keyword to search for from the title or description fields.
|
145
|
+
# @param prefecture [String] Only events with an address in prefecture.
|
146
|
+
# @param is_expand_group [Boolean] Expands the group object.
|
147
|
+
#
|
148
|
+
# @return [Hash]
|
149
|
+
def event_params(page:, locale:, sort:, since_date:, until_date:, keyword:, prefecture:, is_expand_group:)
|
150
|
+
params = {
|
151
|
+
page: page,
|
152
|
+
locale: locale,
|
153
|
+
sort: sort,
|
154
|
+
since: to_ymd(since_date),
|
155
|
+
until: to_ymd(until_date),
|
156
|
+
q: keyword,
|
157
|
+
prefecture: prefecture
|
158
|
+
}.compact
|
159
|
+
|
160
|
+
params["expand[]"] = "group" if is_expand_group
|
161
|
+
|
162
|
+
params
|
163
|
+
end
|
164
|
+
|
165
|
+
# @param date [Date]
|
166
|
+
#
|
167
|
+
# @return [String]
|
168
|
+
def to_ymd(date)
|
169
|
+
date&.strftime("%Y-%m-%d")
|
170
|
+
end
|
171
|
+
end
|
172
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "doorkeeper_jp/version"
|
4
|
+
require_relative "doorkeeper_jp/client"
|
5
|
+
require_relative "doorkeeper_jp/response"
|
6
|
+
|
7
|
+
require "faraday"
|
8
|
+
require "faraday/mashify"
|
9
|
+
|
10
|
+
module DoorkeeperJp
|
11
|
+
class Error < StandardError; end
|
12
|
+
|
13
|
+
# Create and returns {DoorkeeperJp::Client} instance
|
14
|
+
#
|
15
|
+
# @param access_token [String]
|
16
|
+
#
|
17
|
+
# @return [DoorkeeperJp::Client]
|
18
|
+
def self.client(access_token = nil)
|
19
|
+
DoorkeeperJp::Client.new(access_token)
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module DoorkeeperJp
|
2
|
+
class Client
|
3
|
+
def initialize: (?String? access_token) -> void
|
4
|
+
|
5
|
+
def events: (?page: Integer? page, ?locale: String? locale, ?sort: String? sort, ?since_date: Date? since_date, ?until_date: Date? until_date, ?keyword: String? keyword, ?prefecture: String? prefecture, ?is_expand_group: bool? is_expand_group) -> Array[DoorkeeperJp::Response]
|
6
|
+
|
7
|
+
def group_events: (String group, ?page: Integer? page, ?locale: String? locale, ?sort: String? sort, ?since_date: Date? since_date, ?until_date: Date? until_date, ?keyword: String? keyword, ?prefecture: String? prefecture, ?is_expand_group: bool? is_expand_group) -> Array[DoorkeeperJp::Response]
|
8
|
+
|
9
|
+
def group: (String group, ?locale: String? locale) -> DoorkeeperJp::Response
|
10
|
+
|
11
|
+
def event: (Integer id, ?is_expand_group: bool is_expand_group, ?locale: String? locale) -> DoorkeeperJp::Response
|
12
|
+
|
13
|
+
private
|
14
|
+
|
15
|
+
def get_events: (String path, ?page: Integer? page, ?locale: String? locale, ?sort: String? sort, ?since_date: Date? since_date, ?until_date: Date? until_date, ?keyword: String? keyword, ?prefecture: String? prefecture, ?is_expand_group: bool? is_expand_group) -> Array[DoorkeeperJp::Response]
|
16
|
+
|
17
|
+
def connection: () -> Faraday::Connection
|
18
|
+
|
19
|
+
def request_headers: () -> Hash[String, String]
|
20
|
+
|
21
|
+
def event_params: (?page: Integer page, ?locale: String locale, ?sort: String sort, ?since_date: Date since_date, ?until_date: Date until_date, ?keyword: String keyword, ?prefecture: String prefecture, ?is_expand_group: bool is_expand_group) -> Hash[Symbol, untyped]
|
22
|
+
|
23
|
+
def to_ymd: (Date? date) -> String
|
24
|
+
end
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,173 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: doorkeeper_jp
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- sue445
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-09-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: faraday
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: faraday-mashify
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
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: hashie
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
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: rake
|
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: rspec
|
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: rspec-its
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: webmock
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: yard
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: API client for doorkeeper.jp
|
126
|
+
email:
|
127
|
+
- sue445@sue445.net
|
128
|
+
executables: []
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files: []
|
131
|
+
files:
|
132
|
+
- ".rspec"
|
133
|
+
- ".yardopts"
|
134
|
+
- CHANGELOG.md
|
135
|
+
- Gemfile
|
136
|
+
- LICENSE.txt
|
137
|
+
- README.md
|
138
|
+
- Rakefile
|
139
|
+
- doorkeeper_jp.gemspec
|
140
|
+
- lib/doorkeeper_jp.rb
|
141
|
+
- lib/doorkeeper_jp/client.rb
|
142
|
+
- lib/doorkeeper_jp/response.rb
|
143
|
+
- lib/doorkeeper_jp/version.rb
|
144
|
+
- sig/doorkeeper_jp.rbs
|
145
|
+
- sig/doorkeeper_jp/client.rbs
|
146
|
+
- sig/doorkeeper_jp/response.rbs
|
147
|
+
homepage: https://github.com/sue445/doorkeeper_jp
|
148
|
+
licenses:
|
149
|
+
- MIT
|
150
|
+
metadata:
|
151
|
+
homepage_uri: https://github.com/sue445/doorkeeper_jp
|
152
|
+
source_code_uri: https://github.com/sue445/doorkeeper_jp
|
153
|
+
changelog_uri: https://github.com/sue445/doorkeeper_jp/blob/main/CHANGELOG.md
|
154
|
+
post_install_message:
|
155
|
+
rdoc_options: []
|
156
|
+
require_paths:
|
157
|
+
- lib
|
158
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 2.6.0
|
163
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
requirements: []
|
169
|
+
rubygems_version: 3.3.7
|
170
|
+
signing_key:
|
171
|
+
specification_version: 4
|
172
|
+
summary: API client for doorkeeper.jp
|
173
|
+
test_files: []
|