flint-gs 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -24
  3. data/lib/flint.rb +4 -72
  4. data/lib/flint/functions.rb +97 -0
  5. data/lib/flint/version.rb +4 -0
  6. data/stylesheets/flint/functions/lib/_list-to-string.scss +16 -10
  7. data/stylesheets/flint/functions/lib/_string-to-list.scss +2 -2
  8. data/stylesheets/flint/functions/lib/_support-syntax-bem.scss +4 -4
  9. data/stylesheets/flint/mixins/lib/_main.scss +0 -2
  10. data/tests/bootcamp/_bootcamp.scss +46 -0
  11. data/tests/bootcamp/core/functions/_actual.scss +3 -0
  12. data/tests/bootcamp/core/functions/_error.scss +29 -0
  13. data/tests/bootcamp/core/functions/_expect.scss +6 -0
  14. data/tests/bootcamp/core/functions/_not-to.scss +5 -0
  15. data/tests/bootcamp/core/functions/_should.scss +6 -0
  16. data/tests/bootcamp/core/functions/_to.scss +5 -0
  17. data/tests/bootcamp/core/mixins/_describe.scss +31 -0
  18. data/tests/bootcamp/core/mixins/_it.scss +31 -0
  19. data/tests/bootcamp/core/mixins/_runner.scss +28 -0
  20. data/tests/bootcamp/core/mixins/_should.scss +46 -0
  21. data/tests/bootcamp/core/mixins/_xdescribe.scss +9 -0
  22. data/tests/bootcamp/core/mixins/_xit.scss +9 -0
  23. data/tests/bootcamp/core/variables/_helpers.scss +5 -0
  24. data/tests/bootcamp/core/variables/_settings.scss +2 -0
  25. data/tests/bootcamp/core/variables/_should.scss +6 -0
  26. data/tests/bootcamp/core/variables/_trackers.scss +6 -0
  27. data/tests/bootcamp/lib/_sassyjson.scss +1075 -0
  28. data/tests/bootcamp/matchers/_be.scss +3 -0
  29. data/tests/bootcamp/matchers/_equal.scss +3 -0
  30. data/tests/bootcamp/matchers/lists/_be-empty.scss +3 -0
  31. data/tests/bootcamp/matchers/lists/_be-longer-than.scss +3 -0
  32. data/tests/bootcamp/matchers/lists/_be-shorter-than.scss +3 -0
  33. data/tests/bootcamp/matchers/lists/_contain.scss +3 -0
  34. data/tests/bootcamp/matchers/lists/_deep-contain.scss +3 -0
  35. data/tests/bootcamp/matchers/lists/_deep-equal.scss +47 -0
  36. data/tests/bootcamp/matchers/lists/_have-length-of.scss +3 -0
  37. data/tests/bootcamp/matchers/numbers/_be-close-to.scss +12 -0
  38. data/tests/bootcamp/matchers/numbers/_be-greater-than.scss +12 -0
  39. data/tests/bootcamp/matchers/numbers/_be-less-than.scss +12 -0
  40. data/tests/bootcamp/matchers/types/_be-falsy.scss +3 -0
  41. data/tests/bootcamp/matchers/types/_be-null.scss +3 -0
  42. data/tests/bootcamp/matchers/types/_be-truthy.scss +3 -0
  43. data/tests/bootcamp/matchers/types/_have-type-of.scss +3 -0
  44. data/tests/bootcamp/utils/_contain.scss +15 -0
  45. data/tests/bootcamp/utils/_equal.scss +23 -0
  46. data/tests/bootcamp/utils/_list-join.scss +35 -0
  47. data/tests/bootcamp/utils/_power.scss +15 -0
  48. data/tests/config.rb +52 -0
  49. data/tests/input/functions/_functions.scss +48 -0
  50. data/tests/input/functions/helpers/_helpers.scss +416 -0
  51. data/tests/input/functions/lib/_calc-breakpoint.scss +62 -0
  52. data/tests/input/functions/lib/_calc-width.scss +195 -0
  53. data/tests/input/functions/lib/_exists.scss +30 -0
  54. data/tests/input/functions/lib/_fluid-width.scss +32 -0
  55. data/tests/input/functions/lib/_get-index.scss +31 -0
  56. data/tests/input/functions/lib/_get-instance-value.scss +72 -0
  57. data/tests/input/functions/lib/_get-value.scss +28 -0
  58. data/tests/input/functions/lib/_has-family-instance.scss +35 -0
  59. data/tests/input/functions/lib/_instance.scss +187 -0
  60. data/tests/input/functions/lib/_last.scss +18 -0
  61. data/tests/input/functions/lib/_list-to-string.scss +28 -0
  62. data/tests/input/functions/lib/_map-fetch.scss +34 -0
  63. data/tests/input/functions/lib/_next-index.scss +24 -0
  64. data/tests/input/functions/lib/_purge.scss +14 -0
  65. data/tests/input/functions/lib/_remove.scss +14 -0
  66. data/tests/input/functions/lib/_replace-substring.scss +14 -0
  67. data/tests/input/functions/lib/_replace.scss +14 -0
  68. data/tests/input/functions/lib/_steal-key.scss +19 -0
  69. data/tests/input/functions/lib/_steal-values.scss +16 -0
  70. data/tests/input/functions/lib/_string-to-list.scss +28 -0
  71. data/tests/input/functions/lib/_support-syntax-bem.scss +14 -0
  72. data/tests/input/functions/lib/_support-syntax.scss +21 -0
  73. data/tests/input/functions/lib/_types-in-list.scss +50 -0
  74. data/tests/input/functions/lib/_use-syntax.scss +14 -0
  75. data/tests/input/output.scss +243 -0
  76. data/tests/output/output.css +1900 -0
  77. data/tests/tests.html +110 -0
  78. metadata +170 -4
@@ -0,0 +1,110 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta content="IE=edge,chrome=1" />
6
+ <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0" name="viewport" />
7
+ <link href="output/output.css" rel="stylesheet" type="text/css" />
8
+ </head>
9
+ <body>
10
+ <section>
11
+ <article class="container">
12
+ <div class="col-16">
13
+ <div class="col-16-child">
14
+ <div class="col-16-grandchild"></div>
15
+ <div class="col-16-grandchild"></div>
16
+ </div>
17
+ </div>
18
+ <div class="col-15">
19
+ <div class="col-15-child"></div>
20
+ </div>
21
+ <div class="col-14">
22
+ <div class="col-14-child"></div>
23
+ </div>
24
+ <div class="col-13">
25
+ <div class="col-13-child"></div>
26
+ </div>
27
+ <div class="col-12">
28
+ <div class="col-12-child"></div>
29
+ </div>
30
+ <div class="col-11">
31
+ <div class="col-11-child"></div>
32
+ </div>
33
+ <div class="col-10">
34
+ <div class="col-10-child"></div>
35
+ </div>
36
+ <div class="col-9">
37
+ <div class="col-9-child"></div>
38
+ </div>
39
+ <div class="col-8">
40
+ <div class="col-8-child"></div>
41
+ </div>
42
+ <div class="col-7">
43
+ <div class="col-7-child"></div>
44
+ </div>
45
+ <div class="col-6">
46
+ <div class="col-6-child"></div>
47
+ </div>
48
+ <div class="col-5">
49
+ <div class="col-5-child"></div>
50
+ </div>
51
+ <div class="col-4">
52
+ <div class="col-4-child"></div>
53
+ </div>
54
+ <div class="col-3">
55
+ <div class="col-3-child"></div>
56
+ </div>
57
+ <div class="col-2">
58
+ <div class="col-2-child"></div>
59
+ </div>
60
+ <div class="col-1">
61
+ <div class="col-1-child"></div>
62
+ </div>
63
+ </article>
64
+ </section>
65
+ <section>
66
+ <article class="container">
67
+ <div class="col-third"></div>
68
+ <div class="col-third"></div>
69
+ <div class="col-third"></div>
70
+ </article>
71
+ </section>
72
+ <section>
73
+ <article class="container">
74
+ <div class="col-fourth"></div>
75
+ <div class="col-fourth"></div>
76
+ <div class="col-fourth"></div>
77
+ <div class="col-fourth"></div>
78
+ </article>
79
+ </section>
80
+ <section>
81
+ <article class="container">
82
+ <div class="col-fifth">
83
+ <div class="col-fifth-child"></div>
84
+ <div class="col-fifth-child"></div>
85
+ <div class="col-fifth-child"></div>
86
+ </div>
87
+ <div class="col-fifth">
88
+ <div class="col-fifth-child"></div>
89
+ <div class="col-fifth-child"></div>
90
+ <div class="col-fifth-child"></div>
91
+ </div>
92
+ <div class="col-fifth">
93
+ <div class="col-fifth-child"></div>
94
+ <div class="col-fifth-child"></div>
95
+ <div class="col-fifth-child"></div>
96
+ </div>
97
+ <div class="col-fifth">
98
+ <div class="col-fifth-child"></div>
99
+ <div class="col-fifth-child"></div>
100
+ <div class="col-fifth-child"></div>
101
+ </div>
102
+ <div class="col-fifth">
103
+ <div class="col-fifth-child"></div>
104
+ <div class="col-fifth-child"></div>
105
+ <div class="col-fifth-child"></div>
106
+ </div>
107
+ </article>
108
+ </section>
109
+ </body>
110
+ </html>
metadata CHANGED
@@ -1,15 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flint-gs
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
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-02 00:00:00.000000000 Z
11
+ date: 2014-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: sass
15
43
  requirement: !ruby/object:Gem::Requirement
@@ -32,6 +60,8 @@ executables: []
32
60
  extensions: []
33
61
  extra_rdoc_files: []
34
62
  files:
63
+ - lib/flint/functions.rb
64
+ - lib/flint/version.rb
35
65
  - lib/flint.rb
36
66
  - stylesheets/_flint.scss
37
67
  - stylesheets/flint/config/_config.scss
@@ -72,6 +102,74 @@ files:
72
102
  - stylesheets/flint/mixins/lib/_print-instance.scss
73
103
  - LICENSE
74
104
  - README.md
105
+ - tests/bootcamp/_bootcamp.scss
106
+ - tests/bootcamp/core/functions/_actual.scss
107
+ - tests/bootcamp/core/functions/_error.scss
108
+ - tests/bootcamp/core/functions/_expect.scss
109
+ - tests/bootcamp/core/functions/_not-to.scss
110
+ - tests/bootcamp/core/functions/_should.scss
111
+ - tests/bootcamp/core/functions/_to.scss
112
+ - tests/bootcamp/core/mixins/_describe.scss
113
+ - tests/bootcamp/core/mixins/_it.scss
114
+ - tests/bootcamp/core/mixins/_runner.scss
115
+ - tests/bootcamp/core/mixins/_should.scss
116
+ - tests/bootcamp/core/mixins/_xdescribe.scss
117
+ - tests/bootcamp/core/mixins/_xit.scss
118
+ - tests/bootcamp/core/variables/_helpers.scss
119
+ - tests/bootcamp/core/variables/_settings.scss
120
+ - tests/bootcamp/core/variables/_should.scss
121
+ - tests/bootcamp/core/variables/_trackers.scss
122
+ - tests/bootcamp/lib/_sassyjson.scss
123
+ - tests/bootcamp/matchers/_be.scss
124
+ - tests/bootcamp/matchers/_equal.scss
125
+ - tests/bootcamp/matchers/lists/_be-empty.scss
126
+ - tests/bootcamp/matchers/lists/_be-longer-than.scss
127
+ - tests/bootcamp/matchers/lists/_be-shorter-than.scss
128
+ - tests/bootcamp/matchers/lists/_contain.scss
129
+ - tests/bootcamp/matchers/lists/_deep-contain.scss
130
+ - tests/bootcamp/matchers/lists/_deep-equal.scss
131
+ - tests/bootcamp/matchers/lists/_have-length-of.scss
132
+ - tests/bootcamp/matchers/numbers/_be-close-to.scss
133
+ - tests/bootcamp/matchers/numbers/_be-greater-than.scss
134
+ - tests/bootcamp/matchers/numbers/_be-less-than.scss
135
+ - tests/bootcamp/matchers/types/_be-falsy.scss
136
+ - tests/bootcamp/matchers/types/_be-null.scss
137
+ - tests/bootcamp/matchers/types/_be-truthy.scss
138
+ - tests/bootcamp/matchers/types/_have-type-of.scss
139
+ - tests/bootcamp/utils/_contain.scss
140
+ - tests/bootcamp/utils/_equal.scss
141
+ - tests/bootcamp/utils/_list-join.scss
142
+ - tests/bootcamp/utils/_power.scss
143
+ - tests/config.rb
144
+ - tests/input/functions/_functions.scss
145
+ - tests/input/functions/helpers/_helpers.scss
146
+ - tests/input/functions/lib/_calc-breakpoint.scss
147
+ - tests/input/functions/lib/_calc-width.scss
148
+ - tests/input/functions/lib/_exists.scss
149
+ - tests/input/functions/lib/_fluid-width.scss
150
+ - tests/input/functions/lib/_get-index.scss
151
+ - tests/input/functions/lib/_get-instance-value.scss
152
+ - tests/input/functions/lib/_get-value.scss
153
+ - tests/input/functions/lib/_has-family-instance.scss
154
+ - tests/input/functions/lib/_instance.scss
155
+ - tests/input/functions/lib/_last.scss
156
+ - tests/input/functions/lib/_list-to-string.scss
157
+ - tests/input/functions/lib/_map-fetch.scss
158
+ - tests/input/functions/lib/_next-index.scss
159
+ - tests/input/functions/lib/_purge.scss
160
+ - tests/input/functions/lib/_remove.scss
161
+ - tests/input/functions/lib/_replace-substring.scss
162
+ - tests/input/functions/lib/_replace.scss
163
+ - tests/input/functions/lib/_steal-key.scss
164
+ - tests/input/functions/lib/_steal-values.scss
165
+ - tests/input/functions/lib/_string-to-list.scss
166
+ - tests/input/functions/lib/_support-syntax-bem.scss
167
+ - tests/input/functions/lib/_support-syntax.scss
168
+ - tests/input/functions/lib/_types-in-list.scss
169
+ - tests/input/functions/lib/_use-syntax.scss
170
+ - tests/input/output.scss
171
+ - tests/output/output.css
172
+ - tests/tests.html
75
173
  homepage: http://flint.gs
76
174
  licenses:
77
175
  - MIT
@@ -89,11 +187,79 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
187
  requirements:
90
188
  - - '>='
91
189
  - !ruby/object:Gem::Version
92
- version: 1.3.6
190
+ version: '0'
93
191
  requirements: []
94
192
  rubyforge_project: flint
95
193
  rubygems_version: 2.0.14
96
194
  signing_key:
97
195
  specification_version: 4
98
196
  summary: A highly advanced Sass grid framework designed for rapid responsive development.
99
- test_files: []
197
+ test_files:
198
+ - tests/bootcamp/_bootcamp.scss
199
+ - tests/bootcamp/core/functions/_actual.scss
200
+ - tests/bootcamp/core/functions/_error.scss
201
+ - tests/bootcamp/core/functions/_expect.scss
202
+ - tests/bootcamp/core/functions/_not-to.scss
203
+ - tests/bootcamp/core/functions/_should.scss
204
+ - tests/bootcamp/core/functions/_to.scss
205
+ - tests/bootcamp/core/mixins/_describe.scss
206
+ - tests/bootcamp/core/mixins/_it.scss
207
+ - tests/bootcamp/core/mixins/_runner.scss
208
+ - tests/bootcamp/core/mixins/_should.scss
209
+ - tests/bootcamp/core/mixins/_xdescribe.scss
210
+ - tests/bootcamp/core/mixins/_xit.scss
211
+ - tests/bootcamp/core/variables/_helpers.scss
212
+ - tests/bootcamp/core/variables/_settings.scss
213
+ - tests/bootcamp/core/variables/_should.scss
214
+ - tests/bootcamp/core/variables/_trackers.scss
215
+ - tests/bootcamp/lib/_sassyjson.scss
216
+ - tests/bootcamp/matchers/_be.scss
217
+ - tests/bootcamp/matchers/_equal.scss
218
+ - tests/bootcamp/matchers/lists/_be-empty.scss
219
+ - tests/bootcamp/matchers/lists/_be-longer-than.scss
220
+ - tests/bootcamp/matchers/lists/_be-shorter-than.scss
221
+ - tests/bootcamp/matchers/lists/_contain.scss
222
+ - tests/bootcamp/matchers/lists/_deep-contain.scss
223
+ - tests/bootcamp/matchers/lists/_deep-equal.scss
224
+ - tests/bootcamp/matchers/lists/_have-length-of.scss
225
+ - tests/bootcamp/matchers/numbers/_be-close-to.scss
226
+ - tests/bootcamp/matchers/numbers/_be-greater-than.scss
227
+ - tests/bootcamp/matchers/numbers/_be-less-than.scss
228
+ - tests/bootcamp/matchers/types/_be-falsy.scss
229
+ - tests/bootcamp/matchers/types/_be-null.scss
230
+ - tests/bootcamp/matchers/types/_be-truthy.scss
231
+ - tests/bootcamp/matchers/types/_have-type-of.scss
232
+ - tests/bootcamp/utils/_contain.scss
233
+ - tests/bootcamp/utils/_equal.scss
234
+ - tests/bootcamp/utils/_list-join.scss
235
+ - tests/bootcamp/utils/_power.scss
236
+ - tests/config.rb
237
+ - tests/input/functions/_functions.scss
238
+ - tests/input/functions/helpers/_helpers.scss
239
+ - tests/input/functions/lib/_calc-breakpoint.scss
240
+ - tests/input/functions/lib/_calc-width.scss
241
+ - tests/input/functions/lib/_exists.scss
242
+ - tests/input/functions/lib/_fluid-width.scss
243
+ - tests/input/functions/lib/_get-index.scss
244
+ - tests/input/functions/lib/_get-instance-value.scss
245
+ - tests/input/functions/lib/_get-value.scss
246
+ - tests/input/functions/lib/_has-family-instance.scss
247
+ - tests/input/functions/lib/_instance.scss
248
+ - tests/input/functions/lib/_last.scss
249
+ - tests/input/functions/lib/_list-to-string.scss
250
+ - tests/input/functions/lib/_map-fetch.scss
251
+ - tests/input/functions/lib/_next-index.scss
252
+ - tests/input/functions/lib/_purge.scss
253
+ - tests/input/functions/lib/_remove.scss
254
+ - tests/input/functions/lib/_replace-substring.scss
255
+ - tests/input/functions/lib/_replace.scss
256
+ - tests/input/functions/lib/_steal-key.scss
257
+ - tests/input/functions/lib/_steal-values.scss
258
+ - tests/input/functions/lib/_string-to-list.scss
259
+ - tests/input/functions/lib/_support-syntax-bem.scss
260
+ - tests/input/functions/lib/_support-syntax.scss
261
+ - tests/input/functions/lib/_types-in-list.scss
262
+ - tests/input/functions/lib/_use-syntax.scss
263
+ - tests/input/output.scss
264
+ - tests/output/output.css
265
+ - tests/tests.html