bourbon 5.0.0 → 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +34 -0
- data/.ruby-version +1 -1
- data/.tool-versions +1 -0
- data/CHANGELOG.md +10 -2
- data/README.md +2 -4
- data/bourbon.gemspec +3 -2
- data/bower.json +2 -2
- data/core/_bourbon.scss +2 -2
- data/core/bourbon/library/_modular-scale.scss +1 -1
- data/features/install.feature +0 -1
- data/features/step_definitions/bourbon_steps.rb +6 -4
- data/features/update.feature +0 -1
- data/features/version.feature +0 -2
- data/lib/bourbon.rb +9 -1
- data/lib/bourbon/version.rb +1 -1
- data/package.json +2 -2
- metadata +22 -7
- data/circle.yml +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07c030fedbbaa84e4b686d375117f14d8645a4c2
|
4
|
+
data.tar.gz: d61b2e580e0ea18dfc302cde4bec0386bad95fdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6add763e80e43ab098c8cde256c2aebc7813dd7f9d6845f98fc7f94701a8404baf0d919a552bbe2e74028127b035575f4a7d439f7ee048ff45e7f1424c8bb26f
|
7
|
+
data.tar.gz: d55a0c0b185b60d49c69cab5766af2128aaf42dbaf7ced50d1b1bbb972731f1ad63439f31b5fa6b254fc24d838dbb6bee6f6734aa1372f51bcd403ed9af8f630
|
@@ -0,0 +1,34 @@
|
|
1
|
+
version: 2
|
2
|
+
|
3
|
+
jobs:
|
4
|
+
build:
|
5
|
+
docker:
|
6
|
+
- image: circleci/ruby:2.4.3-node
|
7
|
+
|
8
|
+
steps:
|
9
|
+
- checkout
|
10
|
+
|
11
|
+
- restore_cache:
|
12
|
+
keys:
|
13
|
+
- bourbon-{{ arch }}-{{ checksum "bourbon.gemspec" }}
|
14
|
+
|
15
|
+
- run:
|
16
|
+
name: Install Ruby dependencies
|
17
|
+
command: bundle install --path vendor/bundle
|
18
|
+
|
19
|
+
- run:
|
20
|
+
name: Install SassDoc
|
21
|
+
command: sudo npm install -g sassdoc@2.5.0
|
22
|
+
|
23
|
+
- save_cache:
|
24
|
+
key: bourbon-{{ arch }}-{{ checksum "bourbon.gemspec" }}
|
25
|
+
paths:
|
26
|
+
- vendor/bundle
|
27
|
+
|
28
|
+
- run:
|
29
|
+
name: Run the tests
|
30
|
+
command: bundle exec rake
|
31
|
+
|
32
|
+
- run:
|
33
|
+
name: Parse SassDoc comments
|
34
|
+
command: sassdoc core/ --parse --verbose --strict
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3
|
1
|
+
2.4.3
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 2.4.3
|
data/CHANGELOG.md
CHANGED
@@ -7,7 +7,15 @@ project adheres to [Semantic Versioning](http://semver.org).
|
|
7
7
|
|
8
8
|
Nothing at the moment.
|
9
9
|
|
10
|
-
[unreleased]: https://github.com/thoughtbot/bourbon/compare/v5.0.
|
10
|
+
[unreleased]: https://github.com/thoughtbot/bourbon/compare/v5.0.1...HEAD
|
11
|
+
|
12
|
+
## [5.0.1] - 2018-06-08
|
13
|
+
|
14
|
+
### Fixed
|
15
|
+
|
16
|
+
- Fixed an issue that would cause Bourbon to not be found when using SassC.
|
17
|
+
|
18
|
+
[5.0.1]: https://github.com/thoughtbot/bourbon/compare/v5.0.0...v5.0.1
|
11
19
|
|
12
20
|
## [5.0.0] - 2018-01-05
|
13
21
|
|
@@ -17,7 +25,7 @@ between v5.0.0-beta.8 and v5.0.0. For information on how to upgrade from v4 to
|
|
17
25
|
v5, read our [migrating guide][migrating-guide].
|
18
26
|
|
19
27
|
[5.0.0]: https://github.com/thoughtbot/bourbon/compare/v5.0.0.beta.8...v5.0.0
|
20
|
-
[migrating-guide]:
|
28
|
+
[migrating-guide]: https://www.bourbon.io/docs/migrating-from-v4-to-v5/
|
21
29
|
|
22
30
|
## [5.0.0-beta.8] - 2017-06-26
|
23
31
|
|
data/README.md
CHANGED
@@ -11,12 +11,12 @@ It is…
|
|
11
11
|
- Human-readable: We aim for clarity over brevity.
|
12
12
|
- Lightweight: Zero output post-install and has no visual opinion.
|
13
13
|
|
14
|
-
[Bourbon]:
|
14
|
+
[Bourbon]: https://www.bourbon.io/
|
15
15
|
[Sass]: http://sass-lang.com
|
16
16
|
|
17
17
|
### Helpful Links
|
18
18
|
|
19
|
-
- [Documentation](
|
19
|
+
- [Documentation](https://www.bourbon.io/docs/latest/)
|
20
20
|
- [Change log](CHANGELOG.md)
|
21
21
|
- [Twitter](https://twitter.com/bourbonsass)
|
22
22
|
- [Stack Overflow](https://stackoverflow.com/questions/tagged/bourbon)
|
@@ -188,11 +188,9 @@ Bourbon is part of a larger, modular family of Sass utilities:
|
|
188
188
|
|
189
189
|
- [Neat]: A lightweight and flexible Sass grid
|
190
190
|
- [Bitters]: Scaffold styles, variables and structure for Bourbon projects
|
191
|
-
- [Refills]: Components and patterns built with Bourbon and Neat
|
192
191
|
|
193
192
|
[Neat]: https://github.com/thoughtbot/neat
|
194
193
|
[Bitters]: https://github.com/thoughtbot/bitters
|
195
|
-
[Refills]: https://github.com/thoughtbot/refills
|
196
194
|
|
197
195
|
## Contributing
|
198
196
|
|
data/bourbon.gemspec
CHANGED
@@ -2,8 +2,9 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
2
2
|
require "bourbon/version"
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
|
-
s.add_development_dependency "aruba", "~> 0.
|
5
|
+
s.add_development_dependency "aruba", "~> 0.14"
|
6
6
|
s.add_development_dependency "css_parser", "~> 1.4"
|
7
|
+
s.add_development_dependency "cucumber", "~> 2.0"
|
7
8
|
s.add_development_dependency "rake", "~> 11.1"
|
8
9
|
s.add_development_dependency "rspec", "~> 3.4"
|
9
10
|
s.add_development_dependency "scss_lint", "0.48"
|
@@ -28,7 +29,7 @@ Gem::Specification.new do |s|
|
|
28
29
|
s.email = "design+bourbon@thoughtbot.com"
|
29
30
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
30
31
|
s.files = `git ls-files`.split("\n")
|
31
|
-
s.homepage = "
|
32
|
+
s.homepage = "https://www.bourbon.io/"
|
32
33
|
s.license = "MIT"
|
33
34
|
s.name = "bourbon"
|
34
35
|
s.platform = Gem::Platform::RUBY
|
data/bower.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"thoughtbot (http://thoughtbot.com)"
|
4
4
|
],
|
5
5
|
"description": "A lightweight Sass tool set.",
|
6
|
-
"homepage": "
|
6
|
+
"homepage": "https://www.bourbon.io/",
|
7
7
|
"ignore": [
|
8
8
|
"**/.*",
|
9
9
|
"_site/",
|
@@ -35,5 +35,5 @@
|
|
35
35
|
"type": "git",
|
36
36
|
"url": "https://github.com/thoughtbot/bourbon.git"
|
37
37
|
},
|
38
|
-
"version": "5.0.
|
38
|
+
"version": "5.0.1"
|
39
39
|
}
|
data/core/_bourbon.scss
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
/// your project. We provide a list of commonly used scales as
|
6
6
|
/// [pre-defined variables][scales].
|
7
7
|
///
|
8
|
-
/// [scales]: https://github.com/thoughtbot/bourbon/blob/master/core/bourbon/
|
8
|
+
/// [scales]: https://github.com/thoughtbot/bourbon/blob/master/core/bourbon/helpers/_scales.scss
|
9
9
|
///
|
10
10
|
/// @argument {number (unitless)} $increment
|
11
11
|
/// How many steps to increment up or down the scale.
|
data/features/install.feature
CHANGED
@@ -14,17 +14,19 @@ Then /^the sass directories(?: with "([^"]+)" prefix)? should have been generate
|
|
14
14
|
"bourbon/validators",
|
15
15
|
]
|
16
16
|
sass_directories.map!{ |directory| bourbon_path(prefix, directory) }
|
17
|
-
|
17
|
+
sass_directories.each do |sass_directory|
|
18
|
+
expect(sass_directory).to be_an_existing_directory
|
19
|
+
end
|
18
20
|
end
|
19
21
|
|
20
22
|
Then /^the master bourbon partial should have been generated(?: within "([^"]+)" directory)?$/ do |prefix|
|
21
|
-
|
23
|
+
expect(bourbon_path(prefix, "_bourbon.scss")).to be_an_existing_file
|
22
24
|
end
|
23
25
|
|
24
26
|
Then /^bourbon should not have been generated$/ do
|
25
|
-
|
27
|
+
expect("bourbon").not_to be_an_existing_directory
|
26
28
|
end
|
27
29
|
|
28
30
|
Then /^the output should contain the current version of Bourbon$/ do
|
29
|
-
|
31
|
+
expect(last_command_started).to have_output "Bourbon #{Bourbon::VERSION}"
|
30
32
|
end
|
data/features/update.feature
CHANGED
data/features/version.feature
CHANGED
data/lib/bourbon.rb
CHANGED
@@ -1,4 +1,12 @@
|
|
1
1
|
require "sass"
|
2
2
|
require "bourbon/generator"
|
3
3
|
|
4
|
-
|
4
|
+
module Bourbon
|
5
|
+
if defined?(Rails) && defined?(Rails::Engine)
|
6
|
+
class Engine < ::Rails::Engine
|
7
|
+
config.assets.paths << File.expand_path("../../core", __FILE__)
|
8
|
+
end
|
9
|
+
else
|
10
|
+
Sass.load_paths << File.expand_path("../../core", __FILE__)
|
11
|
+
end
|
12
|
+
end
|
data/lib/bourbon/version.rb
CHANGED
data/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"needs": "*",
|
12
12
|
"exports": "eyeglass-exports.js"
|
13
13
|
},
|
14
|
-
"homepage": "
|
14
|
+
"homepage": "https://www.bourbon.io/",
|
15
15
|
"keywords": [
|
16
16
|
"css",
|
17
17
|
"eyeglass-module",
|
@@ -30,5 +30,5 @@
|
|
30
30
|
"scripts": {
|
31
31
|
"test": "bundle exec rake"
|
32
32
|
},
|
33
|
-
"version": "5.0.
|
33
|
+
"version": "5.0.1"
|
34
34
|
}
|
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: 5.0.
|
4
|
+
version: 5.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Reuter
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
|
-
date: 2018-
|
20
|
+
date: 2018-06-08 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: aruba
|
@@ -25,14 +25,14 @@ dependencies:
|
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.
|
28
|
+
version: '0.14'
|
29
29
|
type: :development
|
30
30
|
prerelease: false
|
31
31
|
version_requirements: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: '0.14'
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: css_parser
|
38
38
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,6 +47,20 @@ dependencies:
|
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '1.4'
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: cucumber
|
52
|
+
requirement: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '2.0'
|
57
|
+
type: :development
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '2.0'
|
50
64
|
- !ruby/object:Gem::Dependency
|
51
65
|
name: rake
|
52
66
|
requirement: !ruby/object:Gem::Requirement
|
@@ -126,6 +140,7 @@ executables:
|
|
126
140
|
extensions: []
|
127
141
|
extra_rdoc_files: []
|
128
142
|
files:
|
143
|
+
- ".circleci/config.yml"
|
129
144
|
- ".github/ISSUE_TEMPLATE.md"
|
130
145
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
131
146
|
- ".gitignore"
|
@@ -133,6 +148,7 @@ files:
|
|
133
148
|
- ".npmignore"
|
134
149
|
- ".ruby-version"
|
135
150
|
- ".scss-lint.yml"
|
151
|
+
- ".tool-versions"
|
136
152
|
- CHANGELOG.md
|
137
153
|
- CODE_OF_CONDUCT.md
|
138
154
|
- CONTRIBUTING.md
|
@@ -144,7 +160,6 @@ files:
|
|
144
160
|
- bin/bourbon
|
145
161
|
- bourbon.gemspec
|
146
162
|
- bower.json
|
147
|
-
- circle.yml
|
148
163
|
- core/_bourbon.scss
|
149
164
|
- core/bourbon/helpers/_buttons-list.scss
|
150
165
|
- core/bourbon/helpers/_scales.scss
|
@@ -290,7 +305,7 @@ files:
|
|
290
305
|
- spec/support/matchers/have_value.rb
|
291
306
|
- spec/support/parser_support.rb
|
292
307
|
- spec/support/sass_support.rb
|
293
|
-
homepage:
|
308
|
+
homepage: https://www.bourbon.io/
|
294
309
|
licenses:
|
295
310
|
- MIT
|
296
311
|
metadata: {}
|
@@ -310,7 +325,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
310
325
|
version: '0'
|
311
326
|
requirements: []
|
312
327
|
rubyforge_project:
|
313
|
-
rubygems_version: 2.6.
|
328
|
+
rubygems_version: 2.6.14
|
314
329
|
signing_key:
|
315
330
|
specification_version: 4
|
316
331
|
summary: A lightweight Sass tool set.
|
data/circle.yml
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
dependencies:
|
2
|
-
override:
|
3
|
-
- bundle install
|
4
|
-
- npm install -g sassdoc@2.2.0
|
5
|
-
general:
|
6
|
-
branches:
|
7
|
-
ignore:
|
8
|
-
- gh-pages
|
9
|
-
machine:
|
10
|
-
node:
|
11
|
-
version: 6.9.5
|
12
|
-
test:
|
13
|
-
override:
|
14
|
-
- bundle exec rake
|
15
|
-
post:
|
16
|
-
- sassdoc core/ --parse --verbose --strict
|