beef-has_assets 0.7.5 → 0.7.6

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.5
1
+ 0.7.6
@@ -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 ) ) }
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' ) ) }
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.5"
8
+ s.version = "0.7.6"
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-07}
12
+ s.date = %q{2010-07-12}
13
13
  s.email = %q{steve@wearebeef.co.uk}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
@@ -75,8 +75,8 @@ Gem::Specification.new do |s|
75
75
  s.rubygems_version = %q{1.3.7}
76
76
  s.summary = %q{Rails Engine. Adds uploadable assets to a model and admin area for files}
77
77
  s.test_files = [
78
- "test/has_assets_test.rb",
79
- "test/test_helper.rb"
78
+ "test/test_helper.rb",
79
+ "test/has_assets_test.rb"
80
80
  ]
81
81
 
82
82
  if s.respond_to? :specification_version then
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: 9
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 5
10
- version: 0.7.5
9
+ - 6
10
+ version: 0.7.6
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-07 00:00:00 +01:00
18
+ date: 2010-07-12 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -116,5 +116,5 @@ signing_key:
116
116
  specification_version: 3
117
117
  summary: Rails Engine. Adds uploadable assets to a model and admin area for files
118
118
  test_files:
119
- - test/has_assets_test.rb
120
119
  - test/test_helper.rb
120
+ - test/has_assets_test.rb