thecore_dataentry_commons 2.1.0 → 2.1.3

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: 90c8c94f7a4672fe23a56984f36a46eee97853773e8af4578cb071b6f83f94dc
4
- data.tar.gz: e6f913a2c9d11451693c89b1752c34c2678418afc580ed91ccfd0d1222d3081f
3
+ metadata.gz: 72d3846ee6b5e964c9fa544196f1f2c3edc3c697f28f81ecad5ffbcb268bab49
4
+ data.tar.gz: f640dcbdfc40d8b3b41f83a3c60ec2a91a8734d1f1af98324197aaf17cce7822
5
5
  SHA512:
6
- metadata.gz: cc673fb4570215ec3bb73c85aedcf43f4da1103cea9ea439607b21a5d231df9de0e7bbbcf01b8cef9b3aa706b0ed1cc3fcc32bebc39ffdaf1e1e227be6fa2425
7
- data.tar.gz: e41ab02a87f66f78f723d5253c6111ed1ebd65eace5e3382dcb24b4a22978bf2c9a17a832a45c1f0bc9d2f4a90bb933bf488388a678b26f68725b905e672246f
6
+ metadata.gz: 3ef264ca99d2370203ae46c83ff272ead5297f168b59ffe91b1a64d7da3dc5eb0d895dd8f5dc9d36cdd191ec7493c116e010b97dff5265ca228005ee8953a22f
7
+ data.tar.gz: 1e1e14596cb0f24258e8a0ca0632236e2b7ba7614b8ec2f8b363033797093690574387fb9dbfbe019d537b5e7994cae3ad7c885045f7149fcb10afcb4aadffce
@@ -1,8 +1,8 @@
1
1
  <div class="container" style="margin-top: 1em;" id="info-container">
2
2
  <div class="row">
3
- <div id="data-info" class="alert alert-warning col-lg-12"></div>
3
+ <div id="data-info" class="col-lg-12"></div>
4
4
  </div>
5
5
  <div class="row">
6
- <div id="data-content" class="alert alert-warning col-lg-12"></div>
6
+ <div id="data-content" class="col-lg-12"></div>
7
7
  </div>
8
8
  </div>
data/db/seeds.rb ADDED
@@ -0,0 +1,5 @@
1
+ puts "Loading ThecoreDataentryCommons seeds"
2
+ Thecore::Seed.save_setting :main, :datawedge_kp_mode , "keypress"
3
+ # ws: WebSocket
4
+ # kp: KeyPress
5
+ Thecore::Seed.save_setting :main, :datawedge_scan_mode , "auto" # or "kp"
@@ -8,6 +8,9 @@ module ThecoreDataentryCommons
8
8
  # app.middleware.use ::ActionDispatch::Static, "#{root}/app"
9
9
  # end
10
10
  initializer 'thecore_dataentry_commons.add_to_migrations' do |app|
11
+ # Adds the list of Thecore Engines, so to manage seeds loading, i.e.:
12
+ # Thecore::Base.thecore_engines.each { |engine| engine.load_seed }
13
+ Thecore::Base.thecore_engines << self.class
11
14
  unless app.root.to_s.match root.to_s
12
15
  # APPEND TO MAIN APP MIGRATIONS FROM THIS GEM
13
16
  config.paths['db/migrate'].expanded.each do |expanded_path|
@@ -1,3 +1,3 @@
1
1
  module ThecoreDataentryCommons
2
- VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`}"
2
+ VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`.chomp}"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_dataentry_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-12 00:00:00.000000000 Z
11
+ date: 2022-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_ui_rails_admin
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: '2.7'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.0'
26
+ version: '2.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: browser
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,8 +58,7 @@ files:
58
58
  - app/views/thecore_utils/_html_helpers.html.erb
59
59
  - config/locales/en.thecore_datawedge_websocket_helpers.yml
60
60
  - config/locales/it.thecore_datawedge_websocket_helpers.yml
61
- - db/migrate/20170913192906_add_keymode_to_settings.rb
62
- - db/migrate/20171005162605_replace_with_auto_to_settings.rb
61
+ - db/seeds.rb
63
62
  - lib/thecore_dataentry_commons.rb
64
63
  - lib/thecore_dataentry_commons/engine.rb
65
64
  - lib/thecore_dataentry_commons/version.rb
@@ -82,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
81
  - !ruby/object:Gem::Version
83
82
  version: '0'
84
83
  requirements: []
85
- rubygems_version: 3.0.3
84
+ rubygems_version: 3.0.3.1
86
85
  signing_key:
87
86
  specification_version: 4
88
87
  summary: Some javascripts and partials to handle DW WS.
@@ -1,7 +0,0 @@
1
- class AddKeymodeToSettings < ActiveRecord::Migration[5.1]
2
- def change
3
- # keyup
4
- # keypress
5
- Settings.datawedge_kp_mode = "keypress"
6
- end
7
- end
@@ -1,7 +0,0 @@
1
- class ReplaceWithAutoToSettings < ActiveRecord::Migration[5.1]
2
- def change
3
- # ws: WebSocket
4
- # kp: KeyPress
5
- Settings.datawedge_scan_mode = "auto" # or "kp"
6
- end
7
- end