thecore 1.4.4 → 1.4.5

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
  SHA1:
3
- metadata.gz: 0a90b58b150933f5d9103de85a5a317158575753
4
- data.tar.gz: 27eeddd7ddc69f9f69860fe6c29088d4a7ea5e5d
3
+ metadata.gz: ac10c47ec6d25f136d47162f6adcd9e4d373c3c7
4
+ data.tar.gz: b84f085008f7dce9aa3c5f8da6dbee135f2ab090
5
5
  SHA512:
6
- metadata.gz: 804d57d829477e4283a61f9fe46c8a680ef95650455601a55ab0c453a981e6139a3cec6b4521af185ac43148a42a6112dbca5bb4da8528988c3e74b86254a158
7
- data.tar.gz: b63100e2453412ebddd8bc1608a936a64d35f22fcd812644cd1f0083a2aad16c1d619443c1bbfc51de87606a8152165521f31759f289693c77995933f0b7ecf5
6
+ metadata.gz: 2b8a499a108ca74d7b35731da1ae56edf9501a2a861c0bec23e5bbdebd8c4164c5588ffb53b3e0948f3f38f1aef3e16c9c9499f015f12eefbe1159db88a0c61b
7
+ data.tar.gz: 9bc660ba7a74b8b124c6cd0b83c44879cee9d7f0d7aee1f580f7f1946ec561992dda059610781a62f4e089f4cc3ae3a44d4681976f6143ab86319ae3fb0eda13
@@ -83,7 +83,6 @@ class User < ApplicationRecord
83
83
  field :username do
84
84
  required true
85
85
  end
86
- field :code
87
86
  field :admin do
88
87
  visible do
89
88
  bindings[:view].current_user.admin? && bindings[:view].current_user.id != bindings[:object].id
@@ -8,26 +8,36 @@ module Thecore
8
8
  def update_or_init_git_remote
9
9
  create_file '.gitignore', "
10
10
 
11
- # Created by https://www.gitignore.io/api/linux,osx,windows,rails,ruby,rubymine
11
+
12
+ # Created by https://www.gitignore.io/api/osx,ruby,linux,rails,windows,sublimetext,visualstudio,visualstudiocode
13
+
12
14
  ### Linux ###
13
15
  *~
16
+
14
17
  # temporary files which can be created if a process still has a handle open of a deleted file
15
18
  .fuse_hidden*
19
+
16
20
  # KDE directory preferences
17
21
  .directory
22
+
18
23
  # Linux trash folder which might appear on any partition or disk
19
24
  .Trash-*
25
+
20
26
  # .nfs files are created when an open file is removed but is still being accessed
21
27
  .nfs*
28
+
22
29
  ### OSX ###
23
- *.DS_Store
30
+ # General
31
+ .DS_Store
24
32
  .AppleDouble
25
33
  .LSOverride
34
+
26
35
  # Icon must end with two \r
27
- Icon\r\r
36
+ Icon
28
37
 
29
38
  # Thumbnails
30
39
  ._*
40
+
31
41
  # Files that might appear in the root of a volume
32
42
  .DocumentRevisions-V100
33
43
  .fseventsd
@@ -36,30 +46,15 @@ Icon\r\r
36
46
  .Trashes
37
47
  .VolumeIcon.icns
38
48
  .com.apple.timemachine.donotpresent
49
+
39
50
  # Directories potentially created on remote AFP share
40
51
  .AppleDB
41
52
  .AppleDesktop
42
53
  Network Trash Folder
43
54
  Temporary Items
44
55
  .apdisk
45
- ### Windows ###
46
- # Windows thumbnail cache files
47
- Thumbs.db
48
- ehthumbs.db
49
- ehthumbs_vista.db
50
- # Folder config file
51
- Desktop.ini
52
- # Recycle Bin used on file shares
53
- $RECYCLE.BIN/
54
- # Windows Installer files
55
- *.cab
56
- *.msi
57
- *.msm
58
- *.msp
59
- # Windows shortcuts
60
- *.lnk
56
+
61
57
  ### Rails ###
62
- /test/dummy/log
63
58
  *.rbc
64
59
  capybara-*.html
65
60
  .rspec
@@ -70,180 +65,493 @@ capybara-*.html
70
65
  /public/system
71
66
  /coverage/
72
67
  /spec/tmp
73
- **.orig
68
+ *.orig
74
69
  rerun.txt
75
70
  pickle-email-*.html
71
+
76
72
  # TODO Comment out this rule if you are OK with secrets being uploaded to the repo
77
73
  config/initializers/secret_token.rb
74
+ config/master.key
75
+
78
76
  # Only include if you have production secrets in this file, which is no longer a Rails default
79
77
  # config/secrets.yml
78
+
80
79
  # dotenv
81
80
  # TODO Comment out this rule if environment variables can be committed
82
81
  .env
82
+
83
83
  ## Environment normalization:
84
84
  /.bundle
85
85
  /vendor/bundle
86
+
86
87
  # these should all be checked in to normalize the environment:
87
- # Gemfile.lock, .ruby-version, .ruby-gemset
88
+ Gemfile.lock
89
+ # , .ruby-version, .ruby-gemset
90
+
88
91
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
89
92
  .rvmrc
93
+
90
94
  # if using bower-rails ignore default bower_components path bower.json files
91
95
  /vendor/assets/bower_components
92
96
  *.bowerrc
93
97
  bower.json
98
+
94
99
  # Ignore pow environment settings
95
100
  .powenv
101
+
96
102
  # Ignore Byebug command history file.
97
103
  .byebug_history
98
- # Ignore bundler config
99
- /vendor/bundle/
100
- /vendor/ruby/
101
- # Ignore the default database.
102
- /db/*.javadb/
103
- # Ignore all logfiles and tempfiles.
104
- /log/*
105
- .powder
106
- .virb*
107
- *.*~
108
- # various artifacts
109
- **.war
104
+
105
+ # Ignore node_modules
106
+ node_modules/
107
+
108
+
109
+ ### Ruby ###
110
110
  *.gem
111
- *.sassc
112
- .redcar/
113
- .config
114
- .sass-cache
115
- /public/cache
116
- /public/stylesheets/compiled
117
- /public/system/*
118
- /public/assets/*
119
- /public/sitemaps
120
- /spec/tmp/*
121
- /cache
122
- /capybara*
123
- /capybara-*.html
124
- /gems
125
- /specifications
126
- .zeus.sock
127
- /solr/
128
- /.gemtags
129
- /coverage
130
- /coverage.data
111
+ /.config
131
112
  /InstalledFiles
132
113
  /pkg/
133
114
  /spec/reports/
115
+ /spec/examples.txt
134
116
  /test/tmp/
135
117
  /test/version_tmp/
136
- # scm revert files
137
- # Configuration files
138
- config/app_config.yml
139
- config/database.yml
140
- config/application.yml
141
- config/mandrill.yml
142
- config/paperclip.yml
143
- # System Recordings from Tropo
144
- public/tropo_recordings/**/*
145
- public/system/**/*
146
- # Dev Machines
147
- .DS_Store
148
- */.DS_Store
149
- Procfile.dev
150
- .env.development
151
- .env.test
152
- .env.staging
153
- .env.production
154
- /*.sublime-workspace
155
- # Netbeans project directory
156
- /nbproject/
157
- # RubyMine project files
158
- .idea
159
- # Textmate project files
160
- /*.tmproj
161
- # vim artifacts
162
- **.swp
163
- .vim
164
- /.tags
165
- /.tags_sorted_by_file
166
- # Application specific
167
- *.txt
168
- /doc
169
- /public/uploads
170
- # Specific to RubyMotion:
171
- .dat*
172
- .repl_history
173
- build/
174
- # Documentation cache and generated files:
175
- /.yardoc/
176
- /_yardoc/
177
- /rdoc/
178
- # Environment normalisation:
179
- /.bundle/
180
- /lib/bundler/man/
181
- # for a library or gem, you might want to ignore these files since the code is
182
- # intended to run in multiple environments; otherwise, check them in:
183
- Gemfile.lock
184
- # .ruby-version
185
- # .ruby-gemset
186
- .DS_store
187
- # Windows image file caches
188
- ### Ruby ###
189
- /.config
190
- /spec/examples.txt
191
118
  /tmp/
119
+
192
120
  # Used by dotenv library to load environment variables.
193
121
  # .env
122
+
194
123
  ## Specific to RubyMotion:
124
+ .dat*
125
+ .repl_history
126
+ build/
195
127
  *.bridgesupport
196
128
  build-iPhoneOS/
197
129
  build-iPhoneSimulator/
130
+
198
131
  ## Specific to RubyMotion (use of CocoaPods):
199
132
  #
200
133
  # We recommend against adding the Pods directory to your .gitignore. However
201
134
  # you should judge for yourself, the pros and cons are mentioned at:
202
135
  # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
136
+ #
203
137
  # vendor/Pods/
138
+
204
139
  ## Documentation cache and generated files:
140
+ /.yardoc/
141
+ /_yardoc/
205
142
  /doc/
206
- ### RubyMine ###
207
- # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
208
- # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
209
- # User-specific stuff:
210
- .idea/workspace.xml
211
- .idea/tasks.xml
212
- # Sensitive or high-churn files:
213
- .idea/dataSources/
214
- .idea/dataSources.ids
215
- .idea/dataSources.xml
216
- .idea/dataSources.local.xml
217
- .idea/sqlDataSources.xml
218
- .idea/dynamic.xml
219
- .idea/uiDesigner.xml
220
- # Gradle:
221
- .idea/gradle.xml
222
- .idea/libraries
223
- # Mongo Explorer plugin:
224
- .idea/mongoSettings.xml
225
- ## File-based project format:
226
- *.iws
227
- ## Plugin-specific files:
228
- # IntelliJ
229
- /out/
230
- # mpeltonen/sbt-idea plugin
231
- .idea_modules/
232
- # JIRA plugin
233
- atlassian-ide-plugin.xml
234
- # Crashlytics plugin (for Android Studio and IntelliJ)
235
- com_crashlytics_export_strings.xml
236
- crashlytics.properties
237
- crashlytics-build.properties
238
- fabric.properties
239
- ### RubyMine Patch ###
240
- # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
241
- # *.iml
242
- # modules.xml
243
- # .idea/misc.xml
244
- # *.ipr
245
- # End of https://www.gitignore.io/api/linux,osx,windows,rails,ruby,rubymine
143
+ /rdoc/
144
+
145
+ ## Environment normalization:
146
+ /.bundle/
147
+ /lib/bundler/man/
148
+
149
+ # for a library or gem, you might want to ignore these files since the code is
150
+ # intended to run in multiple environments; otherwise, check them in:
151
+ # Gemfile.lock
152
+ # .ruby-version
153
+ # .ruby-gemset
154
+
155
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
156
+
157
+ ### SublimeText ###
158
+ # Cache files for Sublime Text
159
+ *.tmlanguage.cache
160
+ *.tmPreferences.cache
161
+ *.stTheme.cache
162
+
163
+ # Workspace files are user-specific
164
+ *.sublime-workspace
165
+
166
+ # Project files should be checked into the repository, unless a significant
167
+ # proportion of contributors will probably not be using Sublime Text
168
+ # *.sublime-project
169
+
170
+ # SFTP configuration file
171
+ sftp-config.json
172
+
173
+ # Package control specific files
174
+ Package Control.last-run
175
+ Package Control.ca-list
176
+ Package Control.ca-bundle
177
+ Package Control.system-ca-bundle
178
+ Package Control.cache/
179
+ Package Control.ca-certs/
180
+ Package Control.merged-ca-bundle
181
+ Package Control.user-ca-bundle
182
+ oscrypto-ca-bundle.crt
183
+ bh_unicode_properties.cache
184
+
185
+ # Sublime-github package stores a github token in this file
186
+ # https://packagecontrol.io/packages/sublime-github
187
+ GitHub.sublime-settings
188
+
189
+ ### VisualStudioCode ###
190
+ .vscode/*
191
+ !.vscode/settings.json
192
+ !.vscode/tasks.json
193
+ !.vscode/launch.json
194
+ !.vscode/extensions.json
195
+
196
+ ### Windows ###
197
+ # Windows thumbnail cache files
198
+ Thumbs.db
199
+ ehthumbs.db
200
+ ehthumbs_vista.db
201
+
202
+ # Dump file
203
+ *.stackdump
204
+
205
+ # Folder config file
206
+ [Dd]esktop.ini
207
+
208
+ # Recycle Bin used on file shares
209
+ $RECYCLE.BIN/
210
+
211
+ # Windows Installer files
212
+ *.cab
213
+ *.msi
214
+ *.msix
215
+ *.msm
216
+ *.msp
217
+
218
+ # Windows shortcuts
219
+ *.lnk
220
+
221
+ ### VisualStudio ###
222
+ ## Ignore Visual Studio temporary files, build results, and
223
+ ## files generated by popular Visual Studio add-ons.
224
+ ##
225
+ ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
226
+
227
+ # User-specific files
228
+ *.suo
229
+ *.user
230
+ *.userosscache
231
+ *.sln.docstates
232
+
233
+ # User-specific files (MonoDevelop/Xamarin Studio)
234
+ *.userprefs
235
+
236
+ # Build results
237
+ [Dd]ebug/
238
+ [Dd]ebugPublic/
239
+ [Rr]elease/
240
+ [Rr]eleases/
241
+ x64/
242
+ x86/
243
+ bld/
244
+ [Bb]in/
245
+ [Oo]bj/
246
+ [Ll]og/
247
+
248
+ # Visual Studio 2015/2017 cache/options directory
249
+ .vs/
250
+ # Uncomment if you have tasks that create the project's static files in wwwroot
251
+ #wwwroot/
252
+
253
+ # Visual Studio 2017 auto generated files
254
+ Generated\ Files/
255
+
256
+ # MSTest test Results
257
+ [Tt]est[Rr]esult*/
258
+ [Bb]uild[Ll]og.*
259
+
260
+ # NUNIT
261
+ *.VisualState.xml
262
+ TestResult.xml
263
+
264
+ # Build Results of an ATL Project
265
+ [Dd]ebugPS/
266
+ [Rr]eleasePS/
267
+ dlldata.c
268
+
269
+ # Benchmark Results
270
+ BenchmarkDotNet.Artifacts/
271
+
272
+ # .NET Core
273
+ project.lock.json
274
+ project.fragment.lock.json
275
+ artifacts/
276
+
277
+ # StyleCop
278
+ StyleCopReport.xml
279
+
280
+ # Files built by Visual Studio
281
+ *_i.c
282
+ *_p.c
283
+ *_h.h
284
+ *.ilk
285
+ *.meta
286
+ *.obj
287
+ *.iobj
288
+ *.pch
289
+ *.pdb
290
+ *.ipdb
291
+ *.pgc
292
+ *.pgd
293
+ *.rsp
294
+ *.sbr
295
+ *.tlb
296
+ *.tli
297
+ *.tlh
298
+ *.tmp
299
+ *.tmp_proj
300
+ *.log
301
+ *.vspscc
302
+ *.vssscc
303
+ .builds
304
+ *.pidb
305
+ *.svclog
306
+ *.scc
307
+
308
+ # Chutzpah Test files
309
+ _Chutzpah*
310
+
311
+ # Visual C++ cache files
312
+ ipch/
313
+ *.aps
314
+ *.ncb
315
+ *.opendb
316
+ *.opensdf
317
+ *.sdf
318
+ *.cachefile
319
+ *.VC.db
320
+ *.VC.VC.opendb
321
+
322
+ # Visual Studio profiler
323
+ *.psess
324
+ *.vsp
325
+ *.vspx
326
+ *.sap
327
+
328
+ # Visual Studio Trace Files
329
+ *.e2e
330
+
331
+ # TFS 2012 Local Workspace
332
+ $tf/
333
+
334
+ # Guidance Automation Toolkit
335
+ *.gpState
336
+
337
+ # ReSharper is a .NET coding add-in
338
+ _ReSharper*/
339
+ *.[Rr]e[Ss]harper
340
+ *.DotSettings.user
341
+
342
+ # JustCode is a .NET coding add-in
343
+ .JustCode
344
+
345
+ # TeamCity is a build add-in
346
+ _TeamCity*
347
+
348
+ # DotCover is a Code Coverage Tool
349
+ *.dotCover
350
+
351
+ # AxoCover is a Code Coverage Tool
352
+ .axoCover/*
353
+ !.axoCover/settings.json
354
+
355
+ # Visual Studio code coverage results
356
+ *.coverage
357
+ *.coveragexml
358
+
359
+ # NCrunch
360
+ _NCrunch_*
361
+ .*crunch*.local.xml
362
+ nCrunchTemp_*
363
+
364
+ # MightyMoose
365
+ *.mm.*
366
+ AutoTest.Net/
367
+
368
+ # Web workbench (sass)
369
+ .sass-cache/
370
+
371
+ # Installshield output folder
372
+ [Ee]xpress/
373
+
374
+ # DocProject is a documentation generator add-in
375
+ DocProject/buildhelp/
376
+ DocProject/Help/*.HxT
377
+ DocProject/Help/*.HxC
378
+ DocProject/Help/*.hhc
379
+ DocProject/Help/*.hhk
380
+ DocProject/Help/*.hhp
381
+ DocProject/Help/Html2
382
+ DocProject/Help/html
383
+
384
+ # Click-Once directory
385
+ publish/
386
+
387
+ # Publish Web Output
388
+ *.[Pp]ublish.xml
389
+ *.azurePubxml
390
+ # Note: Comment the next line if you want to checkin your web deploy settings,
391
+ # but database connection strings (with potential passwords) will be unencrypted
392
+ *.pubxml
393
+ *.publishproj
394
+
395
+ # Microsoft Azure Web App publish settings. Comment the next line if you want to
396
+ # checkin your Azure Web App publish settings, but sensitive information contained
397
+ # in these scripts will be unencrypted
398
+ PublishScripts/
399
+
400
+ # NuGet Packages
401
+ *.nupkg
402
+ # The packages folder can be ignored because of Package Restore
403
+ **/[Pp]ackages/*
404
+ # except build/, which is used as an MSBuild target.
405
+ !**/[Pp]ackages/build/
406
+ # Uncomment if necessary however generally it will be regenerated when needed
407
+ #!**/[Pp]ackages/repositories.config
408
+ # NuGet v3's project.json files produces more ignorable files
409
+ *.nuget.props
410
+ *.nuget.targets
411
+
412
+ # Microsoft Azure Build Output
413
+ csx/
414
+ *.build.csdef
415
+
416
+ # Microsoft Azure Emulator
417
+ ecf/
418
+ rcf/
419
+
420
+ # Windows Store app package directories and files
421
+ AppPackages/
422
+ BundleArtifacts/
423
+ Package.StoreAssociation.xml
424
+ _pkginfo.txt
425
+ *.appx
426
+
427
+ # Visual Studio cache files
428
+ # files ending in .cache can be ignored
429
+ *.[Cc]ache
430
+ # but keep track of directories ending in .cache
431
+ !*.[Cc]ache/
432
+
433
+ # Others
434
+ ClientBin/
435
+ ~$*
436
+ *.dbmdl
437
+ *.dbproj.schemaview
438
+ *.jfm
439
+ *.pfx
440
+ *.publishsettings
441
+ orleans.codegen.cs
442
+
443
+ # Including strong name files can present a security risk
444
+ # (https://github.com/github/gitignore/pull/2483#issue-259490424)
445
+ #*.snk
446
+
447
+ # Since there are multiple workflows, uncomment next line to ignore bower_components
448
+ # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
449
+ #bower_components/
450
+
451
+ # RIA/Silverlight projects
452
+ Generated_Code/
453
+
454
+ # Backup & report files from converting an old project file
455
+ # to a newer Visual Studio version. Backup files are not needed,
456
+ # because we have git ;-)
457
+ _UpgradeReport_Files/
458
+ Backup*/
459
+ UpgradeLog*.XML
460
+ UpgradeLog*.htm
461
+ ServiceFabricBackup/
462
+ *.rptproj.bak
463
+
464
+ # SQL Server files
465
+ *.mdf
466
+ *.ldf
467
+ *.ndf
468
+
469
+ # Business Intelligence projects
470
+ *.rdl.data
471
+ *.bim.layout
472
+ *.bim_*.settings
473
+ *.rptproj.rsuser
474
+
475
+ # Microsoft Fakes
476
+ FakesAssemblies/
477
+
478
+ # GhostDoc plugin setting file
479
+ *.GhostDoc.xml
480
+
481
+ # Node.js Tools for Visual Studio
482
+ .ntvs_analysis.dat
483
+
484
+ # Visual Studio 6 build log
485
+ *.plg
486
+
487
+ # Visual Studio 6 workspace options file
488
+ *.opt
489
+
490
+ # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
491
+ *.vbw
492
+
493
+ # Visual Studio LightSwitch build output
494
+ **/*.HTMLClient/GeneratedArtifacts
495
+ **/*.DesktopClient/GeneratedArtifacts
496
+ **/*.DesktopClient/ModelManifest.xml
497
+ **/*.Server/GeneratedArtifacts
498
+ **/*.Server/ModelManifest.xml
499
+ _Pvt_Extensions
500
+
501
+ # Paket dependency manager
502
+ .paket/paket.exe
503
+ paket-files/
504
+
505
+ # FAKE - F# Make
506
+ .fake/
507
+
508
+ # JetBrains Rider
509
+ .idea/
510
+ *.sln.iml
511
+
512
+ # CodeRush
513
+ .cr/
514
+
515
+ # Python Tools for Visual Studio (PTVS)
516
+ __pycache__/
517
+ *.pyc
518
+
519
+ # Cake - Uncomment if you are using it
520
+ # tools/**
521
+ # !tools/packages.config
522
+
523
+ # Tabs Studio
524
+ *.tss
525
+
526
+ # Telerik's JustMock configuration file
527
+ *.jmconfig
528
+
529
+ # BizTalk build output
530
+ *.btp.cs
531
+ *.btm.cs
532
+ *.odx.cs
533
+ *.xsd.cs
534
+
535
+ # OpenCover UI analysis results
536
+ OpenCover/
537
+
538
+ # Azure Stream Analytics local run output
539
+ ASALocalRun/
540
+
541
+ # MSBuild Binary and Structured Log
542
+ *.binlog
543
+
544
+ # NVidia Nsight GPU debugger configuration file
545
+ *.nvuser
546
+
547
+ # MFractors (Xamarin productivity tool) working folder
548
+ .mfractor/
549
+
550
+ # Local History for Visual Studio
551
+ .localhistory/
552
+
246
553
 
554
+ # End of https://www.gitignore.io/api/osx,ruby,linux,rails,windows,sublimetext,visualstudio,visualstudiocode
247
555
  "
248
556
  git :init
249
557
  git add: ".gitignore"
@@ -1,3 +1,3 @@
1
1
  module Thecore
2
- VERSION = '1.4.4'.freeze
2
+ VERSION = '1.4.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-31 00:00:00.000000000 Z
11
+ date: 2018-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails