thecore_print_commons 2.0.3 → 2.0.4
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20490e2bec2c6919724f04c00661c14d12f204586d72ac01d9bd7f3c45530cc0
|
4
|
+
data.tar.gz: 1d7557c8e12cd17654946c8c349f2a4599f19ace38d24aff12bb0b96b5bfab89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27956ae172465597f1d504728d57ca1fcfbc993e20baec5eccd47c174934fea7fba9aae3218cc4c693e99075c5ba5fdc7a28b04fb47cbcdd9dfa0a259a34df5d
|
7
|
+
data.tar.gz: c0018f9793689d4ca15539869c3701afd7773d0f333fa6fda133cc86c80b1305dc7cbc3e7537a9fbf2076e776f5dd0d503e91df2276779e0af82ed6581c618c0
|
data/db/seeds.rb
ADDED
@@ -2,6 +2,9 @@ module ThecorePrintCommons
|
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
|
4
4
|
initializer 'thecore_print_commons.add_to_migrations' do |app|
|
5
|
+
# Adds the list of Thecore Engines, so to manage seeds loading, i.e.:
|
6
|
+
# Thecore::Base.thecore_engines.each { |engine| engine.load_seed }
|
7
|
+
Thecore::Base.thecore_engines << self.class
|
5
8
|
unless app.root.to_s.match root.to_s
|
6
9
|
# APPEND TO MAIN APP MIGRATIONS FROM THIS GEM
|
7
10
|
config.paths['db/migrate'].expanded.each do |expanded_path|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_print_commons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_background_jobs
|
@@ -61,7 +61,7 @@ files:
|
|
61
61
|
- db/migrate/20160323152041_create_printers.rb
|
62
62
|
- db/migrate/20160413115407_add_temperature_to_printer.rb
|
63
63
|
- db/migrate/20160629140729_add_default_to_printer.rb
|
64
|
-
- db/
|
64
|
+
- db/seeds.rb
|
65
65
|
- lib/tasks/thecore_print_commons_tasks.rake
|
66
66
|
- lib/thecore_print_commons.rb
|
67
67
|
- lib/thecore_print_commons/engine.rb
|