epitools 0.5.60 → 0.5.61
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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/epitools/core_ext/string.rb +8 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d26be924f980b182a291581a2f0e0488d3534791
|
|
4
|
+
data.tar.gz: 3520224c218b45809669f443f0a693f539cd0680
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea7494f369dfbdffb220748efe22ad695a1d4a7afe3e1ba015369523038a74c4aa01f6c20ac92c7972c44c3ad6c67ccf9e1dec39e0267f8b50d63b32262edaf9
|
|
7
|
+
data.tar.gz: 703d72d09a223472134a3b0031d0103540b55016bbf0057983c981e901990dd95347ff91aa02753619ec46b38609d8ac570ffe291902d4e89183ee53ca96423e
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.61
|
|
@@ -160,6 +160,14 @@ class String
|
|
|
160
160
|
end
|
|
161
161
|
end
|
|
162
162
|
|
|
163
|
+
#
|
|
164
|
+
# Use Nokogiri to parse this string as HTML, and return an indented version
|
|
165
|
+
#
|
|
166
|
+
def nicehtml(indent=2)
|
|
167
|
+
Nokogiri::HTML(ARGF).to_xhtml(indent: indent)
|
|
168
|
+
end
|
|
169
|
+
alias_method :indent_html, :nicehtml
|
|
170
|
+
|
|
163
171
|
#
|
|
164
172
|
# Wrap all lines at window size, and indent
|
|
165
173
|
#
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: epitools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.61
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- epitron
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-12-
|
|
11
|
+
date: 2014-12-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
122
122
|
version: '0'
|
|
123
123
|
requirements: []
|
|
124
124
|
rubyforge_project:
|
|
125
|
-
rubygems_version: 2.
|
|
125
|
+
rubygems_version: 2.4.5
|
|
126
126
|
signing_key:
|
|
127
127
|
specification_version: 3
|
|
128
128
|
summary: Not utils... METILS!
|