paperclip-globalize3 1.1.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTJlOTRhNDE3Y2NiNDNkZTY0OTI0M2M3ZDUzNzc5YmRlMTZmNDM4Zg==
4
+ MjI1ODFiYzY1NGRiYzVmYmM0NTI2YTNhMDM0MTAwYzljYjIzMmE2Zg==
5
5
  data.tar.gz: !binary |-
6
- MmNmZjBhMjMzYjY3ZTQ0NDQ2YjA1MThmNmRlOTk4ZjJmOGU3NDk5ZQ==
6
+ NDZkYjk4MWU4OTU3Nzk5NGQ0MDc0NDMwNWQzM2M0ZWU3MzllYjQzYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTIwYWMwYTdlZTZmNjFiYTA5MWNhMzhlMmZkM2Y2MmY2ODM2MmZmOGQ1ZmRl
10
- Yjg4M2UyMDRmMTk4N2FkYmM4OTQzMzA0ODg2OTM1M2MyN2QxMTYwMmZiOGFj
11
- NGVkYTQxYzE2NTRmN2YzYzE0YzI1N2JjMTEwOGNiMTRmNzc1YjI=
9
+ MjJkZDU5MTA1MzdiYzUzMzc2NDhmYWJiZGFkMTMxNzUyYjllOGMxMDgxZDFh
10
+ MjU4N2QwNWQzYzFmODM2ODIyY2M1ZTBkNThmYTc4MmU4NjYwYWE3OGM2OGJi
11
+ N2U1YzFiMGRmY2Y1MDYwODU3NWYyMDM2Njk3MjI2MGI5ODc2MDk=
12
12
  data.tar.gz: !binary |-
13
- MThkODE3ZTYxMjI1NzYxOGVkYzlmMGViMjVhNGZlOGE1OTgwNzQ1ZWM0MmFi
14
- NzgzZDAyMTkxMmNhYzliYTBkMzViZTdhNmQxZjM5MDFjN2RiMjI3ZDEwMmEy
15
- NjlkMTAyMjYxNzI2MzNjZjFmMGQyMDRlYmM5NzcxOWI0ODI2Mzg=
13
+ NmQyYTg0YjM0N2M2MmI2MTc1MThmNDk2YTM0NzExMTk5MWM0MWVkNGNmODI3
14
+ NTBiYjk4ZDlhMzZkY2E4Y2U0YTFkZGI1OTg5ZmVmZTZiNjBkMGQ2NzdiZWQy
15
+ ZWUzNTc4MGQzNGIwYjI2ZmI0ZDJkYjExMDE1YThiMmE4NjhmMjM=
@@ -1,12 +1,11 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.2
4
3
  - 1.9.3
5
- env:
6
- - PAPERCLIP_VERSION="3.4.0"
7
- - PAPERCLIP_VERSION="~> 3.4"
4
+ - 2.0.0
5
+ - 2.1.3
8
6
  script: "bundle exec rake spec"
9
7
  gemfile:
10
- - gemfiles/rails_3.0.gemfile
11
- - gemfiles/rails_3.1.gemfile
12
- - gemfiles/rails_3.2.gemfile
8
+ - gemfiles/rails_4.0_paperclip_4_1.gemfile
9
+ - gemfiles/rails_4.0_paperclip_4_2.gemfile
10
+ - gemfiles/rails_4.1_paperclip_4_1.gemfile
11
+ - gemfiles/rails_4.1_paperclip_4_2.gemfile
data/Appraisals CHANGED
@@ -1,11 +1,23 @@
1
- appraise 'rails-3.0' do
2
- gem 'rails', '~> 3.0.0'
1
+ # Rails 4.0
2
+
3
+ appraise 'rails-4.0-paperclip-4-1' do
4
+ gem 'rails', '~> 4.0.0'
5
+ gem 'paperclip', '~> 4.1.0'
6
+ end
7
+
8
+ appraise 'rails-4.0-paperclip-4-2' do
9
+ gem 'rails', '~> 4.0.0'
10
+ gem 'paperclip', '~> 4.2.0'
3
11
  end
4
12
 
5
- appraise 'rails-3.1' do
6
- gem 'rails', '~> 3.1.0'
13
+ # Rails 4.1
14
+
15
+ appraise 'rails-4.1-paperclip-4-1' do
16
+ gem 'rails', '~> 4.1.0'
17
+ gem 'paperclip', '~> 4.1.0'
7
18
  end
8
19
 
9
- appraise 'rails-3.2' do
10
- gem 'rails', '~> 3.2.0'
20
+ appraise 'rails-4.1-paperclip-4-2' do
21
+ gem 'rails', '~> 4.1.0'
22
+ gem 'paperclip', '~> 4.2.0'
11
23
  end
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 emjot GmbH & Co. KG
1
+ Copyright (c) 2014 emjot GmbH & Co. KG
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # Paperclip::Globalize3
2
2
 
3
- [![Build Status](https://travis-ci.org/emjot/paperclip-globalize3.png?branch=1.x-stable)](https://travis-ci.org/emjot/paperclip-globalize3)
3
+ [![Build Status](https://travis-ci.org/emjot/paperclip-globalize3.png?branch=master)](https://travis-ci.org/emjot/paperclip-globalize3)
4
4
 
5
- Use locale-specific attachments in your Rails app with paperclip and globalize3.
5
+ Use locale-specific attachments in your Rails app with [paperclip](https://github.com/thoughtbot/paperclip) and
6
+ [globalize](https://github.com/globalize/globalize).
6
7
 
7
8
  You can transparently read and write your attachments in context of the current locale. E.g. `my_model.my_attachment` returns a different attachment when your current locale is 'en' compared to when your current locale is 'de'.
8
9
 
@@ -10,15 +11,15 @@ Note that this implementation patches some methods in the `Paperclip::Attachment
10
11
 
11
12
  ## Compatibility
12
13
 
13
- This is a maintenance branch for paperclip 3.x support. Currently, paperclip 3.x (>= 3.4) and globalize3 0.3 are supported.
14
+ Currently, paperclip 4.1/4.2 and globalize 4.0 are supported.
14
15
 
15
- For paperclip 2.x support please use the 0.x versions of this gem.
16
+ For paperclip 3.x with globalize3 support please use the 1.x versions of this gem.
16
17
 
17
18
  ## Installation
18
19
 
19
20
  Add this line to your application's Gemfile:
20
21
 
21
- gem 'paperclip-globalize3', '~> 1.1.0'
22
+ gem 'paperclip-globalize3'
22
23
 
23
24
  And then execute:
24
25
 
@@ -43,18 +44,24 @@ Example:
43
44
  class User < ActiveRecord::Base
44
45
  has_attached_file :avatar,
45
46
  :url => "/system/:attachment/:id/:locale/:style-:fingerprint.:extension"
47
+ validates_attachment_content_type :avatar, :content_type => /\Aimage\/.*\Z/
46
48
  translates :avatar_file_name, :avatar_file_size, :avatar_created_at, :avatar_updated_at, :avatar_fingerprint
47
49
  end
48
50
 
49
- ## Todo / Future Plans
51
+ ## Development
50
52
 
51
- * Make it easier to specify translated attachments, e.g. using one of these options:
52
- * support `translates :attachment_name`
53
- * support `:translated` option for `has_attached_file`
54
- * eliminate the need to specify; automatically set `translates` as soon as the :locale interpolation is used
55
- * Don't depend on order of definition for it to work (`translates` after `has_attached_file`)
53
+ ### Testing
56
54
 
57
- ## Contributing
55
+ To setup tests, make sure all the ruby versions defined in `.travis.yml` are installed on your system.
56
+
57
+ Run tests via:
58
+
59
+ * `rake wwtd` for all combinations of ruby/rails/paperclip versions (NOTE that when using `rake wwtd:parallel` there
60
+ might be some flickering test failures - needs to be investigated)
61
+ * `rake wwtd:local` for all rails/paperclip versions, but only on current ruby
62
+ * `rake spec` (or e.g. `bundle exec rspec spec --format documentation`) with main Gemfile and only on current ruby
63
+
64
+ ### Contributing
58
65
 
59
66
  1. Fork it
60
67
  2. Create your feature branch (`git checkout -b my-new-feature`)
data/Rakefile CHANGED
@@ -2,6 +2,7 @@ require 'bundler/setup'
2
2
  require 'paperclip/globalize3/gem_tasks'
3
3
  require 'appraisal'
4
4
  require 'rspec/core/rake_task'
5
+ require 'wwtd/tasks'
5
6
 
6
7
  desc 'Default: run all tests with all supported versions'
7
8
  task :default => :all
@@ -11,6 +12,8 @@ task :all => ["appraisal:install"] do
11
12
  exec('rake appraisal spec')
12
13
  end
13
14
 
15
+ task :local => "wwtd:local" # run all gemfiles with local ruby
16
+
14
17
  desc 'Run all tests'
15
18
  RSpec::Core::RakeTask.new('spec') do |t|
16
19
  t.pattern = FileList['spec/**/*_spec.rb']
@@ -2,6 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 3.0.0"
5
+ gem "rails", "~> 4.0.0"
6
+ gem "paperclip", "~> 4.1.0"
6
7
 
7
8
  gemspec :path=>"../"
@@ -2,6 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 3.1.0"
5
+ gem "rails", "~> 4.0.0"
6
+ gem "paperclip", "~> 4.2.0"
6
7
 
7
8
  gemspec :path=>"../"
@@ -2,6 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 3.2.0"
5
+ gem "rails", "~> 4.1.0"
6
+ gem "paperclip", "~> 4.1.0"
6
7
 
7
8
  gemspec :path=>"../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 4.1.0"
6
+ gem "paperclip", "~> 4.2.0"
7
+
8
+ gemspec :path=>"../"
@@ -4,6 +4,16 @@ require "paperclip/globalize3/attachment"
4
4
  require "globalize"
5
5
  require "paperclip"
6
6
 
7
- Paperclip.interpolates(:locale) { |_, _| Globalize.locale.to_s }
7
+ Paperclip.interpolates(:locale) { |attachment, _|
8
+ if attachment.instance.send("#{attachment.name}_file_name").respond_to?(:translation_metadata)
9
+ attachment.instance.send("#{attachment.name}_file_name").translation_metadata[:locale].to_s
10
+ else
11
+ Globalize.locale.to_s
12
+ end
13
+ }
14
+
15
+ unless Paperclip::Attachment.instance_methods.include?(:assign_attributes)
16
+ Paperclip::Attachment.send(:include, Paperclip::Globalize3::Attachment::Compatibility::Paperclip41)
17
+ end
8
18
 
9
19
  Paperclip::Attachment.send(:include, Paperclip::Globalize3::Attachment)
@@ -11,37 +11,25 @@ module Paperclip
11
11
  end
12
12
 
13
13
  module InstanceMethods
14
-
15
14
  def assign_with_globalize3(uploaded_file)
15
+ @file = Paperclip.io_adapters.for(uploaded_file)
16
16
  ensure_required_accessors!
17
- file = Paperclip.io_adapters.for(uploaded_file)
18
-
19
- return nil if file.respond_to?(:assignment?) && !file.assignment?
20
- self.clear(*only_process, :locales => Globalize.locale) # [paperclip-globalize3] only clear current locale
21
- return nil if file.nil?
22
-
23
- @queued_for_write[:original] = file
24
- instance_write(:file_name, cleanup_filename(file.original_filename))
25
- instance_write(:content_type, file.content_type.to_s.strip)
26
- instance_write(:file_size, file.size)
27
- instance_write(:fingerprint, file.fingerprint) if instance_respond_to?(:fingerprint)
28
- instance_write(:created_at, Time.now) if has_enabled_but_unset_created_at?
29
- instance_write(:updated_at, Time.now)
30
-
31
- @dirty = true
32
-
33
- if post_processing &&
34
- (file.respond_to?(:assignment?) || valid_assignment?)
35
- post_process(*only_process)
17
+ ensure_required_validations!
18
+
19
+ if @file.assignment?
20
+ clear(*only_process, :locales => Globalize.locale) # [paperclip-globalize3] only clear current locale
21
+ if @file.nil?
22
+ nil
23
+ else
24
+ assign_attributes
25
+ post_process_file
26
+ reset_file_if_original_reprocessed
27
+ end
28
+ else
29
+ nil
36
30
  end
37
-
38
- instance_write(:file_size, @queued_for_write[:original].size)
39
- instance_write(:fingerprint, @queued_for_write[:original].fingerprint) if instance_respond_to?(:fingerprint)
40
- updater = :"#{name}_file_name_will_change!"
41
- instance.send updater if instance.respond_to? updater
42
31
  end
43
32
 
44
-
45
33
  def clear_with_globalize3(*args)
46
34
  options = args.extract_options!
47
35
  styles_to_clear = args
@@ -81,7 +69,67 @@ module Paperclip
81
69
  yield
82
70
  end
83
71
  end
72
+ end
73
+
74
+ module Compatibility
75
+ # The paperclip-globalize3 patches are based on paperclip 4.2 code;
76
+ # this module needs to be included when trying to use with paperclip 4.1.
77
+ module Paperclip41
78
+ def assign_attributes
79
+ @queued_for_write[:original] = @file
80
+ assign_file_information
81
+ assign_fingerprint(@file.fingerprint)
82
+ assign_timestamps
83
+ end
84
+
85
+ def assign_file_information
86
+ instance_write(:file_name, cleanup_filename(@file.original_filename))
87
+ instance_write(:content_type, @file.content_type.to_s.strip)
88
+ instance_write(:file_size, @file.size)
89
+ end
90
+
91
+ def assign_fingerprint(fingerprint)
92
+ if instance_respond_to?(:fingerprint)
93
+ instance_write(:fingerprint, fingerprint)
94
+ end
95
+ end
84
96
 
97
+ def assign_timestamps
98
+ if has_enabled_but_unset_created_at?
99
+ instance_write(:created_at, Time.now)
100
+ end
101
+
102
+ instance_write(:updated_at, Time.now)
103
+ end
104
+
105
+ def post_process_file
106
+ dirty!
107
+
108
+ if post_processing
109
+ post_process(*only_process)
110
+ end
111
+ end
112
+
113
+ def dirty!
114
+ @dirty = true
115
+ end
116
+
117
+ def reset_file_if_original_reprocessed
118
+ instance_write(:file_size, @queued_for_write[:original].size)
119
+ assign_fingerprint(@queued_for_write[:original].fingerprint)
120
+ reset_updater
121
+ end
122
+
123
+ def reset_updater
124
+ if instance.respond_to?(updater)
125
+ instance.send(updater)
126
+ end
127
+ end
128
+
129
+ def updater
130
+ :"#{name}_file_name_will_change!"
131
+ end
132
+ end
85
133
  end
86
134
 
87
135
  end
@@ -1,5 +1,5 @@
1
1
  module Paperclip
2
2
  module Globalize3
3
- VERSION = "1.1.0"
3
+ VERSION = "2.0.0"
4
4
  end
5
5
  end
@@ -3,18 +3,13 @@ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'paperclip/globalize3/version'
5
5
 
6
- paperclip_version = '~> 3.3'
7
- unless ENV['PAPERCLIP_VERSION'].to_s.empty?
8
- paperclip_version = Gem::Requirement.new(ENV['PAPERCLIP_VERSION'])
9
- end
10
-
11
6
  Gem::Specification.new do |spec|
12
7
  spec.name = "paperclip-globalize3"
13
8
  spec.version = Paperclip::Globalize3::VERSION
14
9
  spec.authors = ["Maximilian Herold"]
15
10
  spec.email = ["herold@emjot.de"]
16
- spec.description = %q{locale-specific attachments with paperclip and globalize3}
17
- spec.summary = %q{locale-specific attachments with paperclip and globalize3}
11
+ spec.description = %q{locale-specific attachments with paperclip and globalize}
12
+ spec.summary = %q{locale-specific attachments with paperclip and globalize}
18
13
  spec.homepage = "https://github.com/emjot/paperclip-globalize3"
19
14
  spec.license = "MIT"
20
15
 
@@ -23,12 +18,13 @@ Gem::Specification.new do |spec|
23
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
24
19
  spec.require_paths = ["lib"]
25
20
 
26
- spec.add_runtime_dependency "paperclip", paperclip_version
27
- spec.add_runtime_dependency "globalize3", "~> 0.3"
21
+ spec.add_runtime_dependency "paperclip", "~> 4.1"
22
+ spec.add_runtime_dependency "globalize", "~> 4.0.0"
28
23
 
29
24
  spec.add_development_dependency "bundler", "~> 1.3"
30
25
  spec.add_development_dependency "appraisal", "~> 0.5.1"
31
- spec.add_development_dependency "rspec-rails", "~> 2.8.0"
26
+ spec.add_development_dependency "rspec-rails", "~> 2.14.1"
32
27
  spec.add_development_dependency "sqlite3"
33
28
  spec.add_development_dependency "rake"
29
+ spec.add_development_dependency "wwtd", "~> 0.5"
34
30
  end
@@ -4,7 +4,7 @@ require 'spec_helper'
4
4
  describe 'Paperclip::Globalize3::Attachment' do
5
5
 
6
6
  before(:each) do
7
- Object.const_set(:Rails, double('Rails'))
7
+ stub_const('Rails', double('Rails'))
8
8
  Rails.stub(:root).and_return(ROOT.join('tmp'))
9
9
  Rails.stub(:env).and_return('test')
10
10
  Rails.stub(:const_defined?).with(:Railtie).and_return(false)
@@ -4,22 +4,25 @@ end
4
4
 
5
5
  class Post < BasePost
6
6
  has_attached_file :image,
7
- :url => "/system/:class/:attachment/:id/:locale/:style-:fingerprint.:extension"
7
+ :url => "/system/:test_env_number/:class/:attachment/:id/:locale/:style-:fingerprint.:extension"
8
+ validates_attachment :image, :content_type => { :content_type => ['image/png'] }
8
9
 
9
10
  translates :image_file_name, :image_content_type, :image_file_size, :image_updated_at, :image_fingerprint
10
11
  end
11
12
 
12
13
  class OnlyProcessPost < BasePost
13
14
  has_attached_file :image,
14
- :url => "/system/:class/:attachment/:id/:locale/:style-:fingerprint.:extension",
15
+ :url => "/system/:test_env_number/:class/:attachment/:id/:locale/:style-:fingerprint.:extension",
15
16
  :styles => { :thumb => "10x10", :large => "40x40" },
16
17
  :only_process => [:thumb]
18
+ validates_attachment :image, :content_type => { :content_type => ['image/png'] }
17
19
 
18
20
  translates :image_file_name, :image_content_type, :image_file_size, :image_updated_at, :image_fingerprint
19
21
  end
20
22
 
21
23
  class Untranslated < ActiveRecord::Base
22
24
  has_attached_file :image,
23
- :url => "/system/:class/:attachment/:id/:style-:fingerprint.:extension"
25
+ :url => "/system/:test_env_number/:class/:attachment/:id/:style-:fingerprint.:extension"
26
+ validates_attachment :image, :content_type => { :content_type => ['image/png'] }
24
27
  end
25
28
 
@@ -20,6 +20,10 @@ require File.expand_path(File.join(File.dirname(__FILE__), '../lib/paperclip-glo
20
20
 
21
21
  ActiveRecord::Base.send(:include, Paperclip::Glue)
22
22
 
23
+ Paperclip.interpolates(:test_env_number) do |_, _|
24
+ ENV['TEST_ENV_NUMBER'].presence || '0'
25
+ end
26
+
23
27
  # set up globalize3 and models (borrowed from globalize3)
24
28
  require 'fileutils'
25
29
  require 'logger'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip-globalize3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maximilian Herold
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '3.3'
19
+ version: '4.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: '3.3'
26
+ version: '4.1'
27
27
  - !ruby/object:Gem::Dependency
28
- name: globalize3
28
+ name: globalize
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: '0.3'
33
+ version: 4.0.0
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: '0.3'
40
+ version: 4.0.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: 2.8.0
75
+ version: 2.14.1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: 2.8.0
82
+ version: 2.14.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: sqlite3
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -108,7 +108,21 @@ dependencies:
108
108
  - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- description: locale-specific attachments with paperclip and globalize3
111
+ - !ruby/object:Gem::Dependency
112
+ name: wwtd
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '0.5'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: '0.5'
125
+ description: locale-specific attachments with paperclip and globalize
112
126
  email:
113
127
  - herold@emjot.de
114
128
  executables: []
@@ -123,9 +137,10 @@ files:
123
137
  - LICENSE.txt
124
138
  - README.md
125
139
  - Rakefile
126
- - gemfiles/rails_3.0.gemfile
127
- - gemfiles/rails_3.1.gemfile
128
- - gemfiles/rails_3.2.gemfile
140
+ - gemfiles/rails_4.0_paperclip_4_1.gemfile
141
+ - gemfiles/rails_4.0_paperclip_4_2.gemfile
142
+ - gemfiles/rails_4.1_paperclip_4_1.gemfile
143
+ - gemfiles/rails_4.1_paperclip_4_2.gemfile
129
144
  - lib/paperclip-globalize3.rb
130
145
  - lib/paperclip/globalize3/attachment.rb
131
146
  - lib/paperclip/globalize3/gem_helper.rb
@@ -161,7 +176,7 @@ rubyforge_project:
161
176
  rubygems_version: 2.2.2
162
177
  signing_key:
163
178
  specification_version: 4
164
- summary: locale-specific attachments with paperclip and globalize3
179
+ summary: locale-specific attachments with paperclip and globalize
165
180
  test_files:
166
181
  - spec/attachment_helper_spec.rb
167
182
  - spec/data/models.rb