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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ba6f19b9e27874ec06bfa488894df537ad47722
4
- data.tar.gz: 7a1d1ce318e55eb6deac02af35e0de0e59358de9
3
+ metadata.gz: b9d990e91d14e0d415f80b0f113941ef04c81b33
4
+ data.tar.gz: 3939bfa5251337c055e48f2d740c66016c88031f
5
5
  SHA512:
6
- metadata.gz: 6cc5d8f9519577e145ae516b2f68f9113df17fb59819f0472d03eaae9ff8c7de042d0eb3d6aa1e5c9c740fe52487c90104902cdd79880d0c06ba6992e8153749
7
- data.tar.gz: b49ef545a979bcc80b60110278542b9b6f8e42dc87c7e51162d9ca0ec6b5f70f03a87dece236afe62ee09b4672d17bb16bf6bc6771a4408a25d578e120a26391
6
+ metadata.gz: '053408d7cc93542b0854f924318ee5a574f94b026dc548a9f75efa0aab9d1ef57b5aafe7ba7fd5948908d3db543975dab02b4057653100c82b5e2e1fa3b5723b'
7
+ data.tar.gz: d95ce5691785a033cf5f0e0a651332892ad46a560323a418ec6e04c5ce0f1dda80c2f1c9e998bc2c888d8cdadf07e00379871f482360892e9c86b50ecf00b546
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## Rails 5.2.0.beta2 (November 28, 2017) ##
2
+
3
+ * Fix the gem adding the migrations files to the package.
4
+
5
+ *Yuji Yaginuma*
6
+
7
+
1
8
  ## Rails 5.2.0.beta1 (November 27, 2017) ##
2
9
 
3
10
  * Added to Rails.
@@ -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
@@ -10,7 +10,7 @@ module ActiveStorage
10
10
  MAJOR = 5
11
11
  MINOR = 2
12
12
  TINY = 0
13
- PRE = "beta1"
13
+ PRE = "beta2"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  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.beta1
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-27 00:00:00.000000000 Z
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.beta1
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.beta1
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.beta1
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.beta1
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.beta1/activestorage
106
- changelog_uri: https://github.com/rails/rails/blob/v5.2.0.beta1/activestorage/CHANGELOG.md
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: