bourbon 4.2.3 → 4.2.4

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: 7854d5603a9898feaf66d03354fbee4f2d686b42
4
- data.tar.gz: 6f9ab2136e0eb11be5344bda57ecbe66a702574c
3
+ metadata.gz: 5f314dffdd8ed3cfb4a6170d6825614cfa7294e1
4
+ data.tar.gz: 95dbacf29f1be76e148f10eb49093ee1e3f7d772
5
5
  SHA512:
6
- metadata.gz: eda451e7135ce5aa2b172bcd7d2f47a67cd0e56b89b3a30d932f6caffcc9673ddbb1a5d5df8f7fa885d636f18db1805826594967dee714505cb3fcc3854e938a
7
- data.tar.gz: 86e8654ef0e6cf1d2004246f3f6404d7c87a27cd0877d8eab595b9f4e6ccf02717f9835a2257a4a6276505e191115aa677cb33f4a5d81e701dd2e438a1e58307
6
+ metadata.gz: cdd828376b51a33ae123103766571cf8d02a5e257426016b18d90aa50bcaca85154bbdee6750b6187756cbd34b5d3bd4b68b98e1ddc7eca36fa30dd4052eff3a
7
+ data.tar.gz: c554ba1b34e8e340174e9444a43c3ddb53828e5c3012a2ff1df9066dcaae3d711ad740c2e4e087302d85dda5876767ae54a5b3742325767f96a265feeb298af7
data/.npmignore CHANGED
@@ -1,15 +1,17 @@
1
1
  .gitignore
2
2
  .hound.yml
3
3
  .sass-cache
4
+ .scss-lint.yml
5
+ .travis.yml
4
6
  _site
5
7
  bin/
6
8
  bourbon.gemspec
7
9
  bower.json
8
- CONTRIBUTING.md
9
10
  features/
10
11
  Gemfile
11
12
  Gemfile.lock
12
13
  lib/
14
+ pkg/
13
15
  Rakefile
14
16
  sache.json
15
17
  spec/
@@ -5,3 +5,4 @@ language: ruby
5
5
  notifications:
6
6
  email: false
7
7
  rvm: 2.2.1
8
+ sudo: false
data/README.md CHANGED
@@ -74,7 +74,7 @@ For command line help, visit our wiki page on Bourbon’s [command line interfac
74
74
  mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss
75
75
  ```
76
76
 
77
- 4. Delete _all_ Sprockets directives in `application.scss` (`require`, `require_tree` and `require_self`) and use Sass’s native `@import` instead.
77
+ 4. Delete _all_ Sprockets directives in `application.scss` (`require`, `require_tree` and `require_self`) and use Sass’s native `@import` instead. ([why?](http://pivotallabs.com/structure-your-sass-files-with-import))
78
78
 
79
79
  5. Import Bourbon at the beginning of `application.scss`. All additional stylesheets should be imported below Bourbon:
80
80
 
@@ -127,7 +127,7 @@ and may be redistributed under the terms specified in the [license](LICENSE.md).
127
127
 
128
128
  ## About thoughtbot
129
129
 
130
- [![thoughtbot](http://thoughtbot.github.io/images/signature.svg)][hire]
130
+ [<img src="http://thoughtbot.github.io/images/signature.svg" width="250" alt="thoughtbot logo">][hire]
131
131
 
132
132
  Bourbon is maintained and funded by thoughtbot, inc.
133
133
  The names and logos for thoughtbot are trademarks of thoughtbot, inc.
@@ -1,4 +1,4 @@
1
- // Bourbon 4.2.3
1
+ // Bourbon 4.2.4
2
2
  // http://bourbon.io
3
3
  // Copyright 2011-2015 thoughtbot, inc.
4
4
  // MIT License
@@ -104,6 +104,7 @@ $text-inputs-list: 'input[type="color"]',
104
104
  'input[type="time"]',
105
105
  'input[type="url"]',
106
106
  'input[type="week"]',
107
+ 'input:not([type])',
107
108
  'textarea';
108
109
 
109
110
  $all-text-inputs: assign-inputs($text-inputs-list);
@@ -12,8 +12,8 @@
12
12
  $spec-image: ();
13
13
 
14
14
  @if (type-of($image) == string) {
15
- $url-str: str-slice($image, 0, 3);
16
- $gradient-type: str-slice($image, 0, 6);
15
+ $url-str: str-slice($image, 1, 3);
16
+ $gradient-type: str-slice($image, 1, 6);
17
17
 
18
18
  @if $url-str == "url" {
19
19
  $webkit-image: $image;
@@ -15,8 +15,8 @@
15
15
  @if $background-type == string or $background-type == list {
16
16
  $background-str: if($background-type == list, nth($background, 1), $background);
17
17
 
18
- $url-str: str-slice($background-str, 0, 3);
19
- $gradient-type: str-slice($background-str, 0, 6);
18
+ $url-str: str-slice($background-str, 1, 3);
19
+ $gradient-type: str-slice($background-str, 1, 6);
20
20
 
21
21
  @if $url-str == "url" {
22
22
  $webkit-background: $background;
@@ -10,8 +10,8 @@
10
10
  @if $border-type == string or list {
11
11
  $border-str: if($border-type == list, nth($border, 1), $border);
12
12
 
13
- $url-str: str-slice($border-str, 0, 3);
14
- $gradient-type: str-slice($border-str, 0, 6);
13
+ $url-str: str-slice($border-str, 1, 3);
14
+ $gradient-type: str-slice($border-str, 1, 6);
15
15
 
16
16
  @if $url-str == "url" {
17
17
  $webkit-border: $border;
@@ -5,12 +5,12 @@
5
5
  $end: str-index($image, ",");
6
6
  $first-val: str-slice($image, $start + 1, $end - 1);
7
7
 
8
- $prefix: str-slice($image, 0, $start);
8
+ $prefix: str-slice($image, 1, $start);
9
9
  $suffix: str-slice($image, $end, str-length($image));
10
10
 
11
11
  $has-multiple-vals: str-index($first-val, " ");
12
12
  $has-single-position: unquote(_position-flipper($first-val) + "");
13
- $has-angle: is-number(str-slice($first-val, 0, 0));
13
+ $has-angle: is-number(str-slice($first-val, 1, 1));
14
14
 
15
15
  @if $has-multiple-vals {
16
16
  $gradients: _linear-side-corner-parser($image, $first-val, $prefix, $suffix, $has-multiple-vals);
@@ -1,13 +1,13 @@
1
1
  // Private function for linear-gradient-parser
2
2
  @function _linear-side-corner-parser($image, $first-val, $prefix, $suffix, $has-multiple-vals) {
3
- $val-1: str-slice($first-val, 0, $has-multiple-vals - 1 );
3
+ $val-1: str-slice($first-val, 1, $has-multiple-vals - 1);
4
4
  $val-2: str-slice($first-val, $has-multiple-vals + 1, str-length($first-val));
5
5
  $val-3: null;
6
6
  $has-val-3: str-index($val-2, " ");
7
7
 
8
8
  @if $has-val-3 {
9
9
  $val-3: str-slice($val-2, $has-val-3 + 1, str-length($val-2));
10
- $val-2: str-slice($val-2, 0, $has-val-3 - 1);
10
+ $val-2: str-slice($val-2, 1, $has-val-3 - 1);
11
11
  }
12
12
 
13
13
  $pos: _position-flipper($val-1) _position-flipper($val-2) _position-flipper($val-3);
@@ -5,7 +5,7 @@
5
5
  $end: str-index($image, ",");
6
6
  $first-val: str-slice($image, $start + 1, $end - 1);
7
7
 
8
- $prefix: str-slice($image, 0, $start);
8
+ $prefix: str-slice($image, 1, $start);
9
9
  $suffix: str-slice($image, $end, str-length($image));
10
10
 
11
11
  $is-spec-syntax: str-index($first-val, "at");
@@ -22,11 +22,11 @@ meaning they should be as close to the original CSS syntax as possible.
22
22
  s.require_paths = ["lib"]
23
23
 
24
24
  s.add_runtime_dependency("sass", "~> 3.4")
25
- s.add_runtime_dependency("thor")
25
+ s.add_runtime_dependency("thor", "~> 0.19")
26
26
 
27
- s.add_development_dependency("aruba")
28
- s.add_development_dependency("css_parser")
29
- s.add_development_dependency("rake")
30
- s.add_development_dependency("rspec")
31
- s.add_development_dependency("scss-lint", "~> 0.35")
27
+ s.add_development_dependency("aruba", "~> 0.6.2")
28
+ s.add_development_dependency("css_parser", "~> 1.3")
29
+ s.add_development_dependency("rake", "~> 10.4")
30
+ s.add_development_dependency("rspec", "~> 3.3")
31
+ s.add_development_dependency("scss_lint", "~> 0.40")
32
32
  end
data/bower.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bourbon",
3
3
  "description": "A simple and lightweight mixin library for Sass.",
4
- "version": "4.2.3",
4
+ "version": "4.2.4",
5
5
  "main": "app/assets/stylesheets/_bourbon.scss",
6
6
  "license": "MIT",
7
7
  "ignore": [
@@ -0,0 +1,7 @@
1
+ var path = require('path');
2
+
3
+ module.exports = {
4
+ includePaths: [
5
+ path.join(__dirname, 'app/assets/stylesheets')
6
+ ]
7
+ };
@@ -1,3 +1,3 @@
1
1
  module Bourbon
2
- VERSION = "4.2.3"
2
+ VERSION = "4.2.4"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bourbon",
3
- "version": "4.2.3",
3
+ "version": "4.2.4",
4
4
  "description": "A simple and lightweight mixin library for Sass.",
5
5
  "keywords": [
6
6
  "css",
@@ -17,7 +17,7 @@
17
17
  "name": "thoughtbot",
18
18
  "url": "http://thoughtbot.com"
19
19
  },
20
- "main": "app/assets/stylesheets/_bourbon.scss",
20
+ "main": "index.js",
21
21
  "repository": {
22
22
  "type": "git",
23
23
  "url": "https://github.com/thoughtbot/bourbon.git"
@@ -19,6 +19,7 @@ describe "text-inputs" do
19
19
  input[type="time"]
20
20
  input[type="url"]
21
21
  input[type="week"]
22
+ input:not([type])
22
23
  textarea
23
24
  )
24
25
  end
@@ -7,7 +7,7 @@ describe "shade" do
7
7
 
8
8
  context "called on white" do
9
9
  it "shades white" do
10
- expect(".shade-white").to have_rule("color: #3f3f3f")
10
+ expect(".shade-white").to have_rule("color: #404040")
11
11
  end
12
12
  end
13
13
 
@@ -25,7 +25,7 @@ describe "shade" do
25
25
 
26
26
  context "called on gray" do
27
27
  it "shades gray" do
28
- expect(".shade-gray").to have_rule("color: #161616")
28
+ expect(".shade-gray").to have_rule("color: #171717")
29
29
  end
30
30
  end
31
31
  end
@@ -13,13 +13,13 @@ describe "tint" do
13
13
 
14
14
  context "called on black" do
15
15
  it "tints black" do
16
- expect(".tint-black").to have_rule("color: #7f7f7f")
16
+ expect(".tint-black").to have_rule("color: gray")
17
17
  end
18
18
  end
19
19
 
20
20
  context "called on red" do
21
21
  it "tints red" do
22
- expect(".tint-red").to have_rule("color: #ff3f3f")
22
+ expect(".tint-red").to have_rule("color: #ff4040")
23
23
  end
24
24
  end
25
25
 
@@ -1,7 +1,7 @@
1
1
  @import "setup";
2
2
 
3
3
  .shade-white {
4
- color: shade(#ffffff, 75%);
4
+ color: shade(#fff, 75%);
5
5
  }
6
6
 
7
7
  .shade-black {
@@ -13,5 +13,5 @@
13
13
  }
14
14
 
15
15
  .shade-gray {
16
- color: shade(#222222, 33%);
16
+ color: shade(#222, 33%);
17
17
  }
@@ -1,7 +1,7 @@
1
1
  @import "setup";
2
2
 
3
3
  .tint-white {
4
- color: tint(#ffffff, 75%);
4
+ color: tint(#fff, 75%);
5
5
  }
6
6
 
7
7
  .tint-black {
@@ -13,5 +13,5 @@
13
13
  }
14
14
 
15
15
  .tint-gray {
16
- color: tint(#aaaaaa, 33%);
16
+ color: tint(#aaa, 33%);
17
17
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bourbon
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.3
4
+ version: 4.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andres Mejia
@@ -22,7 +22,7 @@ authors:
22
22
  autorequire:
23
23
  bindir: bin
24
24
  cert_chain: []
25
- date: 2015-05-08 00:00:00.000000000 Z
25
+ date: 2015-08-21 00:00:00.000000000 Z
26
26
  dependencies:
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sass
@@ -42,86 +42,86 @@ dependencies:
42
42
  name: thor
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '0.19'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '0.19'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: aruba
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 0.6.2
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: 0.6.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: css_parser
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '1.3'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '1.3'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '10.4'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '10.4'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: '3.3'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: '3.3'
111
111
  - !ruby/object:Gem::Dependency
112
- name: scss-lint
112
+ name: scss_lint
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '0.35'
117
+ version: '0.40'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '0.35'
124
+ version: '0.40'
125
125
  description: |
126
126
  Bourbon is a library of pure Sass mixins that are designed to be simple and easy
127
127
  to use. No configuration required. The mixins aim to be as vanilla as possible,
@@ -229,6 +229,7 @@ files:
229
229
  - features/support/env.rb
230
230
  - features/update.feature
231
231
  - features/version.feature
232
+ - index.js
232
233
  - lib/bourbon.rb
233
234
  - lib/bourbon/engine.rb
234
235
  - lib/bourbon/generator.rb
@@ -336,7 +337,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
336
337
  version: '0'
337
338
  requirements: []
338
339
  rubyforge_project:
339
- rubygems_version: 2.4.5
340
+ rubygems_version: 2.4.8
340
341
  signing_key:
341
342
  specification_version: 4
342
343
  summary: A simple and lightweight mixin library for Sass