administrador 0.0.2.pre → 0.0.3.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: d863abd205a003a87604d6de82e62b2fc5797a454a33ecb6e997afb716d4d2a5
4
- data.tar.gz: 79e592a198bcdc1ad15f4afa86b48929860b08e51683956b80980b1a2f3346dd
3
+ metadata.gz: 8a00e8f36252865563a37bea7238e904e30cd6b27db8f485faa599aa62a1a51b
4
+ data.tar.gz: 1b4dd21e2ed9f00baba020cbf01f5abfe408a775262e39634be5f0b51ba4c113
5
5
  SHA512:
6
- metadata.gz: ed18e281cf85d513b92248fc7aba05e5e4ec6a43de36734a1c157d077b56a50da8d1af454d355fa6939f2e84a701968e5de305d1f61430e411a4250c11e6452e
7
- data.tar.gz: 3a977a1c0e81248747d803d2c9eaab7d913d2e36783df07f9e3f954035f78972fd6c4c672c5275e8869e38e36c1a41ba7d049e6853043ccfa7bf21b19aa7c0ca
6
+ metadata.gz: 3a280d68004393defb87ae0af47d9729270d9a35e95b20c9f6621ca7b827e3c2743d3f628de1b7459118d868f4776c4848525b48dbe81fa0b7b0508fb97276de
7
+ data.tar.gz: 1a394f9f146827b2714f7d64f854c75aaf6cd699b267929c688afb97803bbe7b1e6ae46f0c9daa4356fea2369e5ec15da7675ac8b1f2c4e001900043f91828a7
@@ -3,5 +3,5 @@
3
3
  %span.btn-text= t('.back')
4
4
 
5
5
  .ml-auto
6
- = link_to(resource, class: 'btn btn-success btn-circle btn-lg') do
6
+ = link_to([resource_namespace, resource], class: 'btn btn-success btn-circle btn-lg') do
7
7
  %i.fas.fa-eye
@@ -3,14 +3,14 @@
3
3
  .w-100.d-flex
4
4
  .btn-group.ml-auto
5
5
  - if available_rest_actions.include?(:show)
6
- = link_to(url_for([resource]), class: 'show btn btn-xs btn-responsive btn-primary') do
6
+ = link_to(url_for([resource_namespace, resource]), class: 'show btn btn-xs btn-responsive btn-primary') do
7
7
  %i.fas.fa-eye
8
8
  %span.btn-text= t('.show')
9
9
  - if available_rest_actions.include?(:edit)
10
- = link_to(url_for([:edit, resource]), class: 'edit btn btn-xs btn-responsive btn-secondary') do
10
+ = link_to(url_for([:edit, resource_namespace, resource]), class: 'edit btn btn-xs btn-responsive btn-secondary') do
11
11
  %i.fas.fa-edit
12
12
  %span.btn-text= t('.edit')
13
13
  - if available_rest_actions.include?(:destroy)
14
- = link_to(url_for([resource]), class: 'destroy btn btn-xs btn-responsive btn-danger', method: :delete, 'data-confirm': I18n.t('administrador.controller.confirmations.destroy')) do
14
+ = link_to(url_for([resource_namespace, resource]), class: 'destroy btn btn-xs btn-responsive btn-danger', method: :delete, 'data-confirm': I18n.t('administrador.controller.confirmations.destroy')) do
15
15
  %i.fas.fa-fire
16
16
  %span.btn-text= t('.destroy')
@@ -3,8 +3,10 @@
3
3
  %span.btn-text= t('.back')
4
4
 
5
5
  .ml-auto
6
- = link_to(url_for([resource]), class: 'destroy btn btn-danger btn-circle btn-lg', method: :delete, 'data-confirm': I18n.t('administrador.controller.confirmations.destroy')) do
7
- %i.fas.fa-fire
6
+ - if available_rest_actions.include?(:destroy)
7
+ = link_to([resource_namespace, resource], class: 'destroy btn btn-danger btn-circle btn-lg', method: :delete, 'data-confirm': I18n.t('administrador.controller.confirmations.destroy')) do
8
+ %i.fas.fa-fire
8
9
 
9
- = link_to([:edit, resource], class: 'btn btn-success btn-circle btn-lg') do
10
- %i.fas.fa-edit
10
+ - if available_rest_actions.include?(:edit)
11
+ = link_to([:edit, resource_namespace, resource], class: 'btn btn-success btn-circle btn-lg') do
12
+ %i.fas.fa-edit
@@ -4,7 +4,7 @@
4
4
 
5
5
  .row
6
6
  .col-12
7
- = simple_form_for(@resource) do |form|
7
+ = simple_form_for([resource_namespace, @resource]) do |form|
8
8
  = render partial: 'form_errors', locals: { resource: form.object }
9
9
  = render 'form', form: form
10
10
  = render 'form_buttons', form: form
@@ -14,7 +14,7 @@
14
14
 
15
15
  .row
16
16
  .col-12
17
- = collection_table(collection: @collection, resource_class: resource_class, table_html: "table table-responsive #{resource_class.name.underscore.pluralize.gsub('/', '-')} table-xs") do |table|
17
+ = collection_table(collection: @collection, resource_class: resource_class, table_html: "collection-table table table-responsive #{resource_class.name.underscore.pluralize.gsub('/', '-')} table-xs") do |table|
18
18
  = render partial: 'index_table', locals: { table: table }
19
19
  = render partial: 'index_table_actions', locals: { table: table }
20
20
 
@@ -1,3 +1,3 @@
1
1
  module Administrador
2
- VERSION = '0.0.2.pre'.freeze
2
+ VERSION = '0.0.3.pre'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrador
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.pre
4
+ version: 0.0.3.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: 2019-03-20 00:00:00.000000000 Z
11
+ date: 2019-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -58,84 +58,84 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 0.0.12.pre
61
+ version: 0.0.14.pre
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 0.0.12.pre
68
+ version: 0.0.14.pre
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rao-component
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 0.0.12.pre
75
+ version: 0.0.14.pre
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 0.0.12.pre
82
+ version: 0.0.14.pre
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rao-resource_controller
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 0.0.12.pre
89
+ version: 0.0.14.pre
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 0.0.12.pre
96
+ version: 0.0.14.pre
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rao-resources_controller
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 0.0.12.pre
103
+ version: 0.0.14.pre
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 0.0.12.pre
110
+ version: 0.0.14.pre
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rao-service_controller
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 0.0.12.pre
117
+ version: 0.0.14.pre
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 0.0.12.pre
124
+ version: 0.0.14.pre
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rao-view_helper
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: 0.0.12.pre
131
+ version: 0.0.14.pre
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: 0.0.12.pre
138
+ version: 0.0.14.pre
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: route_translator
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -290,6 +290,20 @@ dependencies:
290
290
  - - ">="
291
291
  - !ruby/object:Gem::Version
292
292
  version: '0'
293
+ - !ruby/object:Gem::Dependency
294
+ name: capybara-screenshot
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: '0'
300
+ type: :development
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: '0'
293
307
  - !ruby/object:Gem::Dependency
294
308
  name: pry-rails
295
309
  requirement: !ruby/object:Gem::Requirement
@@ -485,8 +499,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
485
499
  - !ruby/object:Gem::Version
486
500
  version: 1.3.1
487
501
  requirements: []
488
- rubyforge_project:
489
- rubygems_version: 2.7.7
502
+ rubygems_version: 3.0.3
490
503
  signing_key:
491
504
  specification_version: 4
492
505
  summary: Administrador - The rails administration interface.