thecore_settings 2.0.6 → 2.0.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d511db8bdf434de5142cc6b76936e2e8501b2f4f2df8979cabcb0ea8c361ef39
|
4
|
+
data.tar.gz: 902cbd0e72258eaaa3b15ed0ff6444dd5a7426a9d2f29cabaef5b46c9f0f5ba1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
200
|
+
rubocop-ast (1.12.0)
|
201
201
|
parser (>= 3.0.1.1)
|
202
|
-
rubocop-rspec (2.
|
203
|
-
rubocop (~> 1.
|
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.
|
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)
|
data/lib/thecore_settings.rb
CHANGED
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.
|
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:
|
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
|
-
|