notion_to_md 1.2.1 → 1.2.2

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: 7269cbbe0632eb45943dee04bef8468268febf92c483750e03533715886b4afa
4
- data.tar.gz: 11c7825d9d91499a0f70b2ec094012726a999d9831107a6bb2cd4bcc212c71dc
3
+ metadata.gz: 4876bb92641f8a6199b932404c609cf99a69bafd2f39eaded145f638edd98c39
4
+ data.tar.gz: f57fa933a7bfa0fc4e1b916cf022b64255da39142a2c546720e08d72b6915b44
5
5
  SHA512:
6
- metadata.gz: bca9ebf93794910679e87cf1b049a740ee8ffd4666d45a2ae036c997bc7de408610611dd3fa627e8104ce56674cd1951bef962c96dd6a0b252c7a0619fb01ecb
7
- data.tar.gz: b689e769dc0f1c19e5291316266e9db6bb52cac9db67e2e7b76b4a845868c0e91cd8b47a3aa0b3bcc635731f0457909830a14ddf3a19db47c4f69309678cfa90
6
+ metadata.gz: 86b7daa8a26780c4d6a091048144e05f9a5b48f28993d5a1fed8b53f10e844d3cb54d9b39bb4ffacb35945a1ef9e0128398dac36e68246476f8e3d3919189b87
7
+ data.tar.gz: 3689b48b6fd3a550be20091601a0b888d5656f51d03e0141b37c391934184a5b3e48456996d5bd42b0ed3188204a3be15292a354eaa28f6c4a61fac2de277a32
@@ -49,6 +49,8 @@ module NotionToMd
49
49
  language = block[:language]
50
50
  text = convert_text(block)
51
51
 
52
+ language = 'text' if language == 'plain text'
53
+
52
54
  "```#{language}\n#{text}\n```"
53
55
  end
54
56
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NotionToMd
4
- VERSION = '1.2.1'
4
+ VERSION = '1.2.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notion_to_md
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Enrique Arias
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-30 00:00:00.000000000 Z
11
+ date: 2022-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport