mstdn_analyzer 0.1.1

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: 74bd48d0d50f79837e02534d3978a686041967fe62d9ee2afe2360393dad85ee
4
+ data.tar.gz: bba8cbfb45e19f0049ec485f1abfb01934d450afaaa74f69cb086a91dd7bc2b2
5
+ SHA512:
6
+ metadata.gz: b869f248f8befcd30d128a645e724bed012e2975438eb8546fc9e6b48238fb5a026abc1bf1dc6cd694669b4c1cd363c3a0e4d05a1f5e6a61ed2f1e145bd19c97
7
+ data.tar.gz: 57d6c8d84d8a0b8ea5c49e3aded924692e4e286ff2c0376baaacf25f2d4d0247799ad67dcbc0cde7e180e9811676842a889f6e2e63357677892b13e42772c560
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
@@ -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_analyzer.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,65 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ mstdn_analyzer (0.1.0)
5
+ mstdn_ivory
6
+ nokogiri
7
+ ruby-progressbar (~> 1.10)
8
+ thor
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ addressable (2.7.0)
14
+ public_suffix (>= 2.0.2, < 5.0)
15
+ domain_name (0.5.20190701)
16
+ unf (>= 0.0.5, < 1.0.0)
17
+ faraday (0.15.4)
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.1)
27
+ http_parser.rb (0.6.0)
28
+ jwt (2.2.1)
29
+ mini_portile2 (2.4.0)
30
+ mstdn_ivory (0.5.0)
31
+ addressable (~> 2.5)
32
+ http (~> 3.3)
33
+ oauth2 (~> 1.4)
34
+ oj (~> 3.5)
35
+ multi_json (1.13.1)
36
+ multi_xml (0.6.0)
37
+ multipart-post (2.1.1)
38
+ nokogiri (1.10.4)
39
+ mini_portile2 (~> 2.4.0)
40
+ oauth2 (1.4.1)
41
+ faraday (>= 0.8, < 0.16.0)
42
+ jwt (>= 1.0, < 3.0)
43
+ multi_json (~> 1.3)
44
+ multi_xml (~> 0.5)
45
+ rack (>= 1.2, < 3)
46
+ oj (3.9.1)
47
+ public_suffix (4.0.1)
48
+ rack (2.0.7)
49
+ rake (10.5.0)
50
+ ruby-progressbar (1.10.1)
51
+ thor (0.20.3)
52
+ unf (0.1.4)
53
+ unf_ext
54
+ unf_ext (0.0.7.6)
55
+
56
+ PLATFORMS
57
+ ruby
58
+
59
+ DEPENDENCIES
60
+ bundler (~> 1.17)
61
+ mstdn_analyzer!
62
+ rake (~> 10.0)
63
+
64
+ BUNDLED WITH
65
+ 1.17.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 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,64 @@
1
+ # MstdnAnalyzer
2
+
3
+ シンプルなマストドンの解析ツールです。
4
+ [こちらを参考にしています](https://github.com/x0rz/tweets_analyzer)。
5
+
6
+ ユーザーが面倒くさくなるため、アプリ化をしていません。その為、グローバルなツイートのみしか取得できません。
7
+ そんな理由で、できることが少ないです。
8
+
9
+ 出来ること
10
+
11
+ - [x] ツイート時間帯などの解析
12
+
13
+ 出来ないこと
14
+ - [x] ダイレクトメッセージなどのリプライの解析
15
+
16
+ やろうと思えば出来ることは多いですが、取り合えず現時点でできる事は
17
+
18
+ - 時間ごとのツイート数の解析
19
+ - 曜日ごとのツイート数の解析
20
+
21
+ となっています。
22
+
23
+ ## Installation
24
+
25
+ Rubyが必要です。最新版であることが望ましいです。
26
+
27
+ $ gem install mstdn_analyzer
28
+
29
+ ## Usage
30
+
31
+ #### Basic
32
+
33
+ $ mstdn_analyzer -i https://mstdn-workers.com -u t0p_l1ght
34
+
35
+ サンプリングするtootの数を増やします
36
+
37
+ $ mstdn_analyzer -i https://mstdn-workers.com -u t0p_l1ght
38
+
39
+ ブーストを含まないで解析します。
40
+
41
+ mstdn_analyzer -i https://mstdn-workers.com -u t0p_l1ght --no-boost
42
+
43
+ ``` sh
44
+ $ mstdn_analyzer help analyze
45
+ Usage:
46
+ mstdn_analyzer analyze -i, --instance-url=INSTANCE_URL -u, --username=USERNAME
47
+
48
+ Options:
49
+ -i, --instance-url=INSTANCE_URL # [Require]instance url(e.g. https://mstdn-workers.com)
50
+ -u, --username=USERNAME # [Require]username(e.g. t0p_l1ght)
51
+ -l, [--limit=N] # limit the number of toots
52
+ # Default: 5000
53
+ [--boost], [--no-boost] # evaluate boost or does not
54
+
55
+ analyze toots
56
+ ```
57
+
58
+ ## License
59
+
60
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
61
+
62
+ ## Code of Conduct
63
+
64
+ Everyone interacting in the MstdnAnalyzer project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/mstdn_analyzer/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "mstdn_analyzer"
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,19 @@
1
+ #!/usr/bin/env ruby
2
+ require 'thor'
3
+ require 'mstdn_analyzer'
4
+
5
+ class CliAdapter < Thor
6
+ default_command :analyze
7
+
8
+ desc 'analyze', 'analyze toots'
9
+ method_option :instance_url, type: :string, aliases: '-i', required: true, desc: '[Require]instance url(e.g. https://mstdn-workers.com)'
10
+ method_option :username, type: :string, aliases: '-u', required: true, desc: '[Require]username(e.g. t0p_l1ght)'
11
+ method_option :limit, type: :numeric, default: 5000, aliases: '-l', desc: 'limit the number of toots'
12
+ method_option :boost, type: :boolean, default: false, desc: 'evaluate boost or does not'
13
+
14
+ def analyze
15
+ MstdnAnalyzer::Analyzer.new(options[:instance_url], options[:username], limit: options[:limit], ignore_reblog: options[:no_boost]).analyze
16
+ end
17
+ end
18
+
19
+ CliAdapter.start
@@ -0,0 +1,2 @@
1
+ require "mstdn_analyzer/version"
2
+ require "mstdn_analyzer/analyzer"
@@ -0,0 +1,183 @@
1
+ require 'mstdn_ivory'
2
+ require 'nokogiri'
3
+ require 'open-uri'
4
+ require 'ruby-progressbar'
5
+ require 'io/console/size'
6
+
7
+ module MstdnAnalyzer
8
+ class Analyzer
9
+ attr_accessor :instance, :account, :cleint, :statuses
10
+
11
+ COLORS = { black: "\e[30m", red: "\e[31m", green: "\e[32m", yellow: "\e[33m", blue: "\e[34m", mugenta: "\e[35m", cyan: "\e[36m", white: "\e[37m", reset: "\e[m"}
12
+ BACKGROUND_COLORS = { black: "\e[40m", red: "\e[41m", green: "\e[42m", yellow: "\e[43m", blue: "\e[44m", mugenta: "\e[45m", cyan: "\e[46m", white: "\e[47m", reset: "\e[m"}
13
+
14
+ def initialize(instance, username, **options)
15
+ # オプションの解析
16
+ limit = options[:limit] || 5000
17
+ is_inore_reblog = options[:ignore_reblog]
18
+
19
+ @instance = get_correct_instance(instance)
20
+ @client = MstdnIvory::Client.new(@instance)
21
+ @account = get_id_from_username(username)
22
+ @statuses = get_statuses(limit, is_inore_reblog)
23
+ end
24
+
25
+ def result
26
+ puts "Daily activity distribution(per hour)"
27
+ puts_line
28
+ display_activity_per_hour
29
+ puts_line
30
+ puts
31
+ puts "Weekley activity distribution(per day)"
32
+ puts_line
33
+ display_activity_per_day
34
+ puts_line
35
+ end
36
+
37
+ private
38
+
39
+ def display_activity_per_hour
40
+ activity = activity_per_hour
41
+ max = (activity.max { |a, b| a.count <=> b.count}).count
42
+ activity.each_with_index do |item, index|
43
+ puts_graph_line(item.count.to_f / max.to_f, item.count, "#{sprintf("%02d:00", index)}")
44
+ end
45
+ end
46
+
47
+ def activity_per_hour
48
+ initial = Array.new(24) { Array.new }
49
+ @statuses.inject(initial) do |activity, status|
50
+ # 日本時間にべた書きで変更
51
+ time = Time.parse(status.created_at).localtime("+09:00")
52
+ activity[time.hour].append(status)
53
+ activity
54
+ end
55
+ end
56
+
57
+ def display_activity_per_day
58
+ activity = activity_per_day
59
+ wday = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
60
+ max = (activity.max { |a, b| a.count <=> b.count}).count
61
+ activity.each_with_index do |item, index|
62
+ puts_graph_line(item.count.to_f / max.to_f, item.count, wday[index])
63
+ end
64
+ end
65
+
66
+ def activity_per_day
67
+ initial = Array.new(7) { Array.new }
68
+ @statuses.inject(initial) do |activity, status|
69
+ # 日本時間にべた書きで変更
70
+ time = Time.parse(status.created_at).localtime("+09:00")
71
+ activity[time.wday].append(status)
72
+ activity
73
+ end
74
+ end
75
+
76
+ # ratio = count / 24時間のうち最大のcount (つまり24時間で最大の場合ratioは1)
77
+ def puts_graph_line(ratio, count, description)
78
+ _, width = IO.console_size
79
+ graph_width = (width * 0.6).to_i
80
+ cluster_width = (graph_width * 0.25).to_i
81
+
82
+ cluster_color = [:white, :green, :yellow, :red]
83
+ last_index = 0
84
+
85
+ 4.times do |i|
86
+ print BACKGROUND_COLORS[cluster_color[i]]
87
+ if ratio < (0.25 * (i + 1))
88
+ print
89
+ print " " * ((ratio - (0.25 * i.to_f)) * cluster_width).to_i
90
+ last_index = i
91
+ break
92
+ else
93
+ print " " * cluster_width
94
+ last_index = i
95
+ end
96
+ end
97
+
98
+ print BACKGROUND_COLORS[:reset]
99
+ print "\e[#{graph_width + 2}G"
100
+ print COLORS[cluster_color[last_index]]
101
+ print sprintf("%4d", count)
102
+ print COLORS[:reset]
103
+ print ' '
104
+ puts description
105
+ end
106
+
107
+ def get_statuses(limit, is_inore_reblog)
108
+ max_id = nil
109
+ statuses = []
110
+
111
+ statuses_count = @client.get("/api/v1/accounts/#{@account}").statuses_count
112
+ max_statuses = statuses_count> limit ? limit : statuses_count
113
+
114
+ puts "[Correct Statuses] Correct #{max_statuses} statuses.Wait a minute."
115
+ progress = ProgressBar.create(:title => " Correcting...", :starting_at => 0, :total => max_statuses / 40)
116
+
117
+ ((max_statuses - 1) / 40 + 1).times do
118
+ temp = @client.get("/api/v1/accounts/#{@account}/statuses?max_id=#{max_id}&limit=40")
119
+ break if temp.length.zero?
120
+ statuses.concat temp
121
+ max_id = temp[-1].id
122
+
123
+ progress.increment
124
+ if ((max_statuses - 1) / 40 + 1) < 400
125
+ sleep(0.3)
126
+ else
127
+ sleep(1.5)
128
+ end
129
+ end
130
+ puts "\e[1G Complete!"
131
+
132
+ if is_inore_reblog
133
+ statuses.select { |s| !(s.reblog)}
134
+ else
135
+ statuses
136
+ end
137
+ end
138
+
139
+ def get_correct_instance(instance)
140
+ print "[ ]Confirm Instance"
141
+ client = MstdnIvory::Client.new(instance)
142
+ begin
143
+ info = client.get('/api/v1/instance')
144
+ rescue
145
+ puts "Error: Instance missing. Check the URL is correct."
146
+ exit
147
+ end
148
+
149
+ puts "\e[1G[✓]Confirm Instance"
150
+ instance
151
+ end
152
+
153
+ def get_id_from_username(username)
154
+ print "[ ]Confirm Username"
155
+ charset = nil
156
+
157
+ begin
158
+ account_page = open("#{@instance}/@#{username}") do |f|
159
+ charset = f.charset
160
+ f.read
161
+ end
162
+ rescue
163
+ puts "Error: Account missing.Check the account name is correct."
164
+ exit
165
+ end
166
+
167
+ doc = Nokogiri::HTML.parse(account_page, nil, charset)
168
+
169
+ doc.css("link[rel=salmon]").each do |link|
170
+ puts "\e[1G[✓]Confirm Username"
171
+ return link.values[0].match(/\d+$/)
172
+ end
173
+
174
+ # ここまで来たらaccount_idを取得できていないのでミス
175
+ puts "Error: Account missing.Check the account name is correct."
176
+ end
177
+
178
+ def puts_line
179
+ _, width = IO.console_size
180
+ puts '#' * (width * 0.9)
181
+ end
182
+ end
183
+ end
@@ -0,0 +1,3 @@
1
+ module MstdnAnalyzer
2
+ VERSION = "0.1.1"
3
+ end
@@ -0,0 +1,33 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "mstdn_analyzer/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "mstdn_analyzer"
8
+ spec.version = MstdnAnalyzer::VERSION
9
+ spec.authors = ["sa2taka"]
10
+ spec.email = ["sa2taka@gmail.com"]
11
+
12
+ spec.summary = %q{Mastodon toot analyzer}
13
+ spec.description = %q{Mastodon toot analyzer}
14
+ spec.homepage = "https://github.com/sa2taka/MstdnAnalyzer"
15
+ spec.license = "MIT"
16
+
17
+ # Specify which files should be added to the gem when it is released.
18
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
20
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
21
+ end
22
+ spec.bindir = "exe"
23
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
+ spec.require_paths = ["lib"]
25
+
26
+ spec.add_dependency 'mstdn_ivory'
27
+ spec.add_dependency 'ruby-progressbar', '~> 1.10'
28
+ spec.add_dependency 'nokogiri'
29
+ spec.add_dependency 'thor'
30
+
31
+ spec.add_development_dependency "bundler", "~> 1.17"
32
+ spec.add_development_dependency "rake", "~> 10.0"
33
+ end
metadata ADDED
@@ -0,0 +1,142 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mstdn_analyzer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - sa2taka
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-09-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: mstdn_ivory
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: ruby-progressbar
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.10'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: nokogiri
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: thor
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
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: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.17'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.17'
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
+ description: Mastodon toot analyzer
98
+ email:
99
+ - sa2taka@gmail.com
100
+ executables:
101
+ - mstdn_analyzer
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".gitignore"
106
+ - CODE_OF_CONDUCT.md
107
+ - Gemfile
108
+ - Gemfile.lock
109
+ - LICENSE.txt
110
+ - README.md
111
+ - Rakefile
112
+ - bin/console
113
+ - bin/setup
114
+ - exe/mstdn_analyzer
115
+ - lib/mstdn_analyzer.rb
116
+ - lib/mstdn_analyzer/analyzer.rb
117
+ - lib/mstdn_analyzer/version.rb
118
+ - mstdn_analyzer.gemspec
119
+ homepage: https://github.com/sa2taka/MstdnAnalyzer
120
+ licenses:
121
+ - MIT
122
+ metadata: {}
123
+ post_install_message:
124
+ rdoc_options: []
125
+ require_paths:
126
+ - lib
127
+ required_ruby_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ required_rubygems_version: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
137
+ requirements: []
138
+ rubygems_version: 3.0.3
139
+ signing_key:
140
+ specification_version: 4
141
+ summary: Mastodon toot analyzer
142
+ test_files: []