spree_payment_image 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: b5310ff4f6991ed302775c81d4a103ed336fc890
4
- data.tar.gz: c376dfa1882a785e3cd217f5d89859eb7732e4e2
3
+ metadata.gz: 4786d37471d76f054dff1b4b97f2ef35cb8d77d6
4
+ data.tar.gz: b47fed32552b1809a78ac7ef38ffecf81885669d
5
5
  SHA512:
6
- metadata.gz: a8dde75e144ae92d6b5630864549a2d7e8def7d8e7a03562d2eb62269ab506c9a1591aca0e2c1c2f4acfd7f7928eb6f3d388c57cdfbe091a589253d30d87f2a7
7
- data.tar.gz: 47b97dd022535d0d0bbf216aa7fece246c9e277166264befc1281b0e2eb9da10eb31b68779c0a428a0bfd0fae002321300126fc0752c06b67bd60634e37a486f
6
+ metadata.gz: 37d5c561b5ffb8720841def6981f119de57170bb799b6dde3d1e546917020ed6ee11bd47b27ed172acfd78bb1d642201708725b1f7ff62c3dd0e1f435be8153b
7
+ data.tar.gz: bf45ac2c645ddafc869f2c6cb510ea81398589899d9963c8000370958a358e995eb10da56d4754a731fba761a1491a2e64b9bb8b113fb23d0625aa73bd0cdb83
@@ -3,7 +3,7 @@ module Spree
3
3
  attr_accessible :icon
4
4
 
5
5
  has_attached_file :icon,
6
- styles: { mini: '32x32>', normal: '128x128>' },
6
+ styles: { mini: 'x32', normal: 'x128' },
7
7
  default_style: :mini,
8
8
  url: '/spree/payment_methods/:id/:style/:basename.:extension',
9
9
  path: ':rails_root/public/spree/payment_methods/:id/:style/:basename.:extension',
@@ -2,5 +2,5 @@
2
2
  <div class="field">
3
3
  <%= label_tag nil, Spree.t(:icon) %>
4
4
  <%= file_field :payment_method, :icon %>
5
- <%= image_tag @payment_method.icon.url(:normal) if @payment_method.icon? %>
5
+ <%= image_tag @payment_method.icon.url(:mini) if @payment_method.icon? %>
6
6
  </div>
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'spree_payment_image'
5
- s.version = '2.0.1'
5
+ s.version = '2.0.2'
6
6
  s.summary = 'Allow attach image to payment methods'
7
7
  s.description = 'Allow to upload a payment method image'
8
8
  s.required_ruby_version = '>= 1.9.3'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_payment_image
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
  - Steven Barragan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-30 00:00:00.000000000 Z
11
+ date: 2014-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core