mix-rails-songs 0.16.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,10 +8,10 @@ class Admix::SongsDatagrid
|
|
8
8
|
Song.desc(:date)
|
9
9
|
end
|
10
10
|
|
11
|
-
column :title, header: input_label(:
|
12
|
-
column :author, header: input_label(:
|
11
|
+
column :title, header: input_label(:song, :title)
|
12
|
+
column :author, header: input_label(:song, :author)
|
13
13
|
|
14
|
-
column :status, header: input_label(:
|
14
|
+
column :status, header: input_label(:song, :status) do |record|
|
15
15
|
record.status.text
|
16
16
|
end
|
17
17
|
|
@@ -22,7 +22,7 @@ class Songs::SongUploader < CarrierWave::Uploader::Base
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def cache_dir
|
25
|
-
"uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
|
25
|
+
"system/uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
|
26
26
|
end
|
27
27
|
|
28
28
|
# Provide a default URL as a default if there hasn't been a file uploaded:
|
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.
|
4
|
+
version: 0.22.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -34,21 +34,21 @@ executables: []
|
|
34
34
|
extensions: []
|
35
35
|
extra_rdoc_files: []
|
36
36
|
files:
|
37
|
-
- app/
|
38
|
-
- app/views/admix/songs/_table_actions.html.haml
|
39
|
-
- app/views/admix/songs/_show.html.haml
|
40
|
-
- app/views/songs/player.haml
|
37
|
+
- app/uploaders/songs/song_uploader.rb
|
41
38
|
- app/controllers/admix/songs_controller.rb
|
42
39
|
- app/controllers/songs_controller.rb
|
43
|
-
- app/models/song.rb
|
44
40
|
- app/models/admix/songs_datagrid.rb
|
45
|
-
- app/
|
46
|
-
-
|
41
|
+
- app/models/song.rb
|
42
|
+
- app/views/admix/songs/_show.html.haml
|
43
|
+
- app/views/admix/songs/_table_actions.html.haml
|
44
|
+
- app/views/admix/songs/_form_fields.html.haml
|
45
|
+
- app/views/songs/player.haml
|
47
46
|
- config/locales/songs.pt-BR.yml
|
48
|
-
-
|
47
|
+
- config/routes.rb
|
49
48
|
- lib/tasks/songs_tasks.rake
|
50
49
|
- lib/mix-rails-songs/version.rb
|
51
50
|
- lib/mix-rails-songs/engine.rb
|
51
|
+
- lib/mix-rails-songs.rb
|
52
52
|
- MIT-LICENSE
|
53
53
|
- Rakefile
|
54
54
|
- README.rdoc
|
@@ -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: 1861696069884768600
|
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: 1861696069884768600
|
79
79
|
requirements: []
|
80
80
|
rubyforge_project:
|
81
81
|
rubygems_version: 1.8.24
|