neat 2.1.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bourbon-neat",
3
- "version": "2.1.0",
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",
@@ -37,3 +37,9 @@ $print-neat-grid: (
37
37
  @include grid-column(8);
38
38
  }
39
39
  }
40
+
41
+ .grid-column-media-combined-grid {
42
+ @include grid-media($custom-neat-grid, $specific-neat-grid, $print-neat-grid) {
43
+ @include grid-column(3);
44
+ }
45
+ }
@@ -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
@@ -1,7 +1,7 @@
1
1
  module SassSupport
2
2
  def generate_css
3
3
  _mkdir("tmp")
4
- `sass -I . --update spec/fixtures:tmp --quiet`
4
+ `sass -I . --update spec/fixtures:tmp --quiet --precision 5`
5
5
  end
6
6
 
7
7
  def clean_up
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: 2.1.0
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: 2017-06-27 00:00:00.000000000 Z
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.6.12
235
+ rubygems_version: 2.5.1
235
236
  signing_key:
236
237
  specification_version: 4
237
238
  summary: A lightweight Sass grid framework