roadie 2.4.2 → 2.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,16 @@
1
1
  ### dev
2
2
 
3
- [full changelog](https://github.com/Mange/roadie/compare/v2.4.2...master)
3
+ [full changelog](https://github.com/Mange/roadie/compare/v2.4.3...master)
4
4
 
5
5
  * Nothing yet
6
6
 
7
+ ### 2.4.3
8
+
9
+ [full changelog](https://github.com/Mange/roadie/compare/v2.4.2...v2.4.3)
10
+
11
+ * Bug fixes:
12
+ * Blacklist `:enabled`, `:disabled` and `:checked` pseudo functions - [Tyler Hunt (tylerhunt)](https://github.com/tylerhunt).
13
+
7
14
  ### 2.4.2
8
15
 
9
16
  [full changelog](https://github.com/Mange/roadie/compare/v2.4.1...v2.4.2)
@@ -33,7 +33,7 @@ module Roadie
33
33
  private
34
34
  BAD_PSEUDO_FUNCTIONS = %w[:active :focus :hover :link :target :visited
35
35
  :-ms-input-placeholder :-moz-placeholder
36
- :before :after].freeze
36
+ :before :after :enabled :disabled :checked].freeze
37
37
 
38
38
  def pseudo_element?
39
39
  selector.include? '::'
@@ -1,3 +1,3 @@
1
1
  module Roadie
2
- VERSION = '2.4.2'
2
+ VERSION = '2.4.3'
3
3
  end
@@ -19,10 +19,13 @@ module Roadie
19
19
  p:link
20
20
  p:target
21
21
  p:visited
22
- p:before
23
- p:after
24
22
  p:-ms-input-placeholder
25
23
  p:-moz-placeholder
24
+ p:before
25
+ p:after
26
+ p:enabled
27
+ p:disabled
28
+ p:checked
26
29
  ].each do |bad_selector|
27
30
  Selector.new(bad_selector).should_not be_inlinable
28
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roadie
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-02 00:00:00.000000000 Z
12
+ date: 2013-12-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -240,7 +240,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
240
240
  version: '0'
241
241
  segments:
242
242
  - 0
243
- hash: -3397236686986822588
243
+ hash: 1808756919060752833
244
244
  required_rubygems_version: !ruby/object:Gem::Requirement
245
245
  none: false
246
246
  requirements:
@@ -249,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  version: '0'
250
250
  segments:
251
251
  - 0
252
- hash: -3397236686986822588
252
+ hash: 1808756919060752833
253
253
  requirements: []
254
254
  rubyforge_project:
255
255
  rubygems_version: 1.8.24