beef-has_assets 0.7.8 → 0.7.9

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.8
1
+ 0.7.9
@@ -20,7 +20,7 @@ module AssetsHelper
20
20
  else
21
21
  return
22
22
  end
23
- documents_items = documents.collect { |asset| content_tag( :li, link_to("<em>Download <span class=\"filename\">#{asset.filename}</span></em> (#{number_to_human_size(asset.size)})", asset.public_filename, :title => asset.description, :target => '_blank' ) ) }
23
+ documents_items = documents.collect { |asset| content_tag( :li, link_to("<em>Download <span class=\"filename\">#{asset.filename}</span></em> (#{number_to_human_size(asset.size)})", asset.public_filename, :title => asset.description, :target => '_blank' ), :class => asset.content_type.parameterize ) }
24
24
  content_tag :ul, documents_items.join, :class => 'documents' unless documents_items.empty?
25
25
  end
26
26
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{beef-has_assets}
8
- s.version = "0.7.8"
8
+ s.version = "0.7.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Steve England"]
12
- s.date = %q{2010-07-14}
12
+ s.date = %q{2010-07-15}
13
13
  s.email = %q{steve@wearebeef.co.uk}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beef-has_assets
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 8
10
- version: 0.7.8
9
+ - 9
10
+ version: 0.7.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Steve England
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-14 00:00:00 +01:00
18
+ date: 2010-07-15 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies: []
21
21