tiptap-ruby 0.9.0 → 0.9.1

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: d9947a5d51dd807e466a05a3a207a8912b9eca1976cef7eea6fd236c1416a2c4
4
- data.tar.gz: 6219293515b3a8381b54973438b72ba410e32368c8de851eb4978458934e0e5d
3
+ metadata.gz: 76bcdc2f87339f0f86447e4acda4807dfa6a2939ffd6a13e2838fb20e06ebfa9
4
+ data.tar.gz: 2d773e0bb03de5cbdf4cec7461678391cf6478eec2dea925a930d9c193efbfb1
5
5
  SHA512:
6
- metadata.gz: 31b4da971be3ad168e49955ed805ea3637ae4f10eabab244e1aa05ee8a7713fd515aea99034ffd2e1daaaa87f5ca2e83d189c75e98d4f190b0f45567f7df5a61
7
- data.tar.gz: ca688b9f1c893ec1c15334195552f7b698844c74ab11df82060a1c2f967e18e02b8766b5f873ab9c0a71342d7c6b0d7831e302a35a3a9cecdf0c3ac2000654b6
6
+ metadata.gz: fd3281ee6f2357c1dc054cafd79e1a05ea20715658f0313a4c7b8011fef823ad2e2a6046efa0b3a007e87f2b416af199d7e5fe953684b6d7cbc9f08a81988698
7
+ data.tar.gz: a118384357347da5f693349182cc37be4989db5153bb5b853ba14e6a03726609eb5ed997816e1a60f86f60662f9fc010f38a46ae904b0eb8d2f9bf55209db5b2
@@ -40,6 +40,10 @@ module TipTap
40
40
  content.size
41
41
  end
42
42
 
43
+ def blank?
44
+ content&.all?(&:blank?)
45
+ end
46
+
43
47
  module ClassMethods
44
48
  # Create a new instance from a TipTap JSON object.
45
49
  # All nodes are recursively parsed and converted to Ruby objects
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TipTap
4
- VERSION = "0.9.0"
4
+ VERSION = "0.9.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiptap-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Wilken
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-20 00:00:00.000000000 Z
11
+ date: 2024-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  requirements: []
98
- rubygems_version: 3.4.6
98
+ rubygems_version: 3.3.13
99
99
  signing_key:
100
100
  specification_version: 4
101
101
  summary: Parse, generate and render TipTap documents in Ruby.