retinajs-rails 2.1.1 → 2.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dcda49137b332b9baea53277e92bd5f65101ec9b
4
- data.tar.gz: 426e5e7b356f3d2dff27c2ad16db33bfd871ced8
3
+ metadata.gz: a070ca0daac5fbe11703a8c4b3c65555cd4722ea
4
+ data.tar.gz: 8333942ca60d252a8c2b6929465cad8f701971d7
5
5
  SHA512:
6
- metadata.gz: c6e0014315a9f34eabc7c7241e720cd790eab2cf00f749c9d2105c78f067bf5b8018badd9b71703a636faccb4b80a694aadba69ba3ee9318aa213494aa39877a
7
- data.tar.gz: dc050acf57e523618c5b11a73a0289bdb6f049b889707788b69aa1250c448cc6dbab0f51f994a69f40ac32a943782badeee03eeacf3d3294477d1f653d65f36d
6
+ metadata.gz: 363753be262a278d0e48073d452562a36f99119f068488e6bace934507fd8bd659fdd57ade629e589ecea19b0c78a98e9ca69d9aaeb1a5a7a7ec80908bb814c5
7
+ data.tar.gz: ecab4a813b04600cfd0d4730431a5de890aba804fd9f6b046596e1f3ec0bcbfb81555320fda00b5e30fea5aba6ce4622d054048fedc19f9a33b14c40c2afdc37
data/README.md CHANGED
@@ -33,9 +33,9 @@ image_tag "logo.png"
33
33
  image_tag_with_at2x "logo.png"
34
34
  ```
35
35
 
36
- This will output the HTML similar to::
36
+ This will output the HTML similar to:
37
37
  ```html
38
- <img data-at2x="/assets/logo@2x.png" src="/assets/logo.png">
38
+ <img data-rjs="/assets/logo@2x.png" src="/assets/logo.png">
39
39
  ```
40
40
 
41
41
  ### SCSS mixin
@@ -6,7 +6,7 @@ end
6
6
  module ImageHelper
7
7
  def image_tag_with_at2x(name_at_1x, options={})
8
8
  name_at_2x = name_at_1x.gsub(%r{\.\w+$}, '@2x\0')
9
- image_tag(name_at_1x, options.merge("data-at2x" => asset_path(name_at_2x)))
9
+ image_tag(name_at_1x, options.merge("data-rjs" => asset_path(name_at_2x)))
10
10
  end
11
11
  end
12
12
  ActionView::Base.send :include, ImageHelper
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'retinajs-rails'
5
- gem.version = '2.1.1'
5
+ gem.version = '2.1.2'
6
6
  gem.date = Date.today
7
7
  gem.authors = ["Joshua Jansen"]
8
8
  gem.email = ["joshuajansen88@gmail.com"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: retinajs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Jansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-05 00:00:00.000000000 Z
11
+ date: 2016-09-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Adds retina.js assets and image helpers to your Rails app
14
14
  email: