neat 2.1.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -5
- data/Gulpfile.js +2 -1
- data/README.md +4 -2
- data/bower.json +1 -1
- data/contrib/patterns/_grid-media.scss +1 -17
- data/contrib/patterns/_grid-nested.scss +1 -1
- data/core/_neat.scss +1 -1
- data/core/neat/mixins/_grid-container.scss +2 -2
- data/core/neat/mixins/_grid-media.scss +37 -16
- data/lib/neat/version.rb +1 -1
- data/package-lock.json +4687 -0
- data/package.json +3 -3
- data/spec/fixtures/mixins/grid-media.scss +6 -0
- data/spec/neat/mixins/grid_media_spec.rb +14 -0
- data/spec/support/sass_support.rb +1 -1
- metadata +4 -3
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "bourbon-neat",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.0",
|
4
4
|
"description": "A lightweight, semantic grid framework",
|
5
5
|
"keywords": [
|
6
6
|
"columns",
|
@@ -37,8 +37,8 @@
|
|
37
37
|
"devDependencies": {
|
38
38
|
"gulp": "^3.9",
|
39
39
|
"gulp-autoprefixer": "^3.1",
|
40
|
-
"gulp-connect": "^5.0",
|
41
|
-
"gulp-sass": "^3.1"
|
40
|
+
"gulp-connect": "^5.5.0",
|
41
|
+
"gulp-sass": "^3.2.1"
|
42
42
|
},
|
43
43
|
"eyeglass": {
|
44
44
|
"name": "neat",
|
@@ -22,4 +22,18 @@ describe "@include grid-media() {...}" do
|
|
22
22
|
expect(".grid-column-media-print-neat-grid").to be_contained_in("print")
|
23
23
|
end
|
24
24
|
end
|
25
|
+
|
26
|
+
context "with argument ($custom-neat-grid, $specific-neat-grid, $print-neat-grid)" do
|
27
|
+
it "outputs @media only screen and (min-width: 1000px)" do
|
28
|
+
expect(".grid-column-media-combined-grid").to be_contained_in("only screen and (min-width: 1000px)")
|
29
|
+
end
|
30
|
+
|
31
|
+
it "outputs @media only screen and (min-width: 1000px) and (max-width: 1100px)" do
|
32
|
+
expect(".grid-column-media-combined-grid").to be_contained_in("only screen and (min-width: 1000px) and (max-width: 1100px)")
|
33
|
+
end
|
34
|
+
|
35
|
+
it "outputs @media print" do
|
36
|
+
expect(".grid-column-media-combined-grid").to be_contained_in("print")
|
37
|
+
end
|
38
|
+
end
|
25
39
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Oliveira
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date:
|
17
|
+
date: 2018-06-29 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: aruba
|
@@ -177,6 +177,7 @@ files:
|
|
177
177
|
- lib/neat/generator.rb
|
178
178
|
- lib/neat/version.rb
|
179
179
|
- neat.gemspec
|
180
|
+
- package-lock.json
|
180
181
|
- package.json
|
181
182
|
- spec/.keep
|
182
183
|
- spec/fixtures/_setup.scss
|
@@ -231,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
231
232
|
version: '0'
|
232
233
|
requirements: []
|
233
234
|
rubyforge_project:
|
234
|
-
rubygems_version: 2.
|
235
|
+
rubygems_version: 2.5.1
|
235
236
|
signing_key:
|
236
237
|
specification_version: 4
|
237
238
|
summary: A lightweight Sass grid framework
|