thecore_mssql_importer_common 2.0.0 → 2.0.1

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: 5a811f75418a9827f8811a164b68a540002cacdf803e7bef0cb9098fbb080c16
4
- data.tar.gz: 8d9225f2c6bc81d23bab595694a3e0db08c32870780bfea2909617a81fdafee3
3
+ metadata.gz: c33b6116fcbfbc3a625a5f6b67d96b1301deddcf72367ba65192e2d7fcc30b5e
4
+ data.tar.gz: c6ce90ce5901737c457e5c8c5c1fb2b14bd0f3083d2c7c4db949aef74a8604e6
5
5
  SHA512:
6
- metadata.gz: df45295a1386595f4d07e1da3706440a8a2e23a64c945c884ee7c41efa69ee8e121d4cbe0ebc24c5edcb04557338e188cfb9558378783044644922d0f4b966c1
7
- data.tar.gz: 46be9c333e357524f3563488bdfb0e575b43fb67e64a147f621f2247aa99edd0c6da1c346fe291f8f25d5684b37b720a47ecf8243f01700631249599d76ada40
6
+ metadata.gz: dd92471c4a081f2fecbaf0616bb8b794d072bf8703676fda3e02bb01b70188fc1d5fd48e6e962be795340b3766776a35ced5993431eecb82454a83b43e1e030f
7
+ data.tar.gz: a6066d6016fec281da98370a1b970361163a0be514e07155e7e8365e1be1f5f8ef90a884b2d310d0c4bee1c71cd717f085c53cecb22df5f9d496a1520fa21e89
@@ -1,4 +1,3 @@
1
-
2
1
  Rails.application.configure do
3
2
  config.after_initialize do
4
3
  end
@@ -1,5 +1,4 @@
1
-
2
- require 'thecore'
1
+ require 'thecore_backend_commons'
3
2
  require "thecore_mssql_importer_common/engine"
4
3
  require 'mssql_importer_common'
5
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_mssql_importer_common
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
@@ -11,19 +11,19 @@ cert_chain: []
11
11
  date: 2020-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: thecore
14
+ name: thecore_backend_commons
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '2.0'
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: '1.0'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: tiny_tds
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -49,7 +49,6 @@ files:
49
49
  - README.md
50
50
  - Rakefile
51
51
  - app/assets/config/thecore_mssql_importer_common_manifest.js
52
- - config/initializers/abilities_thecore_mssql_importer_common_concern.rb
53
52
  - config/initializers/thecore_mssql_importer_common_after_initialize.rb
54
53
  - config/routes.rb
55
54
  - db/migrate/20180621103713_add_sql_server_connector_params.rb
@@ -1,23 +0,0 @@
1
-
2
- require 'active_support/concern'
3
-
4
- module ThecoreMssqlImporterCommonAbilitiesConcern
5
- extend ActiveSupport::Concern
6
- included do
7
- def thecore_mssql_importer_common_abilities user
8
- if user
9
- # if the user is logged in, it can do certain tasks regardless his role
10
- if user.admin?
11
- # if the user is an admin, it can do a lot of things, usually
12
- end
13
-
14
- if user.has_role? :role
15
- # a specific role, brings specific powers
16
- end
17
- end
18
- end
19
- end
20
- end
21
-
22
- # include the extension
23
- TheCoreAbilities.send(:include, ThecoreMssqlImporterCommonAbilitiesConcern)