administrador 0.0.6.pre → 0.0.7.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: ab423bc532781f57e50aff3c34cea5bc7ebbb90abcfd3ace5d675a062cd22c91
4
- data.tar.gz: d7e59c1048d21fca5f5114bdec84c03513a1246e9abd804efffeecf01fedf396
3
+ metadata.gz: c7f271f5da70950aa073a39a82e27388358a8f190224a96e8be579bbdd0d6f97
4
+ data.tar.gz: 68ebc7f544e6b7443b69d008cb4f6668bf0676f571525897667d739467e9529b
5
5
  SHA512:
6
- metadata.gz: d9a964f7e56994739cff5de134c7c5b25f63cb58d7cbd8f7ab421878519773638c9b17ebe7e41085ef7aacd3c0f006c50082d664540cd4deb9b60d05b4d8b332
7
- data.tar.gz: 641bed0cf6090bc0bfdfbdcd14912019df4aaa9cad18274e3b6f0e218391d0ce91cf41f376fdd8f9276f072943f955f45b6f3592631a31006553aff801fa2edc
6
+ metadata.gz: 709286fd278de7b6e77b8395309fc6389533cd4dec843b639430f95e51d93f2c6901d9d16e5b5727270023de01614495fc61eca430142ae1e501c7535a304035
7
+ data.tar.gz: 3de44b3af8fa7770e03a3d23788f73c9b35d5f4b03d7695b0a18f8b80c31a83f7ad3292e09ab01e1d0069e3d652f93ddf2c7e4d5e5335f625baf2ce158a8e950
data/Rakefile CHANGED
@@ -20,3 +20,11 @@ load 'rails/tasks/engine.rake'
20
20
  load 'rails/tasks/statistics.rake'
21
21
 
22
22
  require 'bundler/gem_tasks'
23
+
24
+ require "rake"
25
+ require "rspec/core/rake_task"
26
+ RSpec::Core::RakeTask.new(:spec) do |t|
27
+ t.pattern = Dir.glob("spec/**/*_spec.rb")
28
+ t.rspec_opts = "--format documentation"
29
+ end
30
+ task default: :spec
@@ -0,0 +1,3 @@
1
+ body.administrador textarea {
2
+ height: 40vh;
3
+ }
@@ -29,6 +29,11 @@ module Administrador
29
29
  end.join.html_safe
30
30
  end
31
31
 
32
+ def body_html
33
+ css_classes = ['administrador', c.controller.class.name.underscore.gsub('/', '-').chomp('_controller'), c.action_name].compact.join(' ')
34
+ { class: css_classes }
35
+ end
36
+
32
37
  private
33
38
 
34
39
  def bootstrapify_flash_keys(flash)
@@ -37,7 +37,7 @@
37
37
  = javascript_include_tag "administrador/application"
38
38
 
39
39
  = render partial: 'html_head_extras'
40
- %body
40
+ %body{ administrador_helper(self).body_html }
41
41
  .container-fluid.c-offcanvas-content-wrapper
42
42
  .row
43
43
  .col-12.px-0
@@ -1,3 +1,3 @@
1
1
  module Administrador
2
- VERSION = '0.0.6.pre'.freeze
2
+ VERSION = '0.0.7.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.6.pre
4
+ version: 0.0.7.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-29 00:00:00.000000000 Z
11
+ date: 2019-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -207,7 +207,7 @@ dependencies:
207
207
  - !ruby/object:Gem::Version
208
208
  version: 1.3.6
209
209
  - !ruby/object:Gem::Dependency
210
- name: rspec-rails
210
+ name: capybara-screenshot
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - ">="
@@ -221,7 +221,7 @@ dependencies:
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
223
  - !ruby/object:Gem::Dependency
224
- name: simplecov
224
+ name: capybara
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - ">="
@@ -235,7 +235,7 @@ dependencies:
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
237
  - !ruby/object:Gem::Dependency
238
- name: guard
238
+ name: factory_bot_rails
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
241
  - - ">="
@@ -277,7 +277,7 @@ dependencies:
277
277
  - !ruby/object:Gem::Version
278
278
  version: '0'
279
279
  - !ruby/object:Gem::Dependency
280
- name: capybara
280
+ name: guard
281
281
  requirement: !ruby/object:Gem::Requirement
282
282
  requirements:
283
283
  - - ">="
@@ -291,7 +291,7 @@ dependencies:
291
291
  - !ruby/object:Gem::Version
292
292
  version: '0'
293
293
  - !ruby/object:Gem::Dependency
294
- name: capybara-screenshot
294
+ name: launchy
295
295
  requirement: !ruby/object:Gem::Requirement
296
296
  requirements:
297
297
  - - ">="
@@ -333,7 +333,7 @@ dependencies:
333
333
  - !ruby/object:Gem::Version
334
334
  version: '0'
335
335
  - !ruby/object:Gem::Dependency
336
- name: factory_bot_rails
336
+ name: rspec-rails
337
337
  requirement: !ruby/object:Gem::Requirement
338
338
  requirements:
339
339
  - - ">="
@@ -347,7 +347,7 @@ dependencies:
347
347
  - !ruby/object:Gem::Version
348
348
  version: '0'
349
349
  - !ruby/object:Gem::Dependency
350
- name: launchy
350
+ name: simplecov
351
351
  requirement: !ruby/object:Gem::Requirement
352
352
  requirements:
353
353
  - - ">="
@@ -379,6 +379,7 @@ files:
379
379
  - app/assets/stylesheets/administrador/application/bootstrap-table-xs.css
380
380
  - app/assets/stylesheets/administrador/application/colors.css
381
381
  - app/assets/stylesheets/administrador/application/engine-sidebar.css
382
+ - app/assets/stylesheets/administrador/application/forms.css
382
383
  - app/assets/stylesheets/administrador/application/layout.css
383
384
  - app/assets/stylesheets/administrador/application/page-actions.css
384
385
  - app/assets/stylesheets/administrador/application/query_form.css