paperclip-globalize3 1.1.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/.travis.yml +6 -7
- data/Appraisals +18 -6
- data/LICENSE.txt +1 -1
- data/README.md +19 -12
- data/Rakefile +3 -0
- data/gemfiles/{rails_3.0.gemfile → rails_4.0_paperclip_4_1.gemfile} +2 -1
- data/gemfiles/{rails_3.1.gemfile → rails_4.0_paperclip_4_2.gemfile} +2 -1
- data/gemfiles/{rails_3.2.gemfile → rails_4.1_paperclip_4_1.gemfile} +2 -1
- data/gemfiles/rails_4.1_paperclip_4_2.gemfile +8 -0
- data/lib/paperclip-globalize3.rb +11 -1
- data/lib/paperclip/globalize3/attachment.rb +74 -26
- data/lib/paperclip/globalize3/version.rb +1 -1
- data/paperclip-globalize3.gemspec +6 -10
- data/spec/attachment_helper_spec.rb +1 -1
- data/spec/data/models.rb +6 -3
- data/spec/spec_helper.rb +4 -0
- metadata +28 -13
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjI1ODFiYzY1NGRiYzVmYmM0NTI2YTNhMDM0MTAwYzljYjIzMmE2Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDZkYjk4MWU4OTU3Nzk5NGQ0MDc0NDMwNWQzM2M0ZWU3MzllYjQzYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjJkZDU5MTA1MzdiYzUzMzc2NDhmYWJiZGFkMTMxNzUyYjllOGMxMDgxZDFh
|
10
|
+
MjU4N2QwNWQzYzFmODM2ODIyY2M1ZTBkNThmYTc4MmU4NjYwYWE3OGM2OGJi
|
11
|
+
N2U1YzFiMGRmY2Y1MDYwODU3NWYyMDM2Njk3MjI2MGI5ODc2MDk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NmQyYTg0YjM0N2M2MmI2MTc1MThmNDk2YTM0NzExMTk5MWM0MWVkNGNmODI3
|
14
|
+
NTBiYjk4ZDlhMzZkY2E4Y2U0YTFkZGI1OTg5ZmVmZTZiNjBkMGQ2NzdiZWQy
|
15
|
+
ZWUzNTc4MGQzNGIwYjI2ZmI0ZDJkYjExMDE1YThiMmE4NjhmMjM=
|
data/.travis.yml
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 1.9.2
|
4
3
|
- 1.9.3
|
5
|
-
|
6
|
-
-
|
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/
|
11
|
-
- gemfiles/
|
12
|
-
- gemfiles/
|
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
|
-
|
2
|
-
|
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
|
-
|
6
|
-
|
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-
|
10
|
-
gem 'rails', '~>
|
20
|
+
appraise 'rails-4.1-paperclip-4-2' do
|
21
|
+
gem 'rails', '~> 4.1.0'
|
22
|
+
gem 'paperclip', '~> 4.2.0'
|
11
23
|
end
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
# Paperclip::Globalize3
|
2
2
|
|
3
|
-
[](https://travis-ci.org/emjot/paperclip-globalize3)
|
4
4
|
|
5
|
-
Use locale-specific attachments in your Rails app with paperclip and
|
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
|
-
|
14
|
+
Currently, paperclip 4.1/4.2 and globalize 4.0 are supported.
|
14
15
|
|
15
|
-
For paperclip
|
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'
|
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
|
-
##
|
51
|
+
## Development
|
50
52
|
|
51
|
-
|
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
|
-
|
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']
|
data/lib/paperclip-globalize3.rb
CHANGED
@@ -4,6 +4,16 @@ require "paperclip/globalize3/attachment"
|
|
4
4
|
require "globalize"
|
5
5
|
require "paperclip"
|
6
6
|
|
7
|
-
Paperclip.interpolates(:locale) { |
|
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
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
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
|
@@ -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
|
17
|
-
spec.summary = %q{locale-specific attachments with paperclip and
|
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",
|
27
|
-
spec.add_runtime_dependency "
|
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.
|
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
|
-
|
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)
|
data/spec/data/models.rb
CHANGED
@@ -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
|
|
data/spec/spec_helper.rb
CHANGED
@@ -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:
|
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: '
|
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: '
|
26
|
+
version: '4.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: globalize
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
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:
|
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.
|
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.
|
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
|
-
|
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/
|
127
|
-
- gemfiles/
|
128
|
-
- gemfiles/
|
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
|
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
|