color_parser 0.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/Gemfile +0 -2
  4. data/Guardfile +9 -0
  5. data/README.md +17 -26
  6. data/Rakefile +18 -6
  7. data/color_parser.gemspec +10 -2
  8. data/lib/color_parser.rb +3 -134
  9. data/lib/color_parser/errors.rb +3 -0
  10. data/lib/color_parser/page.rb +14 -57
  11. data/lib/color_parser/stylesheet.rb +27 -123
  12. data/lib/color_parser/version.rb +1 -1
  13. data/{test → spec}/fixtures/css_color/frequency.html +0 -0
  14. data/{test → spec}/fixtures/css_color/stylesheets/color_styles.css +7 -7
  15. data/{test → spec}/fixtures/css_color/stylesheets/css_elements.css +0 -0
  16. data/{test → spec}/fixtures/css_color/stylesheets/frequency.css +9 -9
  17. data/{test → spec}/fixtures/css_color/stylesheets/imported_selectors.css +0 -0
  18. data/{test → spec}/fixtures/css_color/stylesheets/properties.css +0 -0
  19. data/spec/page_spec.rb +39 -0
  20. data/spec/spec_helper.rb +10 -0
  21. data/{test/test_request.rb → spec/stubs/fake_request.rb} +2 -2
  22. data/spec/stylesheet_spec.rb +125 -0
  23. data/spec/version_spec.rb +9 -0
  24. metadata +114 -123
  25. data/lib/color_parser/image.rb +0 -20
  26. data/test/color_parser_test.rb +0 -83
  27. data/test/fixtures/css/absolute.html +0 -15
  28. data/test/fixtures/css/inline.html +0 -34
  29. data/test/fixtures/css/inline_import.html +0 -16
  30. data/test/fixtures/css/invalid.html +0 -15
  31. data/test/fixtures/css/relative.html +0 -15
  32. data/test/fixtures/css/relative_root.html +0 -15
  33. data/test/fixtures/css/stylesheets/colors.css +0 -0
  34. data/test/fixtures/css/stylesheets/fonts.css +0 -0
  35. data/test/fixtures/css/stylesheets/print.css +0 -3
  36. data/test/fixtures/css/stylesheets/screen.css +0 -16
  37. data/test/fixtures/css_images/images/apple.png +0 -0
  38. data/test/fixtures/css_images/images/cantaloupe.png +0 -0
  39. data/test/fixtures/css_images/images/kiwi.jpg +0 -0
  40. data/test/fixtures/css_images/images/mango.png +0 -0
  41. data/test/fixtures/css_images/images/pineapple.png +0 -0
  42. data/test/fixtures/css_images/paths.html +0 -14
  43. data/test/fixtures/css_images/stylesheets/import_paths.css +0 -4
  44. data/test/fixtures/css_images/stylesheets/paths.css +0 -17
  45. data/test/fixtures/css_images/stylesheets/quotes.css +0 -14
  46. data/test/fixtures/css_import/index.html +0 -15
  47. data/test/fixtures/css_import/stylesheets/borders.css +0 -0
  48. data/test/fixtures/css_import/stylesheets/colors.css +0 -0
  49. data/test/fixtures/css_import/stylesheets/fonts.css +0 -3
  50. data/test/fixtures/css_import/stylesheets/ie.css +0 -3
  51. data/test/fixtures/css_import/stylesheets/images.css +0 -0
  52. data/test/fixtures/css_import/stylesheets/master.css +0 -12
  53. data/test/fixtures/css_import/stylesheets/print.css +0 -3
  54. data/test/fixtures/css_import/stylesheets/screen.css +0 -12
  55. data/test/fixtures/inline_images/absolute.html +0 -14
  56. data/test/fixtures/inline_images/images/apple.png +0 -0
  57. data/test/fixtures/inline_images/images/kiwi.jpg +0 -0
  58. data/test/fixtures/inline_images/relative.html +0 -14
  59. data/test/fixtures/inline_images/relative_root.html +0 -14
  60. data/test/image_test.rb +0 -27
  61. data/test/page_test.rb +0 -194
  62. data/test/stylesheet_test.rb +0 -257
  63. data/test/test_helper.rb +0 -6
  64. data/test/version_test.rb +0 -7
@@ -1,3 +1,3 @@
1
1
  module ColorParser
2
- VERSION = "0.0.2"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -1,34 +1,34 @@
1
1
  /* color names - 008080 */
2
- div {
2
+ div.one {
3
3
  background-color: teal;
4
4
  }
5
5
 
6
6
  /* hex */
7
- div {
7
+ div.two {
8
8
  color: #386ec0;
9
9
  }
10
10
 
11
11
  /* hex short */
12
- div {
12
+ div.three {
13
13
  color: #c0c;
14
14
  }
15
15
 
16
16
  /* rgb -- 718ad7 */
17
- div {
17
+ div.four {
18
18
  color: rgb(113,138,215);
19
19
  }
20
20
 
21
21
  /* rgb spaces -- 3a5dc4 */
22
- div {
22
+ div.five {
23
23
  color: rgb(58, 93, 196);
24
24
  }
25
25
 
26
26
  /* rgba -- 29469e */
27
- div {
27
+ div.six {
28
28
  color: rgba(41,70,158,0.5);
29
29
  }
30
30
 
31
31
  /* rgba spaces -- 3f6aeb */
32
- div {
32
+ div.seven {
33
33
  color: rgba(63, 106, 235, 0.5);
34
34
  }
@@ -1,34 +1,34 @@
1
1
  /* backgrounds */
2
- div {
2
+ div.one {
3
3
  background-color: #3a5dc4;
4
4
  }
5
- div {
5
+ div.two {
6
6
  background: #386ec0 url("/images/something.png");
7
7
  }
8
- div {
8
+ div.three {
9
9
  background: #386ec0 url("/images/something.png");
10
10
  }
11
11
 
12
12
 
13
13
  /* text */
14
- div {
14
+ div.four {
15
15
  color: #718ad7;
16
16
  }
17
- h1 {
17
+ h1.five {
18
18
  color: #386ec0;
19
19
  }
20
- h2 {
20
+ h2.six {
21
21
  color: #386ec0;
22
22
  }
23
23
 
24
24
  /* borders */
25
- div {
25
+ div.seven {
26
26
  border-color: #718ad7;
27
27
  }
28
- div {
28
+ div.eight {
29
29
  border: 1px solid #3a5dc4;
30
30
  }
31
- div {
31
+ div.nine {
32
32
  border: 1px solid #3a5dc4;
33
33
  }
34
34
 
@@ -0,0 +1,39 @@
1
+ require 'spec_helper'
2
+
3
+ describe Page do
4
+ before(:each) do
5
+ Stylesheet.request = FakeRequest.new
6
+ end
7
+
8
+ describe ".new" do
9
+
10
+ it "should initialize url" do
11
+ url = "http://example.com/css/inline.html?foo=bar"
12
+ page = ColorParser::Page.new(url)
13
+
14
+ expect(page.url).to eq url
15
+ end
16
+ end
17
+
18
+ describe "#colors" do
19
+ let :page do
20
+ ColorParser::Page.new("http://example.com/css_color/frequency.html")
21
+ end
22
+
23
+ it "should combine colors from external and import styles" do
24
+ colors = page.colors
25
+
26
+ expect(colors["386ec0"]).to eq 4
27
+ expect(colors["3a5dc4"]).to eq 3
28
+ expect(colors["718ad7"]).to eq 2
29
+ expect(colors["ff0000"]).to eq 1
30
+ expect(colors["357ad1"]).to eq 1
31
+ expect(colors["535353"]).to eq 1
32
+ end
33
+
34
+ it "should solot colors by frequency" do
35
+ colors = ["386ec0", "3a5dc4", "718ad7", "535353", "357ad1", "ff0000"]
36
+ expect(page.colors_by_frequency).to eq colors
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ require_relative '../lib/color_parser.rb'
5
+ require_relative '../spec/stubs/fake_request.rb'
6
+
7
+ include ColorParser
8
+
9
+ RSpec.configure do |config|
10
+ end
@@ -1,5 +1,5 @@
1
1
  module ColorParser
2
- class TestRequest
2
+ class FakeRequest
3
3
  def initialize(params={})
4
4
  end
5
5
 
@@ -12,7 +12,7 @@ module ColorParser
12
12
  end
13
13
 
14
14
  # simple hack to read in fixtures instead of url for tests
15
- fixture = "#{File.dirname(__FILE__)}/../test/fixtures#{uri.path}"
15
+ fixture = "#{File.dirname(__FILE__)}/../fixtures#{uri.path}"
16
16
  File.read(fixture) if File.exist?(fixture)
17
17
  end
18
18
  end
@@ -0,0 +1,125 @@
1
+ require 'spec_helper'
2
+
3
+ describe Stylesheet do
4
+ before(:each) do
5
+ Stylesheet.request = FakeRequest.new
6
+ end
7
+
8
+ describe "#rules" do
9
+ let :style do
10
+ url = "http://example.com/css_color/stylesheets/properties.css"
11
+ css = ::Stylesheet::CssStyleSheet.new(url)
12
+
13
+ stylesheet = ColorParser::Stylesheet.new(css)
14
+ end
15
+
16
+ it "should parse rules" do
17
+ rules = style.rules
18
+
19
+ expect(rules.size).to eq 4
20
+
21
+ expect(rules["p"].size).to eq 3
22
+ expect(rules["div"].size).to eq 2
23
+ expect(rules["h1"].size).to eq 3
24
+
25
+ # imported
26
+ expect(rules["dl"].size).to eq 1
27
+ end
28
+ end
29
+
30
+ describe "#properties" do
31
+ let :style do
32
+ url = "http://example.com/css_color/stylesheets/properties.css"
33
+ css = ::Stylesheet::CssStyleSheet.new(url)
34
+
35
+ stylesheet = ColorParser::Stylesheet.new(css)
36
+ end
37
+
38
+ it "should parse properties" do
39
+ props = style.properties
40
+
41
+ expect(props.size).to eq 9
42
+
43
+ expect(props).to include ["background", "#000"]
44
+ expect(props).to include ["color", "#fff"]
45
+ expect(props).to include ["margin", "0"]
46
+ expect(props).to include ["background-color", "#ccc"]
47
+ expect(props).to include ["font-size", "100%"]
48
+ expect(props).to include ["border-color", "rgb(1,2,3)"]
49
+
50
+ # imported
51
+ expect(props).to include ["border", "1px solid red"]
52
+ end
53
+ end
54
+
55
+ describe "#colors" do
56
+ let :style do
57
+ url = "http://example.com/css_color/stylesheets/color_styles.css"
58
+ css = ::Stylesheet::CssStyleSheet.new(url)
59
+
60
+ stylesheet = ColorParser::Stylesheet.new(css)
61
+ end
62
+
63
+ it "should parse hex colors" do
64
+ expect(style.colors["386ec0"]).to be # 386ec0
65
+ end
66
+
67
+ it "should parse hex short colors" do
68
+ expect(style.colors["cc00cc"]).to be # c0c
69
+ end
70
+
71
+ it "should parse textual colors" do
72
+ expect(style.colors["008080"]).to be # teal
73
+ end
74
+
75
+ it "should parse rgb colors" do
76
+ expect(style.colors["718ad7"]).to be # rgb(113,138,215)
77
+ end
78
+
79
+ it "should parse rgb colors with space" do
80
+ expect(style.colors["3a5dc4"]).to be # rgb(58, 93, 196)
81
+ end
82
+
83
+ it "should parse rgba colors" do
84
+ expect(style.colors["29469e"]).to be # rgba(41,70,158,0.5);
85
+ end
86
+
87
+ it "should parse rgba colors with space" do
88
+ expect(style.colors["3f6aeb"]).to be # rgba(63, 106, 235, 0.5);
89
+ end
90
+ end
91
+
92
+ describe "color weighting" do
93
+ let :style do
94
+ url = "http://example.com/css_color/stylesheets/frequency.css"
95
+ css = ::Stylesheet::CssStyleSheet.new(url)
96
+
97
+ stylesheet = ColorParser::Stylesheet.new(css)
98
+ end
99
+
100
+ it "should order colors by frequency" do
101
+ colors = {"386ec0" => 4, "3a5dc4" => 3,
102
+ "718ad7" => 2, "ff0000" => 1}
103
+ expect(style.colors).to eq colors
104
+ end
105
+
106
+ # BG colors
107
+ it "should order background colors by frequency" do
108
+ colors = {"386ec0" => 2, "3a5dc4" => 1}
109
+ expect(style.bg_colors).to eq colors
110
+ end
111
+
112
+ # Text colors
113
+ it "should order text colors by frequency" do
114
+ colors = {"386ec0" => 2, "718ad7" => 1}
115
+ expect(style.text_colors).to eq colors
116
+ end
117
+
118
+ # Border colors
119
+ it "should order border colors by frequency" do
120
+ colors = {"3a5dc4" => 2, "ff0000" => 1, "718ad7" => 1}
121
+ expect(style.border_colors).to eq colors
122
+ end
123
+ end
124
+
125
+ end
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ describe VERSION do
4
+ describe "version" do
5
+ it "should be present" do
6
+ expect(ColorParser::VERSION).not_to be_nil
7
+ end
8
+ end
9
+ end
metadata CHANGED
@@ -1,184 +1,175 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: color_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 1.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Derek DeVries
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-09 00:00:00.000000000 Z
11
+ date: 2020-08-24 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: nokogiri
14
+ name: stylesheet
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: '1.5'
19
+ version: 0.1.7
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '1.5'
26
+ version: 0.1.7
27
+ - !ruby/object:Gem::Dependency
28
+ name: color_conversion
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.1.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.1.0
30
41
  - !ruby/object:Gem::Dependency
31
42
  name: rake
32
43
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
44
  requirements:
35
- - - ! '>='
45
+ - - ">="
36
46
  - !ruby/object:Gem::Version
37
47
  version: '0'
38
48
  type: :development
39
49
  prerelease: false
40
50
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
51
  requirements:
43
- - - ! '>='
52
+ - - ">="
44
53
  - !ruby/object:Gem::Version
45
54
  version: '0'
46
- description: Color Parser finds the colors on a given webpage
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.9'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.9'
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.7'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.7'
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard-rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.5'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.5'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rb-fsevent
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.9'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.9'
111
+ description: Finds colors on a given webpage
47
112
  email:
48
113
  - derek@sportspyder.com
49
114
  executables: []
50
115
  extensions: []
51
116
  extra_rdoc_files: []
52
117
  files:
53
- - .gitignore
118
+ - ".gitignore"
54
119
  - Gemfile
120
+ - Guardfile
55
121
  - LICENSE.txt
56
122
  - README.md
57
123
  - Rakefile
58
124
  - color_parser.gemspec
59
125
  - lib/color_parser.rb
60
- - lib/color_parser/image.rb
126
+ - lib/color_parser/errors.rb
61
127
  - lib/color_parser/page.rb
62
128
  - lib/color_parser/stylesheet.rb
63
129
  - lib/color_parser/version.rb
64
- - test/color_parser_test.rb
65
- - test/fixtures/css/absolute.html
66
- - test/fixtures/css/inline.html
67
- - test/fixtures/css/inline_import.html
68
- - test/fixtures/css/invalid.html
69
- - test/fixtures/css/relative.html
70
- - test/fixtures/css/relative_root.html
71
- - test/fixtures/css/stylesheets/colors.css
72
- - test/fixtures/css/stylesheets/fonts.css
73
- - test/fixtures/css/stylesheets/print.css
74
- - test/fixtures/css/stylesheets/screen.css
75
- - test/fixtures/css_color/frequency.html
76
- - test/fixtures/css_color/stylesheets/color_styles.css
77
- - test/fixtures/css_color/stylesheets/css_elements.css
78
- - test/fixtures/css_color/stylesheets/frequency.css
79
- - test/fixtures/css_color/stylesheets/imported_selectors.css
80
- - test/fixtures/css_color/stylesheets/properties.css
81
- - test/fixtures/css_images/images/apple.png
82
- - test/fixtures/css_images/images/cantaloupe.png
83
- - test/fixtures/css_images/images/kiwi.jpg
84
- - test/fixtures/css_images/images/mango.png
85
- - test/fixtures/css_images/images/pineapple.png
86
- - test/fixtures/css_images/paths.html
87
- - test/fixtures/css_images/stylesheets/import_paths.css
88
- - test/fixtures/css_images/stylesheets/paths.css
89
- - test/fixtures/css_images/stylesheets/quotes.css
90
- - test/fixtures/css_import/index.html
91
- - test/fixtures/css_import/stylesheets/borders.css
92
- - test/fixtures/css_import/stylesheets/colors.css
93
- - test/fixtures/css_import/stylesheets/fonts.css
94
- - test/fixtures/css_import/stylesheets/ie.css
95
- - test/fixtures/css_import/stylesheets/images.css
96
- - test/fixtures/css_import/stylesheets/master.css
97
- - test/fixtures/css_import/stylesheets/print.css
98
- - test/fixtures/css_import/stylesheets/screen.css
99
- - test/fixtures/inline_images/absolute.html
100
- - test/fixtures/inline_images/images/apple.png
101
- - test/fixtures/inline_images/images/kiwi.jpg
102
- - test/fixtures/inline_images/relative.html
103
- - test/fixtures/inline_images/relative_root.html
104
- - test/image_test.rb
105
- - test/page_test.rb
106
- - test/stylesheet_test.rb
107
- - test/test_helper.rb
108
- - test/test_request.rb
109
- - test/version_test.rb
130
+ - spec/fixtures/css_color/frequency.html
131
+ - spec/fixtures/css_color/stylesheets/color_styles.css
132
+ - spec/fixtures/css_color/stylesheets/css_elements.css
133
+ - spec/fixtures/css_color/stylesheets/frequency.css
134
+ - spec/fixtures/css_color/stylesheets/imported_selectors.css
135
+ - spec/fixtures/css_color/stylesheets/properties.css
136
+ - spec/page_spec.rb
137
+ - spec/spec_helper.rb
138
+ - spec/stubs/fake_request.rb
139
+ - spec/stylesheet_spec.rb
140
+ - spec/version_spec.rb
110
141
  homepage: https://github.com/devrieda/color_parser
111
142
  licenses:
112
143
  - MIT
113
- post_install_message:
144
+ metadata: {}
145
+ post_install_message:
114
146
  rdoc_options: []
115
147
  require_paths:
116
148
  - lib
117
149
  required_ruby_version: !ruby/object:Gem::Requirement
118
- none: false
119
150
  requirements:
120
- - - ! '>='
151
+ - - ">="
121
152
  - !ruby/object:Gem::Version
122
153
  version: 1.9.3
123
154
  required_rubygems_version: !ruby/object:Gem::Requirement
124
- none: false
125
155
  requirements:
126
- - - ! '>='
156
+ - - ">="
127
157
  - !ruby/object:Gem::Version
128
158
  version: '0'
129
- segments:
130
- - 0
131
- hash: -3886628688892773367
132
159
  requirements: []
133
- rubyforge_project:
134
- rubygems_version: 1.8.24
135
- signing_key:
136
- specification_version: 3
137
- summary: Color Parser finds the colors on a given webpage
160
+ rubygems_version: 3.1.2
161
+ signing_key:
162
+ specification_version: 4
163
+ summary: Finds colors on a given webpage
138
164
  test_files:
139
- - test/color_parser_test.rb
140
- - test/fixtures/css/absolute.html
141
- - test/fixtures/css/inline.html
142
- - test/fixtures/css/inline_import.html
143
- - test/fixtures/css/invalid.html
144
- - test/fixtures/css/relative.html
145
- - test/fixtures/css/relative_root.html
146
- - test/fixtures/css/stylesheets/colors.css
147
- - test/fixtures/css/stylesheets/fonts.css
148
- - test/fixtures/css/stylesheets/print.css
149
- - test/fixtures/css/stylesheets/screen.css
150
- - test/fixtures/css_color/frequency.html
151
- - test/fixtures/css_color/stylesheets/color_styles.css
152
- - test/fixtures/css_color/stylesheets/css_elements.css
153
- - test/fixtures/css_color/stylesheets/frequency.css
154
- - test/fixtures/css_color/stylesheets/imported_selectors.css
155
- - test/fixtures/css_color/stylesheets/properties.css
156
- - test/fixtures/css_images/images/apple.png
157
- - test/fixtures/css_images/images/cantaloupe.png
158
- - test/fixtures/css_images/images/kiwi.jpg
159
- - test/fixtures/css_images/images/mango.png
160
- - test/fixtures/css_images/images/pineapple.png
161
- - test/fixtures/css_images/paths.html
162
- - test/fixtures/css_images/stylesheets/import_paths.css
163
- - test/fixtures/css_images/stylesheets/paths.css
164
- - test/fixtures/css_images/stylesheets/quotes.css
165
- - test/fixtures/css_import/index.html
166
- - test/fixtures/css_import/stylesheets/borders.css
167
- - test/fixtures/css_import/stylesheets/colors.css
168
- - test/fixtures/css_import/stylesheets/fonts.css
169
- - test/fixtures/css_import/stylesheets/ie.css
170
- - test/fixtures/css_import/stylesheets/images.css
171
- - test/fixtures/css_import/stylesheets/master.css
172
- - test/fixtures/css_import/stylesheets/print.css
173
- - test/fixtures/css_import/stylesheets/screen.css
174
- - test/fixtures/inline_images/absolute.html
175
- - test/fixtures/inline_images/images/apple.png
176
- - test/fixtures/inline_images/images/kiwi.jpg
177
- - test/fixtures/inline_images/relative.html
178
- - test/fixtures/inline_images/relative_root.html
179
- - test/image_test.rb
180
- - test/page_test.rb
181
- - test/stylesheet_test.rb
182
- - test/test_helper.rb
183
- - test/test_request.rb
184
- - test/version_test.rb
165
+ - spec/fixtures/css_color/frequency.html
166
+ - spec/fixtures/css_color/stylesheets/color_styles.css
167
+ - spec/fixtures/css_color/stylesheets/css_elements.css
168
+ - spec/fixtures/css_color/stylesheets/frequency.css
169
+ - spec/fixtures/css_color/stylesheets/imported_selectors.css
170
+ - spec/fixtures/css_color/stylesheets/properties.css
171
+ - spec/page_spec.rb
172
+ - spec/spec_helper.rb
173
+ - spec/stubs/fake_request.rb
174
+ - spec/stylesheet_spec.rb
175
+ - spec/version_spec.rb