retina_rails 2.0.1 → 2.0.2

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: 3348ab981ce8e305a3bc0d9f92f285db7a592050
4
- data.tar.gz: c9b32df090ae747bf5a3815fbb66fe68bb463d87
3
+ metadata.gz: 19b12db19242f41e40ec3ae029cf09e707b22ade
4
+ data.tar.gz: f77693ce7344bbf1f739242195ea610f800c7705
5
5
  SHA512:
6
- metadata.gz: dc0d266b80bb18106f0cb127e1fd8c8adc594307efb302269589bdc04b301a2199036765723ef4eb261820739b6bb3705564f992ca126cdcc8546a48b1f6a1ac
7
- data.tar.gz: 34afe57cbfb49236c76c20aca3765d45bf3c3449d31d28845a4f56a379dd317d9baa1372d43ee813d03d19a3ee0182bee533bcf30a5bd60112b7dd19e5a190b2
6
+ metadata.gz: ff59dafed1acbbd754f7f8512654bfbe038e3af447d4d4f535dde47eb4350b35861f1bb9bbce540269a5101943ec92de5a5e1dd2d8aadf7bd90e612f9a7a3ceb
7
+ data.tar.gz: 3c90e7297088d37efe5977b6da46990235784efaa38165513cddae5005517c7bab7b67e81b8bf3965514d93badfccba70074f6213e1a6a71be5cc0d7a8c68b05
@@ -4,6 +4,7 @@ rvm:
4
4
  - 1.9.3
5
5
  - 2.0.0
6
6
  - 2.1.1
7
+ - 2.1.3
7
8
  - ruby-head
8
9
 
9
10
  env:
data/README.md CHANGED
@@ -1,6 +1,16 @@
1
1
  ## Retina Rails
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/retina_rails.png)](http://badge.fury.io/rb/retina_rails) [![Build Status](https://secure.travis-ci.org/jhnvz/retina_rails.png?branch=master)](http://travis-ci.org/jhnvz/retina_rails) [![Coverage Status](https://coveralls.io/repos/jhnvz/retina_rails/badge.png?branch=master)](https://coveralls.io/r/jhnvz/retina_rails) [![Code Climate](https://codeclimate.com/github/jhnvz/retina_rails.png)](https://codeclimate.com/github/jhnvz/retina_rails) [![Dependency Status](https://gemnasium.com/jhnvz/retina_rails.png)](https://gemnasium.com/jhnvz/retina_rails)
3
+ [![Gem Version](http://img.shields.io/gem/v/retina_rails.svg?style=flat)][gem]
4
+ [![Build Status](http://img.shields.io/travis/jhnvz/retina_rails.svg?style=flat)][travis]
5
+ [![Coverage Status](http://img.shields.io/coveralls/jhnvz/retina_rails.svg?style=flat)][coveralls]
6
+ [![Code Climate](http://img.shields.io/codeclimate/github/jhnvz/retina_rails.svg?style=flat)][codeclimate]
7
+ [![Dependency Status](http://img.shields.io/gemnasium/jhnvz/retina_rails.svg?style=flat)][gemnasium]
8
+
9
+ [gem]: https://rubygems.org/gems/retina_rails
10
+ [travis]: http://travis-ci.org/jhnvz/retina_rails
11
+ [coveralls]: https://coveralls.io/r/jhnvz/retina_rails
12
+ [codeclimate]: https://codeclimate.com/github/jhnvz/retina_rails
13
+ [gemnasium]: https://gemnasium.com/jhnvz/retina_rails
4
14
 
5
15
  Makes your life easier optimizing an application for retina displays.
6
16
 
@@ -27,7 +37,7 @@ Resources
27
37
  - [Carrierwave](#carrierwave)
28
38
  - [Paperclip](#paperclip)
29
39
  - [Displaying a retina image](#displaying-a-retina-image)
30
- - [Upgrading](https://github.com/jhnvz/retina_rails/blob/master/UPGRADING.md)
40
+ - [Upgrading](https://github.com/jhnvz/retina_rails/blob/master/UPGRADING.md)
31
41
 
32
42
  Installation
33
43
  ------------
@@ -137,6 +147,7 @@ implementations:
137
147
  * Ruby 1.9.3
138
148
  * Ruby 2.0.0
139
149
  * Ruby 2.1.1
150
+ * Ruby 2.1.3
140
151
 
141
152
  Contributing
142
153
  ------------
@@ -9,7 +9,7 @@ module RetinaRails
9
9
  #
10
10
  def store_retina_dimensions
11
11
  if model
12
- width, height = `identify -format "%wx%h" #{file.path}`.split(/x/) ## Read dimensions
12
+ width, height = `identify -format "%wx%h" '#{file.path}'`.split(/x/) ## Read dimensions
13
13
 
14
14
  ## Set original height and width attributes on model
15
15
 
@@ -10,7 +10,7 @@ module Paperclip
10
10
  style = options[:style]
11
11
 
12
12
  if file_path
13
- width, height = `identify -format "%wx%h" #{file_path}`.split(/x/) ## Read dimensions
13
+ width, height = `identify -format "%wx%h" '#{file_path}'`.split(/x/) ## Read dimensions
14
14
 
15
15
  ## Set original height and width attributes on model
16
16
  model.retina_dimensions = (model.retina_dimensions || {}).deep_merge!(
@@ -1,3 +1,3 @@
1
1
  module RetinaRails
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
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: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johan van Zonneveld
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-02 00:00:00.000000000 Z
12
+ date: 2014-10-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler