thecore 1.6.5 → 1.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/abilities.rb +2 -2
- data/lib/thecore.rb +2 -0
- data/lib/thecore/version.rb +1 -1
- data/test/dummy/config/environments/production.rb +1 -1
- metadata +17 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 7b5036c6479c5b7da550f42b14359225fba827614022b17b19642b15ff021f11
|
|
4
|
+
data.tar.gz: c109e1fc7a384ea446ff669898bfd7bf6739351bbff0f1cc7f9045ad20add3a7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 958cd6cc23df4ea341e2e334e83bc743473edd8faaed06433bb0b46b26d5a2180f47f55dd515c03e2c9872ae94c4ab9c0762ceb5a15eb1ca31fd85340e24347c
|
|
7
|
+
data.tar.gz: 1a22e88e4edf998f1e1cbd6f1fcde763ab3239e43f0e314051e9081613b1a51d82771a9889b59aa9c5687fee66d66941c9d4aae295eb44be637f45b1bd4c6a30
|
data/lib/abilities.rb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
module TheCoreAbilities
|
|
2
|
-
def core_abilities
|
|
2
|
+
def core_abilities(user)
|
|
3
3
|
# So the static link navigation can be set runtime (yes it's an hack)
|
|
4
4
|
RailsAdmin.config do |config|
|
|
5
|
-
config.navigation_static_label = I18n.t(
|
|
5
|
+
config.navigation_static_label = I18n.t('admin.links.label')
|
|
6
6
|
end
|
|
7
7
|
# Normal core abilities file
|
|
8
8
|
if user
|
data/lib/thecore.rb
CHANGED
data/lib/thecore/version.rb
CHANGED
|
@@ -25,7 +25,7 @@ Rails.application.configure do
|
|
|
25
25
|
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
|
26
26
|
|
|
27
27
|
# Compress JavaScripts and CSS.
|
|
28
|
-
config.assets.js_compressor = :uglifier
|
|
28
|
+
config.assets.js_compressor = Uglifier.new(harmony: true) #:uglifier
|
|
29
29
|
# config.assets.css_compressor = :sass
|
|
30
30
|
|
|
31
31
|
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thecore
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gabriele Tassoni
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-03-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -304,6 +304,20 @@ dependencies:
|
|
|
304
304
|
- - "~>"
|
|
305
305
|
- !ruby/object:Gem::Version
|
|
306
306
|
version: '4.2'
|
|
307
|
+
- !ruby/object:Gem::Dependency
|
|
308
|
+
name: webpacker
|
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
|
310
|
+
requirements:
|
|
311
|
+
- - "~>"
|
|
312
|
+
- !ruby/object:Gem::Version
|
|
313
|
+
version: '3.5'
|
|
314
|
+
type: :runtime
|
|
315
|
+
prerelease: false
|
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
317
|
+
requirements:
|
|
318
|
+
- - "~>"
|
|
319
|
+
- !ruby/object:Gem::Version
|
|
320
|
+
version: '3.5'
|
|
307
321
|
description: Start from here and build whatever you want to.
|
|
308
322
|
email:
|
|
309
323
|
- gabriele.tassoni@gmail.com
|
|
@@ -446,8 +460,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
446
460
|
- !ruby/object:Gem::Version
|
|
447
461
|
version: '0'
|
|
448
462
|
requirements: []
|
|
449
|
-
|
|
450
|
-
rubygems_version: 2.6.14
|
|
463
|
+
rubygems_version: 3.0.1
|
|
451
464
|
signing_key:
|
|
452
465
|
specification_version: 4
|
|
453
466
|
summary: Core engine to be included in every application to provide base functionalities.
|