SassyJSON 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c767cc7d4815295989917dffc2c37a090b40726
4
- data.tar.gz: dd04982601e4a24085741e479024a7fe0afdff15
3
+ metadata.gz: 40c65bd954a8a3c975de6027f08c0fd1def237e6
4
+ data.tar.gz: 30d996746b7518f3e123d8d06c76285fa82cb93c
5
5
  SHA512:
6
- metadata.gz: 6e98df2f7645642b6d9a650e84bf54a7a8cb6881725e3ab6d46cb5ad88153c64e5eb2614834267609ced30a6d97be6f06173fefc80f1bb1b5d15d00a91e14318
7
- data.tar.gz: c5b1004ba0f86565ee51c367730d23a8cd7cff70188907de4234bbdb2ee4e1ad606d49195ec923902d5bdd22bb35fd43f51bee11678cd9264db0bba07e977744
6
+ metadata.gz: 4beb41af8340b62ad6b518d274d0314fde903086001d1dd2f8d43971a41956dbe59feedd529cc98338ff06f5a090728799728fadd9e53f08706ea9f420c4a200
7
+ data.tar.gz: b1a2c1c6461652e54e9dd1131a068ca6e1c4222378062c679b473a72771b3e05dcb98607ab06eacfcd8bfa8930beee87ba5d7b9bcfee0d7e15a4774111784f25
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Changelog
2
2
 
3
+ * `1.1.3`: fixed error in `_pow` introduced after updating to Sass 3.3.0.rc.3
4
+ * `1.1.2`: Made it possible to import JSON files via `@import 'relative/path/to/file.json?variable-name'`
3
5
  * `1.1.1`: fixing a minor issue with the gem
4
6
  * `1.1.0`: adding the ability to import a JSON file
5
7
  * `1.0.11`: fixing an issue with scientific number parsing
data/README.md CHANGED
@@ -76,7 +76,8 @@ $json-decode: json-decode('{"a": [1, 2, {"b": 1}], "b": ["#444444", false, {"a":
76
76
  To importe and decode an external `.json` file directly into a Sass variable:
77
77
 
78
78
  ``` scss
79
- @import 'relative/path/to/file.json?variable-name'
79
+ @import 'SassyJSON'; // Import SassyJSON first!
80
+ @import 'relative/path/to/file.json?variable-name';
80
81
  // Do something with $variable-name
81
82
  ```
82
83
 
data/lib/SassyJSON.rb CHANGED
@@ -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.2"
11
- DATE = "2014-01-29"
10
+ VERSION = "1.1.3"
11
+ DATE = "2014-02-12"
12
12
  end
@@ -6,8 +6,8 @@
6
6
  // @return [number] $x ^ $n
7
7
 
8
8
  @function _pow($x, $n) {
9
+ @if $n == 0 { @return 1; }
9
10
  $ret: 1;
10
-
11
11
  @if $n >= 0 {
12
12
  @for $i from 1 through $n {
13
13
  $ret: $ret * $x;
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.2
4
+ version: 1.1.3
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-01-29 00:00:00.000000000 Z
12
+ date: 2014-02-12 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Sass API for JSON
15
15
  email: