thecore_dataentry_commons 2.0.4 → 2.1.2

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: 88e291eed054bdeb0ffd1a476c87899e5d7464788efa6b11026acc37654f7626
4
- data.tar.gz: 151548f725bc7e8bbf60489fea4d5312ddbe0be5b39153e677553f165a62c167
3
+ metadata.gz: 92f2e7e4a3bfa104ba81f7a96c00383c3ed9a931438084331d29b4023889e561
4
+ data.tar.gz: 691573546e9b24192692ef6905d75fa5f070b73698e9ca0fb82386fb0cbaea68
5
5
  SHA512:
6
- metadata.gz: 78f838d79490d773742a7e022debda799dd554a5bad2a5ba6acb9b819a288248cba41a019a2eead813b06d10979e8c50b0ed590fe783313b384537a466299551
7
- data.tar.gz: 793093646689e107ccf52c189d3dbd27817c70583bcdd193cb9685c1bbf5ca9ee46cb641c69631a3026e282b83ed66aa61251bdc0f86e80fc4155cc35ab3fd3d
6
+ metadata.gz: 6553d1c4ce36f489687f42e2b35786b71ea4aa2645fefc6f961a4fb12d52a2095e6f3bd1fb0d9b5a0c8e86fae2cc6c0dc8dd0b8d3a38b9fef599b6fab07301fc
7
+ data.tar.gz: 4dbe2ae592394cf53a06f36491f6e2a0216090deaf6a1d428c52b6dc84c0c219a739e7bd8e88d57cd87b26a2041e532af44b16876a77d2fad6056f95cc0c9bcd
@@ -13,13 +13,13 @@
13
13
  allowInputToggle: true,
14
14
  sideBySide: true,
15
15
  icons: {
16
- time: 'fa fa-clock',
16
+ time: 'fa fa-clock-o',
17
17
  date: 'fa fa-calendar',
18
18
  up: 'fa fa-chevron-up',
19
19
  down: 'fa fa-chevron-down',
20
20
  previous: 'fa fa-chevron-left',
21
21
  next: 'fa fa-chevron-right',
22
- today: 'fa fa-calendar-check',
22
+ today: 'fa fa-calendar-check-o',
23
23
  clear: 'fa fa-trash',
24
24
  close: 'fa fa-times'
25
25
  }
@@ -45,13 +45,13 @@
45
45
  allowInputToggle: true,
46
46
  format: 'L',
47
47
  icons: {
48
- time: 'fa fa-clock',
48
+ time: 'fa fa-clock-o',
49
49
  date: 'fa fa-calendar',
50
50
  up: 'fa fa-chevron-up',
51
51
  down: 'fa fa-chevron-down',
52
52
  previous: 'fa fa-chevron-left',
53
53
  next: 'fa fa-chevron-right',
54
- today: 'fa fa-calendar-check',
54
+ today: 'fa fa-calendar-check-o',
55
55
  clear: 'fa fa-trash',
56
56
  close: 'fa fa-times'
57
57
  }
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 = '2.0.4'.freeze
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.0.4
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-08 00:00:00.000000000 Z
11
+ date: 2021-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_ui_rails_admin
@@ -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