sass 3.3.10 → 3.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +5 -5
- data/VERSION +1 -1
- data/VERSION_DATE +1 -1
- data/lib/sass/script/functions.rb +1 -0
- data/test/sass/functions_test.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a981178f0b9b79efb080912e5319f70ee922be4
|
4
|
+
data.tar.gz: 18a2bb68e6fcd0e65aa792bb80549e02cdad8c59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dc6a99885a42a5037403bfa6664fe0744853bbb7e94e5c864b252935613727010eaedf5d09a82b1bc72ca09f6e57e49a41d70f8304ea6a3c792084633a3ac5f
|
7
|
+
data.tar.gz: eed4ac9845225d4f829ff10381ac9ed312e5f43490728033df217c4abb466c85bd2b4867df65c7015d390e464ef6f6e253ce4a4094cddb72a8b6cd5f230c049e
|
data/MIT-LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c) 2006-2013 Hampton Catlin,
|
1
|
+
Copyright (c) 2006-2013 Hampton Catlin, Natalie Weizenbaum, and Chris Eppstein
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
data/README.md
CHANGED
@@ -199,11 +199,11 @@ and now occasionally consults on the language issues. Hampton lives in San
|
|
199
199
|
Francisco, California and works as VP of Technology
|
200
200
|
at [Moovweb](http://www.moovweb.com/).
|
201
201
|
|
202
|
-
[
|
203
|
-
Sass.
|
202
|
+
[Natalie Weizenbaum](http://nex-3.com) is the primary developer and architect of
|
203
|
+
Sass. Her hard work has kept the project alive by endlessly answering forum
|
204
204
|
posts, fixing bugs, refactoring, finding speed improvements, writing
|
205
205
|
documentation, implementing new features, and getting Hampton coffee (a fitting
|
206
|
-
task for a
|
206
|
+
task for a girl genius). Natalie lives in Seattle, Washington and works on
|
207
207
|
[Dart](http://dartlang.org) application libraries at Google.
|
208
208
|
|
209
209
|
[Chris Eppstein](http://acts-as-architect.blogspot.com) is a core contributor to
|
@@ -214,8 +214,8 @@ his wife and daughter. He is an Engineer for
|
|
214
214
|
[LinkedIn.com](http://linkedin.com), where one of his responsibilities is to
|
215
215
|
maintain Sass & Compass.
|
216
216
|
|
217
|
-
If you use this software, you must pay Hampton a compliment. And
|
218
|
-
|
217
|
+
If you use this software, you must pay Hampton a compliment. And buy Natalie
|
218
|
+
some candy. Maybe pet a kitten. Yeah. Pet that kitty.
|
219
219
|
|
220
220
|
Beyond that, the implementation is licensed under the MIT License.
|
221
221
|
Okay, fine, I guess that means compliments aren't __required__.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.11
|
data/VERSION_DATE
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
26 July 2014 00:39:12 UTC
|
@@ -1465,6 +1465,7 @@ module Sass::Script
|
|
1465
1465
|
end_at = number(-1) if end_at.nil?
|
1466
1466
|
assert_unit end_at, nil, "end-at"
|
1467
1467
|
|
1468
|
+
return Sass::Script::Value::String.new("", string.type) if end_at.value == 0
|
1468
1469
|
s = start_at.value > 0 ? start_at.value - 1 : start_at.value
|
1469
1470
|
e = end_at.value > 0 ? end_at.value - 1 : end_at.value
|
1470
1471
|
s = string.value.length + s if s < 0
|
data/test/sass/functions_test.rb
CHANGED
@@ -995,6 +995,7 @@ WARNING
|
|
995
995
|
assert_equal('ab', evaluate('str-slice(abcd,1,2)')) # for completeness
|
996
996
|
assert_equal('abcd', evaluate('str-slice(abcd,1,4)')) # at the end points
|
997
997
|
assert_equal('abcd', evaluate('str-slice(abcd,0,4)')) # when start is before the start of the string
|
998
|
+
assert_equal('', evaluate('str-slice(abcd,1,0)')) # when end is before the start of the string
|
998
999
|
assert_equal('abcd', evaluate('str-slice(abcd,1,100)')) # when end is past the end of the string
|
999
1000
|
assert_equal('', evaluate('str-slice(abcd,2,1)')) # when end is before start
|
1000
1001
|
assert_equal('"bc"', evaluate('str-slice("abcd",2,3)')) # when used with a quoted string
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
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.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Natalie Weizenbaum
|
8
8
|
- Chris Eppstein
|
9
9
|
- Hampton Catlin
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-07-
|
13
|
+
date: 2014-07-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: yard
|