w3clove 0.4.0 → 0.4.4
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/.rvmrc.example +1 -1
- data/.travis.yml +1 -0
- data/Rakefile +5 -0
- data/lib/w3clove/version.rb +1 -1
- data/spec/sitemap_spec.rb +2 -2
- data/w3clove.gemspec +20 -24
- metadata +78 -108
data/.rvmrc.example
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rvm use 1.9.2-
|
1
|
+
rvm use 1.9.2-p290@w3clovegem --create
|
data/.travis.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rvm: 1.9.2-p290
|
data/Rakefile
CHANGED
data/lib/w3clove/version.rb
CHANGED
data/spec/sitemap_spec.rb
CHANGED
@@ -26,8 +26,8 @@ describe W3Clove::Sitemap do
|
|
26
26
|
end
|
27
27
|
|
28
28
|
it "should get pages from the sample guides.rubyonrails.org site" do
|
29
|
-
@sitemap_html.pages.length.should ==
|
30
|
-
@sitemap_html.pages.map {|p| p.url}.should == ["http://guides.rubyonrails.org/index.html", "http://guides.rubyonrails.org/", "http://guides.rubyonrails.org/getting_started.html", "http://guides.rubyonrails.org/migrations.html", "http://guides.rubyonrails.org/active_record_validations_callbacks.html", "http://guides.rubyonrails.org/association_basics.html", "http://guides.rubyonrails.org/active_record_querying.html", "http://guides.rubyonrails.org/layouts_and_rendering.html", "http://guides.rubyonrails.org/form_helpers.html", "http://guides.rubyonrails.org/action_controller_overview.html", "http://guides.rubyonrails.org/routing.html", "http://guides.rubyonrails.org/active_support_core_extensions.html", "http://guides.rubyonrails.org/i18n.html", "http://guides.rubyonrails.org/action_mailer_basics.html", "http://guides.rubyonrails.org/testing.html", "http://guides.rubyonrails.org/security.html", "http://guides.rubyonrails.org/debugging_rails_applications.html", "http://guides.rubyonrails.org/performance_testing.html", "http://guides.rubyonrails.org/configuring.html", "http://guides.rubyonrails.org/command_line.html", "http://guides.rubyonrails.org/caching_with_rails.html", "http://guides.rubyonrails.org/plugins.html", "http://guides.rubyonrails.org/rails_on_rack.html", "http://guides.rubyonrails.org/generators.html", "http://guides.rubyonrails.org/contributing_to_ruby_on_rails.html", "http://guides.rubyonrails.org/api_documentation_guidelines.html", "http://guides.rubyonrails.org/ruby_on_rails_guides_guidelines.html", "http://guides.rubyonrails.org/
|
29
|
+
@sitemap_html.pages.length.should == 34
|
30
|
+
@sitemap_html.pages.map {|p| p.url}.should == ["http://guides.rubyonrails.org/index.html", "http://guides.rubyonrails.org/", "http://guides.rubyonrails.org/getting_started.html", "http://guides.rubyonrails.org/migrations.html", "http://guides.rubyonrails.org/active_record_validations_callbacks.html", "http://guides.rubyonrails.org/association_basics.html", "http://guides.rubyonrails.org/active_record_querying.html", "http://guides.rubyonrails.org/layouts_and_rendering.html", "http://guides.rubyonrails.org/form_helpers.html", "http://guides.rubyonrails.org/action_controller_overview.html", "http://guides.rubyonrails.org/routing.html", "http://guides.rubyonrails.org/active_support_core_extensions.html", "http://guides.rubyonrails.org/i18n.html", "http://guides.rubyonrails.org/action_mailer_basics.html", "http://guides.rubyonrails.org/testing.html", "http://guides.rubyonrails.org/security.html", "http://guides.rubyonrails.org/debugging_rails_applications.html", "http://guides.rubyonrails.org/performance_testing.html", "http://guides.rubyonrails.org/configuring.html", "http://guides.rubyonrails.org/command_line.html", "http://guides.rubyonrails.org/caching_with_rails.html", "http://guides.rubyonrails.org/asset_pipeline.html", "http://guides.rubyonrails.org/plugins.html", "http://guides.rubyonrails.org/rails_on_rack.html", "http://guides.rubyonrails.org/generators.html", "http://guides.rubyonrails.org/contributing_to_ruby_on_rails.html", "http://guides.rubyonrails.org/api_documentation_guidelines.html", "http://guides.rubyonrails.org/ruby_on_rails_guides_guidelines.html", "http://guides.rubyonrails.org/3_1_release_notes.html", "http://guides.rubyonrails.org/3_0_release_notes.html", "http://guides.rubyonrails.org/2_3_release_notes.html", "http://guides.rubyonrails.org/2_2_release_notes.html", "http://guides.rubyonrails.org/credits.html", "http://guides.rubyonrails.org/v2.3.11/"]
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
data/w3clove.gemspec
CHANGED
@@ -1,30 +1,26 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/w3clove/version', __FILE__)
|
2
3
|
|
3
|
-
|
4
|
-
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["Jaime Iniesta"]
|
6
|
+
gem.email = ["jaimeiniesta@gmail.com"]
|
7
|
+
gem.description = %q{this tool allows you to check the markup validation of a whole site,
|
8
|
+
and outputs a detailed report with all errors and warnings}
|
9
|
+
gem.summary = %q{command-line tool to validate the markup of a whole site against the W3C validator}
|
10
|
+
gem.homepage = "https://github.com/jaimeiniesta/w3clove/"
|
5
11
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
s.homepage = "https://github.com/jaimeiniesta/w3clove/"
|
13
|
-
s.summary = %q{ command-line tool to validate the markup of a whole site against the W3C validator }
|
14
|
-
s.description = %q{ this tool allows you to check the markup validation of a whole site passing an XML sitemap,
|
15
|
-
and outputs a detailed report with all errors and warnings }
|
12
|
+
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
13
|
+
gem.files = `git ls-files`.split("\n")
|
14
|
+
gem.test_files = `git ls-files -- {spec}/*`.split("\n")
|
15
|
+
gem.name = "w3clove"
|
16
|
+
gem.require_paths = ["lib"]
|
17
|
+
gem.version = W3Clove::VERSION
|
16
18
|
|
17
|
-
|
19
|
+
gem.add_dependency 'w3c_validators', '1.0.2'
|
20
|
+
gem.add_dependency 'nokogiri', '1.5.0'
|
21
|
+
gem.add_dependency 'metainspector', '1.8.2'
|
18
22
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
s.add_development_dependency 'rspec', '2.5.0'
|
24
|
-
s.add_development_dependency 'mocha', '0.9.12'
|
25
|
-
|
26
|
-
s.files = `git ls-files`.split("\n")
|
27
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
28
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
29
|
-
s.require_paths = ["lib"]
|
23
|
+
gem.add_development_dependency 'rspec', '2.5.0'
|
24
|
+
gem.add_development_dependency 'mocha', '0.9.12'
|
25
|
+
gem.add_development_dependency 'rake', '0.9.2'
|
30
26
|
end
|
metadata
CHANGED
@@ -1,110 +1,95 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: w3clove
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 4
|
8
|
-
- 0
|
9
|
-
version: 0.4.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.4
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Jaime Iniesta
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-11-07 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: w3c_validators
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70337640631120 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 1
|
30
|
-
- 0
|
31
|
-
- 2
|
18
|
+
requirements:
|
19
|
+
- - =
|
20
|
+
- !ruby/object:Gem::Version
|
32
21
|
version: 1.0.2
|
33
22
|
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: nokogiri
|
37
23
|
prerelease: false
|
38
|
-
|
24
|
+
version_requirements: *70337640631120
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: nokogiri
|
27
|
+
requirement: &70337640630640 !ruby/object:Gem::Requirement
|
39
28
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
- 1
|
45
|
-
- 4
|
46
|
-
- 4
|
47
|
-
version: 1.4.4
|
29
|
+
requirements:
|
30
|
+
- - =
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.5.0
|
48
33
|
type: :runtime
|
49
|
-
version_requirements: *id002
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
name: metainspector
|
52
34
|
prerelease: false
|
53
|
-
|
35
|
+
version_requirements: *70337640630640
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: metainspector
|
38
|
+
requirement: &70337640630180 !ruby/object:Gem::Requirement
|
54
39
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
|
59
|
-
- 1
|
60
|
-
- 6
|
61
|
-
- 0
|
62
|
-
version: 1.6.0
|
40
|
+
requirements:
|
41
|
+
- - =
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.8.2
|
63
44
|
type: :runtime
|
64
|
-
version_requirements: *id003
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: rspec
|
67
45
|
prerelease: false
|
68
|
-
|
46
|
+
version_requirements: *70337640630180
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rspec
|
49
|
+
requirement: &70337640629720 !ruby/object:Gem::Requirement
|
69
50
|
none: false
|
70
|
-
requirements:
|
71
|
-
- -
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
segments:
|
74
|
-
- 2
|
75
|
-
- 5
|
76
|
-
- 0
|
51
|
+
requirements:
|
52
|
+
- - =
|
53
|
+
- !ruby/object:Gem::Version
|
77
54
|
version: 2.5.0
|
78
55
|
type: :development
|
79
|
-
version_requirements: *id004
|
80
|
-
- !ruby/object:Gem::Dependency
|
81
|
-
name: mocha
|
82
56
|
prerelease: false
|
83
|
-
|
57
|
+
version_requirements: *70337640629720
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: mocha
|
60
|
+
requirement: &70337640629260 !ruby/object:Gem::Requirement
|
84
61
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
segments:
|
89
|
-
- 0
|
90
|
-
- 9
|
91
|
-
- 12
|
62
|
+
requirements:
|
63
|
+
- - =
|
64
|
+
- !ruby/object:Gem::Version
|
92
65
|
version: 0.9.12
|
93
66
|
type: :development
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70337640629260
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: &70337640628800 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - =
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 0.9.2
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70337640628800
|
80
|
+
description: ! 'this tool allows you to check the markup validation of a whole site,
|
81
|
+
|
82
|
+
and outputs a detailed report with all errors and warnings'
|
83
|
+
email:
|
98
84
|
- jaimeiniesta@gmail.com
|
99
|
-
executables:
|
85
|
+
executables:
|
100
86
|
- w3clove
|
101
87
|
extensions: []
|
102
|
-
|
103
88
|
extra_rdoc_files: []
|
104
|
-
|
105
|
-
files:
|
89
|
+
files:
|
106
90
|
- .gitignore
|
107
91
|
- .rvmrc.example
|
92
|
+
- .travis.yml
|
108
93
|
- Gemfile
|
109
94
|
- MIT-LICENSE
|
110
95
|
- README.rdoc
|
@@ -127,44 +112,29 @@ files:
|
|
127
112
|
- spec/sitemap_spec.rb
|
128
113
|
- spec/spec_helper.rb
|
129
114
|
- w3clove.gemspec
|
130
|
-
has_rdoc: true
|
131
115
|
homepage: https://github.com/jaimeiniesta/w3clove/
|
132
116
|
licenses: []
|
133
|
-
|
134
117
|
post_install_message:
|
135
118
|
rdoc_options: []
|
136
|
-
|
137
|
-
require_paths:
|
119
|
+
require_paths:
|
138
120
|
- lib
|
139
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
121
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
140
122
|
none: false
|
141
|
-
requirements:
|
142
|
-
- -
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
|
145
|
-
|
146
|
-
version: "0"
|
147
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ! '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
128
|
none: false
|
149
|
-
requirements:
|
150
|
-
- -
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
|
153
|
-
- 0
|
154
|
-
version: "0"
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
155
133
|
requirements: []
|
156
|
-
|
157
|
-
|
158
|
-
rubygems_version: 1.3.7
|
134
|
+
rubyforge_project:
|
135
|
+
rubygems_version: 1.8.6
|
159
136
|
signing_key:
|
160
137
|
specification_version: 3
|
161
|
-
summary: command-line tool to validate the markup of a whole site against the W3C
|
162
|
-
|
163
|
-
|
164
|
-
- spec/mocks/mocked_validator.rb
|
165
|
-
- spec/page_spec.rb
|
166
|
-
- spec/samples/absolute_links.html
|
167
|
-
- spec/samples/guides.rubyonrails.org.html
|
168
|
-
- spec/samples/sitemap.xml
|
169
|
-
- spec/sitemap_spec.rb
|
170
|
-
- spec/spec_helper.rb
|
138
|
+
summary: command-line tool to validate the markup of a whole site against the W3C
|
139
|
+
validator
|
140
|
+
test_files: []
|