thecore_settings 2.0.6 → 2.0.8

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: b65e652f01e41f30c470e5a736cc790bb6e250b087761aedb73275637d72a81c
4
- data.tar.gz: a57e03cab15a19487331af09c402e07fde8a7adcb8119234ab71d4ceea0cdea6
3
+ metadata.gz: d511db8bdf434de5142cc6b76936e2e8501b2f4f2df8979cabcb0ea8c361ef39
4
+ data.tar.gz: 902cbd0e72258eaaa3b15ed0ff6444dd5a7426a9d2f29cabaef5b46c9f0f5ba1
5
5
  SHA512:
6
- metadata.gz: 0f2c04dc99afda466f11270c7e7b66756e058ad93a6fcc940ab4d5ae181d2f4bec89cb6fbee12abfc236e9a4fed603504e78950b725ea6128e3f65f39268c852
7
- data.tar.gz: c2fa3113fa63219cae718ddb22dd7c7c0c724ced7fce14746293e70149fcd8982e913bcf2d0bb979ef8ff94bdbaacfb80c1901afedc778faada5396a8ad65789
6
+ metadata.gz: e971ddb2bca7f1975d2280ab8d5ead015619676646c40bac013f6eae42dda7773d3c3deaa1d2cf3fc74dd17387954d6ac00e657e88a45ac0822bc12e0fe10918
7
+ data.tar.gz: b506208fb12ac63432f59e27e8324c4a93daeea3085c7ed7b6161cf2d92afa05497cb518bb58f7d3f59d2e5436c141950ee824b6af04e5bfea9e275ee1fc04c7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- thecore_settings (2.0.5)
4
+ thecore_settings (2.0.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -77,12 +77,12 @@ GEM
77
77
  database_cleaner-core (2.0.1)
78
78
  diff-lcs (1.4.4)
79
79
  docile (1.4.0)
80
- down (5.2.3)
80
+ down (5.2.4)
81
81
  addressable (~> 2.8)
82
82
  erubi (1.10.0)
83
83
  factory_bot (6.2.0)
84
84
  activesupport (>= 5.0.0)
85
- ffi (1.15.3)
85
+ ffi (1.15.4)
86
86
  geocoder (1.6.7)
87
87
  globalid (0.5.2)
88
88
  activesupport (>= 5.0)
@@ -96,11 +96,11 @@ GEM
96
96
  nokogiri (>= 1.5.9)
97
97
  mail (2.7.1)
98
98
  mini_mime (>= 0.1.1)
99
- marcel (1.0.1)
99
+ marcel (1.0.2)
100
100
  method_source (1.0.0)
101
101
  mime-types (3.3.1)
102
102
  mime-types-data (~> 3.2015)
103
- mime-types-data (3.2021.0704)
103
+ mime-types-data (3.2021.0901)
104
104
  mimemagic (0.3.10)
105
105
  nokogiri (~> 1)
106
106
  rake
@@ -108,7 +108,7 @@ GEM
108
108
  mini_mime (1.1.1)
109
109
  mini_portile2 (2.6.1)
110
110
  minitest (5.14.4)
111
- mongo (2.15.0)
111
+ mongo (2.15.1)
112
112
  bson (>= 4.8.2, < 5.0.0)
113
113
  mongoid (6.4.8)
114
114
  activemodel (>= 5.1, < 6.0.0)
@@ -130,7 +130,7 @@ GEM
130
130
  rspec-expectations (~> 3.3)
131
131
  rspec-mocks (~> 3.3)
132
132
  nio4r (2.5.8)
133
- nokogiri (1.12.3)
133
+ nokogiri (1.12.5)
134
134
  mini_portile2 (~> 2.6.1)
135
135
  racc (~> 1.4)
136
136
  paperclip (6.1.0)
@@ -139,7 +139,7 @@ GEM
139
139
  mime-types
140
140
  mimemagic (~> 0.3.0)
141
141
  terrapin (~> 0.6.0)
142
- parallel (1.20.1)
142
+ parallel (1.21.0)
143
143
  parser (3.0.2.0)
144
144
  ast (~> 2.4.1)
145
145
  public_suffix (4.0.6)
@@ -188,7 +188,7 @@ GEM
188
188
  diff-lcs (>= 1.2.0, < 2.0)
189
189
  rspec-support (~> 3.10.0)
190
190
  rspec-support (3.10.2)
191
- rubocop (1.19.1)
191
+ rubocop (1.21.0)
192
192
  parallel (~> 1.10)
193
193
  parser (>= 3.0.0.0)
194
194
  rainbow (>= 2.2.2, < 4.0)
@@ -197,11 +197,10 @@ GEM
197
197
  rubocop-ast (>= 1.9.1, < 2.0)
198
198
  ruby-progressbar (~> 1.7)
199
199
  unicode-display_width (>= 1.4.0, < 3.0)
200
- rubocop-ast (1.11.0)
200
+ rubocop-ast (1.12.0)
201
201
  parser (>= 3.0.1.1)
202
- rubocop-rspec (2.4.0)
203
- rubocop (~> 1.0)
204
- rubocop-ast (>= 1.1.0)
202
+ rubocop-rspec (2.5.0)
203
+ rubocop (~> 1.19)
205
204
  ruby-progressbar (1.11.0)
206
205
  ruby-vips (2.1.3)
207
206
  ffi (~> 1.12)
@@ -236,7 +235,7 @@ GEM
236
235
  thread_safe (0.3.6)
237
236
  tzinfo (1.2.9)
238
237
  thread_safe (~> 0.1)
239
- unicode-display_width (2.0.0)
238
+ unicode-display_width (2.1.0)
240
239
  validates_email_format_of (1.6.3)
241
240
  i18n
242
241
  websocket-driver (0.7.5)
@@ -1,4 +1,4 @@
1
- require "thecore_settings/version"
1
+ # require "thecore_settings/version"
2
2
 
3
3
  module ThecoreSettings
4
4
  if defined?(Rails) && defined?(Rails::Html) && defined?(Rails::Html::WhiteListSanitizer)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-08-25 00:00:00.000000000 Z
12
+ date: 2022-10-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid
@@ -357,8 +357,6 @@ files:
357
357
  - db/migrate/20210825113515_migrate_from_rails_admin_settings_to_thecore_settings.rb
358
358
  - gemfiles/mongoid-6.0.gemfile
359
359
  - gemfiles/mongoid-6.3.gemfile
360
- - lib/generators/thecore_settings/migration_generator.rb
361
- - lib/generators/thecore_settings/templates/migration.rb
362
360
  - lib/thecore_settings.rb
363
361
  - lib/thecore_settings/determine_mime_type.rb
364
362
  - lib/thecore_settings/dumper.rb
@@ -1,15 +0,0 @@
1
- require 'rails/generators'
2
- require 'rails/generators/active_record'
3
-
4
- module ThecoreSettings
5
- class MigrationGenerator < Rails::Generators::Base
6
- include ActiveRecord::Generators::Migration
7
- source_root File.expand_path('../templates', __FILE__)
8
-
9
- desc 'RocketCMS migration generator'
10
- def install
11
- migration_template "migration.rb", "db/migrate/create_thecore_settings.rb"
12
- end
13
- end
14
- end
15
-
@@ -1,29 +0,0 @@
1
- class CreateThecoreSettings < ActiveRecord::Migration[5.0]
2
- def change
3
- create_table :thecore_settings do |t|
4
- t.boolean :enabled, default: true
5
- t.string :kind, null: false, default: 'string'
6
- t.string :ns, default: 'main'
7
- t.string :key, null: false
8
- if Object.const_defined?('Geocoder')
9
- t.float :latitude
10
- t.float :longitude
11
- end
12
- t.text :raw
13
- t.string :label
14
- if defined?(Paperclip)
15
- t.attachment :file
16
- elsif defined?(CarrierWave)
17
- t.string :file
18
- elsif defined?(Shrine)
19
- t.text :file_data
20
-
21
- end
22
- t.timestamps
23
- end
24
-
25
- add_index :thecore_settings, :key
26
- add_index :thecore_settings, [:ns, :key], unique: true
27
- end
28
- end
29
-