thecore_backend_commons 2.1.0 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/{after_initialize_thecore_backend_commons.rb → initializers/after_initialize_thecore_backend_commons.rb} +0 -0
- data/config/initializers/thecore_backend_commons_application.rb +6 -0
- data/db/migrate/20190920115549_create_active_storage_tables.active_storage.rb +27 -0
- data/lib/thecore_backend_commons.rb +2 -0
- data/lib/thecore_backend_commons/version.rb +1 -1
- metadata +32 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e135c1e63f9bd67e4932130a85db7d0540f354efa7c6f1284a795aa5c55e5869
|
4
|
+
data.tar.gz: ee11c1f08733bff375e8dee1ead83e975afa46f3cb6b3d9015e8f6726565b221
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63ff58bf5f374ebaae3eacc007131dd450b924f00fcce6567a379db7f5694fb5c10724b9f444ec79a6ed61be2431c6e0e7cb12b75d246eb3f834c05185a3e9c6
|
7
|
+
data.tar.gz: 5dd68de92d5320a296c3121af74afe5ba8541d9c011fa6c8c3a4410e65171656383a7cb1c8ba8454a4b59fa44152c9ce7a6763ff8f97869e1ef115ec36ecfff0
|
File without changes
|
@@ -0,0 +1,27 @@
|
|
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
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_backend_commons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
@@ -24,6 +24,34 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: devise-i18n
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.5'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.5'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: http_accept_language
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.1'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.1'
|
27
55
|
description: Wrapper to keep all the common libraries and setups needed by Thecore
|
28
56
|
UI Backend(s).
|
29
57
|
email:
|
@@ -36,8 +64,10 @@ files:
|
|
36
64
|
- README.md
|
37
65
|
- Rakefile
|
38
66
|
- app/assets/config/thecore_backend_commons_manifest.js
|
39
|
-
- config/after_initialize_thecore_backend_commons.rb
|
67
|
+
- config/initializers/after_initialize_thecore_backend_commons.rb
|
68
|
+
- config/initializers/thecore_backend_commons_application.rb
|
40
69
|
- config/routes.rb
|
70
|
+
- db/migrate/20190920115549_create_active_storage_tables.active_storage.rb
|
41
71
|
- lib/tasks/thecore_backend_commons_tasks.rake
|
42
72
|
- lib/thecore_backend_commons.rb
|
43
73
|
- lib/thecore_backend_commons/engine.rb
|