truncato 0.7.9 → 0.7.12

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
- SHA1:
3
- metadata.gz: 7f048814d57d51c0af8591d798fc5215b35fac41
4
- data.tar.gz: c96304844d0b1c93c12537aaa2359a8a5ad87491
2
+ SHA256:
3
+ metadata.gz: 2b47841cc80f87bf2fd4e84189e4a80b99356d5087921e534694666d49eb4116
4
+ data.tar.gz: d35820b8d4b8e3fa2ea5e6f04e471dc410de3d6a02636d0e9dee87583e594415
5
5
  SHA512:
6
- metadata.gz: b050af76d78d7fa5b89f5bfc0f8cd68db0bd5850b54d9f2dabe4777b0977dff088b18b0c10136a00857673e96bc467f405e28ee97f995ff1464cb301aef18492
7
- data.tar.gz: 5cd15d7855658fc38f9fd2536475dde735b21c7887ad2d81069909d560f5b490cecfce612521e9ef617f05491ef8016a350d090ac75fb5d25d6c62bc0da373bc
6
+ metadata.gz: 58d1ca81c7a2dcb04d4218106dea0409c9297eab38dff11d620515df34747324c8c661e7bf183d651759241439f9240c3c343e0a676debde8f8c13cf4c39268e
7
+ data.tar.gz: 77e4e51c3b4c1a54abe45d2b1ddef3aa3af3c1a73bf784cc7dc8ee9e7a980009fc3cdbcd3bb0b68e48af4e4d6f7288a658333abed248bf478de3e3b697ec2bd8
@@ -6,7 +6,7 @@ module Truncato
6
6
  filtered_attributes: []
7
7
  }
8
8
 
9
- ARTIFICIAL_ROOT_NAME = '__truncato_root__'
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 (...).
@@ -1,3 +1,3 @@
1
1
  module Truncato
2
- VERSION='0.7.9'
3
- end
2
+ VERSION='0.7.12'
3
+ end
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.9
4
+ version: 0.7.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jorge Manrubia
@@ -14,16 +14,22 @@ dependencies:
14
14
  name: nokogiri
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.7.0
20
+ - - "<="
21
+ - !ruby/object:Gem::Version
22
+ version: '2.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 1.7.0
30
+ - - "<="
31
+ - !ruby/object:Gem::Version
32
+ version: '2.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: htmlentities
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -56,16 +62,16 @@ dependencies:
56
62
  name: rake
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
- - - "~>"
65
+ - - ">="
60
66
  - !ruby/object:Gem::Version
61
- version: 10.1.1
67
+ version: '0'
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
- - - "~>"
72
+ - - ">="
67
73
  - !ruby/object:Gem::Version
68
- version: 10.1.1
74
+ version: '0'
69
75
  description: Ruby tool for truncating HTML strings keeping a valid HTML markup
70
76
  email: jorge.manrubia@gmail.com
71
77
  executables: []
@@ -84,7 +90,8 @@ files:
84
90
  homepage: https://github.com/jorgemanrubia/truncato
85
91
  licenses:
86
92
  - MIT
87
- metadata: {}
93
+ metadata:
94
+ allowed_push_host: https://rubygems.org
88
95
  post_install_message:
89
96
  rdoc_options: []
90
97
  require_paths:
@@ -100,8 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
107
  - !ruby/object:Gem::Version
101
108
  version: '0'
102
109
  requirements: []
103
- rubyforge_project:
104
- rubygems_version: 2.5.1
110
+ rubygems_version: 3.1.6
105
111
  signing_key:
106
112
  specification_version: 4
107
113
  summary: A tool for truncating HTML strings efficiently