cmor_files_backend 0.0.54.pre → 0.0.55.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b5607e1dd519795cc6a5d26668769317dda0e9da28fa660ce64aa0c478dcdc1
4
- data.tar.gz: 2e8893afc8c168fc5a6a619de0356954534cab7cb96bddf297c35b455d4428b1
3
+ metadata.gz: 1afdc3f66faf72b4d9300d0b9396e2c91c332810b13c0367579bc66f80988b0c
4
+ data.tar.gz: 337e92394cb7447b23255e069a9f945047bf7591c5884d88fab40300630bf1c3
5
5
  SHA512:
6
- metadata.gz: 055a0fceeb183e821ed5a111cabdb50e557fa130844bafb45842e86db2eb3cfb6f22ecd8104a32c3a49dc1318c0ad5c378c9fd827e14949e088f83fe46a8f4b7
7
- data.tar.gz: 98cf42da84c31b1444c288b42929511d4b7ba9d6fdd1c2e74ac3693e908fcb7286abff96c9e0e591932e209a92b2376c50cc3623f27ce56cd8eeca44c1c6fefb
6
+ metadata.gz: fe5950f622092e504abc1dae065c725127d5f2b3c7b1f0ef7505fa1a495d6ac197c5b9923feb95917db0219d902fa6ca71f71b23fae6c13bb9b3d0c57bee407e
7
+ data.tar.gz: e56fca71048f1ecf96cbb8b3397be323e9a31103a5ddaa8089f7c7b1c32ce83cda04eb4a4392cdfd3ddd18f9d602de64b5dde6b9ea066afa7a256f76626b25fe
@@ -10,6 +10,10 @@ module Cmor
10
10
  Cmor::Files::FileDetail
11
11
  end
12
12
 
13
+ def self.available_rest_actions
14
+ super - [:new, :create]
15
+ end
16
+
13
17
  private
14
18
 
15
19
  def load_collection_scope
@@ -11,6 +11,6 @@
11
11
  - resource.asset.blob.checksum
12
12
  = t.timestamps format: :short
13
13
  = t.column :actions do |resource|
14
- - link_to([resource], id: "#{dom_id(resource)}-destroy", class: 'btn btn-xs btn-responsive btn-danger', method: :delete, data: { confirm: I18n.t('.confirmations.delete') }) do
14
+ - link_to([resource], id: "#{dom_id(resource)}-destroy", class: 'btn btn-xs btn-responsive btn-danger', method: :delete, data: { confirm: t('rao.component.collection_table.destroy_confirmation') }) do
15
15
  %span.glyphicon.glyphicon-fire
16
16
  %span.btn-text= t('.destroy')
@@ -1,6 +1,7 @@
1
1
  = table.batch_actions( actions: { destroy: destroy_many_folders_path, publish: publish_many_folders_path, unpublish: unpublish_many_folders_path })
2
2
  = table.acts_as_list_actions
3
3
  = table.id sort: true
4
+ = table.column :identifier, sort: true
4
5
  = table.column :name, sort: true
5
6
  = table.column :assets_count
6
7
  = table.timestamps sort: true
@@ -0,0 +1,2 @@
1
+ = form.input :identifier_cont
2
+ = form.input :name_cont
@@ -1,4 +1,5 @@
1
1
  = table.id
2
+ = table.row :identifier
2
3
  = table.row :name
3
4
  = table.row :description
4
5
  = table.row :assets_count
@@ -11,7 +11,7 @@ Cmor::Files::Backend::Engine.routes.draw do
11
11
  post :publish_many, on: :collection
12
12
  end
13
13
 
14
- resources :file_details do
14
+ resources :file_details, except: [:new, :create] do
15
15
  acts_as_list
16
16
  acts_as_published
17
17
  post :destroy_many, on: :collection
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmor_files_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.54.pre
4
+ version: 0.0.55.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-20 00:00:00.000000000 Z
11
+ date: 2020-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.54.pre
33
+ version: 0.0.55.pre
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.54.pre
40
+ version: 0.0.55.pre
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cmor_core_backend
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.0.54.pre
47
+ version: 0.0.55.pre
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.0.54.pre
54
+ version: 0.0.55.pre
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -324,14 +324,14 @@ dependencies:
324
324
  requirements:
325
325
  - - '='
326
326
  - !ruby/object:Gem::Version
327
- version: 0.0.54.pre
327
+ version: 0.0.55.pre
328
328
  type: :runtime
329
329
  prerelease: false
330
330
  version_requirements: !ruby/object:Gem::Requirement
331
331
  requirements:
332
332
  - - '='
333
333
  - !ruby/object:Gem::Version
334
- version: 0.0.54.pre
334
+ version: 0.0.55.pre
335
335
  description:
336
336
  email:
337
337
  - roberto@vasquez-angel.de
@@ -363,6 +363,7 @@ files:
363
363
  - app/views/cmor/files/backend/folders/_after_show_table.html.haml
364
364
  - app/views/cmor/files/backend/folders/_form.html.haml
365
365
  - app/views/cmor/files/backend/folders/_index_table.html.haml
366
+ - app/views/cmor/files/backend/folders/_query_form.html.haml
366
367
  - app/views/cmor/files/backend/folders/_show_table.html.haml
367
368
  - app/views/layouts/cmor/files/backend/application.html.erb
368
369
  - config/initializers/assets.rb
@@ -398,7 +399,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
398
399
  - !ruby/object:Gem::Version
399
400
  version: 1.3.1
400
401
  requirements: []
401
- rubygems_version: 3.1.3
402
+ rubygems_version: 3.1.4
402
403
  signing_key:
403
404
  specification_version: 4
404
405
  summary: Cmor Files Backend Module.