beef-has_assets 0.3.8 → 0.3.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.3.
|
1
|
+
0.3.9
|
@@ -169,7 +169,7 @@ Object.extend(AssetBrowser, {
|
|
169
169
|
|
170
170
|
addAssetToContentNode: function(asset) {
|
171
171
|
if (!this.assetList) {
|
172
|
-
$('attach-asset-list').insert({top:'<h2 class="drop-down open">' + this.contentNodeForm.model_name + ' Files</h2><ul class="asset-list" id="asset-list"></ul>'});
|
172
|
+
$('attach-asset-list').insert({top:'<h2 class="drop-down open">' + this.contentNodeForm.model_name.charAt(0).toUpperCase() + this.contentNodeForm.model_name.slice(1).toLowerCase() + ' Files</h2><ul class="asset-list" id="asset-list"></ul>'});
|
173
173
|
this.setUpAssetList();
|
174
174
|
}
|
175
175
|
|
data/has_assets.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{has_assets}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.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{2009-09-
|
12
|
+
s.date = %q{2009-09-17}
|
13
13
|
s.email = %q{steve@wearebeef.co.uk}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE",
|
@@ -73,8 +73,8 @@ Gem::Specification.new do |s|
|
|
73
73
|
s.rubygems_version = %q{1.3.5}
|
74
74
|
s.summary = %q{Rails Engine. Adds uploadable assets to a model and admin area for files}
|
75
75
|
s.test_files = [
|
76
|
-
"test/
|
77
|
-
"test/
|
76
|
+
"test/test_helper.rb",
|
77
|
+
"test/has_assets_test.rb"
|
78
78
|
]
|
79
79
|
|
80
80
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beef-has_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve England
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-09-
|
12
|
+
date: 2009-09-17 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -101,5 +101,5 @@ signing_key:
|
|
101
101
|
specification_version: 3
|
102
102
|
summary: Rails Engine. Adds uploadable assets to a model and admin area for files
|
103
103
|
test_files:
|
104
|
-
- test/has_assets_test.rb
|
105
104
|
- test/test_helper.rb
|
105
|
+
- test/has_assets_test.rb
|