effective_assets 1.5.8 → 1.5.9

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: 6d86b151835a4b6d38f392747274fba680278ed4
4
- data.tar.gz: 5b19883461c3df3048ebbe19aef15ca595c2c815
3
+ metadata.gz: 41804e6031d6278c71d8a0ce02859fb10098c2a7
4
+ data.tar.gz: cd886ee1f0f6b370ac08d3d209437d70bef6cbb7
5
5
  SHA512:
6
- metadata.gz: 903e43da59a2c98767ce03d6279a659c5810235c7cdcf9e8485415b019d003dfb4b59a3b90c09ff47a5899649f67a7db4b18c10c56938470e9941e3f0e339720
7
- data.tar.gz: d1bb9bc0d95f799730122d6761808879080553c4b0c104815a71ff55ceb71218e680a7a93c80fc7d58fb35760396bc898010bd0172b0128c41b67fc89d3d15ea
6
+ metadata.gz: c46f72d72049f125c0ebd87f6d6d3c23d7ea2954d9ad6d638e813e5bc7e733a66429188afdfeb33352551933756e771bd10a2dff1e43040c30e72012fbb6b1c7
7
+ data.tar.gz: f5a9390ec026e2002b1ab93016ef33244bb563c6bd1126c4aac07a7bcff5f799cbefd6dde6a1e7e27287b0ff3616e96d570e841e412e5bbff3e13aa8889bf41a
@@ -32,7 +32,7 @@ if defined?(ActiveAdmin)
32
32
  end
33
33
 
34
34
  unless asset.processed?
35
- li image_tag('/assets/effective_assets/spinner.gif', :alt => 'Generating additional image sizes...')
35
+ li image_tag('effective_assets/spinner.gif', :alt => 'Generating additional image sizes...')
36
36
  li 'Generating additional sizes...'
37
37
  li "Please #{link_to 'Refresh', '#', :title => 'Refresh this page', :onclick => 'window.location.reload();'} in a moment.".html_safe
38
38
  else
@@ -10,7 +10,7 @@
10
10
 
11
11
  - if attachment_actions.include?('remove')
12
12
  %a.attachment-remove{:href => '#'}
13
- %img{:src => asset_path('effective_assets/icon_close.png'), :alt => 'Remove'}
13
+ = image_tag('effective_assets/icon_close.png', alt: 'Remove')
14
14
 
15
15
  - if attachment.persisted?
16
16
  = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][id]", attachment.id)
@@ -13,7 +13,7 @@
13
13
 
14
14
  - if attachment_actions.include?('remove')
15
15
  %a.attachment-remove{:href => '#'}
16
- %img{:src => asset_path('effective_assets/icon_close.png'), :alt => 'Remove'}
16
+ = image_tag('effective_assets/icon_close.png', alt: 'Remove')
17
17
 
18
18
  - if attachment.persisted?
19
19
  = hidden_field_tag("#{attachable_object_name}[attachments_attributes][#{uid}][id]", attachment.id)
@@ -3,6 +3,6 @@
3
3
  = "{%=o.name%}"
4
4
  .progress
5
5
  %span
6
- %img{:src => asset_path('effective_assets/spinner.gif'), :class => 'spinner'}
6
+ = image_tag('effective_assets/spinner.gif', :class => 'spinner')
7
7
  Uploading...
8
8
  .bar{:style => 'width: 0%'}
@@ -31,7 +31,7 @@ module EffectiveAssets
31
31
  end
32
32
 
33
33
  initializer "effective_assets.append_precompiled_assets" do |app|
34
- Rails.application.config.assets.precompile += ['effective_assets.js', 'effective_assets_iframe.js', 'effective_assets_iframe.css', 'spinner.gif']
34
+ Rails.application.config.assets.precompile += ['effective_assets.js', 'effective_assets_iframe.js', 'effective_assets_iframe.css', 'effective_assets/icon_close.png', 'effective_assets/spinner.gif']
35
35
  end
36
36
 
37
37
  # ActiveAdmin (optional)
@@ -1,3 +1,3 @@
1
1
  module EffectiveAssets
2
- VERSION = '1.5.8'.freeze
2
+ VERSION = '1.5.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.8
4
+ version: 1.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-14 00:00:00.000000000 Z
11
+ date: 2016-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails