compass-retina 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
OGYzNzJhNmM2YjFhNGY1NzFkOTI0MzBjNThhYjRjOTdiOTlhNWNiMA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YjI4Y2NlNGYyMGUyZmI3MzdhYTMxMGZjOGYwZTIwYmJiMzU5OThlYQ==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
OTVhNjhlYmMyYmE0NGQ1YmQwZjRhOGExZjUyOTExMTZiNDU4ZGJjOTQ5ZjE4
|
10
|
+
N2U2YzUxYjM5OGRhMTVhYjE2YTkzZjhmNWZjNTc5MDZjZGU0YzU5Y2Y0MWM1
|
11
|
+
MWM4ZDRlNzczY2RhMzhkZGEzNjI0NGQyZjJmY2U5NTE1YzNlYzM=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NTUxODk3YjZhZGRiNmVmNTdjNzI2MDk4OGQxMmU4OTA0NmExMWUzYTJmNzky
|
14
|
+
YjZjMDI1YTg5NzNjMjczYzU3OTMyMDNkZWRkYWU1YTM2ZTQ3NzExZDRmMjBj
|
15
|
+
MDgxNWFmYjhhYjEwMmE4NTJiZDkzZmI5NzczNzk4MWFiZDYwNDY=
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Compass::SassExtensions::Functions::RetinaImages
|
2
2
|
def file_exists(filename)
|
3
3
|
filename = filename.value
|
4
|
-
filename = File.join
|
4
|
+
filename = File.join((Compass.configuration.images_path ? Compass.configuration.images_path : Compass.configuration.project_path), filename)
|
5
5
|
Sass::Script::Bool.new File.exists? filename
|
6
6
|
end
|
7
7
|
|
@@ -1,3 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* Retina helper mixins for Compass
|
3
|
+
* http://www.joelambert.co.uk
|
4
|
+
*
|
5
|
+
* Copyright 2012, Joe Lambert.
|
6
|
+
* Free to use under the MIT license.
|
7
|
+
* http://joelambert.mit-license.org/
|
8
|
+
*/
|
9
|
+
|
1
10
|
@mixin background-image-retina($image) {
|
2
11
|
background-image: image-url($image);
|
3
12
|
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-retina
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Corey Woodcox
|
@@ -10,12 +9,11 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2013-04-18 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: compass
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - ~>
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -23,7 +21,6 @@ dependencies:
|
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
25
|
- - ~>
|
29
26
|
- !ruby/object:Gem::Version
|
@@ -48,27 +45,26 @@ files:
|
|
48
45
|
- stylesheets/_compass-retina.scss
|
49
46
|
homepage: ''
|
50
47
|
licenses: []
|
48
|
+
metadata: {}
|
51
49
|
post_install_message:
|
52
50
|
rdoc_options: []
|
53
51
|
require_paths:
|
54
52
|
- lib
|
55
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
54
|
requirements:
|
58
55
|
- - ! '>='
|
59
56
|
- !ruby/object:Gem::Version
|
60
57
|
version: '0'
|
61
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
|
-
none: false
|
63
59
|
requirements:
|
64
60
|
- - ! '>='
|
65
61
|
- !ruby/object:Gem::Version
|
66
62
|
version: '0'
|
67
63
|
requirements: []
|
68
64
|
rubyforge_project:
|
69
|
-
rubygems_version:
|
65
|
+
rubygems_version: 2.0.3
|
70
66
|
signing_key:
|
71
|
-
specification_version:
|
67
|
+
specification_version: 4
|
72
68
|
summary: This awesome compass plugin inspired by Joe Lambert's mixin is awesome and
|
73
69
|
inserts retina background images if they exist right alongside the regular ones
|
74
70
|
and uses a media query to use the correct one.
|