mastodon_command 4.2.31 → 4.3.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 +4 -4
- data/README.md +2 -2
- data/lib/mastodon_command/statuses_controller_patch.rb +2 -6
- data/lib/mastodon_command/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d55afa6be44085b3ab3020f24b19bfa6626abb27754197388ee6cd77291e121
|
4
|
+
data.tar.gz: d15ada4628e0148545f2b1b544709cfd61f76835d6546bf8dfbcfc0e4c0c4889
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 824f5ed17171bf67370071fb959702383aa2211d50aad9b5aba98fa780524ef253114e44a6f02c60a0f7d6b162ba376482dcffab31d2495f8939bdfd0d48d64b
|
7
|
+
data.tar.gz: aabeac272b0623ee183f33090f98a347474755c29ec047db5861b93e07a1edd8705541435c3a8dabd7ad46b24c37288bf097c37fdbe2c52ed4a42447bb0b1829
|
data/README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# MastodonCommand
|
2
2
|
- おみくじ機能や大阪弁機能などをつけることができます。
|
3
|
-
- ローカルでマストドンのバージョン4.
|
3
|
+
- ローカルでマストドンのバージョン4.3.0にて動作を確認済み
|
4
4
|
(このプログラムを使って問題が起こっても保証はできないので予めご了承ください🙇♂️)
|
5
5
|
|
6
6
|
## Installation
|
7
7
|
|
8
8
|
```ruby
|
9
|
-
gem 'mastodon_command', '4.
|
9
|
+
gem 'mastodon_command', '4.3.0'
|
10
10
|
```
|
11
11
|
|
12
12
|
## Usage
|
@@ -19,13 +19,9 @@ module MastodonCommand
|
|
19
19
|
with_rate_limit: true
|
20
20
|
)
|
21
21
|
|
22
|
-
render json: @status, serializer:
|
22
|
+
render json: @status, serializer: serializer_for_status
|
23
23
|
rescue PostStatusService::UnexpectedMentionsError => e
|
24
|
-
|
25
|
-
e.accounts,
|
26
|
-
serializer: REST::AccountSerializer
|
27
|
-
)
|
28
|
-
render json: { error: e.message, unexpected_accounts: unexpected_accounts }, status: 422
|
24
|
+
render json: unexpected_accounts_error_json(e), status: 422
|
29
25
|
end
|
30
26
|
end
|
31
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mastodon_command
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kenchiki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|