html_whitespace_cleaner 1.0.0 → 1.0.1
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/README.md +2 -8
- data/lib/html_whitespace_cleaner/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e20513b063828e8bda3571320f92265d17c1112
|
4
|
+
data.tar.gz: 0e9cfd45a9613adb6d00267ab9fce37da5282bc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 495aba2adbd1d5f2c2b3fd06d41effcc662032b573c7ec4b009d83d7eb817a252c180ab8b837a47f7c904448396609db465f17859e3334bc960f4ccd9d2f6542
|
7
|
+
data.tar.gz: 6d49df90c92c2afc4886dfd55da246cd12574c327c95acfad2ce7e2ab93ee4513212af112dbdcf126724177276fe8ab0b42925b5fd4db61567072a569bcfd16f
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# HtmlWhitespaceCleaner
|
2
2
|
|
3
|
-
A simple
|
3
|
+
A simple Ruby [gem](https://rubygems.org/gems/html_whitespace_cleaner) that strips useless whitespace between html tags, for easier parsing.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -22,15 +22,9 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
Use the HtmlWhitespaceCleaner#clean method to parse a string of raw html. It will return the same html but with extraneous whitespace removed. It will preserve formatting within tags, only removing whitespace between them.
|
24
24
|
|
25
|
-
## Development
|
26
|
-
|
27
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
28
|
-
|
29
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
30
|
-
|
31
25
|
## Contributing
|
32
26
|
|
33
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
27
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/shavah/html_whitespace_cleaner. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
34
28
|
|
35
29
|
|
36
30
|
## License
|