activestorage 5.2.0.beta1 → 5.2.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activestorage might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/db/migrate/20170806125915_create_active_storage_tables.rb +25 -0
- data/lib/active_storage/gem_version.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9d990e91d14e0d415f80b0f113941ef04c81b33
|
4
|
+
data.tar.gz: 3939bfa5251337c055e48f2d740c66016c88031f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '053408d7cc93542b0854f924318ee5a574f94b026dc548a9f75efa0aab9d1ef57b5aafe7ba7fd5948908d3db543975dab02b4057653100c82b5e2e1fa3b5723b'
|
7
|
+
data.tar.gz: d95ce5691785a033cf5f0e0a651332892ad46a560323a418ec6e04c5ce0f1dda80c2f1c9e998bc2c888d8cdadf07e00379871f482360892e9c86b50ecf00b546
|
data/CHANGELOG.md
CHANGED
@@ -0,0 +1,25 @@
|
|
1
|
+
class CreateActiveStorageTables < ActiveRecord::Migration[5.2]
|
2
|
+
def change
|
3
|
+
create_table :active_storage_blobs do |t|
|
4
|
+
t.string :key, null: false
|
5
|
+
t.string :filename, null: false
|
6
|
+
t.string :content_type
|
7
|
+
t.text :metadata
|
8
|
+
t.bigint :byte_size, null: false
|
9
|
+
t.string :checksum, null: false
|
10
|
+
t.datetime :created_at, null: false
|
11
|
+
|
12
|
+
t.index [ :key ], unique: true
|
13
|
+
end
|
14
|
+
|
15
|
+
create_table :active_storage_attachments do |t|
|
16
|
+
t.string :name, null: false
|
17
|
+
t.references :record, null: false, polymorphic: true, index: false
|
18
|
+
t.references :blob, null: false
|
19
|
+
|
20
|
+
t.datetime :created_at, null: false
|
21
|
+
|
22
|
+
t.index [ :record_type, :record_id, :name, :blob_id ], name: "index_active_storage_attachments_uniqueness", unique: true
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activestorage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.2.0.
|
4
|
+
version: 5.2.0.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 5.2.0.
|
19
|
+
version: 5.2.0.beta2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 5.2.0.
|
26
|
+
version: 5.2.0.beta2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activerecord
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 5.2.0.
|
33
|
+
version: 5.2.0.beta2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 5.2.0.
|
40
|
+
version: 5.2.0.beta2
|
41
41
|
description: Attach cloud and local files in Rails applications.
|
42
42
|
email: david@loudthinking.com
|
43
43
|
executables: []
|
@@ -73,6 +73,7 @@ files:
|
|
73
73
|
- app/models/active_storage/variant.rb
|
74
74
|
- app/models/active_storage/variation.rb
|
75
75
|
- config/routes.rb
|
76
|
+
- db/migrate/20170806125915_create_active_storage_tables.rb
|
76
77
|
- lib/active_storage.rb
|
77
78
|
- lib/active_storage/analyzer.rb
|
78
79
|
- lib/active_storage/analyzer/image_analyzer.rb
|
@@ -102,8 +103,8 @@ homepage: http://rubyonrails.org
|
|
102
103
|
licenses:
|
103
104
|
- MIT
|
104
105
|
metadata:
|
105
|
-
source_code_uri: https://github.com/rails/rails/tree/v5.2.0.
|
106
|
-
changelog_uri: https://github.com/rails/rails/blob/v5.2.0.
|
106
|
+
source_code_uri: https://github.com/rails/rails/tree/v5.2.0.beta2/activestorage
|
107
|
+
changelog_uri: https://github.com/rails/rails/blob/v5.2.0.beta2/activestorage/CHANGELOG.md
|
107
108
|
post_install_message:
|
108
109
|
rdoc_options: []
|
109
110
|
require_paths:
|