SassyJSON 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdbf1249ba45810c63b51f8b6fd740f0fcd4bc66
4
- data.tar.gz: 991a05fc6d5ed57809347bdb1e553c6a791ceb65
3
+ metadata.gz: 23907d2ce1116b8c7b413f4a6cafa790bdadff72
4
+ data.tar.gz: 0b89f6f3a0bc1bf48f555741af8ed354402a3f15
5
5
  SHA512:
6
- metadata.gz: 1e2bfacf5774a32283b7936fb234c2748b61d5da07e05855e50b2d6f6b7554417517069aa484141da00d91a31c7311ca3e44505ba90e3e5206be919bc92ae5c9
7
- data.tar.gz: 204fb617d61b5ee9c0a1ec73750b08c81c86e2153bbaa6b1e9153c3b2edec51ee9992e17ef85a6bebe6ac4128a2f27bf936316888e51a66e3522ee5822576958
6
+ metadata.gz: b0f4973b82ff5423991a1e932983cf99306b33cf339422f9601556b9137bbd764cc5f54b9cae0dc5474d01924d9697b1fd4e9bba59903c45119f44fa44dee3d8
7
+ data.tar.gz: f74d427c1f7f6513299406fe515b8ebb26af5b8d457f7191d6d00283ac38bbaf699d027abdedab9072d92bb216377ade31ab8a5b66a37d1fec825ef1ff0e96bf
@@ -1,5 +1,6 @@
1
1
  # Changelog
2
- * `1.1.7`: Include cosmetic changes made after linting with [scss-lint](https://github.com/causes/scss-lint)
2
+ * `1.1.8`: Solved an issue with tabs
3
+ * `1.1.7`: Included cosmetic changes made after linting with [scss-lint](https://github.com/causes/scss-lint)
3
4
  * `1.1.6`: JSON files that are loaded via `@import "data.json?varname` can be pretty printed now.
4
5
  * `1.1.5`: Fixed `json-encode` mixin to keep `body::before` in the render tree. Making it possible to access via `getComputedStyle(document.body, ':before')`
5
6
  * `1.1.4`: Small fix for the `npm` release
@@ -7,6 +7,6 @@ Compass::Frameworks.register('SassyJSON', :path => extension_path)
7
7
  # Version is a number. If a version contains alphas, it will be created as a prerelease version
8
8
  # Date is in the form of YYYY-MM-DD
9
9
  module SassyJSON
10
- VERSION = "1.1.7"
11
- DATE = "2014-04-08"
10
+ VERSION = "1.1.8"
11
+ DATE = "2014-06-01"
12
12
  end
@@ -37,7 +37,7 @@
37
37
  @else if index('1' '2' '3' '4' '5' '6' '7' '8' '9' '0' '-' '.', $token) {
38
38
  @return _json-decode--number($source, $pointer);
39
39
  }
40
- @else if $token == ' ' {
40
+ @else if $token == ' ' or $token == " " {
41
41
  // @continue;
42
42
  }
43
43
  @else {
@@ -13,7 +13,7 @@
13
13
 
14
14
  @for $i from $start through $length {
15
15
  $token: str-slice($string-lower, $i, $i);
16
- @if $token == ' ' {
16
+ @if $token == ' ' or $token == " " {
17
17
  // @continue;
18
18
  }
19
19
  @else if $token == '(' or $token == ',' {
@@ -13,7 +13,7 @@
13
13
 
14
14
  @for $i from $start through $length {
15
15
  $token: str-slice($string-lower, $i, $i);
16
- @if $token == ' ' {
16
+ @if $token == ' ' or $token == " " {
17
17
  // @continue;
18
18
  }
19
19
  @else if $token == '(' or $token == ',' {
@@ -20,7 +20,7 @@
20
20
  @return $pointer;
21
21
  }
22
22
 
23
- @else if $char == " " {
23
+ @else if $char == " " or $char == " " {
24
24
  // @continue;
25
25
  }
26
26
 
@@ -16,7 +16,7 @@
16
16
 
17
17
  @for $i from 1 through str-length($string) {
18
18
  $c: str-slice($string, $i, $i);
19
- @if $c == ' ' {
19
+ @if $c == ' ' or $c == " " {
20
20
  @if $number != "" {
21
21
  @return $string;
22
22
  }
@@ -29,7 +29,7 @@
29
29
  // Do it the Sass way and destruct a single item array to an element.
30
30
  @return ($pointer + 1, if(length($list) == 1, nth($list, 1), $list));
31
31
  }
32
- @else if $token == " " {
32
+ @else if $token == " " or $token == " " {
33
33
  $pointer: $pointer + 1;
34
34
  }
35
35
  @else if $token == "," {
@@ -32,7 +32,7 @@
32
32
  @return ($pointer, $map);
33
33
  }
34
34
 
35
- @else if $token == " " {
35
+ @else if $token == " " or $token == " " {
36
36
  // @continue;
37
37
  }
38
38
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: SassyJSON
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hugo Giraudel
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-08 00:00:00.000000000 Z
12
+ date: 2014-06-01 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Sass API for JSON
15
15
  email: