flint-gs 1.3.3 → 1.3.4

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: 047363843a9efea116706e8f9c192313afdb3531
4
- data.tar.gz: c3266f12f4a015a2b0dffc6247e903e47f12b319
3
+ metadata.gz: e7477d159a0eb1dd7630cae0e8e482d430b9f3e1
4
+ data.tar.gz: d4fad9cf670670049e472814c89134314f6ef5a0
5
5
  SHA512:
6
- metadata.gz: c5d1a0ee8ebca1da1ab46f69a46f68e897acefb9f4657bb9775b97380670d9fb2084960a2bb99d1726c371ecfa10538dda7241f8c65c741927beed6d9df2850e
7
- data.tar.gz: cd0275f482409c3cea15a6f99bd136c952fb4d94628c8259acc471b6e001fb8669ac0bc9a9065b07255b2e979c05d349b4a65118068b734e18fbd992f67f23f4
6
+ metadata.gz: ec96a252bf04fadfe9f5daadc281d22e9f17c1eaf24dd54da1a91d9d764576e5ff5d40812e177a4cd8b2d93f71150eea853f3a4ae3fc9ac2e7cf71ddfb2ed1da
7
+ data.tar.gz: 5897b787476e46dda94601c8392bd2b2d15d3d3fc7b82ab9561596cb7972b2aa66ca5fefc005f747ab825118b70442b5663083ef90f113ba242ec7e284e60670
data/lib/flint.rb CHANGED
@@ -5,7 +5,7 @@ Compass::Frameworks.register('flint', :path => extension_path)
5
5
  # Version is a number. If a version contains alphas, it will be created as a prerelease version
6
6
  # Date is in the form of YYYY-MM-DD
7
7
  module Flint
8
- VERSION = "1.3.3"
8
+ VERSION = "1.3.4"
9
9
  DATE = "2014-05-20"
10
10
  end
11
11
 
@@ -736,22 +736,22 @@
736
736
  @for $i from 1 through length($key) {
737
737
  @if exists($flint, nth($key, $i)) {
738
738
  @if get-value(settings, grid) == "fluid" {
739
- @if is-highest-breakpoint($calcKey) {
740
- @media only screen and ( min-width: (calc-breakpoint(next, $calcKey, $i) + 1) ) {
739
+ @if is-highest-breakpoint(nth($key, $i)) {
740
+ @media only screen and ( min-width: (calc-breakpoint(next, nth($key, $i), $i) + 1) ) {
741
741
  @content;
742
742
  }
743
743
  } @else {
744
- @media only screen and ( min-width: (calc-breakpoint(next, $calcKey, $i) + if(is-lowest-breakpoint($calcKey), 0, 1)) ) and ( max-width: calc-breakpoint(alias, $calcKey, $i) ) {
744
+ @media only screen and ( min-width: (calc-breakpoint(next, nth($key, $i), $i) + if(is-lowest-breakpoint(nth($key, $i)), 0, 1)) ) and ( max-width: calc-breakpoint(alias, nth($key, $i), $i) ) {
745
745
  @content;
746
746
  }
747
747
  }
748
748
  } @else if get-value(settings, grid) == "fixed" {
749
- @if is-highest-breakpoint($calcKey) {
750
- @media only screen and ( min-width: calc-breakpoint(alias, $calcKey, $i) ) {
749
+ @if is-highest-breakpoint(nth($key, $i)) {
750
+ @media only screen and ( min-width: calc-breakpoint(alias, nth($key, $i), $i) ) {
751
751
  @content;
752
752
  }
753
753
  } @else {
754
- @media only screen and ( min-width: calc-breakpoint(alias, $calcKey, $i) ) and ( max-width: (calc-breakpoint(prev, $calcKey, $i) - 1) ) {
754
+ @media only screen and ( min-width: calc-breakpoint(alias, nth($key, $i), $i) ) and ( max-width: (calc-breakpoint(prev, nth($key, $i), $i) - 1) ) {
755
755
  @content;
756
756
  }
757
757
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flint-gs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezekiel Gabrielse