songdrop 0.1.3 → 0.1.4

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: e1d26b0298ab987e8c13dcedc093a362952556c8
4
- data.tar.gz: 4962b9cac1f1795c9cd4b02ddaccc3eaa280e7c2
3
+ metadata.gz: 4f3fdc60db02c8bbfa36023b732257ff4ae00065
4
+ data.tar.gz: 941b8112fe6a9344ddfe55f9d12c21b241662437
5
5
  SHA512:
6
- metadata.gz: 38b0930b2acbbb230ab3677b3c78004b7b3e60f9330a133cf3f06de2e2da8481aedcbe7e57db11cac83a175d522067fee912977a5939497fb21c85412e4fbf83
7
- data.tar.gz: 5a54528f834d61f0c507400184c17537fe0db7aa5e26e251b81b43f649a60f7aa794090675b3a8015bff0bbb2fb3b2fa8a86bfae89fed46818f554efb87bfa97
6
+ metadata.gz: 235593bdfb705801839aeae291eb10099d587001a44a03355c03c29f3d3c0fcd12ed93b9d3188e85f73dbbabea2eccfa40c81dc78fe2fdb674448ce50f21088a
7
+ data.tar.gz: d6386baee0d822ec72f8d58cf1c6aad21871bb64f26e307a00c2b1c9409b855451f326034ef1f9e08d319fbd3e0c275f4c5128423be5d7420f56c07ab47f6d8d
@@ -1,10 +1,10 @@
1
1
  module Songdrop
2
2
  module ImageHelper
3
3
 
4
- def image_url(options={})
4
+ def image(options={})
5
5
  options[:action] ||= 'crop'
6
6
  options[:size] ||= '50x50'
7
- self.image.gsub('ACTION', options[:action]).gsub('WIDTHxHEIGHT', options[:size])
7
+ self.image_url.gsub('ACTION', options[:action]).gsub('WIDTHxHEIGHT', options[:size])
8
8
  end
9
9
 
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: songdrop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Taylor