flint-gs 2.0.6 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -11
- data/lib/flint/version.rb +1 -1
- data/stylesheets/_flint.scss +3 -3
- data/stylesheets/flint/config/_config.scss +24 -24
- data/stylesheets/flint/functions/_functions.scss +9 -9
- data/stylesheets/flint/functions/helpers/_helpers.scss +138 -138
- data/stylesheets/flint/functions/lib/_calc-breakpoint.scss +13 -13
- data/stylesheets/flint/functions/lib/_calc-width.scss +17 -17
- data/stylesheets/flint/functions/lib/_exists.scss +12 -12
- data/stylesheets/flint/functions/lib/_fluid-width.scss +12 -12
- data/stylesheets/flint/functions/lib/_get-index.scss +11 -11
- data/stylesheets/flint/functions/lib/_get-instance-value.scss +12 -12
- data/stylesheets/flint/functions/lib/_get-value.scss +11 -11
- data/stylesheets/flint/functions/lib/_has-family-instance.scss +12 -12
- data/stylesheets/flint/functions/lib/_instance.scss +17 -17
- data/stylesheets/flint/functions/lib/_last.scss +11 -11
- data/stylesheets/flint/functions/lib/_list-to-string.scss +15 -15
- data/stylesheets/flint/functions/lib/_map-fetch.scss +12 -12
- data/stylesheets/flint/functions/lib/_next-index.scss +11 -11
- data/stylesheets/flint/functions/lib/_purge.scss +13 -13
- data/stylesheets/flint/functions/lib/_remove.scss +15 -15
- data/stylesheets/flint/functions/lib/_replace-substring.scss +13 -13
- data/stylesheets/flint/functions/lib/_replace.scss +15 -15
- data/stylesheets/flint/functions/lib/_steal-key.scss +11 -11
- data/stylesheets/flint/functions/lib/_steal-values.scss +12 -12
- data/stylesheets/flint/functions/lib/_string-to-list.scss +13 -13
- data/stylesheets/flint/functions/lib/_support-syntax-bem.scss +11 -11
- data/stylesheets/flint/functions/lib/_support-syntax.scss +12 -12
- data/stylesheets/flint/functions/lib/_types-in-list.scss +13 -13
- data/stylesheets/flint/functions/lib/_use-syntax.scss +11 -11
- data/stylesheets/flint/globals/_globals.scss +80 -80
- data/stylesheets/flint/mixins/_mixins.scss +3 -3
- data/stylesheets/flint/mixins/lib/_box-sizing.scss +11 -11
- data/stylesheets/flint/mixins/lib/_calculate.scss +45 -45
- data/stylesheets/flint/mixins/lib/_clearfix.scss +11 -11
- data/stylesheets/flint/mixins/lib/_container.scss +10 -10
- data/stylesheets/flint/mixins/lib/_main.scss +511 -511
- data/stylesheets/flint/mixins/lib/_new-instance.scss +15 -15
- data/stylesheets/flint/mixins/lib/_print-instance.scss +17 -17
- data/tests/bootcamp/_bootcamp.scss +0 -0
- data/tests/bootcamp/bootcamp.coffee +101 -0
- data/tests/bootcamp/core/functions/_actual.scss +0 -0
- data/tests/bootcamp/core/functions/_error.scss +0 -0
- data/tests/bootcamp/core/functions/_expect.scss +0 -0
- data/tests/bootcamp/core/functions/_not-to.scss +0 -0
- data/tests/bootcamp/core/functions/_should.scss +0 -0
- data/tests/bootcamp/core/functions/_to.scss +0 -0
- data/tests/bootcamp/core/mixins/_describe.scss +0 -0
- data/tests/bootcamp/core/mixins/_it.scss +0 -0
- data/tests/bootcamp/core/mixins/_runner.scss +0 -0
- data/tests/bootcamp/core/mixins/_should.scss +0 -0
- data/tests/bootcamp/core/mixins/_xdescribe.scss +0 -0
- data/tests/bootcamp/core/mixins/_xit.scss +0 -0
- data/tests/bootcamp/core/variables/_helpers.scss +0 -0
- data/tests/bootcamp/core/variables/_settings.scss +0 -0
- data/tests/bootcamp/core/variables/_should.scss +0 -0
- data/tests/bootcamp/core/variables/_trackers.scss +0 -0
- data/tests/bootcamp/lib/_sassyjson.scss +0 -0
- data/tests/bootcamp/matchers/_be.scss +0 -0
- data/tests/bootcamp/matchers/_equal.scss +0 -0
- data/tests/bootcamp/matchers/lists/_be-empty.scss +0 -0
- data/tests/bootcamp/matchers/lists/_be-longer-than.scss +0 -0
- data/tests/bootcamp/matchers/lists/_be-shorter-than.scss +0 -0
- data/tests/bootcamp/matchers/lists/_contain.scss +0 -0
- data/tests/bootcamp/matchers/lists/_deep-contain.scss +0 -0
- data/tests/bootcamp/matchers/lists/_deep-equal.scss +0 -0
- data/tests/bootcamp/matchers/lists/_have-length-of.scss +0 -0
- data/tests/bootcamp/matchers/numbers/_be-close-to.scss +0 -0
- data/tests/bootcamp/matchers/numbers/_be-greater-than.scss +0 -0
- data/tests/bootcamp/matchers/numbers/_be-less-than.scss +0 -0
- data/tests/bootcamp/matchers/types/_be-falsy.scss +0 -0
- data/tests/bootcamp/matchers/types/_be-null.scss +0 -0
- data/tests/bootcamp/matchers/types/_be-truthy.scss +0 -0
- data/tests/bootcamp/matchers/types/_have-type-of.scss +0 -0
- data/tests/bootcamp/utils/_contain.scss +0 -0
- data/tests/bootcamp/utils/_equal.scss +0 -0
- data/tests/bootcamp/utils/_list-join.scss +0 -0
- data/tests/bootcamp/utils/_power.scss +0 -0
- data/tests/input/functions/_functions.scss +9 -9
- data/tests/input/functions/helpers/_helpers.scss +45 -45
- data/tests/input/functions/lib/_calc-breakpoint.scss +3 -3
- data/tests/input/functions/lib/_calc-width.scss +3 -3
- data/tests/input/functions/lib/_exists.scss +3 -3
- data/tests/input/functions/lib/_fluid-width.scss +3 -3
- data/tests/input/functions/lib/_get-index.scss +3 -3
- data/tests/input/functions/lib/_get-instance-value.scss +3 -3
- data/tests/input/functions/lib/_get-value.scss +3 -3
- data/tests/input/functions/lib/_has-family-instance.scss +3 -3
- data/tests/input/functions/lib/_instance.scss +3 -3
- data/tests/input/functions/lib/_last.scss +3 -3
- data/tests/input/functions/lib/_list-to-string.scss +3 -3
- data/tests/input/functions/lib/_map-fetch.scss +3 -3
- data/tests/input/functions/lib/_next-index.scss +3 -3
- data/tests/input/functions/lib/_purge.scss +3 -3
- data/tests/input/functions/lib/_remove.scss +3 -3
- data/tests/input/functions/lib/_replace-substring.scss +3 -3
- data/tests/input/functions/lib/_replace.scss +3 -3
- data/tests/input/functions/lib/_steal-key.scss +3 -3
- data/tests/input/functions/lib/_steal-values.scss +3 -3
- data/tests/input/functions/lib/_string-to-list.scss +3 -3
- data/tests/input/functions/lib/_support-syntax-bem.scss +3 -3
- data/tests/input/functions/lib/_support-syntax.scss +3 -3
- data/tests/input/functions/lib/_types-in-list.scss +3 -3
- data/tests/input/functions/lib/_use-syntax.scss +3 -3
- data/tests/input/output.scss +22 -22
- metadata +4 -2
@@ -1,6 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//
|
2
|
+
// Checks if instance flint-exists in selector familiy tree, falls back from current selector
|
3
|
+
//
|
4
4
|
@include describe("[function] has-family-instance") {
|
5
5
|
|
6
6
|
@include it("should expect to return false unless inside of a parent instance") {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//
|
2
|
+
// Turns string into a flat list
|
3
|
+
//
|
4
4
|
@include describe("[function] string-to-list") {
|
5
5
|
|
6
6
|
$string: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.";
|
data/tests/input/output.scss
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
///
|
2
|
+
/// Configuration map
|
3
|
+
///
|
4
4
|
$flint: (
|
5
5
|
"breakpoints": (
|
6
6
|
"desktop": (
|
@@ -46,15 +46,15 @@ $flint__development-mode: true !global;
|
|
46
46
|
// Test speed improvements
|
47
47
|
// $flint__use-ruby-functions: false !global;
|
48
48
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
49
|
+
///
|
50
|
+
/// BEGIN TESTS
|
51
|
+
/// -----------
|
52
|
+
///
|
53
53
|
@include runner-start;
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
54
|
+
///
|
55
|
+
/// -----------
|
56
|
+
/// BEGIN TESTS
|
57
|
+
///
|
58
58
|
|
59
59
|
@include it("should expect foundation to not be set") {
|
60
60
|
@include should(expect($flint__foundation),
|
@@ -72,21 +72,21 @@ $flint__development-mode: true !global;
|
|
72
72
|
|
73
73
|
@import "functions/functions";
|
74
74
|
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
75
|
+
///
|
76
|
+
/// END TESTS
|
77
|
+
/// ---------
|
78
|
+
///
|
79
79
|
@include runner-end;
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
80
|
+
///
|
81
|
+
/// ---------
|
82
|
+
/// END TESTS
|
83
|
+
///
|
84
84
|
|
85
85
|
|
86
86
|
|
87
|
-
|
88
|
-
|
89
|
-
|
87
|
+
///
|
88
|
+
/// Visual HTML test
|
89
|
+
///
|
90
90
|
$color__blue: #2C3F52;
|
91
91
|
$color__blue--dark: #15202A;
|
92
92
|
$color__blue--darkest: #0E181E;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flint-gs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ezekiel Gabrielse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -117,6 +117,7 @@ files:
|
|
117
117
|
- LICENSE
|
118
118
|
- README.md
|
119
119
|
- tests/bootcamp/_bootcamp.scss
|
120
|
+
- tests/bootcamp/bootcamp.coffee
|
120
121
|
- tests/bootcamp/core/functions/_actual.scss
|
121
122
|
- tests/bootcamp/core/functions/_error.scss
|
122
123
|
- tests/bootcamp/core/functions/_expect.scss
|
@@ -210,6 +211,7 @@ specification_version: 4
|
|
210
211
|
summary: A highly advanced Sass grid framework designed for rapid responsive development.
|
211
212
|
test_files:
|
212
213
|
- tests/bootcamp/_bootcamp.scss
|
214
|
+
- tests/bootcamp/bootcamp.coffee
|
213
215
|
- tests/bootcamp/core/functions/_actual.scss
|
214
216
|
- tests/bootcamp/core/functions/_error.scss
|
215
217
|
- tests/bootcamp/core/functions/_expect.scss
|