retina_rails 0.0.1 → 0.0.2
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/README.md +2 -2
- data/lib/retina_rails/version.rb +1 -1
- data/retina_rails.gemspec +1 -1
- metadata +3 -3
data/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
## Retina Rails [](http://travis-ci.org/jhnvz/retina_rails)
|
|
2
2
|
|
|
3
|
-
Makes your live easier optimizing for retina displays.
|
|
3
|
+
Makes your live easier optimizing an application for retina displays.
|
|
4
4
|
|
|
5
5
|
How it works
|
|
6
6
|
------------
|
|
7
7
|
|
|
8
|
-
Retina Rails automatically generates retina versions of your uploaded images (
|
|
8
|
+
Retina Rails automatically generates retina versions of your uploaded images (CarrierWave or Paperclip). It detects if a visitor has a retina display and if so it displays the @2x version.
|
|
9
9
|
|
|
10
10
|
Note: It also works for images that live in assets/images
|
|
11
11
|
|
data/lib/retina_rails/version.rb
CHANGED
data/retina_rails.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
|
|
|
10
10
|
gem.email = ["johan@vzonneveld.nl"]
|
|
11
11
|
gem.homepage = 'https://github.com/jhnvz/retina_rails.git'
|
|
12
12
|
gem.summary = %q{Makes your live easier optimizing for retina displays}
|
|
13
|
-
gem.description = %q{Retina Rails automatically generates retina versions of your uploaded images (
|
|
13
|
+
gem.description = %q{Retina Rails automatically generates retina versions of your uploaded images (CarrierWave or Paperclip). It detects if a visitor has a retina display and if so it displays the @2x version}
|
|
14
14
|
|
|
15
15
|
gem.files = `git ls-files`.split($/)
|
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: retina_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -140,8 +140,8 @@ dependencies:
|
|
|
140
140
|
- !ruby/object:Gem::Version
|
|
141
141
|
version: '0'
|
|
142
142
|
description: Retina Rails automatically generates retina versions of your uploaded
|
|
143
|
-
images (
|
|
144
|
-
|
|
143
|
+
images (CarrierWave or Paperclip). It detects if a visitor has a retina display
|
|
144
|
+
and if so it displays the @2x version
|
|
145
145
|
email:
|
|
146
146
|
- johan@vzonneveld.nl
|
|
147
147
|
executables: []
|