thecore_backend_commons 2.2.7 → 2.2.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: f3990a879206f64ef45e97055d4c916fc6f266149bcdea444a52d936145759a2
4
- data.tar.gz: e3326840ba18d6bb924353ef44942ee89bea249bd6e636a2cbccd92bb8554203
3
+ metadata.gz: 18c163930b0dc1428dce0a8da5f6a5cc9a590ca158b5148c38ba786f4f4971eb
4
+ data.tar.gz: 9f52d6b57af4b76fb870e98420f9df7e5046ea45f032515c17117eb1c3f0b608
5
5
  SHA512:
6
- metadata.gz: 33aa79c1181d64f948bc47fa933e3b30e700cedbd29988fc4ffe1d3a1dcaa1cd9a7fcaee2766e3fc2c49f91deb7fe24e00b29efb31bb0ab6fcc4ac3d8d835b27
7
- data.tar.gz: de66eba73c841d628c448d155af30812d3876d5d92cbcff94137568aaf49a80e45d63cfd2f9961aa99700d9ae903a9fbc17f16b1fd33c98c5ad1b3222f616416
6
+ metadata.gz: c2ddf263b12c8966405277e1daa14ea9f6e67c44a3b413a315f32c85bd426eacafdaeff86d79856920c554ad47762cacba4c4d61e8009b20cccd14e2b8a5da20
7
+ data.tar.gz: f66cf4c676eee714f5daa452b30bed0e40e28be742d9192ae215ed252e5985587c9bb26f19e88c9cf68df2cd899a9db1d1dd28e243efba369dec6f34dc40ed8f
@@ -4,7 +4,5 @@ module ThecoreBackendCommonsUser
4
4
  extend ActiveSupport::Concern
5
5
 
6
6
  included do
7
- validates :username, uniqueness: { case_sensitive: false }, presence: true, length: { in: 4..15 }
8
- validates_format_of :username, with: /\A[a-zA-Z0-9]*\z/, on: :create, message: "can only contain letters and digits"
9
7
  end
10
8
  end
@@ -1,3 +1,3 @@
1
1
  module ThecoreBackendCommons
2
- VERSION = '2.2.7'
2
+ VERSION = '2.2.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_backend_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.7
4
+ version: 2.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-19 00:00:00.000000000 Z
11
+ date: 2020-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_auth_commons
@@ -83,7 +83,6 @@ files:
83
83
  - config/locales/en.devise.custom.yml
84
84
  - config/locales/it.devise.custom.yml
85
85
  - config/routes.rb
86
- - db/migrate/20190920115549_create_active_storage_tables.active_storage.rb
87
86
  - lib/concerns/thecore_backend_commons_user.rb
88
87
  - lib/patches/active_record_extensions.rb
89
88
  - lib/patches/application_record_loader.rb
@@ -1,27 +0,0 @@
1
- # This migration comes from active_storage (originally 20170806125915)
2
- class CreateActiveStorageTables < ActiveRecord::Migration[5.2]
3
- def change
4
- create_table :active_storage_blobs do |t|
5
- t.string :key, null: false
6
- t.string :filename, null: false
7
- t.string :content_type
8
- t.text :metadata
9
- t.bigint :byte_size, null: false
10
- t.string :checksum, null: false
11
- t.datetime :created_at, null: false
12
-
13
- t.index [ :key ], unique: true
14
- end
15
-
16
- create_table :active_storage_attachments do |t|
17
- t.string :name, null: false
18
- t.references :record, null: false, polymorphic: true, index: false
19
- t.references :blob, null: false
20
-
21
- t.datetime :created_at, null: false
22
-
23
- t.index [ :record_type, :record_id, :name, :blob_id ], name: "index_active_storage_attachments_uniqueness", unique: true
24
- t.foreign_key :active_storage_blobs, column: :blob_id
25
- end
26
- end
27
- end