bourbon 4.2.4 → 4.2.6

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: 5f314dffdd8ed3cfb4a6170d6825614cfa7294e1
4
- data.tar.gz: 95dbacf29f1be76e148f10eb49093ee1e3f7d772
3
+ metadata.gz: de84ed68e6d21b4990f4ea6fd91f1904e8d80844
4
+ data.tar.gz: e2e498328e79e9e0edaff094663dfdd0c92d62a7
5
5
  SHA512:
6
- metadata.gz: cdd828376b51a33ae123103766571cf8d02a5e257426016b18d90aa50bcaca85154bbdee6750b6187756cbd34b5d3bd4b68b98e1ddc7eca36fa30dd4052eff3a
7
- data.tar.gz: c554ba1b34e8e340174e9444a43c3ddb53828e5c3012a2ff1df9066dcaae3d711ad740c2e4e087302d85dda5876767ae54a5b3742325767f96a265feeb298af7
6
+ metadata.gz: 4544cdf683ea952bbb881bc3d716dafd27cd6e089771c2850388e15d105591e310bc8e0ed34a53ff114133b677c3d5fba94620bb47ddacc24cbc56d847a7181e
7
+ data.tar.gz: 13710f7c12754247585c942db593cee8d9b8c891554f41fdf5df0811fd72c3a16a034bf8629671adc28542672577be8316b02f85be38bf96b6f2106031a6c8b2
data/.gitignore CHANGED
@@ -5,4 +5,4 @@
5
5
  _site
6
6
  Gemfile.lock
7
7
  npm-debug.log
8
- tmp
8
+ tmp/
data/.npmignore CHANGED
@@ -2,7 +2,6 @@
2
2
  .hound.yml
3
3
  .sass-cache
4
4
  .scss-lint.yml
5
- .travis.yml
6
5
  _site
7
6
  bin/
8
7
  bourbon.gemspec
data/.scss-lint.yml CHANGED
@@ -1,14 +1,155 @@
1
1
  scss_files: "app/assets/stylesheets/**/*.scss"
2
2
  linters:
3
- BorderZero:
3
+ BangFormat:
4
+ enabled: true
5
+ space_before_bang: true
6
+ space_after_bang: false
7
+ BemDepth:
4
8
  enabled: false
9
+ BorderZero:
10
+ enabled: true
11
+ convention: zero
12
+ ColorKeyword:
13
+ enabled: true
5
14
  ColorVariable:
6
15
  enabled: false
16
+ Comment:
17
+ enabled: true
18
+ DebugStatement:
19
+ enabled: true
20
+ DeclarationOrder:
21
+ enabled: true
22
+ DisableLinterReason:
23
+ enabled: false
24
+ DuplicateProperty:
25
+ enabled: true
26
+ ElsePlacement:
27
+ enabled: true
28
+ style: same_line
29
+ EmptyLineBetweenBlocks:
30
+ enabled: true
31
+ ignore_single_line_blocks: true
32
+ EmptyRule:
33
+ enabled: true
34
+ ExtendDirective:
35
+ enabled: false
36
+ FinalNewline:
37
+ enabled: true
38
+ present: true
39
+ HexLength:
40
+ enabled: true
41
+ style: short
42
+ HexNotation:
43
+ enabled: true
44
+ style: lowercase
45
+ HexValidation:
46
+ enabled: true
47
+ IdSelector:
48
+ enabled: true
49
+ ImportantRule:
50
+ enabled: true
51
+ ImportPath:
52
+ enabled: true
53
+ leading_underscore: false
54
+ filename_extension: false
55
+ Indentation:
56
+ enabled: true
57
+ allow_non_nested_indentation: false
58
+ character: space
59
+ width: 2
7
60
  LeadingZero:
8
61
  enabled: true
9
62
  style: include_zero
63
+ MergeableSelector:
64
+ enabled: true
65
+ force_nesting: true
66
+ NameFormat:
67
+ enabled: true
68
+ allow_leading_underscore: true
69
+ convention: hyphenated_lowercase
70
+ NestingDepth:
71
+ enabled: true
72
+ max_depth: 3
73
+ ignore_parent_selectors: false
74
+ PlaceholderInExtend:
75
+ enabled: true
76
+ PropertyCount:
77
+ enabled: false
78
+ PropertySortOrder:
79
+ enabled: true
80
+ ignore_unspecified: false
81
+ separate_groups: false
82
+ PropertySpelling:
83
+ enabled: true
84
+ PropertyUnits:
85
+ enabled: true
86
+ properties:
87
+ line-height: []
88
+ QualifyingElement:
89
+ enabled: true
90
+ allow_element_with_attribute: false
91
+ allow_element_with_class: false
92
+ allow_element_with_id: false
93
+ SelectorDepth:
94
+ enabled: true
95
+ max_depth: 2
96
+ severity: warning
10
97
  SelectorFormat:
11
98
  enabled: false
99
+ Shorthand:
100
+ enabled: true
101
+ allowed_shorthands: [1, 2, 3]
102
+ SingleLinePerProperty:
103
+ enabled: true
104
+ allow_single_line_rule_sets: true
105
+ SingleLinePerSelector:
106
+ enabled: true
107
+ SpaceAfterComma:
108
+ enabled: true
109
+ style: one_space
110
+ SpaceAfterPropertyColon:
111
+ enabled: true
112
+ style: one_space
113
+ SpaceAfterPropertyName:
114
+ enabled: true
115
+ SpaceAfterVariableName:
116
+ enabled: true
117
+ SpaceAroundOperator:
118
+ enabled: false
119
+ SpaceBeforeBrace:
120
+ enabled: true
121
+ style: space
122
+ allow_single_line_padding: false
123
+ SpaceBetweenParens:
124
+ enabled: true
125
+ spaces: 0
12
126
  StringQuotes:
13
127
  enabled: true
14
128
  style: double_quotes
129
+ TrailingSemicolon:
130
+ enabled: true
131
+ TrailingWhitespace:
132
+ enabled: true
133
+ TrailingZero:
134
+ enabled: false
135
+ TransitionAll:
136
+ enabled: true
137
+ severity: warning
138
+ UnnecessaryMantissa:
139
+ enabled: true
140
+ UnnecessaryParentReference:
141
+ enabled: true
142
+ UrlFormat:
143
+ enabled: true
144
+ severity: warning
145
+ UrlQuotes:
146
+ enabled: true
147
+ VariableForProperty:
148
+ enabled: false
149
+ VendorPrefix:
150
+ enabled: true
151
+ identifier_list: base
152
+ ZeroUnit:
153
+ enabled: true
154
+ Compass::*:
155
+ enabled: false
data/README.md CHANGED
@@ -1,9 +1,7 @@
1
1
  [![Bourbon](http://images.thoughtbot.com/bourbon/bourbon-logo.svg)](http://bourbon.io)
2
2
 
3
- [![Gem Version](http://img.shields.io/gem/v/bourbon.svg?style=flat)](https://rubygems.org/gems/bourbon)
4
- [![Code Climate](http://img.shields.io/codeclimate/github/thoughtbot/bourbon.svg?style=flat)](https://codeclimate.com/github/thoughtbot/bourbon)
5
- [![Gitter chat](https://img.shields.io/badge/gitter-thoughtbot/bourbon-ae3dd2.svg?style=flat)](https://gitter.im/thoughtbot/bourbon)
6
- [![Stack Overflow](http://img.shields.io/badge/stack%20overflow-bourbon-ae3dd2.svg?style=flat)](http://stackoverflow.com/questions/tagged/bourbon)
3
+ [![GitHub release](https://img.shields.io/github/release/thoughtbot/bourbon.svg)](https://github.com/thoughtbot/bourbon/releases)
4
+ [![CircleCI branch](https://img.shields.io/circleci/project/thoughtbot/bourbon/master.svg)](https://circleci.com/gh/thoughtbot/bourbon/tree/master)
7
5
 
8
6
  ## A simple and lightweight mixin library for Sass.
9
7
 
@@ -86,6 +84,22 @@ For command line help, visit our wiki page on Bourbon’s [command line interfac
86
84
 
87
85
  [Help! I’m getting an undefined mixin error.](https://github.com/thoughtbot/bourbon/wiki/Rails-Help-%5C-Undefined-mixin)
88
86
 
87
+ ## Installing with npm and using a Node-based asset pipeline
88
+
89
+ 1. Add Bourbon as a dependency:
90
+
91
+ ```bash
92
+ npm install --save bourbon
93
+ ```
94
+
95
+ 2. If you’re using [Eyeglass](http://eyeglass.rocks), skip to Step 3. Otherwise, you’ll need to add Bourbon to your node-sass `includePaths` option. `require("bourbon").includePaths` is an array of directories that you should pass to node-sass. How you do this depends on how node-sass is integrated into your project.
96
+
97
+ 3. Import Bourbon into your Sass files:
98
+
99
+ ```scss
100
+ @import "bourbon";
101
+ ```
102
+
89
103
  ## Installing older versions of Bourbon
90
104
 
91
105
  1. Uninstall any Bourbon gem versions you already have:
@@ -1,4 +1,4 @@
1
- // Bourbon 4.2.4
1
+ // Bourbon 4.2.6
2
2
  // http://bourbon.io
3
3
  // Copyright 2011-2015 thoughtbot, inc.
4
4
  // MIT License
@@ -11,7 +11,7 @@
11
11
  $side: nth($pos, 2);
12
12
 
13
13
  @if $length == 2 { // eg. to top
14
- // Swap for backwards compatability
14
+ // Swap for backwards compatibility
15
15
  $degree: _position-flipper(nth($pos, 2));
16
16
  }
17
17
  @else if $length == 3 { // eg. to top left
@@ -38,7 +38,7 @@
38
38
  $spec: to $side $corner;
39
39
  }
40
40
  @else if $length == 1 {
41
- // Swap for backwards compatability
41
+ // Swap for backwards compatibility
42
42
  @if $type == string {
43
43
  $degree: $pos;
44
44
  $spec: to _position-flipper($pos);
data/bourbon.gemspec CHANGED
@@ -28,5 +28,5 @@ meaning they should be as close to the original CSS syntax as possible.
28
28
  s.add_development_dependency("css_parser", "~> 1.3")
29
29
  s.add_development_dependency("rake", "~> 10.4")
30
30
  s.add_development_dependency("rspec", "~> 3.3")
31
- s.add_development_dependency("scss_lint", "~> 0.40")
31
+ s.add_development_dependency("scss_lint", "0.41")
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.4",
4
+ "version": "4.2.6",
5
5
  "main": "app/assets/stylesheets/_bourbon.scss",
6
6
  "license": "MIT",
7
7
  "ignore": [
@@ -0,0 +1,7 @@
1
+ var bourbon = require("./index");
2
+
3
+ module.exports = function(eyeglass, sass) {
4
+ return {
5
+ sassDir: bourbon.includePaths[0]
6
+ };
7
+ };
@@ -1,3 +1,3 @@
1
1
  module Bourbon
2
- VERSION = "4.2.4"
2
+ VERSION = "4.2.6"
3
3
  end
data/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "bourbon",
3
- "version": "4.2.4",
3
+ "version": "4.2.6",
4
4
  "description": "A simple and lightweight mixin library for Sass.",
5
5
  "keywords": [
6
6
  "css",
7
+ "eyeglass-module",
7
8
  "mixins",
8
9
  "sass",
9
10
  "scss"
@@ -12,6 +13,10 @@
12
13
  "bugs": {
13
14
  "url": "https://github.com/thoughtbot/bourbon/issues"
14
15
  },
16
+ "eyeglass": {
17
+ "needs": "*",
18
+ "exports": "eyeglass-exports.js"
19
+ },
15
20
  "license": "MIT",
16
21
  "author": {
17
22
  "name": "thoughtbot",
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.4
4
+ version: 4.2.6
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-08-21 00:00:00.000000000 Z
25
+ date: 2015-10-17 00:00:00.000000000 Z
26
26
  dependencies:
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sass
@@ -112,16 +112,16 @@ dependencies:
112
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.40'
117
+ version: '0.41'
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.40'
124
+ version: '0.41'
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,
@@ -136,7 +136,6 @@ files:
136
136
  - ".hound.yml"
137
137
  - ".npmignore"
138
138
  - ".scss-lint.yml"
139
- - ".travis.yml"
140
139
  - CONTRIBUTING.md
141
140
  - Gemfile
142
141
  - LICENSE.md
@@ -223,6 +222,7 @@ files:
223
222
  - bin/bourbon
224
223
  - bourbon.gemspec
225
224
  - bower.json
225
+ - eyeglass-exports.js
226
226
  - features/install.feature
227
227
  - features/step_definitions/bourbon_steps.rb
228
228
  - features/support/bourbon_support.rb
@@ -337,7 +337,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
337
337
  version: '0'
338
338
  requirements: []
339
339
  rubyforge_project:
340
- rubygems_version: 2.4.8
340
+ rubygems_version: 2.4.5.1
341
341
  signing_key:
342
342
  specification_version: 4
343
343
  summary: A simple and lightweight mixin library for Sass
@@ -428,4 +428,3 @@ test_files:
428
428
  - spec/support/matchers/have_value.rb
429
429
  - spec/support/parser_support.rb
430
430
  - spec/support/sass_support.rb
431
- has_rdoc:
data/.travis.yml DELETED
@@ -1,8 +0,0 @@
1
- branches:
2
- except:
3
- - gh-pages
4
- language: ruby
5
- notifications:
6
- email: false
7
- rvm: 2.2.1
8
- sudo: false