trusty-cms 6.0.3 → 6.0.4

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: fd070d2a1f939233a8e702c0bca79d3642bbc42968b0f8ec119cd7da09f443be
4
- data.tar.gz: b2da94658488d9005dfa919f1be59296f691cd65143b7badb2878118909e351c
3
+ metadata.gz: d9a7903adc14b08abf648ccd87795af51fb168a5ea987ead0c98ae2a6103379f
4
+ data.tar.gz: bee09d86dddbf8efab14f644b20a480c22d37af51849390b0acbc433409517bd
5
5
  SHA512:
6
- metadata.gz: 57aa2f3b55e1f1c45396ba0ad1d7d0fba25d0fa48a2bf9da705b90ee28bc4764174bc5ee977fe814cb8b4c33df50f13082f96e837b8ae8feba3bf4d1ce3f5f10
7
- data.tar.gz: a2451eda0132fce61f848c770dd066c3b28451fc6d3336984221a19cc209504d591a7ba041aaccb3453743c00703e3c09be37eafa6f25dfce5a5fa5d9a67c22b
6
+ metadata.gz: e3804b9cf359022ec5784276c19fb6dfb2c1e033fe283736635b040372f6424b5c775d64e2987d287955e29f5fcb4e3419d76c4ee41fc0c50bec36168c3f6d63
7
+ data.tar.gz: a39c179f2af842278fdd70f84b4da756473fa6f36bd47f6014b5f7191ac46f1972d11127d84f31ef350fb657de6bb9634d876095680248a6ca4dc029909fc839
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-cms (6.0.3)
4
+ trusty-cms (6.0.4)
5
5
  RedCloth (= 4.3.2)
6
6
  activestorage-validator
7
7
  acts_as_list (>= 0.9.5, < 1.2.0)
@@ -28,7 +28,6 @@ PATH
28
28
  stringex (>= 2.7.1, < 2.9.0)
29
29
  tzinfo (>= 1.2.3, < 2.1.0)
30
30
  uglifier (>= 3.2, < 5.0)
31
- uuidtools (>= 2.1.5, < 2.3.0)
32
31
  will_paginate (>= 3, < 5)
33
32
 
34
33
  GEM
@@ -341,7 +340,6 @@ GEM
341
340
  concurrent-ruby (~> 1.0)
342
341
  uglifier (4.2.0)
343
342
  execjs (>= 0.3.0, < 3)
344
- uuidtools (2.2.0)
345
343
  warden (1.2.9)
346
344
  rack (>= 2.0.9)
347
345
  websocket-driver (0.7.6)
data/app/models/asset.rb CHANGED
@@ -186,7 +186,7 @@ class Asset < ActiveRecord::Base
186
186
  end
187
187
 
188
188
  def assign_uuid
189
- self.uuid = UUIDTools::UUID.timestamp_create.to_s unless uuid?
189
+ self.uuid = SecureRandom.uuid unless uuid?
190
190
  end
191
191
 
192
192
  class << self
@@ -2,6 +2,7 @@ Rails.autoloaders.each do |autoloader|
2
2
  autoloader.inflector.inflect(
3
3
  'clipped_admin_ui' => 'ClippedAdminUI',
4
4
  'admin_ui' => 'AdminUI',
5
+ 'ostruct' => 'OpenStruct',
5
6
  # Add more inflections as needed
6
7
  )
7
8
  end
data/lib/trusty_cms.rb CHANGED
@@ -2,7 +2,7 @@ TRUSTY_CMS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) unle
2
2
 
3
3
  unless defined? TrustyCms::VERSION
4
4
  module TrustyCms
5
- VERSION = '6.0.3'.freeze
5
+ VERSION = '6.0.4'.freeze
6
6
  end
7
7
  end
8
8
 
data/trusty_cms.gemspec CHANGED
@@ -50,6 +50,5 @@ a general purpose content management system--not merely a blogging engine.'
50
50
  s.add_dependency 'stringex', '>= 2.7.1', '< 2.9.0'
51
51
  s.add_dependency 'tzinfo', '>= 1.2.3', '< 2.1.0'
52
52
  s.add_dependency 'uglifier', '>= 3.2', '< 5.0'
53
- s.add_dependency 'uuidtools', '>= 2.1.5', '< 2.3.0'
54
53
  s.add_dependency 'will_paginate', '>= 3', '< 5'
55
54
  end
@@ -1,5 +1,4 @@
1
1
  require 'acts_as_list'
2
- require 'uuidtools'
3
2
  require 'trusty_cms_clipped_extension/cloud'
4
3
  require 'active_storage/engine'
5
4
  require 'will_paginate/array'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.3
4
+ version: 6.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - TrustyCms CMS dev team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-27 00:00:00.000000000 Z
11
+ date: 2023-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activestorage-validator
@@ -434,26 +434,6 @@ dependencies:
434
434
  - - "<"
435
435
  - !ruby/object:Gem::Version
436
436
  version: '5.0'
437
- - !ruby/object:Gem::Dependency
438
- name: uuidtools
439
- requirement: !ruby/object:Gem::Requirement
440
- requirements:
441
- - - ">="
442
- - !ruby/object:Gem::Version
443
- version: 2.1.5
444
- - - "<"
445
- - !ruby/object:Gem::Version
446
- version: 2.3.0
447
- type: :runtime
448
- prerelease: false
449
- version_requirements: !ruby/object:Gem::Requirement
450
- requirements:
451
- - - ">="
452
- - !ruby/object:Gem::Version
453
- version: 2.1.5
454
- - - "<"
455
- - !ruby/object:Gem::Version
456
- version: 2.3.0
457
437
  - !ruby/object:Gem::Dependency
458
438
  name: will_paginate
459
439
  requirement: !ruby/object:Gem::Requirement