SassyStrings 1.1.2 → 1.1.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 +1 -0
- data/README.md +4 -4
- data/lib/SassyStrings.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd30de9907af13c3f83748a43a2b53b54999344d
|
4
|
+
data.tar.gz: 2f4b55aaa86d6823b6789857368b587844440444
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ef4015d8dbe20a3c626c7d3488a3be1de33336bbf2fa9270be380c0989bb2191e9c5983d8f7785ab3c6e4d762a27db85bb8a12ec87833ad6e3a3451f04d5126
|
7
|
+
data.tar.gz: 4b606931ecbdc74aba490d4a13c649db68befc8cedb8f9137c29af105a3af6688c21d666634d4d059941129c958b28ac10069186b2a9c3931e49a2eb3e9c8a3a
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
Here is a [Compass Extension](http://compass-style.org/) providing you all functions you need to manipulate your [Sass](http://sass-lang.com/) strings.
|
4
4
|
|
5
|
-
## What's in there?
|
5
|
+
## What's in there?
|
6
6
|
|
7
7
|
* `char-at($string, $index)`: returns the character from `$string` at index `$index`
|
8
8
|
* `levenshtein($a, $b)`: returns the Levenshtein distance betwee `$a` and `$b`
|
9
9
|
* `str-count($string, $needle)`: counts number of occurrences of `$needle` in `$string`
|
10
10
|
* `str-ends-with($string, $needle)`: returns wether `$string` ends with `$needle`
|
11
|
-
* `str-explode($string, $separator)`: explodes `$string` on `$separator` occurrences
|
11
|
+
* `str-explode($string, $separator)`: explodes `$string` on `$separator` occurrences
|
12
12
|
* `str-implode($list)`: implodes `$list` into a string
|
13
13
|
* `str-last-index($string, $needle)`: returns last index of `$needle` in `$string`
|
14
14
|
* `str-lcfirst($string)`: turns first letter of `$string` into lower case
|
@@ -22,7 +22,7 @@ Here is a [Compass Extension](http://compass-style.org/) providing you all funct
|
|
22
22
|
* `str-split($string)`: splits `$string` into a list of characters
|
23
23
|
* `str-starts-width($string, $needle)`: returns wether `$string` starts with `$needle`
|
24
24
|
* `str-trim($string)`: removes white spaces before and after `$string`
|
25
|
-
* `str-ucfirst($string)`: turns first letter of `$string` into upper case
|
25
|
+
* `str-ucfirst($string)`: turns first letter of `$string` into upper case
|
26
26
|
* `str-word-count($string)`: counts number of words in `$string`
|
27
27
|
* `stringify($literal)`: casts to stringify
|
28
28
|
|
@@ -39,7 +39,7 @@ If you feel like an explorer, you can have a look at the code [here](https://git
|
|
39
39
|
|
40
40
|
## Requirements
|
41
41
|
|
42
|
-
* Sass ~> 3.
|
42
|
+
* Sass ~> 3.4.0
|
43
43
|
* Compass ~> 1.0
|
44
44
|
|
45
45
|
Some functions depend on other functions. If you include functions individually, make sure to check for these dependencies in their respective docs.
|
data/lib/SassyStrings.rb
CHANGED
@@ -4,8 +4,8 @@ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
|
|
4
4
|
Compass::Frameworks.register("SassyStrings", :path => "#{File.dirname(__FILE__)}/..")
|
5
5
|
|
6
6
|
module SassyStrings
|
7
|
-
VERSION = "1.1.
|
8
|
-
DATE = "2014-
|
7
|
+
VERSION = "1.1.3"
|
8
|
+
DATE = "2014-11-27"
|
9
9
|
end
|
10
10
|
|
11
11
|
# Sassy String Functions
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: SassyStrings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hugo Giraudel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.4'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '3.
|
26
|
+
version: '3.4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: compass
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|