bourbon-compass 3.1.6 → 3.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,28 +1,28 @@
1
1
  @mixin retina-image($filename, $background-size, $extension: png, $retina-filename: null, $asset-pipeline: false) {
2
2
  @if $asset-pipeline {
3
- background-image: image_url($filename + "." + $extension);
3
+ background-image: image-url("#{$filename}.#{$extension}");
4
4
  }
5
5
  @else {
6
- background-image: url($filename + "." + $extension);
6
+ background-image: url("#{$filename}.#{$extension}");
7
7
  }
8
8
 
9
9
  @include hidpi {
10
10
 
11
11
  @if $asset-pipeline {
12
12
  @if $retina-filename {
13
- background-image: image_url($retina-filename + "." + $extension);
13
+ background-image: image-url("#{$retina-filename}.#{$extension}");
14
14
  }
15
15
  @else {
16
- background-image: image_url($filename + "@2x" + "." + $extension);
16
+ background-image: image-url("#{$filename}@2x.#{$extension}");
17
17
  }
18
18
  }
19
19
 
20
20
  @else {
21
21
  @if $retina-filename {
22
- background-image: url($retina-filename + "." + $extension);
22
+ background-image: url("#{$retina-filename}.#{$extension}");
23
23
  }
24
24
  @else {
25
- background-image: url($filename + "@2x" + "." + $extension);
25
+ background-image: url("#{$filename}@2x.#{$extension}");
26
26
  }
27
27
  }
28
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bourbon-compass
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.6
4
+ version: 3.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-30 00:00:00.000000000 Z
12
+ date: 2013-06-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: compass
@@ -43,7 +43,7 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: 3.2.0
46
- description: ThoughtBot's Bourbon packaged as Compass extension.
46
+ description: ThoughtBot's Bourbon packaged as a Compass extension.
47
47
  email: jed@jedfoster.com
48
48
  executables: []
49
49
  extensions: []
@@ -101,7 +101,7 @@ files:
101
101
  - stylesheets/bourbon/helpers/_radial-positions-parser.scss
102
102
  - stylesheets/bourbon/helpers/_render-gradients.scss
103
103
  - stylesheets/bourbon/helpers/_shape-size-stripper.scss
104
- homepage: https://github.com/thoughtbot/bourbon
104
+ homepage: https://github.com/jedfoster/bourbon-compass
105
105
  licenses: []
106
106
  post_install_message:
107
107
  rdoc_options: []
@@ -124,5 +124,5 @@ rubyforge_project:
124
124
  rubygems_version: 1.8.23
125
125
  signing_key:
126
126
  specification_version: 3
127
- summary: ThoughtBot's Bourbon packaged as Compass extension.
127
+ summary: ThoughtBot's Bourbon packaged as a Compass extension.
128
128
  test_files: []