activestorage 5.2.4.5 → 5.2.6.1

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
  SHA256:
3
- metadata.gz: 7d6ac82d7ec78f72d3eba0308522a5a1ec0a996a4f5a14283ac881e18428fefc
4
- data.tar.gz: c1239454be1189a4281ca9305c97f8ff07294c19e18ea81812f7f541ce437c3c
3
+ metadata.gz: dc43d2dce42989a0fd91a8522ca81fc23aece91cbff867f9e925ff033f5165e5
4
+ data.tar.gz: 74a57c3a51d8863605d590a68006f2464958d918a987ac80a36fd2edadeafee0
5
5
  SHA512:
6
- metadata.gz: 9d1bd380273065f4a90e956ade127cd67451f280ee367f6c3679869620a433a3df6689b1138a729ce40052b5510d9b1fee4b56115dbb6eb590fd79694faf214e
7
- data.tar.gz: 582e7e540c4d4e408fc95e3fdeaffa090949c268862c5bfa7c84ab29c6525a5b262210d20986fd1bfae3fb9bf42d48cc385680ca6cfa455cce73cd5292f06c17
6
+ metadata.gz: 6163d436140de088efdce5e8ab367c04ebc54bc05f55bc2d36b9ac964e3c8ca5fcf94c287a1289c8a7eea6baaf72d4c2d9fef667b49cc6654e346931817108b2
7
+ data.tar.gz: 06ada8a5805a22c44c483f34c33bdbc8f10eff3eed7253ee5e943a63f578209fdcdfa1ec5ee1a87f3bd6742d176687f2e5bf7b6a6ac7ec8ef899b2d2fe6cb672
data/CHANGELOG.md CHANGED
@@ -1,3 +1,32 @@
1
+ ## Rails 5.2.6.1 (February 11, 2022) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 5.2.6 (May 05, 2021) ##
7
+
8
+ * No changes.
9
+
10
+
11
+ ## Rails 5.2.5 (March 26, 2021) ##
12
+
13
+ * Marcel is upgraded to version 1.0.0 to avoid a dependency on GPL-licensed
14
+ mime types data.
15
+
16
+ *George Claghorn*
17
+
18
+ * The Poppler PDF previewer renders a preview image using the original
19
+ document's crop box rather than its media box, hiding print margins. This
20
+ matches the behavior of the MuPDF previewer.
21
+
22
+ *Vincent Robert*
23
+
24
+
25
+ ## Rails 5.2.4.6 (May 05, 2021) ##
26
+
27
+ * No changes.
28
+
29
+
1
30
  ## Rails 5.2.4.5 (February 10, 2021) ##
2
31
 
3
32
  * No changes.
@@ -13,6 +42,11 @@
13
42
  * [CVE-2020-8162] Include Content-Length in signature for ActiveStorage direct upload
14
43
 
15
44
 
45
+ ## Rails 5.2.4.2 (March 19, 2020) ##
46
+
47
+ * No changes.
48
+
49
+
16
50
  ## Rails 5.2.4.1 (December 18, 2019) ##
17
51
 
18
52
  * No changes.
@@ -9,8 +9,8 @@ module ActiveStorage
9
9
  module VERSION
10
10
  MAJOR = 5
11
11
  MINOR = 2
12
- TINY = 4
13
- PRE = "5"
12
+ TINY = 6
13
+ PRE = "1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -28,8 +28,8 @@ module ActiveStorage
28
28
 
29
29
  private
30
30
  def draw_first_page_from(file, &block)
31
- # use 72 dpi to match thumbnail dimesions of the PDF
32
- draw self.class.pdftoppm_path, "-singlefile", "-r", "72", "-png", file.path, &block
31
+ # use 72 dpi to match thumbnail dimensions of the PDF
32
+ draw self.class.pdftoppm_path, "-singlefile", "-cropbox", "-r", "72", "-png", file.path, &block
33
33
  end
34
34
  end
35
35
  end
@@ -10,8 +10,8 @@ module ActiveStorage
10
10
  class Service::AzureStorageService < Service
11
11
  attr_reader :client, :blobs, :container, :signer
12
12
 
13
- def initialize(storage_account_name:, storage_access_key:, container:)
14
- @client = Azure::Storage::Client.create(storage_account_name: storage_account_name, storage_access_key: storage_access_key)
13
+ def initialize(storage_account_name:, storage_access_key:, container:, **options)
14
+ @client = Azure::Storage::Client.create(storage_account_name: storage_account_name, storage_access_key: storage_access_key, **options)
15
15
  @signer = Azure::Storage::Core::Auth::SharedAccessSignature.new(storage_account_name, storage_access_key)
16
16
  @blobs = client.blob_client
17
17
  @container = container
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ gem "aws-sdk-s3", "~> 1.48"
4
+
3
5
  require "aws-sdk-s3"
4
6
  require "active_support/core_ext/numeric/bytes"
5
7
 
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.4.5
4
+ version: 5.2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-10 00:00:00.000000000 Z
11
+ date: 2022-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.4.5
19
+ version: 5.2.6.1
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.4.5
26
+ version: 5.2.6.1
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.4.5
33
+ version: 5.2.6.1
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.4.5
40
+ version: 5.2.6.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: marcel
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.3.1
47
+ version: 1.0.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.3.1
54
+ version: 1.0.0
55
55
  description: Attach cloud and local files in Rails applications.
56
56
  email: david@loudthinking.com
57
57
  executables: []
@@ -124,9 +124,9 @@ homepage: http://rubyonrails.org
124
124
  licenses:
125
125
  - MIT
126
126
  metadata:
127
- source_code_uri: https://github.com/rails/rails/tree/v5.2.4.5/activestorage
128
- changelog_uri: https://github.com/rails/rails/blob/v5.2.4.5/activestorage/CHANGELOG.md
129
- post_install_message:
127
+ source_code_uri: https://github.com/rails/rails/tree/v5.2.6.1/activestorage
128
+ changelog_uri: https://github.com/rails/rails/blob/v5.2.6.1/activestorage/CHANGELOG.md
129
+ post_install_message:
130
130
  rdoc_options: []
131
131
  require_paths:
132
132
  - lib
@@ -141,8 +141,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []
144
- rubygems_version: 3.0.3
145
- signing_key:
144
+ rubygems_version: 3.1.6
145
+ signing_key:
146
146
  specification_version: 4
147
147
  summary: Local and cloud file storage framework.
148
148
  test_files: []