misskey 0.0.5 → 0.0.6

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/create.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ea84373b52dedf73ef21f31937e5209d0f48b187090f73d935959496da25d02
4
- data.tar.gz: 509c6f8655424ef9d7420262db58def2feb0d9b4c083d20415a2782796320e4e
3
+ metadata.gz: d88e8be4843ee35669b4d1be0ccc11789483cdde2b99f2c59dca1b10e16a82f4
4
+ data.tar.gz: d1089026ba9bd55cdf828bf1919f32940a6cde8b86547d27ab4bd1b454049b73
5
5
  SHA512:
6
- metadata.gz: 26869141756d27a4948a9b3dc953d9b24cf375f6776583d092e3343e1f7610cf4c9c17a0c3a5bc1fa2693a4a930877f05f7d322c7b5490260c087dddf498cfa8
7
- data.tar.gz: 05d274f648741d2ef61b726089d0745401326166a0e071f9ddb2be24057eb9594b57e14c8183fd778553fe53b8264deb071d03f698e4102cda77568f4c895459
6
+ metadata.gz: bee05d0635b33c51d0aed68552c6b63eccfec3f36a755fd08aeb89c0bf53264f790603ec023abec1f0dd62fb03c4d6a9735889de82a251e0bd6032e1dbc91255
7
+ data.tar.gz: 0a3130b5e2e69bd018fb41bff41c6ea88c585cc855d56958c68459f7569fff5d28a9813d838818d40017af9cd0b9c04e99e783f49f77981da58fd44484739bef
data/lib/create.rb CHANGED
@@ -15,7 +15,7 @@ module Creates
15
15
  "replyId": null,
16
16
  "renoteId": null,
17
17
  "channelId": null,
18
- "text": "#{noteContent}"
18
+ "text": "#{noteContent.gsub("\n", "\\n")}"
19
19
  }
20
20
  JSON
21
21
 
@@ -99,7 +99,7 @@ JSON
99
99
  "userId": "#{userId}",
100
100
  "renoteId": null,
101
101
  "channelId": null,
102
- "text": "#{noteContent}"
102
+ "text": "#{noteContent.gsub("\n", "\\n")}"
103
103
  }
104
104
  JSON
105
105
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: misskey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sky.Bit