md-paperclip-azure 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87e5744de895b4c5c6f49cd8dd438278c5dbb63e20e083ecd6a3e79c3947366d
4
- data.tar.gz: 237b266d5a20e7bff0b32ed823438d848fa7fbce7fa9012e7ebd762f20c6a9db
3
+ metadata.gz: a73d7fd586c2c4a181b9f6700bd0f6d5b568749f6f09414d4bf23e0f3a7b6ca5
4
+ data.tar.gz: ec0a1d20190611f33dd434f26a323afebb171a4647ef194b08172f4e4ffe5e5a
5
5
  SHA512:
6
- metadata.gz: e5a4c36c8455d00da007a0bd352350888106cbcddf0232c268172970e594f792b21dcc8e7fe408d2b8ae4e10214d19fd2008becd80b9cc0ef6166369e5a074d9
7
- data.tar.gz: 2def0ea5c522bd18c59a6a74939865410318f9c64e8a9429fbf26cf4de06b776d9d6d2e5ebded1379ecb218aa07602657abe1a9f20d0c484b4a73015bcaf69a2
6
+ metadata.gz: e729bcc8fb0dc81708060b65ab864ce12330d7002f639cef41ae94c37ef26d0e413b7e857050ab0fc3666c2088f335590fbabf512dd0fc431b830f3459c5b3d8
7
+ data.tar.gz: ff3b19f3da7e8b8db74a8fa666a468057e728fb331ed139fc8a6caa1a1f9fbaf97a40c4c47b94d671ed04d52403da238d362b5e1c0b711d02b334c3c627e18a7
data/Rakefile CHANGED
@@ -17,14 +17,13 @@ Hoe.spec "md-paperclip-azure" do
17
17
  extra_deps << ['hashie', '~> 5.0']
18
18
  extra_deps << ['addressable', '~> 2.5']
19
19
 
20
- extra_dev_deps << ['paperclip', '>= 4.3.6']
20
+ extra_dev_deps << ['kt-paperclip', '~> 7.1']
21
21
  extra_dev_deps << ['sqlite3', '~> 1.3.8']
22
22
  extra_dev_deps << ['rspec', '~> 3.0']
23
- extra_dev_deps << ['simplecov', '~> 0.14']
24
- extra_dev_deps << ['activerecord', '>= 4.2.0']
25
- extra_dev_deps << ['activerecord-import', '~> 0.19']
26
- extra_dev_deps << ['activemodel', '>= 4.2.0']
27
- extra_dev_deps << ['activesupport', '>= 4.2.0']
23
+ extra_dev_deps << ['activerecord', '~> 6.1']
24
+ extra_dev_deps << ['activerecord-import', '~> 1.4']
25
+ extra_dev_deps << ['activemodel', '~> 6.1']
26
+ extra_dev_deps << ['activesupport', '~> 6.1']
28
27
  end
29
28
 
30
29
  # vim: syntax=ruby
@@ -1,5 +1,5 @@
1
1
  module Paperclip; end
2
2
 
3
3
  class Paperclip::Azure
4
- VERSION = "2.1.0"
4
+ VERSION = "2.2.0"
5
5
  end
@@ -166,16 +166,14 @@ module Paperclip
166
166
  end
167
167
 
168
168
  def obtain_azure_instance_for(options)
169
- instances = (Thread.current[:paperclip_azure_instances] ||= {})
170
- return instances[options] if instance[options]
171
-
172
169
  if options[:use_development_storage]
173
170
  service = ::Azure::Storage::Blob::BlobService.create(use_development_storage: true)
174
171
  else
175
172
  service = ::Azure::Storage::Blob::BlobService.create(storage_account_name: options[:storage_account_name],
176
173
  storage_access_key: options[:storage_access_key])
177
174
  end
178
- instances[options] = service
175
+
176
+ service
179
177
  end
180
178
 
181
179
  def azure_uri(style_name = default_style)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: md-paperclip-azure
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Misty De Méo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-15 00:00:00.000000000 Z
11
+ date: 2023-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: azure-storage-blob
@@ -53,19 +53,19 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.5'
55
55
  - !ruby/object:Gem::Dependency
56
- name: paperclip
56
+ name: kt-paperclip
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 4.3.6
61
+ version: '7.1'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 4.3.6
68
+ version: '7.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sqlite3
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -95,75 +95,61 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '3.0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: simplecov
98
+ name: activerecord
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0.14'
103
+ version: '6.1'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0.14'
111
- - !ruby/object:Gem::Dependency
112
- name: activerecord
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: 4.2.0
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: 4.2.0
110
+ version: '6.1'
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: activerecord-import
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
115
  - - "~>"
130
116
  - !ruby/object:Gem::Version
131
- version: '0.19'
117
+ version: '1.4'
132
118
  type: :development
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
122
  - - "~>"
137
123
  - !ruby/object:Gem::Version
138
- version: '0.19'
124
+ version: '1.4'
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: activemodel
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
- - - ">="
129
+ - - "~>"
144
130
  - !ruby/object:Gem::Version
145
- version: 4.2.0
131
+ version: '6.1'
146
132
  type: :development
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
135
  requirements:
150
- - - ">="
136
+ - - "~>"
151
137
  - !ruby/object:Gem::Version
152
- version: 4.2.0
138
+ version: '6.1'
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: activesupport
155
141
  requirement: !ruby/object:Gem::Requirement
156
142
  requirements:
157
- - - ">="
143
+ - - "~>"
158
144
  - !ruby/object:Gem::Version
159
- version: 4.2.0
145
+ version: '6.1'
160
146
  type: :development
161
147
  prerelease: false
162
148
  version_requirements: !ruby/object:Gem::Requirement
163
149
  requirements:
164
- - - ">="
150
+ - - "~>"
165
151
  - !ruby/object:Gem::Version
166
- version: 4.2.0
152
+ version: '6.1'
167
153
  - !ruby/object:Gem::Dependency
168
154
  name: rdoc
169
155
  requirement: !ruby/object:Gem::Requirement
@@ -245,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
245
231
  - !ruby/object:Gem::Version
246
232
  version: '0'
247
233
  requirements: []
248
- rubygems_version: 3.4.6
234
+ rubygems_version: 3.4.10
249
235
  signing_key:
250
236
  specification_version: 4
251
237
  summary: Paperclip-Azure is a [Paperclip](https://github.com/thoughtbot/paperclip)