compass-core 1.0.1 → 1.0.3

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: 4095b9809e272caf4153044e6559c2aa9dcfac66
4
- data.tar.gz: 3867998fc24a1854ebe2204b46d5ae7510114436
3
+ metadata.gz: 0bc443885f23b14cbf53e402b2be7524191e37c5
4
+ data.tar.gz: 0a77182ae5551affb04aae0a73569ec2c8b10b8e
5
5
  SHA512:
6
- metadata.gz: 0f3769a146ca8a6caf67e49ede88f727ffc0265bc94ab39d8548e0c0b95c9231ceebd290de1e6ab2721e11829cc3582cd5933a10960024df30ee16a2201dc279
7
- data.tar.gz: cebc75b2873320359cca43a74f5765dae5518a012baf7a69804b313f9c9e4140552ab03793c8472ce85aecaae3e446d2d63bc698734fd210e92273599a06da6f
6
+ metadata.gz: f10425d639ac0785927fbfa9aeece35d6586a23e296404b518a31c165ba5b801b5f8987288ee39014b3e9c7b3466e6354698bc54cd62f509694311d83fb70db4
7
+ data.tar.gz: d0499181e5dfebcae9b9f61d2b6f25cb6b1c7bf76cdbb8bad42e732dff532b3e7f218c38109df049ada90014c7332b6ac8d8ce49ed15c2fd0a6048befc5299d5
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.3
@@ -79,7 +79,7 @@ module Compass
79
79
 
80
80
  def sass_load_paths
81
81
  load_paths = []
82
- load_paths << sass_path if sass_path
82
+ load_paths << sass_path if sass_path && File.directory?(sass_path)
83
83
  Compass::Frameworks::ALL.each do |f|
84
84
  load_paths << f.stylesheets_directory if File.directory?(f.stylesheets_directory)
85
85
  end
@@ -69,7 +69,7 @@ class Compass::Core::CanIUse
69
69
  end
70
70
 
71
71
  # returns the prefixes needed by the list of browsers given
72
- def prefixes(browsers = browsers)
72
+ def prefixes(browsers = browsers())
73
73
  result = browsers.map{|b| all_prefixes(b) }
74
74
  result.flatten!
75
75
  result.uniq!
@@ -1,5 +1,6 @@
1
1
  module Compass
2
2
  module Core
3
- VERSION = "1.0.1"
3
+ # This file intentionally does nothing.
4
+ # The build process will generate a VERSION constant here.
4
5
  end
5
6
  end
@@ -275,9 +275,9 @@ $css-sel2-support-threshold: $critical-usage-threshold !default;
275
275
  $old-range: map-get($ranges, $browser);
276
276
  @if $old-range {
277
277
  $old-min: nth($old-range, 1);
278
- $old-max: nth($old-range, 2);
278
+ $old-max: if(length($old-range) == 1, $old-min, nth($old-range, 2));
279
279
  $new-min: nth($new-range, 1);
280
- $new-max: nth($new-range, 2);
280
+ $new-max: if(length($new-range) == 1, $new-min, nth($new-range, 2));
281
281
  $maximin: if(compare-browser-versions($browser, $old-min, $new-min) > 0,
282
282
  $old-min, $new-min);
283
283
  $minimax: if(compare-browser-versions($browser, $old-max, $new-max) < 0,
@@ -6,7 +6,7 @@
6
6
  // These defaults make the arguments optional for this mixin
7
7
  // If you like, set different defaults in your project
8
8
 
9
- $default-text-shadow-color : #aaa !default;
9
+ $default-text-shadow-color : #aaaaaa !default;
10
10
  $default-text-shadow-h-offset : 0px !default;
11
11
  $default-text-shadow-v-offset : 0px !default;
12
12
  $default-text-shadow-blur : 1px !default;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Eppstein
@@ -11,68 +11,68 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-08-19 00:00:00.000000000 Z
14
+ date: 2015-01-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: sass
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  requirements:
20
- - - '>='
20
+ - - ">="
21
21
  - !ruby/object:Gem::Version
22
22
  version: 3.3.0
23
- - - <
23
+ - - "<"
24
24
  - !ruby/object:Gem::Version
25
25
  version: '3.5'
26
26
  type: :runtime
27
27
  prerelease: false
28
28
  version_requirements: !ruby/object:Gem::Requirement
29
29
  requirements:
30
- - - '>='
30
+ - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: 3.3.0
33
- - - <
33
+ - - "<"
34
34
  - !ruby/object:Gem::Version
35
35
  version: '3.5'
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: multi_json
38
38
  requirement: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ~>
40
+ - - "~>"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '1.0'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ~>
47
+ - - "~>"
48
48
  - !ruby/object:Gem::Version
49
49
  version: '1.0'
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: bundler
52
52
  requirement: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - '>='
54
+ - - ">="
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
57
  type: :development
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - '>='
61
+ - - ">="
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: rake
66
66
  requirement: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - '>='
68
+ - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  type: :development
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - '>='
75
+ - - ">="
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  description: The Compass core stylesheet library and minimum required ruby extensions.
@@ -84,6 +84,8 @@ executables: []
84
84
  extensions: []
85
85
  extra_rdoc_files: []
86
86
  files:
87
+ - LICENSE.txt
88
+ - VERSION
87
89
  - data/caniuse.json
88
90
  - data/caniuse_extras/css-placeholder.json
89
91
  - lib/compass-core.rb
@@ -227,7 +229,6 @@ files:
227
229
  - templates/project/manifest.rb
228
230
  - templates/project/print.sass
229
231
  - templates/project/screen.sass
230
- - LICENSE.txt
231
232
  homepage: http://compass-style.org/reference/compass/
232
233
  licenses:
233
234
  - MIT
@@ -238,17 +239,17 @@ require_paths:
238
239
  - lib
239
240
  required_ruby_version: !ruby/object:Gem::Requirement
240
241
  requirements:
241
- - - '>='
242
+ - - ">="
242
243
  - !ruby/object:Gem::Version
243
244
  version: '0'
244
245
  required_rubygems_version: !ruby/object:Gem::Requirement
245
246
  requirements:
246
- - - '>='
247
+ - - ">="
247
248
  - !ruby/object:Gem::Version
248
249
  version: '0'
249
250
  requirements: []
250
251
  rubyforge_project:
251
- rubygems_version: 2.0.3
252
+ rubygems_version: 2.4.3
252
253
  signing_key:
253
254
  specification_version: 4
254
255
  summary: The Compass core stylesheet library