roadie 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +9 -2
- data/README.md +6 -6
- data/lib/roadie/stylesheet.rb +2 -1
- data/lib/roadie/version.rb +1 -1
- data/spec/lib/roadie/stylesheet_spec.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4f6223eab7dab406f618cdc4de6561112c38883
|
4
|
+
data.tar.gz: 2ecab891c4958a775437dae141628055982591ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c04785fd8b911957558447ca928e7001e6602ee2e98a659124b8173b7238f5e4f9ff7ee9dea71b1dade51720e007a44d142310989d5996db63845ec4316dbad
|
7
|
+
data.tar.gz: 2e4e7ac1b09251ec08f1af1024b6614ea6c3663752066241063d8827faebc8782752abc6e51f140b047edcea62b9877e49520193e809b020563a20a96101aeb6
|
data/Changelog.md
CHANGED
@@ -1,10 +1,17 @@
|
|
1
1
|
### dev
|
2
2
|
|
3
|
-
[full changelog](https://github.com/Mange/roadie/compare/v3.0.
|
3
|
+
[full changelog](https://github.com/Mange/roadie/compare/v3.0.3...master)
|
4
4
|
|
5
5
|
* Nothing yet.
|
6
6
|
|
7
|
-
### 3.0.
|
7
|
+
### 3.0.3
|
8
|
+
|
9
|
+
[full changelog](https://github.com/Mange/roadie/compare/v3.0.2...v3.0.3)
|
10
|
+
|
11
|
+
* Bug fixes:
|
12
|
+
* CSS was mutated when parsed, breaking caches and memoized sources - [Brendan Mulholland (bmulholland)](https://github.com/bmulholland) (Mange/roadie-rails#32)
|
13
|
+
|
14
|
+
### 3.0.2
|
8
15
|
|
9
16
|
[full changelog](https://github.com/Mange/roadie/compare/v3.0.1...v3.0.2)
|
10
17
|
|
data/README.md
CHANGED
@@ -260,22 +260,22 @@ Instructions on how to do this on most platforms, see [Nokogiri's official insta
|
|
260
260
|
|
261
261
|
### My `:hover` selectors don't work. How can I fix them? ###
|
262
262
|
|
263
|
-
Put any styles using `:hover` in a separate stylesheet and make sure it is ignored. (See
|
263
|
+
Put any styles using `:hover` in a separate stylesheet and make sure it is ignored. (See `data-roadie-ignore` under [Referenced Stylesheets](https://github.com/Mange/roadie/blob/master/README.md#referenced-stylesheets) above)
|
264
264
|
|
265
265
|
### My `@media` queries don't work. How can I fix them? ###
|
266
266
|
|
267
|
-
Put any styles using them in a separate stylesheet and make sure it is ignored. (See
|
267
|
+
Put any styles using them in a separate stylesheet and make sure it is ignored. (See `data-roadie-ignore` under [Referenced Stylesheets](https://github.com/Mange/roadie/blob/master/README.md#referenced-stylesheets) above)
|
268
268
|
|
269
269
|
### My vendor-specific styles don't work. How can I fix them? ###
|
270
270
|
|
271
|
-
Put any styles using them in a separate stylesheet and make sure it is ignored. (See
|
271
|
+
Put any styles using them in a separate stylesheet and make sure it is ignored. (See `data-roadie-ignore` under [Referenced Stylesheets](https://github.com/Mange/roadie/blob/master/README.md#referenced-stylesheets) above)
|
272
272
|
|
273
273
|
Documentation
|
274
274
|
-------------
|
275
275
|
|
276
|
-
* [Online documentation for gem](
|
277
|
-
* [Online documentation for master](
|
278
|
-
* [Online documentation for Roadie 2.4.3](
|
276
|
+
* [Online documentation for gem](https://www.omniref.com/ruby/gems/roadie)
|
277
|
+
* [Online documentation for master](https://www.omniref.com/github/Mange/roadie)
|
278
|
+
* [Online documentation for Roadie 2.4.3](https://www.omniref.com/ruby/gems/roadie/2.4.3)
|
279
279
|
* [Changelog](https://github.com/Mange/roadie/blob/master/Changelog.md)
|
280
280
|
|
281
281
|
Running specs
|
data/lib/roadie/stylesheet.rb
CHANGED
data/lib/roadie/version.rb
CHANGED
@@ -51,5 +51,13 @@ module Roadie
|
|
51
51
|
"h1{background-image:url(data:image/gif;base64,R0lGODl)}"
|
52
52
|
])
|
53
53
|
end
|
54
|
+
|
55
|
+
it "does not mutate the input CSS" do
|
56
|
+
input = "/* comment */ body { color: green; }"
|
57
|
+
input_copy = input.dup
|
58
|
+
expect {
|
59
|
+
Stylesheet.new("name", input)
|
60
|
+
}.to_not change { input }.from(input_copy)
|
61
|
+
end
|
54
62
|
end
|
55
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roadie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Magnus Bergmark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|