mstdn_ivory 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
+ SHA256:
3
+ metadata.gz: f0cf8aed270448aa92b0e04f2547efbe3e6b104e56aeb0aead7a0c8bcfa77fc1
4
+ data.tar.gz: c19de6c6a50b95cfcb50e3a5f2e8bc679927bebc63890ba8716677cb0fb148b8
5
+ SHA512:
6
+ metadata.gz: c50f4b837947eff948157bdc6c9fa03a3fca76b036d4a94c6e7ce839c805cbc35afb0aac2f084c814c55b52af00f981fe22c6ea5f88a9392ee344ec21d841c19
7
+ data.tar.gz: 8fae8724301ed92af7a1db4cee310c245fe1b66e9cdb1255a3c8206916ff93dd69e0834ca82574d78b0612aeeb64a485a5a44b739a68c0a35287fed119a8777b
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.2
5
+ before_install: gem install bundler -v 1.16.0
@@ -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 sa2taka@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
@@ -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 mstdn_ivory.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,69 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ mstdn_ivory (0.1.0)
5
+ http (~> 3.3)
6
+ oauth2 (~> 1.4)
7
+ oj (~> 3.5)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ addressable (2.5.2)
13
+ public_suffix (>= 2.0.2, < 4.0)
14
+ diff-lcs (1.3)
15
+ domain_name (0.5.20180417)
16
+ unf (>= 0.0.5, < 1.0.0)
17
+ faraday (0.12.2)
18
+ multipart-post (>= 1.2, < 3)
19
+ http (3.3.0)
20
+ addressable (~> 2.3)
21
+ http-cookie (~> 1.0)
22
+ http-form_data (~> 2.0)
23
+ http_parser.rb (~> 0.6.0)
24
+ http-cookie (1.0.3)
25
+ domain_name (~> 0.5)
26
+ http-form_data (2.1.0)
27
+ http_parser.rb (0.6.0)
28
+ jwt (1.5.6)
29
+ multi_json (1.13.1)
30
+ multi_xml (0.6.0)
31
+ multipart-post (2.0.0)
32
+ oauth2 (1.4.0)
33
+ faraday (>= 0.8, < 0.13)
34
+ jwt (~> 1.0)
35
+ multi_json (~> 1.3)
36
+ multi_xml (~> 0.5)
37
+ rack (>= 1.2, < 3)
38
+ oj (3.5.1)
39
+ public_suffix (3.0.2)
40
+ rack (2.0.5)
41
+ rake (10.5.0)
42
+ rspec (3.7.0)
43
+ rspec-core (~> 3.7.0)
44
+ rspec-expectations (~> 3.7.0)
45
+ rspec-mocks (~> 3.7.0)
46
+ rspec-core (3.7.1)
47
+ rspec-support (~> 3.7.0)
48
+ rspec-expectations (3.7.0)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.7.0)
51
+ rspec-mocks (3.7.0)
52
+ diff-lcs (>= 1.2.0, < 2.0)
53
+ rspec-support (~> 3.7.0)
54
+ rspec-support (3.7.1)
55
+ unf (0.1.4)
56
+ unf_ext
57
+ unf_ext (0.0.7.5)
58
+
59
+ PLATFORMS
60
+ ruby
61
+
62
+ DEPENDENCIES
63
+ bundler (~> 1.16)
64
+ mstdn_ivory!
65
+ rake (~> 10.0)
66
+ rspec (~> 3.0)
67
+
68
+ BUNDLED WITH
69
+ 1.16.0
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 sa2taka
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,93 @@
1
+ # MstdnIvory
2
+
3
+ Ruby interface for Mastodon api, like mastodon-api npm package
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'mstdn_ivory'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install mstdn_ivory
20
+
21
+ ## Usage
22
+
23
+ #### authorization
24
+ For getting access token(and creating app):
25
+
26
+ ```ruby
27
+ require 'mstdn_ivory'
28
+
29
+ client = MstdnIvory::Client.new('baseurl(e.g. https://mstdn-workers.com)')
30
+ res = client.create_app('app name',
31
+ 'scopes(e.g. read write follow, default scope is read)',
32
+ 'redirect_uri, default is urn:ietf:wg:oauth:2.0:oob',
33
+ 'website name, default is nil')
34
+ res.client_id # => 'Your client id'
35
+ res.client_secret # => 'Your client secret'
36
+
37
+ auth_url = client.create_authorization_url(res.client_id,
38
+ res.client_secret,
39
+ 'Your client scopes',
40
+ 'redirect_uri, default is urn:ietf:wg:oauth:2.0:oob')
41
+ auth_url #=> 'https://mstdn-workers.com/oauth/authorize...'
42
+
43
+ # You got authorization_code in some way
44
+ token = client.get_access_token(res.client_id,
45
+ res.client_secret,
46
+ 'Your authorization code',
47
+ 'redirect_uri, default is urn:ietf:wg:oauth:2.0:oob')
48
+ token #=> 'Your access token'
49
+
50
+ client.get('/api/v1/accounts/424') # => Information of my accounts(If there is in mstdn-workers.com)
51
+ ```
52
+
53
+ If you already have access token, you can easily create client:
54
+
55
+ ```ruby
56
+ client = MstdnIvory::Client.new('baseurl', 'Your access token')
57
+ client.get('/api/v1/accounts/424') # => Information of my accounts
58
+ ```
59
+
60
+ #### examples
61
+
62
+ You can get and post method using client.
63
+
64
+ For example, Reading the home timeline:
65
+
66
+ ```ruby
67
+ client.get('/api/v1/timelines/home')
68
+ ```
69
+
70
+ Post status:
71
+ ```ruby
72
+ client.post('/api/v1/statuses', {'status': 'status content'})
73
+ ```
74
+
75
+
76
+
77
+ ## Development
78
+
79
+ 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.
80
+
81
+ 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).
82
+
83
+ ## Contributing
84
+
85
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mstdn_ivory. 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.
86
+
87
+ ## License
88
+
89
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
90
+
91
+ ## Code of Conduct
92
+
93
+ Everyone interacting in the MstdnIvory project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/mstdn_ivory/blob/master/CODE_OF_CONDUCT.md).
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 "mstdn_ivory"
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 "irb"
14
+ IRB.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
@@ -0,0 +1,11 @@
1
+ require 'mstdn_ivory/register'
2
+ require 'mstdn_ivory/request'
3
+ require 'mstdn_ivory/rest'
4
+
5
+ module MstdnIvory
6
+ module Api
7
+ include MstdnIvory::Register
8
+ include MstdnIvory::Request
9
+ include MstdnIvory::Rest
10
+ end
11
+ end
@@ -0,0 +1,27 @@
1
+ require 'mstdn_ivory/api'
2
+
3
+ module MstdnIvory
4
+ class Client
5
+ include Api
6
+
7
+ attr_accessor :token
8
+ attr_reader :base_url
9
+ attr_reader :timeout
10
+
11
+ DEFAULT_TIMEOUT = { connect: 2, read: 5, write: 20 }
12
+
13
+ def initialize(base_url, token = '', options = {})
14
+ @base_url = base_url
15
+ @token = token
16
+ @timeout = DEFAULT_TIMEOUT.merge(options[:timeout] || {})
17
+ end
18
+
19
+ def headers
20
+ {
21
+ accept: '*/*',
22
+ user_agent:'mstdn ivory',
23
+ authorization: "Bearer #{@token}"
24
+ }
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,19 @@
1
+ module MstdnIvory
2
+ # This class inherit hash.
3
+ # The value is accessed by key name method:
4
+ # dah = DotAccessableHash.new
5
+ # dah['strkey'] = 'strvalue'
6
+ # dah[:symkey] = :symkey
7
+ # dah.strkey # => "strvalue"
8
+ # dah.symkey # => :symkey
9
+ class DotAccessableHash < Hash
10
+ def method_missing(name)
11
+ super unless self.has_key?(name) || self.has_key?(name.to_s)
12
+ self[name.to_s] || self[name]
13
+ end
14
+
15
+ def respond_to_missing?(name)
16
+ return self.has_key?(name) || self.has_key?(name.to_s)
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ require 'oauth2'
2
+
3
+ module MstdnIvory
4
+ module Register
5
+ def create_app(name, scopes = 'read', redirect_uri = 'urn:ietf:wg:oauth:2.0:oob', website = nil)
6
+ request(:post, '/api/v1/apps', { client_name: name, redirect_uris: redirect_uri, scopes: scopes, website: website })
7
+ end
8
+
9
+ def create_authorization_url(client_id, client_secret, scope = 'read', redirect_uri = 'urn:ietf:wg:oauth:2.0:oob')
10
+ oauth_client = OAuth2::Client.new(client_id, client_secret, site: self.base_url)
11
+ oauth_client.auth_code.authorize_url(redirect_uri: redirect_uri, scope: scope)
12
+ end
13
+
14
+ def get_access_token(client_id, client_secret, authorization_code, redirect_uri = 'urn:ietf:wg:oauth:2.0:oob')
15
+ oauth_client = OAuth2::Client.new(client_id, client_secret, site: self.base_url)
16
+ self.token = oauth_client.auth_code.get_token(authorization_code, redirect_uri: redirect_uri).token
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,22 @@
1
+ require 'http'
2
+ require 'oj'
3
+ require 'mstdn_ivory/dot_accessable_hash'
4
+
5
+ module MstdnIvory
6
+ module Request
7
+ def request(method, path, options)
8
+ request_url = self.base_url + path
9
+
10
+ http_client = HTTP.timeout(:per_operation, connect: self.timeout[:connect], read: self.timeout[:read], write: self.timeout[:write])
11
+ res = http_client.headers(self.headers).public_send(method, request_url, {form: options})
12
+ # Change Hash to DotAccessableHash
13
+ json_data = Oj.load(res)
14
+ case json_data
15
+ when Array
16
+ json_data.map { |elm| MstdnIvory::DotAccessableHash.new.merge(elm) }
17
+ when Hash
18
+ MstdnIvory::DotAccessableHash.new.merge(json_data)
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,11 @@
1
+ module MstdnIvory
2
+ module Rest
3
+ def get(path, params = {})
4
+ request(:get, path, params)
5
+ end
6
+
7
+ def post(path, params = {})
8
+ request(:post, path, params)
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ module MstdnIvory
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,2 @@
1
+ require 'mstdn_ivory/version'
2
+ require 'mstdn_ivory/client'
@@ -0,0 +1,31 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "mstdn_ivory/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "mstdn_ivory"
8
+ spec.version = MstdnIvory::VERSION
9
+ spec.authors = ["sa2taka"]
10
+ spec.email = ["sa2taka@gmail.com"]
11
+
12
+ spec.summary = %q{Ruby interface for Mastodon api.}
13
+ spec.description = %q{Ruby interface for Mastodon api, like mastodon-api npm package}
14
+ spec.homepage = "https://github.com/sa2taka/mstdn_ivory"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.16"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rspec", "~> 3.0"
27
+
28
+ spec.add_dependency 'http', '~> 3.3'
29
+ spec.add_dependency 'oj', '~> 3.5'
30
+ spec.add_dependency 'oauth2', '~> 1.4'
31
+ end
metadata ADDED
@@ -0,0 +1,148 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mstdn_ivory
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - sa2taka
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-04-30 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.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.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: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: http
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.3'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: oj
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.5'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.5'
83
+ - !ruby/object:Gem::Dependency
84
+ name: oauth2
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.4'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.4'
97
+ description: Ruby interface for Mastodon api, like mastodon-api npm package
98
+ email:
99
+ - sa2taka@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".travis.yml"
107
+ - CODE_OF_CONDUCT.md
108
+ - Gemfile
109
+ - Gemfile.lock
110
+ - LICENSE.txt
111
+ - README.md
112
+ - Rakefile
113
+ - bin/console
114
+ - bin/setup
115
+ - lib/mstdn_ivory.rb
116
+ - lib/mstdn_ivory/api.rb
117
+ - lib/mstdn_ivory/client.rb
118
+ - lib/mstdn_ivory/dot_accessable_hash.rb
119
+ - lib/mstdn_ivory/register.rb
120
+ - lib/mstdn_ivory/request.rb
121
+ - lib/mstdn_ivory/rest.rb
122
+ - lib/mstdn_ivory/version.rb
123
+ - mstdn_ivory.gemspec
124
+ homepage: https://github.com/sa2taka/mstdn_ivory
125
+ licenses:
126
+ - MIT
127
+ metadata: {}
128
+ post_install_message:
129
+ rdoc_options: []
130
+ require_paths:
131
+ - lib
132
+ required_ruby_version: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
137
+ required_rubygems_version: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ requirements: []
143
+ rubyforge_project:
144
+ rubygems_version: 2.7.2
145
+ signing_key:
146
+ specification_version: 4
147
+ summary: Ruby interface for Mastodon api.
148
+ test_files: []