headhunter 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/headhunter/html_validator.rb +1 -1
- data/lib/headhunter/version.rb +1 -1
- data/lib/tidy/{tidy2 → tidy} +0 -0
- data/spec/dummy/log/test.log +108 -0
- data/spec/dummy/spec/features/{bla_spec.rb → middleware_integration_spec.rb} +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +31 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 379773929abfda8c749256c7a301af7ff4dfdba1
|
4
|
+
data.tar.gz: 7639764aa4fe508ff37141268e68c87e082ae63f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d7f9e2e55d4d9dbffa670d2e28eb27359934bf42dd0a86bf1ea28eab0f1e3bc280da70ebf4fa6a3166542e8147eacf2d1d04510578dfa66f86e170c857c6732
|
7
|
+
data.tar.gz: 37c2a2003320766e7e44281ba5be8ad0116f93df8baf4cf2ec36974f89014493c5aef1c010e711092441870ed8cf46aa7ebfc6768ae6c7dc358489ec759c5e18
|
data/lib/headhunter/version.rb
CHANGED
data/lib/tidy/{tidy2 → tidy}
RENAMED
File without changes
|
data/spec/dummy/log/test.log
CHANGED
@@ -450,3 +450,111 @@ Started GET "/posts" for 127.0.0.1 at 2014-02-23 12:33:48 +0100
|
|
450
450
|
Processing by PostsController#index as HTML
|
451
451
|
Rendered posts/index.html.erb within layouts/application (1.2ms)
|
452
452
|
Completed 200 OK in 8ms (Views: 8.2ms)
|
453
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 19:25:46 +0100
|
454
|
+
Processing by PostsController#index as HTML
|
455
|
+
Rendered posts/index.html.erb within layouts/application (1.2ms)
|
456
|
+
Completed 200 OK in 18ms (Views: 18.1ms)
|
457
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 19:26:14 +0100
|
458
|
+
Processing by PostsController#index as HTML
|
459
|
+
Rendered posts/index.html.erb within layouts/application (1.0ms)
|
460
|
+
Completed 200 OK in 12ms (Views: 12.2ms)
|
461
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 19:26:34 +0100
|
462
|
+
Processing by PostsController#index as HTML
|
463
|
+
Rendered posts/index.html.erb within layouts/application (1.1ms)
|
464
|
+
Completed 200 OK in 14ms (Views: 13.4ms)
|
465
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 19:30:11 +0100
|
466
|
+
Processing by PostsController#index as HTML
|
467
|
+
Rendered posts/index.html.erb within layouts/application (1.0ms)
|
468
|
+
Completed 200 OK in 13ms (Views: 12.7ms)
|
469
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 19:32:06 +0100
|
470
|
+
Processing by PostsController#index as HTML
|
471
|
+
Rendered posts/index.html.erb within layouts/application (1.2ms)
|
472
|
+
Completed 200 OK in 17ms (Views: 16.6ms)
|
473
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 19:33:01 +0100
|
474
|
+
Processing by PostsController#index as HTML
|
475
|
+
Rendered posts/index.html.erb within layouts/application (1.4ms)
|
476
|
+
Completed 200 OK in 15ms (Views: 14.3ms)
|
477
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 19:38:27 +0100
|
478
|
+
Processing by PostsController#index as HTML
|
479
|
+
Rendered posts/index.html.erb within layouts/application (1.1ms)
|
480
|
+
Completed 200 OK in 14ms (Views: 13.4ms)
|
481
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 19:39:31 +0100
|
482
|
+
Processing by PostsController#index as HTML
|
483
|
+
Rendered posts/index.html.erb within layouts/application (1.3ms)
|
484
|
+
Completed 200 OK in 16ms (Views: 15.4ms)
|
485
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 19:48:39 +0100
|
486
|
+
Processing by PostsController#index as HTML
|
487
|
+
Rendered posts/index.html.erb within layouts/application (1.0ms)
|
488
|
+
Completed 200 OK in 13ms (Views: 13.2ms)
|
489
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 19:49:35 +0100
|
490
|
+
Processing by PostsController#index as HTML
|
491
|
+
Rendered posts/index.html.erb within layouts/application (1.1ms)
|
492
|
+
Completed 200 OK in 13ms (Views: 13.1ms)
|
493
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 19:54:38 +0100
|
494
|
+
Processing by PostsController#index as HTML
|
495
|
+
Rendered posts/index.html.erb within layouts/application (1.0ms)
|
496
|
+
Completed 200 OK in 13ms (Views: 12.6ms)
|
497
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 19:55:07 +0100
|
498
|
+
Processing by PostsController#index as HTML
|
499
|
+
Rendered posts/index.html.erb within layouts/application (1.4ms)
|
500
|
+
Completed 200 OK in 13ms (Views: 12.8ms)
|
501
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 20:04:04 +0100
|
502
|
+
Processing by PostsController#index as HTML
|
503
|
+
Rendered posts/index.html.erb within layouts/application (1.0ms)
|
504
|
+
Completed 200 OK in 13ms (Views: 12.6ms)
|
505
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 20:04:15 +0100
|
506
|
+
Processing by PostsController#index as HTML
|
507
|
+
Rendered posts/index.html.erb within layouts/application (1.0ms)
|
508
|
+
Completed 200 OK in 13ms (Views: 12.5ms)
|
509
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 20:14:21 +0100
|
510
|
+
Processing by PostsController#index as HTML
|
511
|
+
Rendered posts/index.html.erb within layouts/application (1.1ms)
|
512
|
+
Completed 200 OK in 13ms (Views: 13.0ms)
|
513
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 20:16:51 +0100
|
514
|
+
Processing by PostsController#index as HTML
|
515
|
+
Rendered posts/index.html.erb within layouts/application (1.7ms)
|
516
|
+
Completed 200 OK in 19ms (Views: 18.8ms)
|
517
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 20:19:51 +0100
|
518
|
+
Processing by PostsController#index as HTML
|
519
|
+
Rendered posts/index.html.erb within layouts/application (1.0ms)
|
520
|
+
Completed 200 OK in 13ms (Views: 13.1ms)
|
521
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 20:20:37 +0100
|
522
|
+
Processing by PostsController#index as HTML
|
523
|
+
Rendered posts/index.html.erb within layouts/application (1.2ms)
|
524
|
+
Completed 200 OK in 14ms (Views: 13.4ms)
|
525
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 20:24:20 +0100
|
526
|
+
Processing by PostsController#index as HTML
|
527
|
+
Rendered posts/index.html.erb within layouts/application (1.4ms)
|
528
|
+
Completed 200 OK in 16ms (Views: 15.3ms)
|
529
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 20:28:09 +0100
|
530
|
+
Processing by PostsController#index as HTML
|
531
|
+
Rendered posts/index.html.erb within layouts/application (1.3ms)
|
532
|
+
Completed 200 OK in 15ms (Views: 15.0ms)
|
533
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 20:28:47 +0100
|
534
|
+
Processing by PostsController#index as HTML
|
535
|
+
Rendered posts/index.html.erb within layouts/application (1.3ms)
|
536
|
+
Completed 200 OK in 15ms (Views: 15.1ms)
|
537
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 20:35:47 +0100
|
538
|
+
Processing by PostsController#index as HTML
|
539
|
+
Rendered posts/index.html.erb within layouts/application (1.0ms)
|
540
|
+
Completed 200 OK in 12ms (Views: 12.1ms)
|
541
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 20:37:37 +0100
|
542
|
+
Processing by PostsController#index as HTML
|
543
|
+
Rendered posts/index.html.erb within layouts/application (1.2ms)
|
544
|
+
Completed 200 OK in 17ms (Views: 16.6ms)
|
545
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 20:44:34 +0100
|
546
|
+
Processing by PostsController#index as HTML
|
547
|
+
Rendered posts/index.html.erb within layouts/application (2.5ms)
|
548
|
+
Completed 200 OK in 19ms (Views: 18.9ms)
|
549
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 21:17:59 +0100
|
550
|
+
Processing by PostsController#index as HTML
|
551
|
+
Rendered posts/index.html.erb within layouts/application (1.6ms)
|
552
|
+
Completed 200 OK in 13ms (Views: 13.2ms)
|
553
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 21:28:49 +0100
|
554
|
+
Processing by PostsController#index as HTML
|
555
|
+
Rendered posts/index.html.erb within layouts/application (1.2ms)
|
556
|
+
Completed 200 OK in 18ms (Views: 18.0ms)
|
557
|
+
Started GET "/posts" for 127.0.0.1 at 2014-03-19 21:33:11 +0100
|
558
|
+
Processing by PostsController#index as HTML
|
559
|
+
Rendered posts/index.html.erb within layouts/application (1.0ms)
|
560
|
+
Completed 200 OK in 13ms (Views: 12.9ms)
|
@@ -3,6 +3,7 @@ require 'spec_helper'
|
|
3
3
|
feature 'Middleware integration' do
|
4
4
|
scenario "Integrating the middleware into the Rack stack" do
|
5
5
|
pending "The expectation doesn't work, see http://stackoverflow.com/questions/21940082"
|
6
|
+
# More (possibly) related infos here: http://shift.mirego.com/post/68808986788/how-to-write-tests-for-rack-middleware and http://www.sinatrarb.com/testing.html
|
6
7
|
Headhunter::Rack::CapturingMiddleware.any_instance.should_receive(:call)
|
7
8
|
visit posts_path
|
8
9
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,111 +1,111 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: headhunter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Muheim
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: css_parser
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 1.2.6
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.2.6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: colorize
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: nokogiri
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec-rails
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: capybara
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: jazz_hands
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
description: Headhunter is an HTML and CSS validation tool that injects itself into
|
@@ -117,11 +117,15 @@ executables: []
|
|
117
117
|
extensions: []
|
118
118
|
extra_rdoc_files: []
|
119
119
|
files:
|
120
|
+
- MIT-LICENSE
|
121
|
+
- README.rdoc
|
122
|
+
- Rakefile
|
120
123
|
- lib/css-validator/css-validator.jar
|
121
124
|
- lib/css-validator/lib/commons-collections-3.2.1.jar
|
122
125
|
- lib/css-validator/lib/commons-lang-2.6.jar
|
123
126
|
- lib/css-validator/lib/jigsaw.jar
|
124
127
|
- lib/css-validator/lib/velocity-1.7.jar
|
128
|
+
- lib/headhunter.rb
|
125
129
|
- lib/headhunter/css_hunter.rb
|
126
130
|
- lib/headhunter/css_validator.rb
|
127
131
|
- lib/headhunter/engine.rb
|
@@ -132,12 +136,12 @@ files:
|
|
132
136
|
- lib/headhunter/templates/result.html
|
133
137
|
- lib/headhunter/templates/results.html
|
134
138
|
- lib/headhunter/version.rb
|
135
|
-
- lib/headhunter.rb
|
136
139
|
- lib/tasks/headhunter_tasks.rake
|
137
|
-
- lib/tidy/
|
138
|
-
-
|
139
|
-
-
|
140
|
-
- README.rdoc
|
140
|
+
- lib/tidy/tidy
|
141
|
+
- spec/dummy/Gemfile
|
142
|
+
- spec/dummy/Gemfile.lock
|
143
|
+
- spec/dummy/README.rdoc
|
144
|
+
- spec/dummy/Rakefile
|
141
145
|
- spec/dummy/app/assets/javascripts/application.js
|
142
146
|
- spec/dummy/app/assets/stylesheets/application.css
|
143
147
|
- spec/dummy/app/assets/stylesheets/scaffold.css
|
@@ -149,6 +153,7 @@ files:
|
|
149
153
|
- spec/dummy/bin/bundle
|
150
154
|
- spec/dummy/bin/rails
|
151
155
|
- spec/dummy/bin/rake
|
156
|
+
- spec/dummy/config.ru
|
152
157
|
- spec/dummy/config/application.rb
|
153
158
|
- spec/dummy/config/boot.rb
|
154
159
|
- spec/dummy/config/database.yml
|
@@ -165,18 +170,13 @@ files:
|
|
165
170
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
166
171
|
- spec/dummy/config/locales/en.yml
|
167
172
|
- spec/dummy/config/routes.rb
|
168
|
-
- spec/dummy/config.ru
|
169
|
-
- spec/dummy/Gemfile
|
170
|
-
- spec/dummy/Gemfile.lock
|
171
173
|
- spec/dummy/log/development.log
|
172
174
|
- spec/dummy/log/test.log
|
173
175
|
- spec/dummy/public/404.html
|
174
176
|
- spec/dummy/public/422.html
|
175
177
|
- spec/dummy/public/500.html
|
176
178
|
- spec/dummy/public/favicon.ico
|
177
|
-
- spec/dummy/
|
178
|
-
- spec/dummy/README.rdoc
|
179
|
-
- spec/dummy/spec/features/bla_spec.rb
|
179
|
+
- spec/dummy/spec/features/middleware_integration_spec.rb
|
180
180
|
- spec/dummy/spec/spec_helper.rb
|
181
181
|
- spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
182
182
|
- spec/dummy/tmp/cache/assets/development/sprockets/1e8f75a6b5b33970fb8e397347caa0a1
|
@@ -237,17 +237,17 @@ require_paths:
|
|
237
237
|
- lib
|
238
238
|
required_ruby_version: !ruby/object:Gem::Requirement
|
239
239
|
requirements:
|
240
|
-
- -
|
240
|
+
- - ">="
|
241
241
|
- !ruby/object:Gem::Version
|
242
242
|
version: '0'
|
243
243
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
244
244
|
requirements:
|
245
|
-
- -
|
245
|
+
- - ">="
|
246
246
|
- !ruby/object:Gem::Version
|
247
247
|
version: '0'
|
248
248
|
requirements: []
|
249
249
|
rubyforge_project:
|
250
|
-
rubygems_version: 2.
|
250
|
+
rubygems_version: 2.2.2
|
251
251
|
signing_key:
|
252
252
|
specification_version: 4
|
253
253
|
summary: Zero config HTML & CSS validation tool for Rails apps
|
@@ -290,7 +290,7 @@ test_files:
|
|
290
290
|
- spec/dummy/public/favicon.ico
|
291
291
|
- spec/dummy/Rakefile
|
292
292
|
- spec/dummy/README.rdoc
|
293
|
-
- spec/dummy/spec/features/
|
293
|
+
- spec/dummy/spec/features/middleware_integration_spec.rb
|
294
294
|
- spec/dummy/spec/spec_helper.rb
|
295
295
|
- spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
296
296
|
- spec/dummy/tmp/cache/assets/development/sprockets/1e8f75a6b5b33970fb8e397347caa0a1
|