mix-rails-songs 0.16.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,10 +8,10 @@ class Admix::SongsDatagrid
8
8
  Song.desc(:date)
9
9
  end
10
10
 
11
- column :title, header: input_label(:songs, :title)
12
- column :author, header: input_label(:songs, :author)
11
+ column :title, header: input_label(:song, :title)
12
+ column :author, header: input_label(:song, :author)
13
13
 
14
- column :status, header: input_label(:songs, :status) do |record|
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:
@@ -1,4 +1,9 @@
1
1
  pt-BR:
2
+ simple_form:
3
+ labels:
4
+ song:
5
+ author: 'Artista'
2
6
  songs:
3
7
  songs: 'Músicas'
4
- song: 'Música'
8
+ song: 'Música'
9
+ author: 'Artista'
@@ -1,7 +1,7 @@
1
1
  module MixRailsSongs
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
- MINOR = 16
4
+ MINOR = 22
5
5
  TINY = 0
6
6
  PRE = nil
7
7
 
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.16.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-01-27 00:00:00.000000000 Z
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/views/admix/songs/_form_fields.html.haml
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/uploaders/songs/song_uploader.rb
46
- - config/routes.rb
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
- - lib/mix-rails-songs.rb
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: 1995139474515889120
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: 1995139474515889120
78
+ hash: 1861696069884768600
79
79
  requirements: []
80
80
  rubyforge_project:
81
81
  rubygems_version: 1.8.24