paperclip-globalize3 3.3.0 → 4.0.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: 9dc74f12a8756f9da1870401c9f62c0c2060354ffcd3337fb2c1f3ae0ae6c77c
4
- data.tar.gz: 9ce39f42bd2eee08ce139e72567a9e17bb20165885841e6c206f51139ab09835
3
+ metadata.gz: a64b1ca6059c37ded1740ce7355b0719fd3779ea181cf5c807e9ec6dc6f4cf37
4
+ data.tar.gz: 3c2e9b7b67890d9d8970abc0c5c2e3aed65158c53109b9d6ab4fbf5a6b46a035
5
5
  SHA512:
6
- metadata.gz: 67a2648cacc3b5eb717fbcab65eaad8472c31a37e54a50f181e4865182906f4290739c0194bcdcc6d36e63259f94ec0c57965dd30f965dbadccd1b4ba27a50b9
7
- data.tar.gz: 80cc8b8d2fb888ce3e7130ac155586b012eedf9dfc8cc3e0b7a13ae467ebd5704f5781a64aaf030dec6c8d5f8fb63e495470fe043c70c77b8209962af9458ced
6
+ metadata.gz: 02b19ec8859b68e357cd0fef909f3149bb8c20a56fc2dff1ea831b4668d237c8afa755435eea02c8e831295db9ced0698b6275fbd8581e3e7c78778c5e0ce5f2
7
+ data.tar.gz: f048f0a08dffd68d3925ba752233dbdbaf6e2f7906e987054f9d9100e0f7cdd303af2d458fa9a5becc515e635dde67f20cfefa6496ed1b25ad22199545e55b65
@@ -11,7 +11,7 @@ AllCops:
11
11
  - '**/Gemfile'
12
12
  - '**/Rakefile'
13
13
  - '**/Capfile'
14
- TargetRubyVersion: 2.2
14
+ TargetRubyVersion: 2.4
15
15
 
16
16
  Layout/AlignHash:
17
17
  EnforcedColonStyle: 'table'
@@ -9,7 +9,7 @@
9
9
  # Offense count: 3
10
10
  # Configuration parameters: CountComments, ExcludedMethods.
11
11
  Metrics/BlockLength:
12
- Max: 152
12
+ Max: 182
13
13
 
14
14
  # Offense count: 2
15
15
  # Configuration parameters: .
@@ -1,27 +1,20 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.10
4
- - 2.3.8
5
- - 2.4.5
3
+ - 2.4.6
4
+ - 2.5.5
5
+ - 2.6.3
6
6
  before_install:
7
7
  - gem uninstall -v '>= 2.0.1' -i $(rvm gemdir)@global -ax bundler || true
8
8
  - gem install bundler -v '1.16.6'
9
9
 
10
10
  script: "bundle exec rake spec"
11
11
  gemfile:
12
- - gemfiles/rails_4.2_pc_4_2.gemfile
13
- - gemfiles/rails_4.2_pc_4_3.gemfile
14
- - gemfiles/rails_4.2_pc_5_0.gemfile
15
- - gemfiles/rails_4.2_pc_5_2.gemfile
12
+ - gemfiles/rails_4.2_pc_5_3.gemfile
16
13
  - gemfiles/rails_4.2_pc_6_0.gemfile
17
14
  - gemfiles/rails_4.2_pc_6_1.gemfile
18
- - gemfiles/rails_5.0_pc_4_2.gemfile
19
- - gemfiles/rails_5.0_pc_5_0.gemfile
20
- - gemfiles/rails_5.0_pc_5_2.gemfile
15
+ - gemfiles/rails_5.0_pc_5_3.gemfile
21
16
  - gemfiles/rails_5.0_pc_6_0.gemfile
22
17
  - gemfiles/rails_5.0_pc_6_1.gemfile
23
- - gemfiles/rails_5.1_pc_4_2.gemfile
24
- - gemfiles/rails_5.1_pc_5_0.gemfile
25
- - gemfiles/rails_5.1_pc_5_2.gemfile
18
+ - gemfiles/rails_5.1_pc_5_3.gemfile
26
19
  - gemfiles/rails_5.1_pc_6_0.gemfile
27
20
  - gemfiles/rails_5.1_pc_6_1.gemfile
data/Appraisals CHANGED
@@ -1,56 +1,27 @@
1
- # Rails 4.2
2
-
3
- appraise 'rails-4.2-pc-4-2' do
4
- gem 'rails', '~> 4.2.0'
5
- gem 'paperclip', '~> 4.2.0'
6
- gem 'globalize', git: 'https://github.com/globalize/globalize', branch: 'master', ref: '3fe2f93ab2'
7
- end
1
+ # frozen_string_literal: true
8
2
 
9
- appraise 'rails-4.2-pc-4-3' do
10
- gem 'rails', '~> 4.2.0'
11
- gem 'paperclip', '~> 4.3.0'
12
- gem 'globalize', git: 'https://github.com/globalize/globalize', branch: 'master', ref: '3fe2f93ab2'
13
- end
14
-
15
- appraise 'rails-4.2-pc-5-0' do
16
- gem 'rails', '~> 4.2.0'
17
- gem 'paperclip', '~> 5.0.0'
18
- gem 'globalize', git: 'https://github.com/globalize/globalize', branch: 'master', ref: '3fe2f93ab2'
19
- end
3
+ # Rails 4.2
20
4
 
21
- appraise 'rails-4.2-pc-5-2' do
5
+ appraise 'rails-4.2-pc-5-3' do
22
6
  gem 'rails', '~> 4.2.0'
23
- gem 'paperclip', '~> 5.2.0'
24
- gem 'globalize', git: 'https://github.com/globalize/globalize', branch: 'master', ref: '3fe2f93ab2'
7
+ gem 'paperclip', '~> 5.3.0'
25
8
  end
26
9
 
27
10
  appraise 'rails-4.2-pc-6-0' do
28
11
  gem 'rails', '~> 4.2.0'
29
12
  gem 'paperclip', '~> 6.0.0'
30
- gem 'globalize', git: 'https://github.com/globalize/globalize', branch: 'master', ref: '3fe2f93ab2'
31
13
  end
32
14
 
33
15
  appraise 'rails-4.2-pc-6-1' do
34
16
  gem 'rails', '~> 4.2.0'
35
17
  gem 'paperclip', '~> 6.1.0'
36
- gem 'globalize', git: 'https://github.com/globalize/globalize', branch: 'master', ref: '3fe2f93ab2'
37
18
  end
38
19
 
39
20
  # Rails 5.0
40
21
 
41
- appraise 'rails-5.0-pc-4-2' do
42
- gem 'rails', '~> 5.0.0'
43
- gem 'paperclip', '~> 4.2.0'
44
- end
45
-
46
- appraise 'rails-5.0-pc-5-0' do
47
- gem 'rails', '~> 5.0.0'
48
- gem 'paperclip', '~> 5.0.0'
49
- end
50
-
51
- appraise 'rails-5.0-pc-5-2' do
22
+ appraise 'rails-5.0-pc-5-3' do
52
23
  gem 'rails', '~> 5.0.0'
53
- gem 'paperclip', '~> 5.2.0'
24
+ gem 'paperclip', '~> 5.3.0'
54
25
  end
55
26
 
56
27
  appraise 'rails-5.0-pc-6-0' do
@@ -65,19 +36,9 @@ end
65
36
 
66
37
  # Rails 5.1
67
38
 
68
- appraise 'rails-5.1-pc-4-2' do
69
- gem 'rails', '~> 5.1.0'
70
- gem 'paperclip', '~> 4.2.0'
71
- end
72
-
73
- appraise 'rails-5.1-pc-5-0' do
74
- gem 'rails', '~> 5.1.0'
75
- gem 'paperclip', '~> 5.0.0'
76
- end
77
-
78
- appraise 'rails-5.1-pc-5-2' do
39
+ appraise 'rails-5.1-pc-5-3' do
79
40
  gem 'rails', '~> 5.1.0'
80
- gem 'paperclip', '~> 5.2.0'
41
+ gem 'paperclip', '~> 5.3.0'
81
42
  end
82
43
 
83
44
  appraise 'rails-5.1-pc-6-0' do
@@ -5,6 +5,18 @@
5
5
  * Enhancements
6
6
  * (none)
7
7
 
8
+ # 4.0.0 (2019-07-10)
9
+
10
+ * Breaking changes
11
+ * Drop support for ruby < 2.4.6
12
+ * Drop support for globalize < 5.3
13
+ * Drop support for paperclip < 5.3
14
+ * Bugfixes
15
+ * Fix `attachment.clear(:style)` not deleting the files ([#17](https://github.com/emjot/paperclip-globalize3/pull/17))
16
+ * Enhancements
17
+ * Allow globalize 5.3
18
+ With globalize 5.3.0 paperclip-globalize3 is again compatible with Rails 4.2
19
+
8
20
  # 3.3.0 (2019-05-14)
9
21
 
10
22
  * Enhancements
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  gemspec
data/README.md CHANGED
@@ -11,21 +11,15 @@ Note that this implementation patches some methods in the `Paperclip::Attachment
11
11
 
12
12
  ## Compatibility
13
13
 
14
- * paperclip 4.2 - 6.1
15
- * globalize 5.0 - 5.2
14
+ * paperclip 5.3 - 6.1
15
+ * globalize 5.3
16
16
  * Rails 4.2/5.0/5.1
17
17
 
18
- For support of previous paperclip / globalize / rails versions please refer to the 2.x versions of this gem.
19
-
20
- ### Important Note for Rails 4.2.x with globalize 5.2.0
21
-
22
- If you use Rails 4.2: There is a bug in globalize 5.2.0. Ensure you use globalize 5.2.1 or later after it gets released. Meanwhile, you should be able to use the following instead (which is one commit after the 5.2.0 release and includes the fix):
23
-
24
- gem 'globalize', git: 'https://github.com/globalize/globalize', branch: 'master', ref: '3fe2f93ab2'
18
+ For support of previous paperclip / globalize / rails versions please refer to the 3.x versions of this gem.
25
19
 
26
20
  ## Maintainance State of This Gem
27
21
 
28
- Since paperclip itself has been [deprecated](https://thoughtbot.com/blog/closing-the-trombone) and we currently do not use this gem in active projects any more, further development of this gem (e.g. compatibility with Rails 5.2, globalize 5.2 etc.) is unlikely. If anyone wants to submit a PR, we will of course still try to review + merge.
22
+ Since paperclip itself has been [deprecated](https://thoughtbot.com/blog/closing-the-trombone) and we currently do not use this gem in active projects any more, further development of this gem (e.g. compatibility with Rails 5.2) is unlikely. If anyone wants to submit a PR, we will of course still try to review + merge.
29
23
 
30
24
  ## Installation
31
25
 
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/setup'
2
4
  require 'paperclip/globalize3/gem_tasks'
3
5
  require 'appraisal'
@@ -1,8 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source 'https://rubygems.org'
4
6
 
5
- gem 'rails', '~> 5.0.0'
6
- gem 'paperclip', '~> 5.0.0'
7
+ gem 'rails', '~> 4.2.0'
8
+ gem 'paperclip', '~> 5.3.0'
7
9
 
8
10
  gemspec path: '../'
@@ -1,9 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source 'https://rubygems.org'
4
6
 
5
7
  gem 'rails', '~> 4.2.0'
6
8
  gem 'paperclip', '~> 6.0.0'
7
- gem 'globalize', git: 'https://github.com/globalize/globalize', branch: 'master', ref: '3fe2f93ab2'
8
9
 
9
10
  gemspec path: '../'
@@ -1,9 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source 'https://rubygems.org'
4
6
 
5
7
  gem 'rails', '~> 4.2.0'
6
8
  gem 'paperclip', '~> 6.1.0'
7
- gem 'globalize', git: 'https://github.com/globalize/globalize', branch: 'master', ref: '3fe2f93ab2'
8
9
 
9
10
  gemspec path: '../'
@@ -1,8 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source 'https://rubygems.org'
4
6
 
5
7
  gem 'rails', '~> 5.0.0'
6
- gem 'paperclip', '~> 4.2.0'
8
+ gem 'paperclip', '~> 5.3.0'
7
9
 
8
10
  gemspec path: '../'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source 'https://rubygems.org'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source 'https://rubygems.org'
@@ -1,8 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source 'https://rubygems.org'
4
6
 
5
7
  gem 'rails', '~> 5.1.0'
6
- gem 'paperclip', '~> 5.0.0'
8
+ gem 'paperclip', '~> 5.3.0'
7
9
 
8
10
  gemspec path: '../'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source 'https://rubygems.org'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source 'https://rubygems.org'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'paperclip/globalize3/version'
2
4
  require 'paperclip/globalize3/attachment'
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Paperclip
2
4
  module Globalize3
3
5
  # Prepend to the paperclip `Attachment` class to transparently read and write
@@ -10,12 +12,7 @@ module Paperclip
10
12
  # respective columns to be translated.
11
13
  module Attachment
12
14
  def assign(uploaded_file)
13
- @file =
14
- if Paperclip::Attachment.default_options.key?(:adapter_options) # paperclip >= 5.2.0
15
- Paperclip.io_adapters.for(uploaded_file, @options[:adapter_options])
16
- else # paperclip < 5.2.0
17
- Paperclip.io_adapters.for(uploaded_file)
18
- end
15
+ @file = Paperclip.io_adapters.for(uploaded_file, @options[:adapter_options])
19
16
  ensure_required_accessors!
20
17
  ensure_required_validations!
21
18
 
@@ -57,7 +54,7 @@ module Paperclip
57
54
  options = args.extract_options!
58
55
  styles = args
59
56
  with_locales_if_translated(options[:locales]) do
60
- super(styles)
57
+ super(*styles)
61
58
  end
62
59
  end
63
60
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Paperclip
2
4
  module Globalize3
3
5
  # Like Bundler::GemHelper, but tags versions without the 'v' prefix (e.g. '1.0.0' instead of 'v1.0.0')
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'paperclip/globalize3/gem_helper'
2
4
  Paperclip::Globalize3::GemHelper.install_tasks
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Paperclip
2
4
  module Globalize3
3
- VERSION = '3.3.0'.freeze
5
+ VERSION = '4.0.0'
4
6
  end
5
7
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  lib = File.expand_path('lib', __dir__)
2
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
5
  require 'paperclip/globalize3/version'
@@ -18,11 +20,11 @@ Gem::Specification.new do |spec|
18
20
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
21
  spec.require_paths = ['lib']
20
22
 
21
- spec.required_ruby_version = '>= 2.2.2'
23
+ spec.required_ruby_version = '>= 2.4.6'
22
24
 
23
25
  spec.add_dependency 'activerecord', ['>= 4.2', '< 5.2']
24
- spec.add_dependency 'globalize', ['>= 5.0.0', '< 5.3.0']
25
- spec.add_dependency 'paperclip', ['>= 4.2', '< 6.2.0']
26
+ spec.add_dependency 'globalize', ['>= 5.3.0', '< 5.4.0']
27
+ spec.add_dependency 'paperclip', ['>= 5.3', '< 6.2.0']
26
28
 
27
29
  spec.add_development_dependency 'appraisal', '~> 2.2'
28
30
  spec.add_development_dependency 'bundler', ['>= 1.16.6', '< 2.0.1']
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class BasePost < ActiveRecord::Base
2
4
  self.table_name = 'posts'
3
5
  end
@@ -10,6 +12,15 @@ class Post < BasePost
10
12
  translates :image_file_name, :image_content_type, :image_file_size, :image_updated_at, :image_fingerprint
11
13
  end
12
14
 
15
+ class PostWithStyles < BasePost
16
+ has_attached_file :image,
17
+ url: '/system/:test_env_number/:class/:attachment/:id/:locale/:style-:fingerprint.:extension',
18
+ styles: {thumb: '10x10', large: '40x40'}
19
+ validates_attachment :image, content_type: {content_type: ['image/png']}
20
+
21
+ translates :image_file_name, :image_content_type, :image_file_size, :image_updated_at, :image_fingerprint
22
+ end
23
+
13
24
  class OnlyProcessPost < BasePost
14
25
  has_attached_file :image,
15
26
  url: '/system/:test_env_number/:class/:attachment/:id/:locale/:style-:fingerprint.:extension',
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  ActiveRecord::Migration.verbose = false
2
4
 
3
5
  ActiveRecord::Schema.define do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  RSpec.describe Paperclip::Globalize3::Attachment do
@@ -166,6 +168,42 @@ RSpec.describe Paperclip::Globalize3::Attachment do
166
168
  end
167
169
  end
168
170
 
171
+ describe 'clear attachment style' do
172
+ subject(:clear_style) do
173
+ post.image.clear(:large)
174
+ post.save!
175
+ end
176
+
177
+ let!(:post) do
178
+ PostWithStyles.create!.tap do |post|
179
+ with_locale(:en) { post.update!(image: test_image_file) }
180
+ with_locale(:de) { post.update!(image: test_image_file2) }
181
+ end
182
+ end
183
+
184
+ let!(:large_paths) do
185
+ [
186
+ with_locale(:de) { post.image.path(:large) },
187
+ with_locale(:en) { post.image.path(:large) }
188
+ ]
189
+ end
190
+
191
+ let!(:other_paths) do
192
+ with_locale(:en) { [post.image.path, post.image.path(:thumb)] } +
193
+ with_locale(:de) { [post.image.path, post.image.path(:thumb)] }
194
+ end
195
+
196
+ context 'without :locales option' do
197
+ it 'deletes the given attachment style in all locales' do
198
+ expect { clear_style }.to(change { large_paths.collect { |path| File.exist?(path) } }.to([false, false]))
199
+ end
200
+
201
+ it 'does not delete any other attachment styles' do
202
+ expect { clear_style }.not_to(change { other_paths.collect { |path| File.exist?(path) } })
203
+ end
204
+ end
205
+ end
206
+
169
207
  context 'when fallbacks are defined' do
170
208
  around do |example|
171
209
  old_fallbacks = Globalize.fallbacks
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'fileutils'
2
4
  require 'logger'
3
5
  require 'pathname'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip-globalize3
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maximilian Herold
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-14 00:00:00.000000000 Z
11
+ date: 2019-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -36,27 +36,27 @@ dependencies:
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 5.0.0
39
+ version: 5.3.0
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: 5.3.0
42
+ version: 5.4.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 5.0.0
49
+ version: 5.3.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: 5.3.0
52
+ version: 5.4.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: paperclip
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: '4.2'
59
+ version: '5.3'
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
62
  version: 6.2.0
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '4.2'
69
+ version: '5.3'
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
72
  version: 6.2.0
@@ -235,20 +235,13 @@ files:
235
235
  - LICENSE.txt
236
236
  - README.md
237
237
  - Rakefile
238
- - gemfiles/rails_4.2_pc_4_2.gemfile
239
- - gemfiles/rails_4.2_pc_4_3.gemfile
240
- - gemfiles/rails_4.2_pc_5_0.gemfile
241
- - gemfiles/rails_4.2_pc_5_2.gemfile
238
+ - gemfiles/rails_4.2_pc_5_3.gemfile
242
239
  - gemfiles/rails_4.2_pc_6_0.gemfile
243
240
  - gemfiles/rails_4.2_pc_6_1.gemfile
244
- - gemfiles/rails_5.0_pc_4_2.gemfile
245
- - gemfiles/rails_5.0_pc_5_0.gemfile
246
- - gemfiles/rails_5.0_pc_5_2.gemfile
241
+ - gemfiles/rails_5.0_pc_5_3.gemfile
247
242
  - gemfiles/rails_5.0_pc_6_0.gemfile
248
243
  - gemfiles/rails_5.0_pc_6_1.gemfile
249
- - gemfiles/rails_5.1_pc_4_2.gemfile
250
- - gemfiles/rails_5.1_pc_5_0.gemfile
251
- - gemfiles/rails_5.1_pc_5_2.gemfile
244
+ - gemfiles/rails_5.1_pc_5_3.gemfile
252
245
  - gemfiles/rails_5.1_pc_6_0.gemfile
253
246
  - gemfiles/rails_5.1_pc_6_1.gemfile
254
247
  - lib/paperclip/globalize3.rb
@@ -275,7 +268,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
275
268
  requirements:
276
269
  - - ">="
277
270
  - !ruby/object:Gem::Version
278
- version: 2.2.2
271
+ version: 2.4.6
279
272
  required_rubygems_version: !ruby/object:Gem::Requirement
280
273
  requirements:
281
274
  - - ">="
@@ -283,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
283
276
  version: '0'
284
277
  requirements: []
285
278
  rubyforge_project:
286
- rubygems_version: 2.7.8
279
+ rubygems_version: 2.7.9
287
280
  signing_key:
288
281
  specification_version: 4
289
282
  summary: locale-specific attachments with paperclip and globalize
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'rails', '~> 4.2.0'
6
- gem 'paperclip', '~> 4.2.0'
7
- gem 'globalize', git: 'https://github.com/globalize/globalize', branch: 'master', ref: '3fe2f93ab2'
8
-
9
- gemspec path: '../'
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'rails', '~> 4.2.0'
6
- gem 'paperclip', '~> 4.3.0'
7
- gem 'globalize', git: 'https://github.com/globalize/globalize', branch: 'master', ref: '3fe2f93ab2'
8
-
9
- gemspec path: '../'
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'rails', '~> 4.2.0'
6
- gem 'paperclip', '~> 5.0.0'
7
- gem 'globalize', git: 'https://github.com/globalize/globalize', branch: 'master', ref: '3fe2f93ab2'
8
-
9
- gemspec path: '../'
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'rails', '~> 4.2.0'
6
- gem 'paperclip', '~> 5.2.0'
7
- gem 'globalize', git: 'https://github.com/globalize/globalize', branch: 'master', ref: '3fe2f93ab2'
8
-
9
- gemspec path: '../'
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'rails', '~> 5.0.0'
6
- gem 'paperclip', '~> 5.2.0'
7
-
8
- gemspec path: '../'
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'rails', '~> 5.1.0'
6
- gem 'paperclip', '~> 4.2.0'
7
-
8
- gemspec path: '../'
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'rails', '~> 5.1.0'
6
- gem 'paperclip', '~> 5.2.0'
7
-
8
- gemspec path: '../'