sequel_paperclip 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -130,11 +130,11 @@ module Sequel
130
130
  end
131
131
  end
132
132
 
133
- module InstanceMethods
133
+ module InstanceMethods
134
134
  def attachment_generate_basename(attachment)
135
135
  basename = send("#{attachment.name}_basename")
136
136
  while true
137
- new_basename = ActiveSupport::SecureRandom.hex(4).to_s
137
+ new_basename = SecureRandom.hex(4).to_s
138
138
  return new_basename unless new_basename == basename
139
139
  end
140
140
  end
@@ -163,7 +163,7 @@ module Sequel
163
163
  end
164
164
  end
165
165
 
166
- module DatasetMethods
166
+ module DatasetMethods
167
167
  end
168
168
  end
169
169
  end
@@ -1,3 +1,3 @@
1
1
  module SequelPaperclip
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel_paperclip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-20 00:00:00.000000000 Z
12
+ date: 2012-01-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &9136740 !ruby/object:Gem::Requirement
16
+ requirement: &24258400 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *9136740
24
+ version_requirements: *24258400
25
25
  description: Sequel plugin which provides Paperclip (attachments, thumbnail resizing,
26
26
  etc.) functionality for model.
27
27
  email: