cask 0.2.0 → 0.2.1

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: 5c4edba2f683e8790bb9daf8bec906c5f289482e
4
- data.tar.gz: f8f9c02ac9c87247f593cc47901667811a31eaef
3
+ metadata.gz: fec9565ff4018e49211dce840054989b358cb11c
4
+ data.tar.gz: cf0f2d1c4eedb3058d8fd13e787d4757dee4c0e8
5
5
  SHA512:
6
- metadata.gz: 0cda50b58e534dc981f9ad839a2da58d86c5890bc0eca2c184bc603c29d430b5d69d00774cb6083840451c37a05ada0000fbcdf9c73e820ce6d1c504e6a78461
7
- data.tar.gz: f96b7b2fd2686da94383d4122ceb6cdc4dad36e3ca3f8febe364579b99f5aaffedb562549cce3743d76a0243d9b7b6a5e715fe694afaca4ae567fc61485cab47
6
+ metadata.gz: dd9702d5fc6858ccf26ed0b407e75d46a855638bf2c6d7f7d22b23cd117541d6332b81ffd9165932ac27025cf33eb91263097485d3eadeb35593c9b341f8cc80
7
+ data.tar.gz: 2067c86d68a82b7d1b8234853b898c2af458002b56b8183a8201555a66b3e8cbbad4f843c84d1fe90114bb7b1d4668fe8671d0f3aec2941b0622eae220137831
data/Gulpfile.js CHANGED
@@ -2,7 +2,6 @@ var gulp = require("gulp"),
2
2
  autoprefix = require("gulp-autoprefixer"),
3
3
  sass = require("gulp-sass"),
4
4
  connect = require("gulp-connect"),
5
- bourbon = require("node-bourbon").includePaths,
6
5
  haml = require('gulp-ruby-haml');;
7
6
 
8
7
  var paths = {
@@ -14,7 +13,7 @@ var paths = {
14
13
  gulp.task("sass", function () {
15
14
  return gulp.src(paths.scss)
16
15
  .pipe(sass({
17
- includePaths: ["/styles"].concat(bourbon)
16
+ includePaths: ["/styles"]
18
17
  }))
19
18
  .pipe(autoprefix("last 2 versions"))
20
19
  .pipe(gulp.dest("./contrib"))
@@ -1,6 +1,6 @@
1
1
  // Parses the total number of columns from `$columns`
2
- @function grid-parse-column-count($span) {
3
2
 
3
+ @function grid-parse-column-count($span) {
4
4
  @if length($span) == 3 {
5
5
  $_total-columns: nth($span, 3);
6
6
  @return $_total-columns;
@@ -1,5 +1,6 @@
1
1
  // Mixins
2
2
 
3
+ @import "grid-clearfix";
3
4
  @import "grid-column";
4
5
  @import "grid-gutter";
5
6
  @import "grid-is-zero-error";
@@ -0,0 +1,24 @@
1
+ // Provides an easy way to include a clearfix for containing floats.
2
+ // Accepts options of `top`, `bottom` and `both`.
3
+
4
+ @mixin grid-clearfix($clear: bottom) {
5
+ @if $clear == top or $clear == both {
6
+ &::before {
7
+ clear: both;
8
+ content: "";
9
+ display: table;
10
+ }
11
+ }
12
+
13
+ @if $clear == bottom or $clear == both {
14
+ &::after {
15
+ clear: both;
16
+ content: "";
17
+ display: table;
18
+ }
19
+ }
20
+
21
+ @if $clear != top and $clear != bottom and $clear != both {
22
+ @error "`$clear` was #{$clear} but should be `top`, `bottom`, or `both`";
23
+ }
24
+ }
@@ -6,7 +6,6 @@
6
6
  $center: false
7
7
  ) {
8
8
  @include grid-gutter($collapse: $collapse, $center: $center);
9
-
10
9
  @if $center {
11
10
  float: none;
12
11
  } @else {
@@ -4,8 +4,7 @@
4
4
  $center: true,
5
5
  $max-width: $grid-row-width
6
6
  ) {
7
-
8
- @include clearfix;
7
+ @include grid-clearfix;
9
8
  @include grid-column($collapse: true, $center: $center);
10
9
  max-width: $max-width;
11
10
  }
data/cask.gemspec CHANGED
@@ -20,8 +20,6 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.add_dependency "bourbon", ">= 4.0"
24
-
25
23
  spec.add_development_dependency "bundler", "~> 1.10"
26
24
  spec.add_development_dependency "rake", "~> 10.0"
27
25
  end
@@ -179,11 +179,15 @@
179
179
  }
180
180
 
181
181
  .col-2-of-5 {
182
- @include grid-column($columns: 2 of 5);
182
+ @media #{$small} {
183
+ @include grid-column($columns: 2 of 5);
184
+ }
183
185
  }
184
186
 
185
187
  .col-3-of-5 {
186
- @include grid-column($columns: 3 of 5);
188
+ @media #{$small} {
189
+ @include grid-column($columns: 3 of 5);
190
+ }
187
191
  }
188
192
  }
189
193
 
@@ -1,4 +1,4 @@
1
- #{$all-buttons} {
1
+ input[type="submit"] {
2
2
  appearance: none;
3
3
  background-color: $action-color;
4
4
  border: 0;
@@ -26,7 +26,6 @@ label {
26
26
  }
27
27
  }
28
28
 
29
- #{$all-text-inputs},
30
29
  select[multiple=multiple] {
31
30
  background-color: $base-background-color;
32
31
  border: $base-border;
@@ -1,7 +1,7 @@
1
1
  // Typography
2
- $base-font-family: $helvetica;
2
+ $base-font-family: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
3
3
  $heading-font-family: $base-font-family;
4
- $monospace-font-family: $monospace;
4
+ $monospace-font-family: "Bitstream Vera Sans Mono", "Consolas", "Courier", monospace;
5
5
 
6
6
  // Font Sizes
7
7
  $base-font-size: 1em;
@@ -1,5 +1,4 @@
1
1
  @charset "utf-8";
2
- @import "bourbon";
3
2
 
4
3
  // Base styles
5
4
  @import "base/base";
data/lib/cask/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cask
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/package.json CHANGED
@@ -30,7 +30,6 @@
30
30
  "gulp-connect": "^2.2.0",
31
31
  "gulp-haml": "^0.1.6",
32
32
  "gulp-ruby-haml": "0.0.5",
33
- "gulp-sass": "^2.0.2",
34
- "node-bourbon": "^4.2.3"
33
+ "gulp-sass": "^2.0.2"
35
34
  }
36
35
  }
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cask
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will H McMahan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-14 00:00:00.000000000 Z
11
+ date: 2016-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bourbon
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '4.0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '4.0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: bundler
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -75,6 +61,7 @@ files:
75
61
  - app/assets/stylesheets/functions/_grid-column-ratio.scss
76
62
  - app/assets/stylesheets/functions/_grid-parse-column-count.scss
77
63
  - app/assets/stylesheets/mixins/_all.scss
64
+ - app/assets/stylesheets/mixins/_grid-clearfix.scss
78
65
  - app/assets/stylesheets/mixins/_grid-column.scss
79
66
  - app/assets/stylesheets/mixins/_grid-gutter.scss
80
67
  - app/assets/stylesheets/mixins/_grid-is-zero-error.scss