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 +4 -4
- data/Rakefile +8 -0
- data/app/assets/stylesheets/administrador/application/forms.css +3 -0
- data/app/view_helpers/administrador/application_view_helper.rb +5 -0
- data/app/views/layouts/administrador/application.html.haml +1 -1
- data/lib/administrador/version.rb +1 -1
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7f271f5da70950aa073a39a82e27388358a8f190224a96e8be579bbdd0d6f97
|
4
|
+
data.tar.gz: 68ebc7f544e6b7443b69d008cb4f6668bf0676f571525897667d739467e9529b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
@@ -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)
|
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.
|
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-
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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
|