rubysky 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 651d596ed8bca48d094dc4f810d5213f7a872d76b357e2824a8619faa60a4419
4
- data.tar.gz: 96e373af9d31fae5413bceea7adb146b598c1569929f26091b9b5f8d3b2ce5a3
3
+ metadata.gz: e6be362a96034c153bc6cd9e9d5737a9ef5eeef478f475a67ebf602f38f5dae8
4
+ data.tar.gz: 1ef05e55261c62a371bf01bc35407597a4bd60588d372319b899779afcda702e
5
5
  SHA512:
6
- metadata.gz: b94f1ec080eff2b4f30b5f011e1e74d8fefad22a0ceaed72da274192d3486237231d08cd77e266fb67e001822213743a1938b6ca9b46f5892873637dd9460a02
7
- data.tar.gz: 9bf17f5fb3c1f10e6c40203abdb9589658aeb21c702d63deea0e26ced9c4784ee51b0ef4134d297c729e6de719a646c0d0ecfb66ab229e13b4197c64c6913f27
6
+ metadata.gz: 62fe028987c92fc49e4db38b47a570ff999ca000ac0510b554c8e510faf59315929481dca4045209c7754cf0c6d98f6687e748e475907314d9dc16f2d974e261
7
+ data.tar.gz: c6c34eda9ba22628a5124a7051146cafe3a88cee6c926326c0ed171c030035808a9a32b25d99b26c3afd6f53d3f424b9dc66f1d4309505f9b281091cd7002b5f
@@ -7,11 +7,15 @@ module RubySky
7
7
  @images = images
8
8
  end
9
9
 
10
- def to_json(*_args)
10
+ def as_json(*_args)
11
11
  {
12
12
  "$type": "app.bsky.embed.images",
13
13
  images: @images
14
- }.to_json
14
+ }
15
+ end
16
+
17
+ def to_json(*_args)
18
+ as_json.to_json
15
19
  end
16
20
  end
17
21
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubySky
4
- VERSION = "0.3.0"
4
+ VERSION = "0.4.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kugayama Nana
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-13 00:00:00.000000000 Z
11
+ date: 2024-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt