mix-rails-songs 0.10.3 → 0.10.4
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/song.rb +1 -1
- data/app/uploaders/songs/song_uploader.rb +3 -3
- data/lib/mix-rails-songs/version.rb +1 -1
- metadata +3 -3
data/app/models/song.rb
CHANGED
@@ -47,9 +47,9 @@ class Songs::SongUploader < CarrierWave::Uploader::Base
|
|
47
47
|
|
48
48
|
# Add a white list of extensions which are allowed to be uploaded.
|
49
49
|
# For images you might use something like this:
|
50
|
-
|
51
|
-
|
52
|
-
|
50
|
+
def extension_white_list
|
51
|
+
%w(mp3)
|
52
|
+
end
|
53
53
|
|
54
54
|
# Override the filename of the uploaded files:
|
55
55
|
# Avoid using model.id or version_name here, see uploader/store.rb for details.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mix-rails-songs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
version: '0'
|
67
67
|
segments:
|
68
68
|
- 0
|
69
|
-
hash:
|
69
|
+
hash: -209093610267708910
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
none: false
|
72
72
|
requirements:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
segments:
|
77
77
|
- 0
|
78
|
-
hash:
|
78
|
+
hash: -209093610267708910
|
79
79
|
requirements: []
|
80
80
|
rubyforge_project:
|
81
81
|
rubygems_version: 1.8.24
|