autoprefixer-rails 0.8.20131213 → 1.0.20131222

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd5ff8ed7b6f2e3e6d6be6b805c1dcbbf686766b
4
- data.tar.gz: 1de2b02c1af83fe0d7ea7e25282caef2e4cb2442
3
+ metadata.gz: 36f57c886b90aa181eb51f537a53e5f477420715
4
+ data.tar.gz: c40a734d9b74ea9445632dc17d5083277a93309d
5
5
  SHA512:
6
- metadata.gz: 5c1d437f4351bfc6105570edccd8892e4c9904a092e80ab6a4f7ce907f8f513f67330c2241f4efa7b0b1462e2a91069867612ed6ba1e6cbe40117f0706094a29
7
- data.tar.gz: bc79ed48c052a87b9601d67a746106c2f6894f8926fcafef73b7680442b575844462d9657add9515f961ffce4aaec28184d11980159c60b91c0bd23f6cc3e9f1
6
+ metadata.gz: b09841058967a5a008e6b012a7e3edbb311fad6ca843fdce3cc11526364110b776ed862fb03c49d8471944938c62cec9dbb30cf7c0a76d13d0cac8991509e3f5
7
+ data.tar.gz: 8a68c8a8a560e78ef187c926fef5ec54eda0d33bebd42787779c7333b453bdfca2f79b7178c1b302c6033114f78aa4a23b247901efa24c95041b52f85d717f94
@@ -1,4 +1,21 @@
1
- == 0.8 (Unbowed, Unbent, Unbroken)
1
+ ## 1.0 “Plus ultra”
2
+ * Source map support.
3
+ * Save origin indents and code formatting.
4
+ * Change CSS parser to PostCSS.
5
+ * Rename compile() to process() and return result object, instead of CSS string.
6
+ * Rename inspect() to info().
7
+ * Allow to select last versions for specified browser.
8
+ * Add full browser names aliases: `firefox`, `explorer` and `blackberry`.
9
+ * Ignore case in browser names.
10
+ * Change license to MIT.
11
+ * Add prefixes inside custom at-rules.
12
+ * Add only necessary prefixes to selector inside prefixed at-rule.
13
+ * Safer backgrounds list parser in gradient hack.
14
+ * Prefix @keyframes inside @media.
15
+ * Don’t prefix values for CSS3 PIE properties.
16
+ * Use browserify to build standalone version.
17
+
18
+ ## 0.8 “Unbowed, Unbent, Unbroken”
2
19
  * Add more browsers to defaults ("> 1%, last 2 versions, ff 17, opera 12.1"
3
20
  instead of just "last 2 browsers").
4
21
  * Keep vendor prefixes without unprefixed version (like vendor-specific hacks).
@@ -11,101 +28,101 @@
11
28
  * Fix selector prefixes order.
12
29
  * Fix browser versions order in inspect.
13
30
 
14
- 20130903:
31
+ ### 20130903:
15
32
  * Fix old WebKit gradients convertor on rgba() colors.
16
33
  * Allow to write old direction syntax in gradients.
17
34
 
18
- 20130906:
35
+ ### 20130906:
19
36
  * Fix direction syntax in radial gradients.
20
37
  * Don’t prefix IE filter with modern syntax.
21
38
 
22
- 20130911:
39
+ ### 20130911:
23
40
  * Fix parsing property name with spaces.
24
41
 
25
- 20130919:
42
+ ### 20130919:
26
43
  * Fix processing custom framework prefixes (by Johannes J. Schmidt).
27
44
  * Concat outputs if several files compiled to one output.
28
45
  * Decrease standalone build size by removing unnecessary Binary class.
29
46
  * iOS 7 is moved to released versions.
30
47
  * Clean up binary code (by Simon Lydell).
31
48
 
32
- 20130923:
49
+ ### 20130923:
33
50
  * Firefox 24 is moved to released versions.
34
51
 
35
- 20131001:
52
+ ### 20131001:
36
53
  * Add support for grab, grabbing, zoom-in and zoom-out cursor values.
37
54
 
38
- 20131006:
55
+ ### 20131006:
39
56
  * Chrome 30 is moved to released versions.
40
57
 
41
- 20131007:
58
+ ### 20131007:
42
59
  * Don’t add another prefixes in rule with prefixed selector.
43
60
 
44
- 20131009:
61
+ ### 20131009:
45
62
  * Opera 17 is moved to released versions.
46
63
 
47
- 20131015:
64
+ ### 20131015:
48
65
  * Fix converting multiple gradients to old webkit syntax (by Aleksei Androsov).
49
66
 
50
- 20131017:
67
+ ### 20131017:
51
68
  * Fix @host at-rule parsing.
52
69
 
53
- 20131020:
70
+ ### 20131020:
54
71
  * IE 11 and Andrid 4.3 is moved to released versions.
55
72
  * Add Opera 18 data.
56
73
  * Add @namespace support.
57
74
  * Sort browser versions in data file.
58
75
 
59
- 20131029:
76
+ ### 20131029:
60
77
  * Add Safari 6.1 data.
61
78
  * Add fx alias for Firefox.
62
79
 
63
- 20131104:
80
+ ### 20131104:
64
81
  * Update Android future version to 4.4.
65
82
  * Google Chrome 32 added to future versions list.
66
83
  * Firefox 25 now is actual version, 27 and 28 added to future versions.
67
84
  * Browsers statistics are updated.
68
85
 
69
- 20131205:
86
+ ### 20131205:
70
87
  * Google Chrome 33 added to future releases list.
71
88
  * Google Chrome 31 moved to current releases list.
72
89
 
73
- 20131209:
90
+ ### 20131209:
74
91
  * Fix Autoprefixer initializer on Heroku (by Jason Purcell).
75
92
  * Use old webkit gradients for old iOS and Safari (by Chad von Nau).
76
93
  * Fix direction conversion for old webkit gradients (by Chad von Nau).
77
94
  * Update browsers popularity statistics.
78
95
 
79
- 20131213:
96
+ ### 20131213:
80
97
  * Firefox ESR in default browsers was changed to 24 version.
81
98
  * Firefox 26 was moved to current releases list.
82
99
  * Firefox 28 was added to future releases list.
83
100
 
84
- == 0.7 (We Do Not Sow)
101
+ ## 0.7 We Do Not Sow
85
102
  * Add vendor prefixes to selectors.
86
103
  * Add ::selection and ::placeholder selectors support.
87
104
  * Allow to load support data from Can I Use pull requests.
88
105
  * Remove deprecated API.
89
106
 
90
- 20130806:
107
+ ### 20130806:
91
108
  * Add hyphens support.
92
109
 
93
- 20130807:
110
+ ### 20130807:
94
111
  * Add tab-size support.
95
112
  * Add :fullscreen support.
96
113
 
97
- 20130808:
114
+ ### 20130808:
98
115
  * Allow to select browser versions by > and >= operator.
99
116
  * Fix flex properties in transition.
100
117
 
101
- 20130810:
118
+ ### 20130810:
102
119
  * Add Firefox 25 data.
103
120
 
104
- 20130824:
121
+ ### 20130824:
105
122
  * Add Chrome 31 and 30 data.
106
123
  * Fix CSS comments parsing (by vladkens).
107
124
 
108
- == 0.6 (As High As Honor)
125
+ ## 0.6 As High As Honor
109
126
  * New faster API, which cache preprocessed data. Old API is deprecated.
110
127
  * A lot of perfomance improvements.
111
128
  * Add Opera 15 -webkit- prefix support.
@@ -113,91 +130,91 @@
113
130
  * Add minor browsers in popularity select.
114
131
  * Better syntax error messages.
115
132
 
116
- 20130721:
133
+ ### 20130721:
117
134
  * Add Chrome 30 data.
118
135
 
119
- 20130728:
136
+ ### 20130728:
120
137
  * Don’t remove non-standard -webkit-background-clip: text.
121
138
  * Don’t remove IE hack on CSS parse.
122
139
  * Fix loading into Rails without Sprockets.
123
140
 
124
- 20130729:
141
+ ### 20130729:
125
142
  * Add Opera 16 data.
126
143
  * Fix “Invalid range in character class” error on JRuby.
127
144
 
128
- 20130730:
145
+ ### 20130730:
129
146
  * Fix correct clone comments inside keyframes (by Alexey Plutalov).
130
147
  * Fix angle recalculation in gradients (by Roman Komarov).
131
148
 
132
- 20130731:
149
+ ### 20130731:
133
150
  * Add border-image support.
134
151
 
135
- == 0.5 (Ours is the Fury)
152
+ ## 0.5 Ours is the Fury
136
153
  * Rewrite Autoprefixer to be more flexible.
137
154
  * Use css, instead of Rework, to fix CSS parsing errors faster.
138
155
  * Fix a lot of CSS parsing errors.
139
156
  * Fix sass-rails 4.0.0.rc2 compatibility.
140
157
 
141
- 20130616:
158
+ ### 20130616:
142
159
  * More useful message for CSS parsing errors.
143
160
  * Remove old WebKit gradient syntax.
144
161
  * Fix parsing error on comment with braces.
145
162
 
146
- 20130617:
163
+ ### 20130617:
147
164
  * Remove old Mozilla border-radius.
148
165
  * Don’t prefix old IE filter.
149
166
  * Remove old background-clip, background-size and background-origin prefixes.
150
167
  * Speed up regexps in values.
151
168
  * Allow to hack property declarations.
152
169
 
153
- 20130625:
170
+ ### 20130625:
154
171
  * Convert flexbox properties to 2009 and 2012 specifications.
155
172
  * Add support for sass-rails 4 final.
156
173
 
157
- 20130626:
174
+ ### 20130626:
158
175
  * Add Firefox 24 data.
159
176
  * Add prefixes for font-feature-settings.
160
177
 
161
- 20130629:
178
+ ### 20130629:
162
179
  * Fix convert flex properties to old box-flex.
163
180
  * Fix Sinatra (sprockets-sass) suuport.
164
181
 
165
- == 0.4 (Winter Is Coming)
182
+ ## 0.4 Winter Is Coming
166
183
  * Remove outdated prefixes.
167
184
  * Add border-radius and box-shadow properties to database.
168
185
  * Change degrees in webkit gradients.
169
186
 
170
- 20130515:
187
+ ### 20130515:
171
188
  * Add old syntax in gradient direction.
172
189
  * Add old syntax for display: flex.
173
190
  * Update browser global usage statistics.
174
191
 
175
- 20130521:
192
+ ### 20130521:
176
193
  * Add Firefox 23 data.
177
194
  * Update css-parse to fix @-moz-document issue.
178
195
 
179
- 20130523:
196
+ ### 20130523:
180
197
  * Update Rework’s libraries to fix @page statement.
181
198
 
182
- 20130524:
199
+ ### 20130524:
183
200
  * Add Chrome 29 data.
184
201
 
185
- 20130527:
202
+ ### 20130527:
186
203
  * Fix new css-stringify issue.
187
204
 
188
- 20130528:
205
+ ### 20130528:
189
206
  * Fix compatibilty with Rework from git master.
190
207
  * Add minor browsers to data, which can be selected only directly.
191
208
 
192
- 20130530:
209
+ ### 20130530:
193
210
  * Add Opera 15 and iOS 6.1 data.
194
211
  * Fix iOS versions in properties and values data.
195
212
 
196
- 20130603:
213
+ ### 20130603:
197
214
  * Use latest Rework 0.15 with a lot of CSS parsing fixes.
198
215
  * Update browsers usage statistics.
199
216
 
200
- == 0.3 (Growing Strong)
217
+ ## 0.3 Growing Strong
201
218
  * Use own filters instead of Rework’s `prefix` and `prefixValue`.
202
219
  * Smarter value prefixer without false match “order” in “border”.
203
220
  * 40% faster.
@@ -205,19 +222,19 @@
205
222
  * Don’t change properties order.
206
223
  * Sort properties and values in inspect output.
207
224
 
208
- 20130424:
225
+ ### 20130424:
209
226
  * Fix value override in prefixer.
210
227
 
211
- 20130427:
228
+ ### 20130427:
212
229
  * Prefix several same values in one property.
213
230
 
214
- 20130502:
231
+ ### 20130502:
215
232
  * Don’t add -webkit- prefix to IE filter.
216
233
  * Don’t duplicate already prefixed rules.
217
234
 
218
- == 0.2 (Hear Me Roar!)
235
+ ## 0.2 Hear Me Roar!”
219
236
  * Update parse libraries.
220
237
  * Add inspect method and rake tast.
221
238
 
222
- == 0.1 (Fire and Blood)
239
+ ## 0.1 Fire and Blood
223
240
  * Initial release.
data/Gemfile CHANGED
@@ -3,11 +3,12 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
  gem 'rake'
5
5
  gem 'rails'
6
+ gem 'sass-rails'
6
7
  gem 'rspec-rails'
7
8
 
8
- gem 'therubyrhino', :platforms => 'jruby'
9
- gem 'therubyracer', :platforms => ['mri', 'rbx']
9
+ gem 'therubyrhino', platforms: 'jruby'
10
+ gem 'therubyracer', platforms: ['mri', 'rbx']
10
11
 
11
- gem 'racc', :platforms => 'rbx'
12
- gem 'rubysl', :platforms => 'rbx'
13
- gem 'rubysl-test-unit', :platforms => 'rbx'
12
+ gem 'racc', platforms: 'rbx'
13
+ gem 'rubysl', platforms: 'rbx'
14
+ gem 'rubysl-test-unit', platforms: 'rbx'
data/LICENSE CHANGED
@@ -1,165 +1,20 @@
1
- GNU LESSER GENERAL PUBLIC LICENSE
2
- Version 3, 29 June 2007
3
-
4
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
- Everyone is permitted to copy and distribute verbatim copies
6
- of this license document, but changing it is not allowed.
7
-
8
-
9
- This version of the GNU Lesser General Public License incorporates
10
- the terms and conditions of version 3 of the GNU General Public
11
- License, supplemented by the additional permissions listed below.
12
-
13
- 0. Additional Definitions.
14
-
15
- As used herein, "this License" refers to version 3 of the GNU Lesser
16
- General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
- General Public License.
18
-
19
- "The Library" refers to a covered work governed by this License,
20
- other than an Application or a Combined Work as defined below.
21
-
22
- An "Application" is any work that makes use of an interface provided
23
- by the Library, but which is not otherwise based on the Library.
24
- Defining a subclass of a class defined by the Library is deemed a mode
25
- of using an interface provided by the Library.
26
-
27
- A "Combined Work" is a work produced by combining or linking an
28
- Application with the Library. The particular version of the Library
29
- with which the Combined Work was made is also called the "Linked
30
- Version".
31
-
32
- The "Minimal Corresponding Source" for a Combined Work means the
33
- Corresponding Source for the Combined Work, excluding any source code
34
- for portions of the Combined Work that, considered in isolation, are
35
- based on the Application, and not on the Linked Version.
36
-
37
- The "Corresponding Application Code" for a Combined Work means the
38
- object code and/or source code for the Application, including any data
39
- and utility programs needed for reproducing the Combined Work from the
40
- Application, but excluding the System Libraries of the Combined Work.
41
-
42
- 1. Exception to Section 3 of the GNU GPL.
43
-
44
- You may convey a covered work under sections 3 and 4 of this License
45
- without being bound by section 3 of the GNU GPL.
46
-
47
- 2. Conveying Modified Versions.
48
-
49
- If you modify a copy of the Library, and, in your modifications, a
50
- facility refers to a function or data to be supplied by an Application
51
- that uses the facility (other than as an argument passed when the
52
- facility is invoked), then you may convey a copy of the modified
53
- version:
54
-
55
- a) under this License, provided that you make a good faith effort to
56
- ensure that, in the event an Application does not supply the
57
- function or data, the facility still operates, and performs
58
- whatever part of its purpose remains meaningful, or
59
-
60
- b) under the GNU GPL, with none of the additional permissions of
61
- this License applicable to that copy.
62
-
63
- 3. Object Code Incorporating Material from Library Header Files.
64
-
65
- The object code form of an Application may incorporate material from
66
- a header file that is part of the Library. You may convey such object
67
- code under terms of your choice, provided that, if the incorporated
68
- material is not limited to numerical parameters, data structure
69
- layouts and accessors, or small macros, inline functions and templates
70
- (ten or fewer lines in length), you do both of the following:
71
-
72
- a) Give prominent notice with each copy of the object code that the
73
- Library is used in it and that the Library and its use are
74
- covered by this License.
75
-
76
- b) Accompany the object code with a copy of the GNU GPL and this license
77
- document.
78
-
79
- 4. Combined Works.
80
-
81
- You may convey a Combined Work under terms of your choice that,
82
- taken together, effectively do not restrict modification of the
83
- portions of the Library contained in the Combined Work and reverse
84
- engineering for debugging such modifications, if you also do each of
85
- the following:
86
-
87
- a) Give prominent notice with each copy of the Combined Work that
88
- the Library is used in it and that the Library and its use are
89
- covered by this License.
90
-
91
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
- document.
93
-
94
- c) For a Combined Work that displays copyright notices during
95
- execution, include the copyright notice for the Library among
96
- these notices, as well as a reference directing the user to the
97
- copies of the GNU GPL and this license document.
98
-
99
- d) Do one of the following:
100
-
101
- 0) Convey the Minimal Corresponding Source under the terms of this
102
- License, and the Corresponding Application Code in a form
103
- suitable for, and under terms that permit, the user to
104
- recombine or relink the Application with a modified version of
105
- the Linked Version to produce a modified Combined Work, in the
106
- manner specified by section 6 of the GNU GPL for conveying
107
- Corresponding Source.
108
-
109
- 1) Use a suitable shared library mechanism for linking with the
110
- Library. A suitable mechanism is one that (a) uses at run time
111
- a copy of the Library already present on the user's computer
112
- system, and (b) will operate properly with a modified version
113
- of the Library that is interface-compatible with the Linked
114
- Version.
115
-
116
- e) Provide Installation Information, but only if you would otherwise
117
- be required to provide such information under section 6 of the
118
- GNU GPL, and only to the extent that such information is
119
- necessary to install and execute a modified version of the
120
- Combined Work produced by recombining or relinking the
121
- Application with a modified version of the Linked Version. (If
122
- you use option 4d0, the Installation Information must accompany
123
- the Minimal Corresponding Source and Corresponding Application
124
- Code. If you use option 4d1, you must provide the Installation
125
- Information in the manner specified by section 6 of the GNU GPL
126
- for conveying Corresponding Source.)
127
-
128
- 5. Combined Libraries.
129
-
130
- You may place library facilities that are a work based on the
131
- Library side by side in a single library together with other library
132
- facilities that are not Applications and are not covered by this
133
- License, and convey such a combined library under terms of your
134
- choice, if you do both of the following:
135
-
136
- a) Accompany the combined library with a copy of the same work based
137
- on the Library, uncombined with any other library facilities,
138
- conveyed under the terms of this License.
139
-
140
- b) Give prominent notice with the combined library that part of it
141
- is a work based on the Library, and explaining where to find the
142
- accompanying uncombined form of the same work.
143
-
144
- 6. Revised Versions of the GNU Lesser General Public License.
145
-
146
- The Free Software Foundation may publish revised and/or new versions
147
- of the GNU Lesser General Public License from time to time. Such new
148
- versions will be similar in spirit to the present version, but may
149
- differ in detail to address new problems or concerns.
150
-
151
- Each version is given a distinguishing version number. If the
152
- Library as you received it specifies that a certain numbered version
153
- of the GNU Lesser General Public License "or any later version"
154
- applies to it, you have the option of following the terms and
155
- conditions either of that published version or of any later version
156
- published by the Free Software Foundation. If the Library as you
157
- received it does not specify a version number of the GNU Lesser
158
- General Public License, you may choose any version of the GNU Lesser
159
- General Public License ever published by the Free Software Foundation.
160
-
161
- If the Library as you received it specifies that a proxy can decide
162
- whether future versions of the GNU Lesser General Public License shall
163
- apply, that proxy's public statement of acceptance of any version is
164
- permanent authorization for you to choose that version for the
165
- Library.
1
+ The MIT License (MIT)
2
+
3
+ Copyright 2013 Andrey Sitnik <andrey@sitnik.ru>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.