ruby-readability 0.2.2 → 0.2.3
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.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/ruby-readability.gemspec +31 -30
- metadata +22 -7
- data/.gitignore +0 -23
data/Rakefile
CHANGED
|
@@ -11,7 +11,7 @@ begin
|
|
|
11
11
|
gem.homepage = "http://github.com/iterationlabs/ruby-readability"
|
|
12
12
|
gem.authors = ["Andrew Cantino", "starrhorne", "libc", "Kyle Maxwell"]
|
|
13
13
|
gem.add_development_dependency "rspec", ">= 1.2.9"
|
|
14
|
-
|
|
14
|
+
gem.add_dependency 'nokogiri', '>= 1.4.2'
|
|
15
15
|
end
|
|
16
16
|
Jeweler::GemcutterTasks.new
|
|
17
17
|
rescue LoadError
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.3
|
data/ruby-readability.gemspec
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# Generated by jeweler
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{ruby-readability}
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Andrew Cantino", "starrhorne", "libc", "Kyle Maxwell"]
|
|
12
|
-
s.date = %q{
|
|
12
|
+
s.date = %q{2011-01-26}
|
|
13
13
|
s.default_executable = %q{readability}
|
|
14
14
|
s.description = %q{Port of arc90's readability project to ruby}
|
|
15
15
|
s.email = %q{andrew@iterationlabs.com}
|
|
@@ -19,40 +19,38 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
]
|
|
20
20
|
s.files = [
|
|
21
21
|
".document",
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"spec/spec_helper.rb"
|
|
22
|
+
"README",
|
|
23
|
+
"Rakefile",
|
|
24
|
+
"VERSION",
|
|
25
|
+
"bin/readability",
|
|
26
|
+
"lib/readability.rb",
|
|
27
|
+
"ruby-readability.gemspec",
|
|
28
|
+
"spec/fixtures/cant_read.html",
|
|
29
|
+
"spec/fixtures/sample.html",
|
|
30
|
+
"spec/fixtures/samples/blogpost_with_links-fragments.rb",
|
|
31
|
+
"spec/fixtures/samples/blogpost_with_links.html",
|
|
32
|
+
"spec/fixtures/samples/channel4-1-fragments.rb",
|
|
33
|
+
"spec/fixtures/samples/channel4-1.html",
|
|
34
|
+
"spec/fixtures/samples/foxnews-india1-fragments.rb",
|
|
35
|
+
"spec/fixtures/samples/foxnews-india1.html",
|
|
36
|
+
"spec/fixtures/samples/globemail-ottawa-cuts-fragments.rb",
|
|
37
|
+
"spec/fixtures/samples/globemail-ottawa-cuts.html",
|
|
38
|
+
"spec/fixtures/should_not_truncate.txt",
|
|
39
|
+
"spec/readability_spec.rb",
|
|
40
|
+
"spec/spec.opts",
|
|
41
|
+
"spec/spec_helper.rb"
|
|
43
42
|
]
|
|
44
43
|
s.homepage = %q{http://github.com/iterationlabs/ruby-readability}
|
|
45
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
|
46
44
|
s.require_paths = ["lib"]
|
|
47
45
|
s.rubygems_version = %q{1.3.7}
|
|
48
46
|
s.summary = %q{Port of arc90's readability project to ruby}
|
|
49
47
|
s.test_files = [
|
|
50
48
|
"spec/fixtures/samples/blogpost_with_links-fragments.rb",
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
"spec/fixtures/samples/channel4-1-fragments.rb",
|
|
50
|
+
"spec/fixtures/samples/foxnews-india1-fragments.rb",
|
|
51
|
+
"spec/fixtures/samples/globemail-ottawa-cuts-fragments.rb",
|
|
52
|
+
"spec/readability_spec.rb",
|
|
53
|
+
"spec/spec_helper.rb"
|
|
56
54
|
]
|
|
57
55
|
|
|
58
56
|
if s.respond_to? :specification_version then
|
|
@@ -61,11 +59,14 @@ Gem::Specification.new do |s|
|
|
|
61
59
|
|
|
62
60
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
63
61
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
|
62
|
+
s.add_runtime_dependency(%q<nokogiri>, [">= 1.4.2"])
|
|
64
63
|
else
|
|
65
64
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
|
65
|
+
s.add_dependency(%q<nokogiri>, [">= 1.4.2"])
|
|
66
66
|
end
|
|
67
67
|
else
|
|
68
68
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
|
69
|
+
s.add_dependency(%q<nokogiri>, [">= 1.4.2"])
|
|
69
70
|
end
|
|
70
71
|
end
|
|
71
72
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-readability
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.2.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Andrew Cantino
|
|
@@ -18,7 +18,7 @@ autorequire:
|
|
|
18
18
|
bindir: bin
|
|
19
19
|
cert_chain: []
|
|
20
20
|
|
|
21
|
-
date:
|
|
21
|
+
date: 2011-01-26 00:00:00 -08:00
|
|
22
22
|
default_executable: readability
|
|
23
23
|
dependencies:
|
|
24
24
|
- !ruby/object:Gem::Dependency
|
|
@@ -37,6 +37,22 @@ dependencies:
|
|
|
37
37
|
version: 1.2.9
|
|
38
38
|
type: :development
|
|
39
39
|
version_requirements: *id001
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: nokogiri
|
|
42
|
+
prerelease: false
|
|
43
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
44
|
+
none: false
|
|
45
|
+
requirements:
|
|
46
|
+
- - ">="
|
|
47
|
+
- !ruby/object:Gem::Version
|
|
48
|
+
hash: 3
|
|
49
|
+
segments:
|
|
50
|
+
- 1
|
|
51
|
+
- 4
|
|
52
|
+
- 2
|
|
53
|
+
version: 1.4.2
|
|
54
|
+
type: :runtime
|
|
55
|
+
version_requirements: *id002
|
|
40
56
|
description: Port of arc90's readability project to ruby
|
|
41
57
|
email: andrew@iterationlabs.com
|
|
42
58
|
executables:
|
|
@@ -47,7 +63,6 @@ extra_rdoc_files:
|
|
|
47
63
|
- README
|
|
48
64
|
files:
|
|
49
65
|
- .document
|
|
50
|
-
- .gitignore
|
|
51
66
|
- README
|
|
52
67
|
- Rakefile
|
|
53
68
|
- VERSION
|
|
@@ -73,8 +88,8 @@ homepage: http://github.com/iterationlabs/ruby-readability
|
|
|
73
88
|
licenses: []
|
|
74
89
|
|
|
75
90
|
post_install_message:
|
|
76
|
-
rdoc_options:
|
|
77
|
-
|
|
91
|
+
rdoc_options: []
|
|
92
|
+
|
|
78
93
|
require_paths:
|
|
79
94
|
- lib
|
|
80
95
|
required_ruby_version: !ruby/object:Gem::Requirement
|
data/.gitignore
DELETED