retina_image_tag 0.0.13 → 1.0.0
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.
- data/.gitignore +1 -0
- data/.travis.yml +4 -0
- data/README.md +3 -0
- data/lib/retina_image_tag/version.rb +1 -1
- data/retina_image_tag.gemspec +0 -1
- metadata +3 -19
- data/.DS_Store +0 -0
data/.gitignore
CHANGED
data/.travis.yml
ADDED
data/README.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
retina_image_tag is a ViewHelper for Rails 3.1. in contrast to the normal Rails image_tag knows the retina_image_tag if the user invokes an image on a Apple Retina Display.
|
|
4
4
|
|
|
5
|
+
[](https://gemnasium.com/ffaerber/retina_image_tag)
|
|
6
|
+
|
|
7
|
+
|
|
5
8
|
### Retina Display
|
|
6
9
|
The Retina Display on the iPhone4 and iPad3 doubles the pixel resolution of the display.
|
|
7
10
|
You can think about a full screen display with dimensions of 320x480 for iPhone4 and 1024x768 for iPad3. The big difference is that these dimensions are now expressed in points not in pixels. What has changed is the scaling factor of the screen which determines how a point relates to a pixel. The iPhone4 retina display has a scale of 2 so that 1 point = 2 pixels.
|
data/retina_image_tag.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: retina_image_tag
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 1.0.0
|
|
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: 2012-
|
|
12
|
+
date: 2012-06-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: railties
|
|
@@ -43,22 +43,6 @@ dependencies:
|
|
|
43
43
|
- - ~>
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
45
|
version: 2.13.1
|
|
46
|
-
- !ruby/object:Gem::Dependency
|
|
47
|
-
name: fastimage
|
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
|
-
requirements:
|
|
51
|
-
- - ~>
|
|
52
|
-
- !ruby/object:Gem::Version
|
|
53
|
-
version: 1.2.13
|
|
54
|
-
type: :runtime
|
|
55
|
-
prerelease: false
|
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
none: false
|
|
58
|
-
requirements:
|
|
59
|
-
- - ~>
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: 1.2.13
|
|
62
46
|
description: ! 'A high-resolution image is loaded when the retina_image_tag is called
|
|
63
47
|
from a retina display '
|
|
64
48
|
email:
|
|
@@ -67,9 +51,9 @@ executables: []
|
|
|
67
51
|
extensions: []
|
|
68
52
|
extra_rdoc_files: []
|
|
69
53
|
files:
|
|
70
|
-
- .DS_Store
|
|
71
54
|
- .gitignore
|
|
72
55
|
- .rvmrc
|
|
56
|
+
- .travis.yml
|
|
73
57
|
- Gemfile
|
|
74
58
|
- LICENSE
|
|
75
59
|
- README.md
|
data/.DS_Store
DELETED
|
Binary file
|