sass 3.3.4 → 3.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/VERSION_DATE +1 -1
- data/lib/sass/script/functions.rb +1 -1
- data/lib/sass/script/lexer.rb +6 -4
- data/lib/sass/script/value/base.rb +2 -1
- data/lib/sass/tree/visitors/convert.rb +6 -0
- data/lib/sass/tree/visitors/set_options.rb +5 -0
- data/test/sass/conversion_test.rb +11 -0
- data/test/sass/script_test.rb +4 -0
- data/vendor/listen/CHANGELOG.md +1 -368
- data/vendor/listen/lib/listen/adapter.rb +2 -0
- data/vendor/listen/spec/listen/adapter_spec.rb +11 -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: 81425a4314bf7725f3105352c3183b0a343cfab3
|
4
|
+
data.tar.gz: f710dbd2f261a531615cf1f0c481facf6b09a3c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ed089312445cd14de0ae19217c49fca73c76d84c9ffb83a82afb0cd3eea23c8386559968406d37bf241763523ebca199f1761a8821a40d25cc7d78c89d85498
|
7
|
+
data.tar.gz: 341822fc88d07d4c5e43eca03286bf84546c5988fdc47bacd5e844563f2feaa8f3b8973717302001c423bd3319b8d4c88623195c299fbe2d2302611505d81a5e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.5
|
data/VERSION_DATE
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
15 April 2014 02:38:11 UTC
|
@@ -202,7 +202,7 @@ module Sass::Script
|
|
202
202
|
# \{#map_values map-values($map)}
|
203
203
|
# : Returns a list of all values in a map.
|
204
204
|
#
|
205
|
-
# \{#map_has_key map-has-key($key)}
|
205
|
+
# \{#map_has_key map-has-key($map, $key)}
|
206
206
|
# : Returns whether a map has a value associated with a given key.
|
207
207
|
#
|
208
208
|
# \{#keywords keywords($args)}
|
data/lib/sass/script/lexer.rb
CHANGED
@@ -296,10 +296,12 @@ module Sass
|
|
296
296
|
# minus logic in the parser instead.
|
297
297
|
if @scanner.peek(1) == '-'
|
298
298
|
return if @scanner.pos == 0
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
299
|
+
unary_minus_allowed =
|
300
|
+
case @scanner.string[@scanner.pos - 1, 1]
|
301
|
+
when /\s/; true
|
302
|
+
when '/'; @scanner.pos != 1 && @scanner.string[@scanner.pos - 2, 1] == '*'
|
303
|
+
else; false
|
304
|
+
end
|
303
305
|
|
304
306
|
return unless unary_minus_allowed
|
305
307
|
return unless scan(REGULAR_EXPRESSIONS[:unary_minus_number])
|
@@ -20,7 +20,8 @@ module Sass::Script::Value
|
|
20
20
|
#
|
21
21
|
# @param value [Object] The object for \{#value}
|
22
22
|
def initialize(value = nil)
|
23
|
-
|
23
|
+
value.freeze unless value.nil? || value == true || value == false
|
24
|
+
@value = value
|
24
25
|
end
|
25
26
|
|
26
27
|
# Sets the options hash for this node,
|
@@ -287,6 +287,12 @@ class Sass::Tree::Visitors::Convert < Sass::Tree::Visitors::Base
|
|
287
287
|
# Like interp_to_src, but removes the unnecessary `#{}` around the keys and
|
288
288
|
# values in query expressions.
|
289
289
|
def query_interp_to_src(interp)
|
290
|
+
interp = interp.map do |e|
|
291
|
+
next e unless e.is_a?(Sass::Script::Tree::Literal)
|
292
|
+
next e unless e.value.is_a?(Sass::Script::Value::String)
|
293
|
+
e.value.value
|
294
|
+
end
|
295
|
+
|
290
296
|
Sass::Util.enum_with_index(interp).map do |r, i|
|
291
297
|
next r if r.is_a?(String)
|
292
298
|
before, after = interp[i - 1], interp[i + 1]
|
@@ -15,6 +15,11 @@ class Sass::Tree::Visitors::SetOptions < Sass::Tree::Visitors::Base
|
|
15
15
|
super
|
16
16
|
end
|
17
17
|
|
18
|
+
def visit_comment(node)
|
19
|
+
node.value.each {|c| c.options = @options if c.is_a?(Sass::Script::Tree::Node)}
|
20
|
+
yield
|
21
|
+
end
|
22
|
+
|
18
23
|
def visit_debug(node)
|
19
24
|
node.expr.options = @options
|
20
25
|
yield
|
@@ -1267,6 +1267,17 @@ $val: 20;
|
|
1267
1267
|
SCSS
|
1268
1268
|
end
|
1269
1269
|
|
1270
|
+
def test_media_with_feature
|
1271
|
+
assert_sass_to_scss <<SCSS, <<SASS
|
1272
|
+
@media screen and (-webkit-transform-3d) {
|
1273
|
+
a: b;
|
1274
|
+
}
|
1275
|
+
SCSS
|
1276
|
+
@media screen and (-webkit-transform-3d)
|
1277
|
+
a: b
|
1278
|
+
SASS
|
1279
|
+
end
|
1280
|
+
|
1270
1281
|
def test_supports_with_expressions
|
1271
1282
|
assert_renders <<SASS, <<SCSS
|
1272
1283
|
$query: "(feature1: val)"
|
data/test/sass/script_test.rb
CHANGED
@@ -694,6 +694,10 @@ SCSS
|
|
694
694
|
assert_equal "5px", resolve("15px-10px")
|
695
695
|
end
|
696
696
|
|
697
|
+
def test_minus_preceded_by_comment
|
698
|
+
assert_equal "15px -10px", resolve("15px/**/-10px")
|
699
|
+
end
|
700
|
+
|
697
701
|
def test_user_defined_function_forces_division
|
698
702
|
assert_equal(<<CSS, render(<<SASS))
|
699
703
|
a {
|
data/vendor/listen/CHANGELOG.md
CHANGED
@@ -1,368 +1 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
## 1.2.2 - Jun 17, 2013
|
5
|
-
|
6
|
-
### Bug fix
|
7
|
-
|
8
|
-
- Rescue all error on sha1_checksum generation. ([@thibaudgg][])
|
9
|
-
|
10
|
-
## 1.2.1 - Jun 11, 2013
|
11
|
-
|
12
|
-
### Improvement
|
13
|
-
|
14
|
-
- Ignore 'bundle' folder by default. ([@thibaudgg][])
|
15
|
-
|
16
|
-
## 1.2.0 - Jun 11, 2013
|
17
|
-
|
18
|
-
### Improvement
|
19
|
-
|
20
|
-
- [#124][] New `force_adapter` option, skip the `.listen_test` adapter test. ([@nicobrevin][])
|
21
|
-
|
22
|
-
## 1.1.6 - Jun 4, 2013
|
23
|
-
|
24
|
-
### Change
|
25
|
-
|
26
|
-
- [#120][] Warn when using relative_paths option when listening to multiple diretories. (reported by [@chriseppstein][], added by [@thibaudgg][])
|
27
|
-
|
28
|
-
## 1.1.5 - Jun 3, 2013
|
29
|
-
|
30
|
-
### Bug fix
|
31
|
-
|
32
|
-
- [#122][] Fix stop called very soon after starting. (reported by [@chriseppstein][], fixed by [@thibaudgg][])
|
33
|
-
|
34
|
-
## 1.1.4 - May 28, 2013
|
35
|
-
|
36
|
-
### Bug fix
|
37
|
-
|
38
|
-
- [#118][] Prevent polling just because the adapter gem was already required. ([@nilbus][])
|
39
|
-
|
40
|
-
## 1.1.3 - May 21, 2013
|
41
|
-
|
42
|
-
### Bug fix
|
43
|
-
|
44
|
-
- [#117][] Fix jruby error on Pathname#relative_path_from. ([@luikore][])
|
45
|
-
|
46
|
-
## 1.1.2 - May 14, 2013
|
47
|
-
|
48
|
-
### Bug fix
|
49
|
-
|
50
|
-
- [#115][] Fix for directory containing non-ascii chars. ([@luikore][])
|
51
|
-
|
52
|
-
## 1.1.1 - May 14, 2013
|
53
|
-
|
54
|
-
### Bug fix
|
55
|
-
|
56
|
-
- [#113][] Kill poller_thread before waiting for it to die. ([@antifuchs][])
|
57
|
-
|
58
|
-
## 1.1.0 - May 11, 2013
|
59
|
-
|
60
|
-
### Bug fix
|
61
|
-
|
62
|
-
- [#112][] Expand path for the given directories. (reported by [@nex3][], fixed by [@thibaudgg][])
|
63
|
-
|
64
|
-
### Change
|
65
|
-
|
66
|
-
- [#110][] Remove MultiListener deprecation warning message. (reported by [@nex3][], fixed by [@thibaudgg][])
|
67
|
-
|
68
|
-
## 1.0.3 - April 29, 2013
|
69
|
-
|
70
|
-
### Bug fix
|
71
|
-
|
72
|
-
- Rescue Errno::EBADF on sha1_checksum generation. ([@thibaudgg][])
|
73
|
-
|
74
|
-
## 1.0.2 - April 22, 2013
|
75
|
-
|
76
|
-
### Bug fix
|
77
|
-
|
78
|
-
- [#104][] Avoid conflict with ActiveSupport::Dependencies::Loadable. ([@nysalor][])
|
79
|
-
|
80
|
-
## 1.0.1 - April 22, 2013
|
81
|
-
|
82
|
-
### Bug fix
|
83
|
-
|
84
|
-
- [#103][] Support old version of rubygems. (reported by [@ahoward][], fixed by [@thibaudgg][])
|
85
|
-
|
86
|
-
## 1.0.0 - April 20, 2013
|
87
|
-
|
88
|
-
### Bug fix
|
89
|
-
|
90
|
-
- [#93][] Remove dependency operator in the "gem install" message. (reported by [@scottdavis][], fixed by [@rymai][])
|
91
|
-
|
92
|
-
### Changes & deprecations
|
93
|
-
|
94
|
-
- [#98][] `Listen.to` does not block the current thread anymore. Use `Listen.to!` if you want the old behavior back. ([@rymai][])
|
95
|
-
- [#98][] `Listen::Listener#start` does not block the current thread anymore. Use `Listen::Listener#start!` if you want the old behavior back. ([@rymai][])
|
96
|
-
- [#98][] `Listen::Listener#start`'s `blocking` parameter is deprecated. ([@rymai][])
|
97
|
-
|
98
|
-
### Improvements
|
99
|
-
|
100
|
-
- [#98][] New method: `Listen.to!` which blocks the current thread. ([@rymai][])
|
101
|
-
- [#98][] New method: `Listen::Listener#start!` to start the listener and block the current thread. ([@martikaljuve][] & [@rymai][])
|
102
|
-
- [#95][] Make `Listen::Listener` capable of listening to multiple directories, deprecates `Listen::MultiListener`, defaults `Listener#relative_paths` to `true` when listening to a single directory (see [#131][]). ([@rymai][])
|
103
|
-
- [#85][] Compute the SHA1 sum only for regular files. ([@antifuchs][])
|
104
|
-
- New methods: `Listen::Adapter#pause`, `Listen::Adapter#unpause` and `Listen::Adapter#paused?`. ([@rymai][])
|
105
|
-
- Refactor `Listen::DirectoryRecord` internals. ([@rymai][])
|
106
|
-
- Refactor `Listen::DependencyManager` internals. ([@rymai][])
|
107
|
-
|
108
|
-
## 0.7.3 - February 24, 2013
|
109
|
-
|
110
|
-
### Bug fixes
|
111
|
-
|
112
|
-
- [#88][] Update wdm dependency. ([@mrbinky3000][])
|
113
|
-
- [#78][] Depend on latest rb-inotify. ([@mbj][])
|
114
|
-
|
115
|
-
## 0.7.2 - January 11, 2013
|
116
|
-
|
117
|
-
### Bug fix
|
118
|
-
|
119
|
-
- [#76][] Exception on filename which is not in UTF-8. ([@piotr-sokolowski][])
|
120
|
-
|
121
|
-
## 0.7.1 - January 6, 2013
|
122
|
-
|
123
|
-
### Bug fix
|
124
|
-
|
125
|
-
- [#75][] Default high precision off if the mtime call fails. ([@zanker][])
|
126
|
-
|
127
|
-
## 0.7.0 - December 29, 2012
|
128
|
-
|
129
|
-
### Bug fix
|
130
|
-
|
131
|
-
- [#73][] Rescue Errno::EOPNOTSUPP on sha1_checksum generation. ([@thibaudgg][])
|
132
|
-
|
133
|
-
### New feature
|
134
|
-
|
135
|
-
- [#72][] Add support for *BSD with rb-kqueue. ([@mat813][])
|
136
|
-
|
137
|
-
## 0.6.0 - November 21, 2012
|
138
|
-
|
139
|
-
### New feature
|
140
|
-
|
141
|
-
- [#68][] Add bang versions for `Listener#filter` and `Listener#ignore` methods. ([@tarsolya][])
|
142
|
-
|
143
|
-
## 0.5.3 - October 3, 2012
|
144
|
-
|
145
|
-
### Bug fixes
|
146
|
-
|
147
|
-
- [#65][] Fix ruby warning in adapter.rb. ([@vongruenigen][])
|
148
|
-
- [#64][] ENXIO raised when hashing UNIX domain socket file. ([@sunaku][])
|
149
|
-
|
150
|
-
## 0.5.2 - Septemper 23, 2012
|
151
|
-
|
152
|
-
### Bug fix
|
153
|
-
|
154
|
-
- [#62][] Fix double change callback with polling adapter. ([@thibaudgg][])
|
155
|
-
|
156
|
-
## 0.5.1 - Septemper 18, 2012
|
157
|
-
|
158
|
-
### Bug fix
|
159
|
-
|
160
|
-
- [#61][] Fix a synchronisation bug that caused constant fallback to polling. ([@Maher4Ever][])
|
161
|
-
|
162
|
-
## 0.5.0 - Septemper 1, 2012
|
163
|
-
|
164
|
-
### New features
|
165
|
-
|
166
|
-
- Add a dependency manager to handle platform-specific gems. So there is no need anymore to install
|
167
|
-
extra gems which will never be used on the user system. ([@Maher4Ever][])
|
168
|
-
- Add a manual reporting mode to the adapters. ([@Maher4Ever][])
|
169
|
-
|
170
|
-
### Improvements
|
171
|
-
|
172
|
-
- [#28][] Enhance the speed of detecting changes on Windows by using the [WDM][] library. ([@Maher4Ever][])
|
173
|
-
|
174
|
-
## 0.4.7 - June 27, 2012
|
175
|
-
|
176
|
-
### Bug fixes
|
177
|
-
|
178
|
-
- Increase latency to 0.25, to avoid useless polling fallback. ([@thibaudgg][])
|
179
|
-
- Change watched inotify events, to avoid duplication callback. ([@thibaudgg][])
|
180
|
-
- [#41][] Use lstat instead of stat when calculating mtime. ([@ebroder][])
|
181
|
-
|
182
|
-
## 0.4.6 - June 20, 2012
|
183
|
-
|
184
|
-
### Bug fix
|
185
|
-
|
186
|
-
- [#39][] Fix digest race condition. ([@dkubb][])
|
187
|
-
|
188
|
-
## 0.4.5 - June 13, 2012
|
189
|
-
|
190
|
-
### Bug fix
|
191
|
-
|
192
|
-
- [#39][] Rescue Errno::ENOENT when path inserted doesn't exist. (reported by [@textgoeshere][], fixed by [@thibaudgg][] and [@rymai][])
|
193
|
-
|
194
|
-
## 0.4.4 - June 8, 2012
|
195
|
-
|
196
|
-
### Bug fixes
|
197
|
-
|
198
|
-
- ~~[#39][] Non-existing path insertion bug. (reported by [@textgoeshere][], fixed by [@thibaudgg][])~~
|
199
|
-
- Fix relative path for directories containing special characters. (reported by [@napcs][], fixed by [@netzpirat][])
|
200
|
-
|
201
|
-
## 0.4.3 - June 6, 2012
|
202
|
-
|
203
|
-
### Bug fixes
|
204
|
-
|
205
|
-
- [#24][] Fail gracefully when the inotify limit is not enough for Listen to function. (reported by [@daemonza][], fixed by [@Maher4Ever][])
|
206
|
-
- [#32][] Fix a crash when trying to calculate the checksum of unreadable files. (reported by [@nex3][], fixed by [@Maher4Ever][])
|
207
|
-
|
208
|
-
### Improvements
|
209
|
-
|
210
|
-
- Add `Listener#relative_paths`. ([@Maher4Ever][])
|
211
|
-
- Add `Adapter#started?`. ([@Maher4Ever][])
|
212
|
-
- Dynamically detect the mtime precision used on a system. ([@Maher4Ever][] with help from [@nex3][])
|
213
|
-
|
214
|
-
## 0.4.2 - May 1, 2012
|
215
|
-
|
216
|
-
### Bug fixes
|
217
|
-
|
218
|
-
- [#21][] Issues when listening to changes in relative paths. (reported by [@akerbos][], fixed by [@Maher4Ever][])
|
219
|
-
- [#27][] Wrong reports for files modifications. (reported by [@cobychapple][], fixed by [@Maher4Ever][])
|
220
|
-
- Fix segmentation fault when profiling on Windows. ([@Maher4Ever][])
|
221
|
-
- Fix redundant watchers on Windows. ([@Maher4Ever][])
|
222
|
-
|
223
|
-
### Improvements
|
224
|
-
|
225
|
-
- [#17][] Use regexp-patterns with the `ignore` method instead of supplying paths. (reported by [@fny][], added by [@Maher4Ever][])
|
226
|
-
- Speed improvement when listening to changes in directories with ignored paths. ([@Maher4Ever][])
|
227
|
-
- Added `.rbx` and `.svn` to ignored directories. ([@Maher4Ever][])
|
228
|
-
|
229
|
-
## 0.4.1 - April 15, 2012
|
230
|
-
|
231
|
-
### Bug fix
|
232
|
-
|
233
|
-
- [#18][] Listener crashes when removing directories with nested paths. (reported by [@daemonza][], fixed by [@Maher4Ever][])
|
234
|
-
|
235
|
-
## 0.4.0 - April 9, 2012
|
236
|
-
|
237
|
-
### New features
|
238
|
-
|
239
|
-
- Add `Adapter#wait_for_callback`. ([@Maher4Ever][])
|
240
|
-
- Add `Listen::MultiListener` class to listen to multiple directories at once. ([@Maher4Ever][])
|
241
|
-
- Allow passing multiple directories to the `Listen.to` method. ([@Maher4Ever][])
|
242
|
-
- Add `blocking` option to `Listen#start` which can be used to disable blocking the current thread upon starting. ([@Maher4Ever][])
|
243
|
-
- Use absolute-paths in callbacks by default instead of relative-paths. ([@Maher4Ever][])
|
244
|
-
- Add `relative_paths` option to `Listen::Listener` to retain the old functionality. ([@Maher4Ever][])
|
245
|
-
|
246
|
-
### Improvements
|
247
|
-
|
248
|
-
- Encapsulate thread spawning in the linux-adapter. ([@Maher4Ever][])
|
249
|
-
- Encapsulate thread spawning in the darwin-adapter. ([@Maher4Ever][] with [@scottdavis][] help)
|
250
|
-
- Encapsulate thread spawning in the windows-adapter. ([@Maher4Ever][])
|
251
|
-
- Fix linux-adapter bug where Listen would report file-modification events on the parent-directory. ([@Maher4Ever][])
|
252
|
-
|
253
|
-
### Change
|
254
|
-
|
255
|
-
- Remove `wait_until_listening` as adapters doesn't need to run inside threads anymore ([@Maher4Ever][])
|
256
|
-
|
257
|
-
## 0.3.3 - March 6, 2012
|
258
|
-
|
259
|
-
### Improvement
|
260
|
-
|
261
|
-
- Improve pause/unpause. ([@thibaudgg][])
|
262
|
-
|
263
|
-
## 0.3.2 - March 4, 2012
|
264
|
-
|
265
|
-
### New feature
|
266
|
-
|
267
|
-
- Add pause/unpause listener's methods. ([@thibaudgg][])
|
268
|
-
|
269
|
-
## 0.3.1 - February 22, 2012
|
270
|
-
|
271
|
-
### Bug fix
|
272
|
-
|
273
|
-
- [#9][] Ignore doesn't seem to work. (reported by [@markiz][], fixed by [@thibaudgg][])
|
274
|
-
|
275
|
-
## 0.3.0 - February 21, 2012
|
276
|
-
|
277
|
-
### New features
|
278
|
-
|
279
|
-
- Add automatic fallback to polling if system adapter doesn't work (like a DropBox folder). ([@thibaudgg][])
|
280
|
-
- Add latency and force_polling options. ([@Maher4Ever][])
|
281
|
-
|
282
|
-
## 0.2.0 - February 13, 2012
|
283
|
-
|
284
|
-
### New features
|
285
|
-
|
286
|
-
- Add checksum comparaison support for detecting consecutive file modifications made during the same second. ([@thibaudgg][])
|
287
|
-
- Add rb-fchange support. ([@thibaudgg][])
|
288
|
-
- Add rb-inotify support. ([@thibaudgg][] with [@Maher4Ever][] help)
|
289
|
-
- Add rb-fsevent support. ([@thibaudgg][])
|
290
|
-
- Add non-recursive diff with multiple directories support. ([@thibaudgg][])
|
291
|
-
- Ignore `.DS_Store` files by default. ([@thibaudgg][])
|
292
|
-
|
293
|
-
## 0.1.0 - January 28, 2012
|
294
|
-
|
295
|
-
- First version with only a polling adapter and basic features set (ignore & filter). ([@thibaudgg][])
|
296
|
-
|
297
|
-
<!--- The following link definition list is generated by PimpMyChangelog --->
|
298
|
-
[#9]: https://github.com/guard/listen/issues/9
|
299
|
-
[#17]: https://github.com/guard/listen/issues/17
|
300
|
-
[#18]: https://github.com/guard/listen/issues/18
|
301
|
-
[#21]: https://github.com/guard/listen/issues/21
|
302
|
-
[#24]: https://github.com/guard/listen/issues/24
|
303
|
-
[#27]: https://github.com/guard/listen/issues/27
|
304
|
-
[#28]: https://github.com/guard/listen/issues/28
|
305
|
-
[#32]: https://github.com/guard/listen/issues/32
|
306
|
-
[#39]: https://github.com/guard/listen/issues/39
|
307
|
-
[#41]: https://github.com/guard/listen/issues/41
|
308
|
-
[#61]: https://github.com/guard/listen/issues/61
|
309
|
-
[#62]: https://github.com/guard/listen/issues/62
|
310
|
-
[#64]: https://github.com/guard/listen/issues/64
|
311
|
-
[#65]: https://github.com/guard/listen/issues/65
|
312
|
-
[#68]: https://github.com/guard/listen/issues/68
|
313
|
-
[#72]: https://github.com/guard/listen/issues/72
|
314
|
-
[#73]: https://github.com/guard/listen/issues/73
|
315
|
-
[#75]: https://github.com/guard/listen/issues/75
|
316
|
-
[#76]: https://github.com/guard/listen/issues/76
|
317
|
-
[#78]: https://github.com/guard/listen/issues/78
|
318
|
-
[#85]: https://github.com/guard/listen/issues/85
|
319
|
-
[#88]: https://github.com/guard/listen/issues/88
|
320
|
-
[#93]: https://github.com/guard/listen/issues/93
|
321
|
-
[#95]: https://github.com/guard/listen/issues/95
|
322
|
-
[#96]: https://github.com/guard/listen/issues/96
|
323
|
-
[#98]: https://github.com/guard/listen/issues/98
|
324
|
-
[#103]: https://github.com/guard/listen/issues/103
|
325
|
-
[#104]: https://github.com/guard/listen/issues/104
|
326
|
-
[#110]: https://github.com/guard/listen/issues/110
|
327
|
-
[#112]: https://github.com/guard/listen/issues/112
|
328
|
-
[#113]: https://github.com/guard/listen/issues/113
|
329
|
-
[#115]: https://github.com/guard/listen/issues/115
|
330
|
-
[#117]: https://github.com/guard/listen/issues/117
|
331
|
-
[#118]: https://github.com/guard/listen/issues/118
|
332
|
-
[#120]: https://github.com/guard/listen/issues/120
|
333
|
-
[#122]: https://github.com/guard/listen/issues/122
|
334
|
-
[#124]: https://github.com/guard/listen/issues/124
|
335
|
-
[#131]: https://github.com/guard/listen/issues/131
|
336
|
-
[@21croissants]: https://github.com/21croissants
|
337
|
-
[@Maher4Ever]: https://github.com/Maher4Ever
|
338
|
-
[@ahoward]: https://github.com/ahoward
|
339
|
-
[@akerbos]: https://github.com/akerbos
|
340
|
-
[@antifuchs]: https://github.com/antifuchs
|
341
|
-
[@chriseppstein]: https://github.com/chriseppstein
|
342
|
-
[@cobychapple]: https://github.com/cobychapple
|
343
|
-
[@daemonza]: https://github.com/daemonza
|
344
|
-
[@dkubb]: https://github.com/dkubb
|
345
|
-
[@ebroder]: https://github.com/ebroder
|
346
|
-
[@fny]: https://github.com/fny
|
347
|
-
[@luikore]: https://github.com/luikore
|
348
|
-
[@markiz]: https://github.com/markiz
|
349
|
-
[@martikaljuve]: https://github.com/martikaljuve
|
350
|
-
[@mat813]: https://github.com/mat813
|
351
|
-
[@mbj]: https://github.com/mbj
|
352
|
-
[@mrbinky3000]: https://github.com/mrbinky3000
|
353
|
-
[@napcs]: https://github.com/napcs
|
354
|
-
[@netzpirat]: https://github.com/netzpirat
|
355
|
-
[@nex3]: https://github.com/nex3
|
356
|
-
[@nicobrevin]: https://github.com/nicobrevin
|
357
|
-
[@nilbus]: https://github.com/nilbus
|
358
|
-
[@nysalor]: https://github.com/nysalor
|
359
|
-
[@piotr-sokolowski]: https://github.com/piotr-sokolowski
|
360
|
-
[@rehevkor5]: https://github.com/rehevkor5
|
361
|
-
[@rymai]: https://github.com/rymai
|
362
|
-
[@scottdavis]: https://github.com/scottdavis
|
363
|
-
[@sunaku]: https://github.com/sunaku
|
364
|
-
[@tarsolya]: https://github.com/tarsolya
|
365
|
-
[@textgoeshere]: https://github.com/textgoeshere
|
366
|
-
[@thibaudgg]: https://github.com/thibaudgg
|
367
|
-
[@vongruenigen]: https://github.com/vongruenigen
|
368
|
-
[@zanker]: https://github.com/zanker
|
1
|
+
# Moved to [Github releases](https://github.com/guard/listen/releases) page.
|
@@ -87,12 +87,23 @@ describe Listen::Adapter do
|
|
87
87
|
end
|
88
88
|
|
89
89
|
describe '.load_dependend_adapter' do
|
90
|
+
after(:each) { described_class.instance_variable_set('@loaded', nil) }
|
91
|
+
|
90
92
|
it 'returns true (success) even if the adapter_gem has already been required' do
|
91
93
|
described_class.stub(:adapter_gem => 'already_loaded_gem')
|
92
94
|
described_class.stub(:require => false)
|
93
95
|
|
94
96
|
described_class.load_dependent_adapter.should be_true
|
95
97
|
end
|
98
|
+
|
99
|
+
it 'returns false (failure) if the adapter_gem cannot be required' do
|
100
|
+
described_class.stub(:adapter_gem => 'unloadable_gem')
|
101
|
+
described_class.stub(:require) do
|
102
|
+
raise LoadError.new('no such file to load -- unloadable_gem')
|
103
|
+
end
|
104
|
+
|
105
|
+
described_class.load_dependent_adapter.should be_false
|
106
|
+
end
|
96
107
|
end
|
97
108
|
|
98
109
|
Listen::Adapter::OPTIMIZED_ADAPTERS.each do |adapter|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Weizenbaum
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-04-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: yard
|