thecore_print_with_template 0.1.2 → 2.0.0

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: 807c2228e6b81c5e3dcb9e5972fa09ab9e937449ab4511fe03a97bbe559642d7
4
- data.tar.gz: 57ada5fe3fd44c1dbef58e5ebc8891b086913dcdb970f771c36f3fcb9a60f06a
3
+ metadata.gz: 07c165d284697b35870539b1d4e15166cc6d58d8ed013be9d151239ab31ee276
4
+ data.tar.gz: cf49e83eac62d0e28322c73f9dffada0dcbfb6bbb894b65a941459907ef7edbf
5
5
  SHA512:
6
- metadata.gz: cec82300f4abd1bbec7f5850e1664c124f98a9555857c5dbed12b506507182582239ec0bfa5b6eb5a8a018e7c1f4762a93e41873baae27fe765bd0c29ad0599d
7
- data.tar.gz: 678b752a1f0d9997d24e3f733876a405b300b268c5a4be39f8097fa217b97f1161f15ed603fd1a87209bf826e01a72065ebbb611ce9b325c0082ade15aaa18aa
6
+ metadata.gz: 3b1a2700368ffd65857b2beea879d17f2197e85ca7885765e29f649d714cb6e408ccd6d2d1c3c92232adf02a3f687071186605b1e3884a614965f30d2ab937e3
7
+ data.tar.gz: d3faca4cdc7e9c03d1bb4352eb7205953035163389de61220e5acf594409042ec5b732707de0ccb921a76dd11a886b097fb956a0bcd239d5327af0cf441eaff5
@@ -28,24 +28,22 @@ class PrintTemplate < ApplicationRecord
28
28
  # pivot
29
29
  # end
30
30
 
31
- RailsAdmin.config do |config|
32
- config.model 'PrintTemplate' do
33
- navigation_label I18n.t("admin.settings.label")
34
- navigation_icon 'fa fa-file-text'
35
- parent Printer
31
+ rails_admin do
32
+ navigation_label I18n.t("admin.settings.label")
33
+ navigation_icon 'fa fa-file-text'
34
+ parent Printer
36
35
 
37
- field :name
38
- field :description
36
+ field :name
37
+ field :description
39
38
 
40
- edit do
41
- field :template
42
- field :translation_matrix
43
- end
39
+ edit do
40
+ field :template
41
+ field :translation_matrix
42
+ end
44
43
 
45
- show do
46
- field :template
47
- field :translation_matrix
48
- end
44
+ show do
45
+ field :template
46
+ field :translation_matrix
49
47
  end
50
48
  end
51
49
  end
@@ -1,7 +1,6 @@
1
+ require 'thecore_print_commons'
1
2
  require "thecore_print_with_template/engine"
2
3
 
3
- require 'thecore'
4
- require 'thecore_print_commons'
5
4
  module ThecorePrintWithTemplate
6
5
  # Your code goes here...
7
6
  end
@@ -1,3 +1,3 @@
1
1
  module ThecorePrintWithTemplate
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '2.0.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_print_with_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 2.0.0
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-04-30 00:00:00.000000000 Z
11
+ date: 2020-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: thecore
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.4'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.4'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: thecore_print_commons
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - "~>"
32
18
  - !ruby/object:Gem::Version
33
- version: '0.1'
19
+ version: '2.0'
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
24
  - - "~>"
39
25
  - !ruby/object:Gem::Version
40
- version: '0.1'
26
+ version: '2.0'
41
27
  description: Thecorized thecore_print_with_template full description.
42
28
  email:
43
29
  - gabriele.tassoni@gmail.com
@@ -81,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
67
  - !ruby/object:Gem::Version
82
68
  version: '0'
83
69
  requirements: []
84
- rubygems_version: 3.0.1
70
+ rubygems_version: 3.0.3
85
71
  signing_key:
86
72
  specification_version: 4
87
73
  summary: Thecorized thecore_print_with_template