mastodon_command 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/mastodon_command/statuses_controller.rb +3 -2
- data/lib/mastodon_command/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f2077c48aabc92462f3c405965f78f22ce36666ed200a2b91021f29f36e64ddc
|
4
|
+
data.tar.gz: 67fa13ea5e05e6916c6ed5587ed66be17ce92ef3d408da0eecfc90e377dc5df9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55fefd635f50009c58df38f62ab58d096e1a299a48529a976ca93d1b14f7e444e1bf5e7185b4b7dc6a08822c2e8b74542772891efd7b1b04d8efa0d105919b0b
|
7
|
+
data.tar.gz: 782acaed40e2b595bc4e792cd05b482ab8eade517af57cbb0aab3c9dc3cf24264d6802b9d1cf7a3e2db28ee837cc7c8df9363e479386a398fb79e314a82ded62
|
@@ -3,7 +3,7 @@ module ApiV1StatusesControllerPatch
|
|
3
3
|
status = MastodonCommand.convert_toot(status_params[:status])
|
4
4
|
@status = PostStatusService.new.call(current_user.account,
|
5
5
|
text: status,
|
6
|
-
thread:
|
6
|
+
thread: @thread,
|
7
7
|
media_ids: status_params[:media_ids],
|
8
8
|
sensitive: status_params[:sensitive],
|
9
9
|
spoiler_text: status_params[:spoiler_text],
|
@@ -11,7 +11,8 @@ module ApiV1StatusesControllerPatch
|
|
11
11
|
scheduled_at: status_params[:scheduled_at],
|
12
12
|
application: doorkeeper_token.application,
|
13
13
|
poll: status_params[:poll],
|
14
|
-
idempotency: request.headers['Idempotency-Key']
|
14
|
+
idempotency: request.headers['Idempotency-Key'],
|
15
|
+
with_rate_limit: true)
|
15
16
|
|
16
17
|
render json: @status, serializer: @status.is_a?(ScheduledStatus) ? REST::ScheduledStatusSerializer : REST::StatusSerializer
|
17
18
|
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: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kenchiki
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -77,7 +77,7 @@ files:
|
|
77
77
|
homepage: http://nagai-galaxy.com/
|
78
78
|
licenses: []
|
79
79
|
metadata: {}
|
80
|
-
post_install_message:
|
80
|
+
post_install_message:
|
81
81
|
rdoc_options: []
|
82
82
|
require_paths:
|
83
83
|
- lib
|
@@ -92,9 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
|
-
|
96
|
-
|
97
|
-
signing_key:
|
95
|
+
rubygems_version: 3.2.32
|
96
|
+
signing_key:
|
98
97
|
specification_version: 4
|
99
98
|
summary: Mastodon Toot Command.
|
100
99
|
test_files: []
|