dm-paperclip-r3 2.4.1 → 2.4.2

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.
data/Rakefile CHANGED
@@ -22,7 +22,7 @@ end
22
22
  # Console
23
23
  desc "Open an irb session preloaded with this library"
24
24
  task :console do
25
- sh "irb -rubygems -r dm-validations -r dm-migrations -r ./lib/dm-paperclip.rb"
25
+ sh "irb -rubygems -r dm-validations -r dm-migrations -r ./lib/dm-paperclip-r3.rb"
26
26
  end
27
27
 
28
28
  # Rdoc
data/init.rb CHANGED
@@ -1 +1 @@
1
- require File.join(File.dirname(__FILE__), 'lib', 'dm-paperclip')
1
+ require File.join(File.dirname(__FILE__), 'lib', 'dm-paperclip-r3')
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -31,20 +31,20 @@ require 'tempfile'
31
31
  require 'extlib'
32
32
  require 'dm-core'
33
33
 
34
- require 'dm-paperclip/upfile'
35
- require 'dm-paperclip/iostream'
36
- require 'dm-paperclip/geometry'
37
- require 'dm-paperclip/processor'
38
- require 'dm-paperclip/thumbnail'
39
- require 'dm-paperclip/storage'
40
- require 'dm-paperclip/interpolations'
41
- require 'dm-paperclip/attachment'
34
+ require 'dm-paperclip-r3/upfile'
35
+ require 'dm-paperclip-r3/iostream'
36
+ require 'dm-paperclip-r3/geometry'
37
+ require 'dm-paperclip-r3/processor'
38
+ require 'dm-paperclip-r3/thumbnail'
39
+ require 'dm-paperclip-r3/storage'
40
+ require 'dm-paperclip-r3/interpolations'
41
+ require 'dm-paperclip-r3/attachment'
42
42
 
43
43
  # The base module that gets included in ActiveRecord::Base. See the
44
44
  # documentation for Paperclip::ClassMethods for more useful information.
45
45
  module Paperclip
46
46
 
47
- VERSION = "2.4.1"
47
+ VERSION = "2.4.2"
48
48
 
49
49
  # To configure Paperclip, put this code in an initializer, Rake task, or wherever:
50
50
  #
@@ -227,7 +227,7 @@ module Paperclip
227
227
  # had a chance to configure the app in an initializer
228
228
  if Paperclip.config.use_dm_validations
229
229
  require 'dm-validations'
230
- require 'dm-paperclip/validations'
230
+ require 'dm-paperclip-r3/validations'
231
231
  base.extend Paperclip::Validate::ClassMethods
232
232
  end
233
233
 
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'test/unit'
3
3
  require 'shoulda'
4
4
 
5
- require File.join(File.dirname(__FILE__), '..', 'lib', 'dm-paperclip', 'geometry.rb')
5
+ require File.join(File.dirname(__FILE__), '..', 'lib', 'dm-paperclip-r3', 'geometry.rb')
6
6
 
7
7
  class GeometryTest < Test::Unit::TestCase
8
8
  context "Paperclip::Geometry" do
data/test/helper.rb CHANGED
@@ -30,9 +30,9 @@ Merb.class_eval do
30
30
  end
31
31
 
32
32
  $LOAD_PATH << File.join(ROOT, 'lib')
33
- $LOAD_PATH << File.join(ROOT, 'lib', 'dm-paperclip')
33
+ $LOAD_PATH << File.join(ROOT, 'lib', 'dm-paperclip-r3')
34
34
 
35
- require File.join(ROOT, 'lib', 'dm-paperclip.rb')
35
+ require File.join(ROOT, 'lib', 'dm-paperclip-r3.rb')
36
36
 
37
37
  ENV['RAILS_ENV'] ||= 'test'
38
38
 
@@ -69,4 +69,4 @@ def temporary_env(new_env)
69
69
  Merb.env(new_env)
70
70
  yield
71
71
  Merb.env(old_env)
72
- end
72
+ end
@@ -4,8 +4,8 @@ require 'shoulda'
4
4
  require 'mocha'
5
5
  require 'tempfile'
6
6
 
7
- require File.join(File.dirname(__FILE__), '..', 'lib', 'dm-paperclip', 'geometry.rb')
8
- require File.join(File.dirname(__FILE__), '..', 'lib', 'dm-paperclip', 'thumbnail.rb')
7
+ require File.join(File.dirname(__FILE__), '..', 'lib', 'dm-paperclip-r3', 'geometry.rb')
8
+ require File.join(File.dirname(__FILE__), '..', 'lib', 'dm-paperclip-r3', 'thumbnail.rb')
9
9
 
10
10
  class ThumbnailTest < Test::Unit::TestCase
11
11
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-paperclip-r3
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 4
9
- - 1
10
- version: 2.4.1
9
+ - 2
10
+ version: 2.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joel Reed
@@ -117,17 +117,17 @@ files:
117
117
  - LICENSE
118
118
  - Rakefile
119
119
  - init.rb
120
- - lib/dm-paperclip/attachment.rb
121
- - lib/dm-paperclip/callback_compatability.rb
122
- - lib/dm-paperclip/geometry.rb
123
- - lib/dm-paperclip/interpolations.rb
124
- - lib/dm-paperclip/iostream.rb
125
- - lib/dm-paperclip/processor.rb
126
- - lib/dm-paperclip/storage.rb
127
- - lib/dm-paperclip/thumbnail.rb
128
- - lib/dm-paperclip/upfile.rb
129
- - lib/dm-paperclip/validations.rb
130
- - lib/dm-paperclip.rb
120
+ - lib/dm-paperclip-r3/attachment.rb
121
+ - lib/dm-paperclip-r3/callback_compatability.rb
122
+ - lib/dm-paperclip-r3/geometry.rb
123
+ - lib/dm-paperclip-r3/interpolations.rb
124
+ - lib/dm-paperclip-r3/iostream.rb
125
+ - lib/dm-paperclip-r3/processor.rb
126
+ - lib/dm-paperclip-r3/storage.rb
127
+ - lib/dm-paperclip-r3/thumbnail.rb
128
+ - lib/dm-paperclip-r3/upfile.rb
129
+ - lib/dm-paperclip-r3/validations.rb
130
+ - lib/dm-paperclip-r3.rb
131
131
  - tasks/paperclip_tasks.rake
132
132
  - test/attachment_test.rb
133
133
  - test/fixtures/12k.png