compass-core 1.0.0.alpha.16 → 1.0.0.alpha.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,19 @@
1
+ module Compass::Util
2
+ extend self
3
+
4
+ def compass_warn(*args)
5
+ Sass::Util.sass_warn(*args)
6
+ end
7
+
8
+ def blank?(value)
9
+ case value
10
+ when NilClass, FalseClass
11
+ true
12
+ when String, Array
13
+ value.length.zero?
14
+ else
15
+ false
16
+ end
17
+ end
18
+
19
+ end
@@ -36,7 +36,7 @@ $compass-configured: false !default;
36
36
  // When set to `false`, all subsequent calls will be ignored without a warning.
37
37
  // When set to `true`, the configuration will be added to any existing configuration.
38
38
  @mixin compass-configuration($options: (), $reconfigure: null, $arguments...) {
39
- @if & != null {
39
+ @if not at-stylesheet-root() {
40
40
  // this should be @error once that exists.
41
41
  @warn "include compass-configuration from the root level of your stylesheet."
42
42
  }
@@ -1,3 +1,7 @@
1
+ // Map of compass extensions that are loaded. The value will either be
2
+ // the version of the extension or `true` if the version is unknown.
3
+ $compass-extensions: compass-extensions() !default;
4
+
1
5
  // The list of browsers you want to support.
2
6
  // Defaults to all.
3
7
  $supported-browsers: browsers() !default;
@@ -73,8 +77,9 @@ $css-sel2-support-threshold: $critical-usage-threshold !default;
73
77
  @return false;
74
78
  } @else {
75
79
  // If the version is less than the current min, it is not supported
76
- $too-old: compare-browser-versions($browser, $version, $current-max) < 0;
77
- @if $too-old {
80
+ $too-old: compare-browser-versions($browser, $version, $current-min) < 0;
81
+ $too-new: compare-browser-versions($browser, $version, $current-max) > 0;
82
+ @if $too-old or $too-new {
78
83
  @if $debug-browser-support {
79
84
  @return "The current scope only works with #{display-browser-range($browser, $current-min, $current-max)}.";
80
85
  } @else {
@@ -36,7 +36,7 @@ $grid-background-force-fluid : false !default;
36
36
  @function get-baseline-gradient(
37
37
  $color : $grid-background-baseline-color
38
38
  ) {
39
- $gradient: linear-gradient(bottom, $color 5%, rgba($color,0) 5%);
39
+ $gradient: linear-gradient(to top, $color 5%, rgba($color,0) 5%);
40
40
  @return $gradient;
41
41
  }
42
42
 
@@ -17,22 +17,22 @@
17
17
  border: {
18
18
  right: $width solid $color;
19
19
  bottom: $width solid $color;
20
- left-width: 0px;
21
- top-width: 0px; };
20
+ left-width: 0;
21
+ top-width: 0; };
22
22
  &:last-child {
23
- border-right-width: 0px; }
23
+ border-right-width: 0; }
24
24
 
25
25
  // IE8 ignores rules that are included on the same line as :last-child
26
26
  // see http://www.richardscarrott.co.uk/posts/view/ie8-last-child-bug for details
27
27
  @if support-legacy-browser(ie, "8") {
28
28
  &.last {
29
- border-right-width: 0px; } } }
29
+ border-right-width: 0; } } }
30
30
 
31
31
  tbody, tfoot {
32
32
  tr:last-child {
33
33
  th, td {
34
- border-bottom-width: 0px; } }
34
+ border-bottom-width: 0; } }
35
35
  @if support-legacy-browser(ie, "8") {
36
36
  tr.last {
37
37
  th, td {
38
- border-bottom-width: 0px; } } } } }
38
+ border-bottom-width: 0; } } } } }
metadata CHANGED
@@ -1,15 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-core
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3793801405
5
- prerelease: 6
6
- segments:
7
- - 1
8
- - 0
9
- - 0
10
- - alpha
11
- - 16
12
- version: 1.0.0.alpha.16
4
+ version: 1.0.0.alpha.17
13
5
  platform: ruby
14
6
  authors:
15
7
  - Chris Eppstein
@@ -20,69 +12,49 @@ autorequire:
20
12
  bindir: bin
21
13
  cert_chain: []
22
14
 
23
- date: 2013-12-11 00:00:00 Z
15
+ date: 2014-02-08 00:00:00 Z
24
16
  dependencies:
25
17
  - !ruby/object:Gem::Dependency
18
+ name: sass
19
+ prerelease: false
26
20
  version_requirements: &id001 !ruby/object:Gem::Requirement
27
- none: false
28
21
  requirements:
29
22
  - - ">="
30
23
  - !ruby/object:Gem::Version
31
- hash: 2929306355
32
- segments:
33
- - 3
34
- - 3
35
- - rc
36
- - 1
37
- version: 3.3.rc.1
38
- name: sass
39
- prerelease: false
40
- type: :runtime
24
+ version: 3.3.rc.3
41
25
  requirement: *id001
26
+ type: :runtime
42
27
  - !ruby/object:Gem::Dependency
28
+ name: multi_json
29
+ prerelease: false
43
30
  version_requirements: &id002 !ruby/object:Gem::Requirement
44
- none: false
45
31
  requirements:
46
32
  - - ~>
47
33
  - !ruby/object:Gem::Version
48
- hash: 15
49
- segments:
50
- - 1
51
- - 0
52
34
  version: "1.0"
53
- name: multi_json
54
- prerelease: false
55
- type: :runtime
56
35
  requirement: *id002
36
+ type: :runtime
57
37
  - !ruby/object:Gem::Dependency
38
+ name: bundler
39
+ prerelease: false
58
40
  version_requirements: &id003 !ruby/object:Gem::Requirement
59
- none: false
60
41
  requirements:
61
42
  - - ~>
62
43
  - !ruby/object:Gem::Version
63
- hash: 9
64
- segments:
65
- - 1
66
- - 3
67
44
  version: "1.3"
68
- name: bundler
69
- prerelease: false
70
- type: :development
71
45
  requirement: *id003
46
+ type: :development
72
47
  - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ prerelease: false
73
50
  version_requirements: &id004 !ruby/object:Gem::Requirement
74
- none: false
75
51
  requirements:
76
- - - ">="
52
+ - &id005
53
+ - ">="
77
54
  - !ruby/object:Gem::Version
78
- hash: 3
79
- segments:
80
- - 0
81
55
  version: "0"
82
- name: rake
83
- prerelease: false
84
- type: :development
85
56
  requirement: *id004
57
+ type: :development
86
58
  description: The Compass core stylesheet library and minimum required ruby extensions. This library can be used stand-alone without the compass ruby configuration file or compass command line tools.
87
59
  email:
88
60
  - chris@eppsteins.net
@@ -93,6 +65,9 @@ extensions: []
93
65
  extra_rdoc_files: []
94
66
 
95
67
  files:
68
+ - LICENSE.txt
69
+ - RELEASE_VERSION
70
+ - VERSION
96
71
  - data/caniuse.json
97
72
  - data/caniuse_extras/css-placeholder.json
98
73
  - lib/compass-core.rb
@@ -126,6 +101,7 @@ files:
126
101
  - lib/compass/core/sass_extensions/monkey_patches/traversal.rb
127
102
  - lib/compass/core/version.rb
128
103
  - lib/compass/error.rb
104
+ - lib/compass/util.rb
129
105
  - stylesheets/_compass.scss
130
106
  - stylesheets/_lemonade.scss
131
107
  - stylesheets/compass/_configuration.scss
@@ -230,43 +206,30 @@ files:
230
206
  - templates/project/manifest.rb
231
207
  - templates/project/print.sass
232
208
  - templates/project/screen.sass
233
- - VERSION
234
- - LICENSE.txt
235
- - RELEASE_VERSION
236
209
  homepage: http://compass-style.org/reference/compass/
237
210
  licenses:
238
211
  - MIT
212
+ metadata: {}
213
+
239
214
  post_install_message:
240
215
  rdoc_options: []
241
216
 
242
217
  require_paths:
243
218
  - lib
244
219
  required_ruby_version: !ruby/object:Gem::Requirement
245
- none: false
246
220
  requirements:
247
- - - ">="
248
- - !ruby/object:Gem::Version
249
- hash: 3
250
- segments:
251
- - 0
252
- version: "0"
221
+ - *id005
253
222
  required_rubygems_version: !ruby/object:Gem::Requirement
254
- none: false
255
223
  requirements:
256
224
  - - ">"
257
225
  - !ruby/object:Gem::Version
258
- hash: 25
259
- segments:
260
- - 1
261
- - 3
262
- - 1
263
226
  version: 1.3.1
264
227
  requirements: []
265
228
 
266
229
  rubyforge_project:
267
- rubygems_version: 1.8.15
230
+ rubygems_version: 2.2.1
268
231
  signing_key:
269
- specification_version: 3
232
+ specification_version: 4
270
233
  summary: The Compass core stylesheet library
271
234
  test_files: []
272
235