truncato 0.7.11 → 0.7.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/truncato/truncato.rb +1 -1
- data/lib/truncato/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b47841cc80f87bf2fd4e84189e4a80b99356d5087921e534694666d49eb4116
|
4
|
+
data.tar.gz: d35820b8d4b8e3fa2ea5e6f04e471dc410de3d6a02636d0e9dee87583e594415
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58d1ca81c7a2dcb04d4218106dea0409c9297eab38dff11d620515df34747324c8c661e7bf183d651759241439f9240c3c343e0a676debde8f8c13cf4c39268e
|
7
|
+
data.tar.gz: 77e4e51c3b4c1a54abe45d2b1ddef3aa3af3c1a73bf784cc7dc8ee9e7a980009fc3cdbcd3bb0b68e48af4e4d6f7288a658333abed248bf478de3e3b697ec2bd8
|
data/lib/truncato/truncato.rb
CHANGED
@@ -6,7 +6,7 @@ module Truncato
|
|
6
6
|
filtered_attributes: []
|
7
7
|
}
|
8
8
|
|
9
|
-
ARTIFICIAL_ROOT_NAME = '
|
9
|
+
ARTIFICIAL_ROOT_NAME = 'truncato-artificial-root'
|
10
10
|
|
11
11
|
# Truncates the source XML string and returns the truncated XML. It will keep a valid XML structure
|
12
12
|
# and insert a _tail_ text indicating the position where content were removed (...).
|
data/lib/truncato/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: truncato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jorge Manrubia
|
@@ -62,16 +62,16 @@ dependencies:
|
|
62
62
|
name: rake
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- - "
|
65
|
+
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
67
|
+
version: '0'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- - "
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
74
|
+
version: '0'
|
75
75
|
description: Ruby tool for truncating HTML strings keeping a valid HTML markup
|
76
76
|
email: jorge.manrubia@gmail.com
|
77
77
|
executables: []
|
@@ -90,7 +90,8 @@ files:
|
|
90
90
|
homepage: https://github.com/jorgemanrubia/truncato
|
91
91
|
licenses:
|
92
92
|
- MIT
|
93
|
-
metadata:
|
93
|
+
metadata:
|
94
|
+
allowed_push_host: https://rubygems.org
|
94
95
|
post_install_message:
|
95
96
|
rdoc_options: []
|
96
97
|
require_paths:
|
@@ -106,8 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
107
|
- !ruby/object:Gem::Version
|
107
108
|
version: '0'
|
108
109
|
requirements: []
|
109
|
-
|
110
|
-
rubygems_version: 2.7.6
|
110
|
+
rubygems_version: 3.1.6
|
111
111
|
signing_key:
|
112
112
|
specification_version: 4
|
113
113
|
summary: A tool for truncating HTML strings efficiently
|