html_cruncher 1.0.0 → 1.0.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
  SHA1:
3
- metadata.gz: 6b52f018b73d713860ade94ef48d23806ec5e053
4
- data.tar.gz: 5d1ddd2d216635668dfed1c2adf19c20cd5c6770
3
+ metadata.gz: 3e9685a313076043ee56385eddc7d57c7419da5e
4
+ data.tar.gz: 2db6bf8f684e21995c4237c360d2a4871132f137
5
5
  SHA512:
6
- metadata.gz: dea287e7ab8d8e911e90adcabf58148863c72dd9469f206e8d17e9f1f2d4e62b1c5e90df8e0ccab17473f5ea9c53f31a5836ea3f6b2798a5a00999be68ca9651
7
- data.tar.gz: 3bc59bce9a64600f1f7c32331d61441a6d6c046033101bcabdb1e2756bdeada4cd07717273d8116b5ea0cb4146388a382ea64c54440ac27d7d545289dd2ff974
6
+ metadata.gz: 7bfa44312e36a732ad5c68ec178ac5e7ea0975abff6cf1393dba19bf75984593a606a101ed2724cd9aa5ef3a1a9bc3ff18f9192a0c3eed571ee8fdac04fb5c7a
7
+ data.tar.gz: 27d7db835597142e663fdcf71fa3305a2b040254365e4adde1e34aa142118a85470bab066d3a29e186e3434485bbc1bdae88cf96190cab3e2f8f06ca7837e0b1
data/Rakefile CHANGED
@@ -7,6 +7,6 @@ Rake::TestTask.new do |t|
7
7
  t.pattern = "test/*_test.rb"
8
8
  end
9
9
 
10
- Rake::ExtensionTask.new "html_parser" do |ext|
10
+ Rake::ExtensionTask.new "html_cruncher" do |ext|
11
11
  ext.lib_dir = "lib/html_cruncher"
12
12
  end
@@ -1,6 +1,6 @@
1
1
  require 'mkmf'
2
2
 
3
- extension_name = 'html_parser'
3
+ extension_name = 'html_cruncher'
4
4
 
5
5
  have_library("re2")
6
6
  have_header("re2.h")
@@ -184,7 +184,7 @@ parse_html(VALUE self, VALUE string, VALUE handler)
184
184
  }
185
185
 
186
186
  extern "C" void
187
- Init_html_parser()
187
+ Init_html_cruncher()
188
188
  {
189
189
  WHITESPACE_RE = new(nothrow) RE2("\\s+");
190
190
  START_TAG_RE = new(nothrow) RE2("<(\\w+[a-zA-Z0-9_\\.-]*)((?:\\s+[\\w-]+(?:\\s*=\\s*(?:(?:\"[^\"]*\")|(?:'[^']*')|(?:[^'\">\\s]*)))?)*)\\s*\\/?>");
data/html_parser.gemspec CHANGED
@@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
23
  spec.add_development_dependency "rake-compiler", "~> 0.9"
24
24
 
25
- spec.extensions = %w{ext/html_parser/extconf.rb}
25
+ spec.extensions = %w{ext/html_cruncher/extconf.rb}
26
26
  end
data/lib/html_cruncher.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require "html_cruncher/version"
2
- require "html_cruncher/html_parser"
2
+ require "html_cruncher/html_cruncher"
3
3
 
4
4
  class HtmlCruncher
5
5
  def initialize(handler)
@@ -1,3 +1,3 @@
1
1
  class HtmlCruncher
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_cruncher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathias Biilmann Christensen
@@ -58,7 +58,7 @@ email:
58
58
  - info@mathias-biilmann.net
59
59
  executables: []
60
60
  extensions:
61
- - ext/html_parser/extconf.rb
61
+ - ext/html_cruncher/extconf.rb
62
62
  extra_rdoc_files: []
63
63
  files:
64
64
  - ".gitignore"
@@ -66,8 +66,8 @@ files:
66
66
  - LICENSE.txt
67
67
  - README.md
68
68
  - Rakefile
69
- - ext/html_parser/extconf.rb
70
- - ext/html_parser/html_parser.cc
69
+ - ext/html_cruncher/extconf.rb
70
+ - ext/html_cruncher/html_cruncher.cc
71
71
  - html_parser.gemspec
72
72
  - lib/html_cruncher.rb
73
73
  - lib/html_cruncher/version.rb