thecore_settings 2.0.9 → 3.0.0
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 +4 -4
- data/app/views/rails_admin/main/_setting_value.html.erb +51 -0
- data/lib/thecore_settings/rails_admin_config.rb +1 -1
- data/lib/thecore_settings/version.rb +2 -3
- metadata +25 -212
- data/.devcontainer/Dockerfile +0 -20
- data/.devcontainer/devcontainer.json +0 -33
- data/.github/workflows/gempush.yml +0 -33
- data/.gitignore +0 -542
- data/.rakeTasks +0 -7
- data/.rspec +0 -1
- data/.ruby-gemset +0 -1
- data/.ruby-version +0 -1
- data/.travis.yml +0 -31
- data/CHANGELOG.md +0 -81
- data/Gemfile +0 -6
- data/Gemfile.lock +0 -290
- data/LICENSE.txt +0 -22
- data/README.rdoc +0 -68
- data/app/models/.keep +0 -0
- data/app/views/.keep +0 -0
- data/app/views/rails_admin/main/_setting_value.html.haml +0 -41
- data/bin/rails +0 -14
- data/gemfiles/mongoid-6.0.gemfile +0 -5
- data/gemfiles/mongoid-6.3.gemfile +0 -5
- data/spec/advanced_usage_spec.rb +0 -11
- data/spec/carrierwave_spec.rb +0 -41
- data/spec/database_trickery_spec.rb +0 -48
- data/spec/defaults_spec.rb +0 -87
- data/spec/enabling_spec.rb +0 -29
- data/spec/factories/setting.rb +0 -8
- data/spec/label_spec.rb +0 -16
- data/spec/migration_spec.rb +0 -20
- data/spec/model_spec.rb +0 -105
- data/spec/namespaced_spec.rb +0 -67
- data/spec/paperclip_spec.rb +0 -38
- data/spec/settings_spec.rb +0 -75
- data/spec/shrine_spec.rb +0 -34
- data/spec/spec_helper.rb +0 -85
- data/spec/support/1024x768.gif +0 -0
- data/spec/support/database_cleaner.rb +0 -10
- data/spec/support/defaults.yml +0 -23
- data/spec/support/defaults_w_file.yml +0 -19
- data/spec/support/mongoid.rb +0 -6
- data/spec/support/mongoid.yml +0 -6
- data/spec/types_spec.rb +0 -101
- data/thecore_settings.gemspec +0 -45
data/.gitignore
DELETED
@@ -1,542 +0,0 @@
|
|
1
|
-
|
2
|
-
# Created by https://www.gitignore.io/api/osx,ruby,linux,rails,windows,sublimetext,visualstudio,visualstudiocode
|
3
|
-
|
4
|
-
### Linux ###
|
5
|
-
*~
|
6
|
-
|
7
|
-
# temporary files which can be created if a process still has a handle open of a deleted file
|
8
|
-
.fuse_hidden*
|
9
|
-
|
10
|
-
# KDE directory preferences
|
11
|
-
.directory
|
12
|
-
|
13
|
-
# Linux trash folder which might appear on any partition or disk
|
14
|
-
.Trash-*
|
15
|
-
|
16
|
-
# .nfs files are created when an open file is removed but is still being accessed
|
17
|
-
.nfs*
|
18
|
-
|
19
|
-
### OSX ###
|
20
|
-
# General
|
21
|
-
.DS_Store
|
22
|
-
.AppleDouble
|
23
|
-
.LSOverride
|
24
|
-
|
25
|
-
# Icon must end with two \r
|
26
|
-
Icon
|
27
|
-
|
28
|
-
# Thumbnails
|
29
|
-
._*
|
30
|
-
|
31
|
-
# Files that might appear in the root of a volume
|
32
|
-
.DocumentRevisions-V100
|
33
|
-
.fseventsd
|
34
|
-
.Spotlight-V100
|
35
|
-
.TemporaryItems
|
36
|
-
.Trashes
|
37
|
-
.VolumeIcon.icns
|
38
|
-
.com.apple.timemachine.donotpresent
|
39
|
-
# Directories potentially created on remote AFP share
|
40
|
-
.AppleDB
|
41
|
-
.AppleDesktop
|
42
|
-
Network Trash Folder
|
43
|
-
Temporary Items
|
44
|
-
.apdisk
|
45
|
-
|
46
|
-
### Rails ###
|
47
|
-
*.rbc
|
48
|
-
capybara-*.html
|
49
|
-
.rspec
|
50
|
-
/log
|
51
|
-
/tmp
|
52
|
-
/db/*.sqlite3
|
53
|
-
/db/*.sqlite3-journal
|
54
|
-
/public/system
|
55
|
-
/coverage/
|
56
|
-
/spec/tmp
|
57
|
-
*.orig
|
58
|
-
rerun.txt
|
59
|
-
pickle-email-*.html
|
60
|
-
|
61
|
-
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
|
62
|
-
config/initializers/secret_token.rb
|
63
|
-
config/master.key
|
64
|
-
|
65
|
-
# Only include if you have production secrets in this file, which is no longer a Rails default
|
66
|
-
# config/secrets.yml
|
67
|
-
|
68
|
-
# dotenv
|
69
|
-
# TODO Comment out this rule if environment variables can be committed
|
70
|
-
.env
|
71
|
-
|
72
|
-
## Environment normalization:
|
73
|
-
/.bundle
|
74
|
-
/vendor/bundle
|
75
|
-
|
76
|
-
# these should all be checked in to normalize the environment:
|
77
|
-
Gemfile.lock
|
78
|
-
#, .ruby-version, .ruby-gemset
|
79
|
-
|
80
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
81
|
-
.rvmrc
|
82
|
-
|
83
|
-
# if using bower-rails ignore default bower_components path bower.json files
|
84
|
-
/vendor/assets/bower_components
|
85
|
-
*.bowerrc
|
86
|
-
bower.json
|
87
|
-
|
88
|
-
# Ignore pow environment settings
|
89
|
-
.powenv
|
90
|
-
|
91
|
-
# Ignore Byebug command history file.
|
92
|
-
.byebug_history
|
93
|
-
|
94
|
-
# Ignore node_modules
|
95
|
-
node_modules/
|
96
|
-
|
97
|
-
|
98
|
-
### Ruby ###
|
99
|
-
*.gem
|
100
|
-
/.config
|
101
|
-
/InstalledFiles
|
102
|
-
/pkg/
|
103
|
-
/spec/reports/
|
104
|
-
/spec/examples.txt
|
105
|
-
/test/tmp/
|
106
|
-
/test/version_tmp/
|
107
|
-
/tmp/
|
108
|
-
|
109
|
-
# Used by dotenv library to load environment variables.
|
110
|
-
# .env
|
111
|
-
|
112
|
-
## Specific to RubyMotion:
|
113
|
-
.dat*
|
114
|
-
.repl_history
|
115
|
-
build/
|
116
|
-
*.bridgesupport
|
117
|
-
build-iPhoneOS/
|
118
|
-
build-iPhoneSimulator/
|
119
|
-
|
120
|
-
## Specific to RubyMotion (use of CocoaPods):
|
121
|
-
#
|
122
|
-
# We recommend against adding the Pods directory to your .gitignore. However
|
123
|
-
# you should judge for yourself, the pros and cons are mentioned at:
|
124
|
-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
125
|
-
#
|
126
|
-
# vendor/Pods/
|
127
|
-
|
128
|
-
## Documentation cache and generated files:
|
129
|
-
/.yardoc/
|
130
|
-
/_yardoc/
|
131
|
-
/doc/
|
132
|
-
/rdoc/
|
133
|
-
|
134
|
-
## Environment normalization:
|
135
|
-
/.bundle/
|
136
|
-
/lib/bundler/man/
|
137
|
-
|
138
|
-
# for a library or gem, you might want to ignore these files since the code is
|
139
|
-
# intended to run in multiple environments; otherwise, check them in:
|
140
|
-
# Gemfile.lock
|
141
|
-
# .ruby-version
|
142
|
-
# .ruby-gemset
|
143
|
-
|
144
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
145
|
-
|
146
|
-
### SublimeText ###
|
147
|
-
# Cache files for Sublime Text
|
148
|
-
*.tmlanguage.cache
|
149
|
-
*.tmPreferences.cache
|
150
|
-
*.stTheme.cache
|
151
|
-
|
152
|
-
# Workspace files are user-specific
|
153
|
-
*.sublime-workspace
|
154
|
-
|
155
|
-
# Project files should be checked into the repository, unless a significant
|
156
|
-
# proportion of contributors will probably not be using Sublime Text
|
157
|
-
# *.sublime-project
|
158
|
-
|
159
|
-
# SFTP configuration file
|
160
|
-
sftp-config.json
|
161
|
-
|
162
|
-
# Package control specific files
|
163
|
-
Package Control.last-run
|
164
|
-
Package Control.ca-list
|
165
|
-
Package Control.ca-bundle
|
166
|
-
Package Control.system-ca-bundle
|
167
|
-
Package Control.cache/
|
168
|
-
Package Control.ca-certs/
|
169
|
-
Package Control.merged-ca-bundle
|
170
|
-
Package Control.user-ca-bundle
|
171
|
-
oscrypto-ca-bundle.crt
|
172
|
-
bh_unicode_properties.cache
|
173
|
-
|
174
|
-
# Sublime-github package stores a github token in this file
|
175
|
-
# https://packagecontrol.io/packages/sublime-github
|
176
|
-
GitHub.sublime-settings
|
177
|
-
|
178
|
-
### VisualStudioCode ###
|
179
|
-
.vscode/*
|
180
|
-
!.vscode/settings.json
|
181
|
-
!.vscode/tasks.json
|
182
|
-
!.vscode/launch.json
|
183
|
-
!.vscode/extensions.json
|
184
|
-
|
185
|
-
### Windows ###
|
186
|
-
# Windows thumbnail cache files
|
187
|
-
Thumbs.db
|
188
|
-
ehthumbs.db
|
189
|
-
ehthumbs_vista.db
|
190
|
-
|
191
|
-
# Dump file
|
192
|
-
*.stackdump
|
193
|
-
|
194
|
-
# Folder config file
|
195
|
-
[Dd]esktop.ini
|
196
|
-
|
197
|
-
# Recycle Bin used on file shares
|
198
|
-
$RECYCLE.BIN/
|
199
|
-
|
200
|
-
# Windows Installer files
|
201
|
-
*.cab
|
202
|
-
*.msi
|
203
|
-
*.msix
|
204
|
-
*.msm
|
205
|
-
*.msp
|
206
|
-
|
207
|
-
# Windows shortcuts
|
208
|
-
*.lnk
|
209
|
-
|
210
|
-
### VisualStudio ###
|
211
|
-
## Ignore Visual Studio temporary files, build results, and
|
212
|
-
## files generated by popular Visual Studio add-ons.
|
213
|
-
##
|
214
|
-
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
215
|
-
|
216
|
-
# User-specific files
|
217
|
-
*.suo
|
218
|
-
*.user
|
219
|
-
*.userosscache
|
220
|
-
*.sln.docstates
|
221
|
-
|
222
|
-
# User-specific files (MonoDevelop/Xamarin Studio)
|
223
|
-
*.userprefs
|
224
|
-
|
225
|
-
# Build results
|
226
|
-
[Dd]ebug/
|
227
|
-
[Dd]ebugPublic/
|
228
|
-
[Rr]elease/
|
229
|
-
[Rr]eleases/
|
230
|
-
x64/
|
231
|
-
x86/
|
232
|
-
bld/
|
233
|
-
[Oo]bj/
|
234
|
-
[Ll]og/
|
235
|
-
|
236
|
-
# Visual Studio 2015/2017 cache/options directory
|
237
|
-
.vs/
|
238
|
-
# Uncomment if you have tasks that create the project's static files in wwwroot
|
239
|
-
#wwwroot/
|
240
|
-
|
241
|
-
# Visual Studio 2017 auto generated files
|
242
|
-
Generated\ Files/
|
243
|
-
|
244
|
-
# MSTest test Results
|
245
|
-
[Tt]est[Rr]esult*/
|
246
|
-
[Bb]uild[Ll]og.*
|
247
|
-
|
248
|
-
# NUNIT
|
249
|
-
*.VisualState.xml
|
250
|
-
TestResult.xml
|
251
|
-
|
252
|
-
# Build Results of an ATL Project
|
253
|
-
[Dd]ebugPS/
|
254
|
-
[Rr]eleasePS/
|
255
|
-
dlldata.c
|
256
|
-
|
257
|
-
# Benchmark Results
|
258
|
-
BenchmarkDotNet.Artifacts/
|
259
|
-
|
260
|
-
# .NET Core
|
261
|
-
project.lock.json
|
262
|
-
project.fragment.lock.json
|
263
|
-
artifacts/
|
264
|
-
|
265
|
-
# StyleCop
|
266
|
-
StyleCopReport.xml
|
267
|
-
|
268
|
-
# Files built by Visual Studio
|
269
|
-
*_i.c
|
270
|
-
*_p.c
|
271
|
-
*_h.h
|
272
|
-
*.ilk
|
273
|
-
*.meta
|
274
|
-
*.obj
|
275
|
-
*.iobj
|
276
|
-
*.pch
|
277
|
-
*.pdb
|
278
|
-
*.ipdb
|
279
|
-
*.pgc
|
280
|
-
*.pgd
|
281
|
-
*.rsp
|
282
|
-
*.sbr
|
283
|
-
*.tlb
|
284
|
-
*.tli
|
285
|
-
*.tlh
|
286
|
-
*.tmp
|
287
|
-
*.tmp_proj
|
288
|
-
*.log
|
289
|
-
*.vspscc
|
290
|
-
*.vssscc
|
291
|
-
.builds
|
292
|
-
*.pidb
|
293
|
-
*.svclog
|
294
|
-
*.scc
|
295
|
-
|
296
|
-
# Chutzpah Test files
|
297
|
-
_Chutzpah*
|
298
|
-
|
299
|
-
# Visual C++ cache files
|
300
|
-
ipch/
|
301
|
-
*.aps
|
302
|
-
*.ncb
|
303
|
-
*.opendb
|
304
|
-
*.opensdf
|
305
|
-
*.sdf
|
306
|
-
*.cachefile
|
307
|
-
*.VC.db
|
308
|
-
*.VC.VC.opendb
|
309
|
-
|
310
|
-
# Visual Studio profiler
|
311
|
-
*.psess
|
312
|
-
*.vsp
|
313
|
-
*.vspx
|
314
|
-
*.sap
|
315
|
-
|
316
|
-
# Visual Studio Trace Files
|
317
|
-
*.e2e
|
318
|
-
|
319
|
-
# TFS 2012 Local Workspace
|
320
|
-
$tf/
|
321
|
-
|
322
|
-
# Guidance Automation Toolkit
|
323
|
-
*.gpState
|
324
|
-
|
325
|
-
# ReSharper is a .NET coding add-in
|
326
|
-
_ReSharper*/
|
327
|
-
*.[Rr]e[Ss]harper
|
328
|
-
*.DotSettings.user
|
329
|
-
|
330
|
-
# JustCode is a .NET coding add-in
|
331
|
-
.JustCode
|
332
|
-
|
333
|
-
# TeamCity is a build add-in
|
334
|
-
_TeamCity*
|
335
|
-
|
336
|
-
# DotCover is a Code Coverage Tool
|
337
|
-
*.dotCover
|
338
|
-
|
339
|
-
# AxoCover is a Code Coverage Tool
|
340
|
-
.axoCover/*
|
341
|
-
!.axoCover/settings.json
|
342
|
-
|
343
|
-
# Visual Studio code coverage results
|
344
|
-
*.coverage
|
345
|
-
*.coveragexml
|
346
|
-
|
347
|
-
# NCrunch
|
348
|
-
_NCrunch_*
|
349
|
-
.*crunch*.local.xml
|
350
|
-
nCrunchTemp_*
|
351
|
-
|
352
|
-
# MightyMoose
|
353
|
-
*.mm.*
|
354
|
-
AutoTest.Net/
|
355
|
-
|
356
|
-
# Web workbench (sass)
|
357
|
-
.sass-cache/
|
358
|
-
|
359
|
-
# Installshield output folder
|
360
|
-
[Ee]xpress/
|
361
|
-
|
362
|
-
# DocProject is a documentation generator add-in
|
363
|
-
DocProject/buildhelp/
|
364
|
-
DocProject/Help/*.HxT
|
365
|
-
DocProject/Help/*.HxC
|
366
|
-
DocProject/Help/*.hhc
|
367
|
-
DocProject/Help/*.hhk
|
368
|
-
DocProject/Help/*.hhp
|
369
|
-
DocProject/Help/Html2
|
370
|
-
DocProject/Help/html
|
371
|
-
|
372
|
-
# Click-Once directory
|
373
|
-
publish/
|
374
|
-
|
375
|
-
# Publish Web Output
|
376
|
-
*.[Pp]ublish.xml
|
377
|
-
*.azurePubxml
|
378
|
-
# Note: Comment the next line if you want to checkin your web deploy settings,
|
379
|
-
# but database connection strings (with potential passwords) will be unencrypted
|
380
|
-
*.pubxml
|
381
|
-
*.publishproj
|
382
|
-
|
383
|
-
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
384
|
-
# checkin your Azure Web App publish settings, but sensitive information contained
|
385
|
-
# in these scripts will be unencrypted
|
386
|
-
PublishScripts/
|
387
|
-
|
388
|
-
# NuGet Packages
|
389
|
-
*.nupkg
|
390
|
-
# The packages folder can be ignored because of Package Restore
|
391
|
-
**/[Pp]ackages/*
|
392
|
-
# except build/, which is used as an MSBuild target.
|
393
|
-
!**/[Pp]ackages/build/
|
394
|
-
# Uncomment if necessary however generally it will be regenerated when needed
|
395
|
-
#!**/[Pp]ackages/repositories.config
|
396
|
-
# NuGet v3's project.json files produces more ignorable files
|
397
|
-
*.nuget.props
|
398
|
-
*.nuget.targets
|
399
|
-
|
400
|
-
# Microsoft Azure Build Output
|
401
|
-
csx/
|
402
|
-
*.build.csdef
|
403
|
-
|
404
|
-
# Microsoft Azure Emulator
|
405
|
-
ecf/
|
406
|
-
rcf/
|
407
|
-
|
408
|
-
# Windows Store app package directories and files
|
409
|
-
AppPackages/
|
410
|
-
BundleArtifacts/
|
411
|
-
Package.StoreAssociation.xml
|
412
|
-
_pkginfo.txt
|
413
|
-
*.appx
|
414
|
-
|
415
|
-
# Visual Studio cache files
|
416
|
-
# files ending in .cache can be ignored
|
417
|
-
*.[Cc]ache
|
418
|
-
# but keep track of directories ending in .cache
|
419
|
-
!*.[Cc]ache/
|
420
|
-
|
421
|
-
# Others
|
422
|
-
ClientBin/
|
423
|
-
~$*
|
424
|
-
*.dbmdl
|
425
|
-
*.dbproj.schemaview
|
426
|
-
*.jfm
|
427
|
-
*.pfx
|
428
|
-
*.publishsettings
|
429
|
-
orleans.codegen.cs
|
430
|
-
|
431
|
-
# Including strong name files can present a security risk
|
432
|
-
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
|
433
|
-
#*.snk
|
434
|
-
|
435
|
-
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
436
|
-
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
437
|
-
#bower_components/
|
438
|
-
|
439
|
-
# RIA/Silverlight projects
|
440
|
-
Generated_Code/
|
441
|
-
|
442
|
-
# Backup & report files from converting an old project file
|
443
|
-
# to a newer Visual Studio version. Backup files are not needed,
|
444
|
-
# because we have git ;-)
|
445
|
-
_UpgradeReport_Files/
|
446
|
-
Backup*/
|
447
|
-
UpgradeLog*.XML
|
448
|
-
UpgradeLog*.htm
|
449
|
-
ServiceFabricBackup/
|
450
|
-
*.rptproj.bak
|
451
|
-
|
452
|
-
# SQL Server files
|
453
|
-
*.mdf
|
454
|
-
*.ldf
|
455
|
-
*.ndf
|
456
|
-
|
457
|
-
# Business Intelligence projects
|
458
|
-
*.rdl.data
|
459
|
-
*.bim.layout
|
460
|
-
*.bim_*.settings
|
461
|
-
*.rptproj.rsuser
|
462
|
-
|
463
|
-
# Microsoft Fakes
|
464
|
-
FakesAssemblies/
|
465
|
-
|
466
|
-
# GhostDoc plugin setting file
|
467
|
-
*.GhostDoc.xml
|
468
|
-
|
469
|
-
# Node.js Tools for Visual Studio
|
470
|
-
.ntvs_analysis.dat
|
471
|
-
|
472
|
-
# Visual Studio 6 build log
|
473
|
-
*.plg
|
474
|
-
|
475
|
-
# Visual Studio 6 workspace options file
|
476
|
-
*.opt
|
477
|
-
|
478
|
-
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
|
479
|
-
*.vbw
|
480
|
-
|
481
|
-
# Visual Studio LightSwitch build output
|
482
|
-
**/*.HTMLClient/GeneratedArtifacts
|
483
|
-
**/*.DesktopClient/GeneratedArtifacts
|
484
|
-
**/*.DesktopClient/ModelManifest.xml
|
485
|
-
**/*.Server/GeneratedArtifacts
|
486
|
-
**/*.Server/ModelManifest.xml
|
487
|
-
_Pvt_Extensions
|
488
|
-
|
489
|
-
# Paket dependency manager
|
490
|
-
.paket/paket.exe
|
491
|
-
paket-files/
|
492
|
-
|
493
|
-
# FAKE - F# Make
|
494
|
-
.fake/
|
495
|
-
|
496
|
-
# JetBrains Rider
|
497
|
-
.idea/
|
498
|
-
*.sln.iml
|
499
|
-
|
500
|
-
# CodeRush
|
501
|
-
.cr/
|
502
|
-
|
503
|
-
# Python Tools for Visual Studio (PTVS)
|
504
|
-
__pycache__/
|
505
|
-
*.pyc
|
506
|
-
|
507
|
-
# Cake - Uncomment if you are using it
|
508
|
-
# tools/**
|
509
|
-
# !tools/packages.config
|
510
|
-
|
511
|
-
# Tabs Studio
|
512
|
-
*.tss
|
513
|
-
|
514
|
-
# Telerik's JustMock configuration file
|
515
|
-
*.jmconfig
|
516
|
-
|
517
|
-
# BizTalk build output
|
518
|
-
*.btp.cs
|
519
|
-
*.btm.cs
|
520
|
-
*.odx.cs
|
521
|
-
*.xsd.cs
|
522
|
-
|
523
|
-
# OpenCover UI analysis results
|
524
|
-
OpenCover/
|
525
|
-
|
526
|
-
# Azure Stream Analytics local run output
|
527
|
-
ASALocalRun/
|
528
|
-
|
529
|
-
# MSBuild Binary and Structured Log
|
530
|
-
*.binlog
|
531
|
-
|
532
|
-
# NVidia Nsight GPU debugger configuration file
|
533
|
-
*.nvuser
|
534
|
-
|
535
|
-
# MFractors (Xamarin productivity tool) working folder
|
536
|
-
.mfractor/
|
537
|
-
|
538
|
-
# Local History for Visual Studio
|
539
|
-
.localhistory/
|
540
|
-
|
541
|
-
|
542
|
-
# End of https://www.gitignore.io/api/osx,ruby,linux,rails,windows,sublimetext,visualstudio,visualstudiocode
|
data/.rakeTasks
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
-
You are allowed to:
|
4
|
-
1. Remove rake task
|
5
|
-
2. Add existing rake tasks
|
6
|
-
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
-
--><RakeGroup description="" fullCmd="" taksId="rake" /></Settings>
|
data/.rspec
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--color
|
data/.ruby-gemset
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
thecore_settings
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.7.8
|
data/.travis.yml
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
services: mongodb
|
3
|
-
|
4
|
-
notifications:
|
5
|
-
email: false
|
6
|
-
|
7
|
-
rvm:
|
8
|
-
- 2.3.3
|
9
|
-
- 2.5.0
|
10
|
-
|
11
|
-
env:
|
12
|
-
global:
|
13
|
-
- CC_TEST_REPORTER_ID=f23ba257d0a12c588551991b4377e3eb218c1ff80050bc48c6b18c49ca16cb62
|
14
|
-
matrix:
|
15
|
-
- "UPLOADS=paperclip"
|
16
|
-
- "UPLOADS=carrierwave"
|
17
|
-
- "UPLOADS=shrine"
|
18
|
-
- "RAILS=1 UPLOADS=paperclip"
|
19
|
-
- "RAILS=1 UPLOADS=carrierwave"
|
20
|
-
- "RAILS=1 UPLOADS=shrine"
|
21
|
-
|
22
|
-
gemfile:
|
23
|
-
- gemfiles/mongoid-6.0.gemfile
|
24
|
-
- gemfiles/mongoid-6.3.gemfile
|
25
|
-
|
26
|
-
before_script:
|
27
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
28
|
-
- chmod +x ./cc-test-reporter
|
29
|
-
- ./cc-test-reporter before-build
|
30
|
-
after_script:
|
31
|
-
- ./cc-test-reporter after-build --debug --exit-code $TRAVIS_TEST_RESULT
|
data/CHANGELOG.md
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
## 1.6.0 (2020-06-11)
|
2
|
-
|
3
|
-
Add shrine file uploads
|
4
|
-
|
5
|
-
## 1.5.0 (2018-06-09)
|
6
|
-
|
7
|
-
Add float type
|
8
|
-
|
9
|
-
## 1.4.1 (2018-03-07)
|
10
|
-
|
11
|
-
Fix activerecord + paperclip uploads
|
12
|
-
Minor code cleanup
|
13
|
-
|
14
|
-
## 1.4.0
|
15
|
-
|
16
|
-
Add new kinds
|
17
|
-
|
18
|
-
strip_tags (uses strip_tags rails helper)
|
19
|
-
simple_format (uses simple_format rails helper)
|
20
|
-
simple_format_raw (does NOT sanitize (allows ANY javascript) - uses simple_format rails helper with sanitize: false)
|
21
|
-
json
|
22
|
-
|
23
|
-
Use Psych.safe_load for yaml if available
|
24
|
-
|
25
|
-
## 1.3.1
|
26
|
-
|
27
|
-
add pt-BR locale (thanks @prem-prakash)
|
28
|
-
|
29
|
-
## 1.1.3
|
30
|
-
|
31
|
-
- Fix for namespace tabs when database table does not exist yet.
|
32
|
-
|
33
|
-
## 1.1.2
|
34
|
-
|
35
|
-
- Add namespace tabs in rails_admin
|
36
|
-
- Add code type with codemirror (requires glebtv-ckeditor)
|
37
|
-
- Fixed Paperclip installation checking #6. Thx @tanelj
|
38
|
-
- Add boolean data type #2. Thx @teonimesic
|
39
|
-
|
40
|
-
## 1.1.0
|
41
|
-
|
42
|
-
- Fix file type
|
43
|
-
|
44
|
-
## 1.0.0
|
45
|
-
|
46
|
-
- Support ActiveRecord
|
47
|
-
|
48
|
-
## 1.0.0.pre.1
|
49
|
-
|
50
|
-
Disable auto migrate. To migrate from 0.8 run:
|
51
|
-
|
52
|
-
```
|
53
|
-
ThecoreSettings.migrate!
|
54
|
-
```
|
55
|
-
|
56
|
-
## 0.9.1
|
57
|
-
|
58
|
-
Settings.ns(ns) now defaults to fallback to Settings.ns_fallback
|
59
|
-
If you want an NS without fallback, specify nil:
|
60
|
-
Settings.ns(ns, fallback: nil)
|
61
|
-
|
62
|
-
## 0.9.0
|
63
|
-
|
64
|
-
- Added ActiveRecord support
|
65
|
-
- [!!!] Type renamed to Kind to avoid messing with AR STI column
|
66
|
-
|
67
|
-
Rename it in all invocations, then run migrate DB with:
|
68
|
-
|
69
|
-
ThecoreSettings.migrate!
|
70
|
-
|
71
|
-
## 0.6.0
|
72
|
-
|
73
|
-
- Added namespaced settings
|
74
|
-
- Added loading of default settings from config/settings.yml
|
75
|
-
- Settings.label(key) is removed
|
76
|
-
- Added Settings.apply_defaults! to load settings from yml file without
|
77
|
-
overwriting current settings.
|
78
|
-
*note*: If setting type is changed and old value does not pass validation for
|
79
|
-
new type, value will be reset to nil.
|
80
|
-
- Added rake settings:save_defaults to dump current settings to
|
81
|
-
config/defaults.yml
|