sga_paperclippolymorph 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ begin
11
11
  gem.homepage = "http://github.com/tteng/sga_paperclippolymorph"
12
12
  gem.authors = ["tim.teng"]
13
13
  #gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
14
- gem.add_runtime_dependency "paperclip", ">= 2.3.1.1"
14
+ gem.add_runtime_dependency "paperclip", ">= 2.3.3"
15
15
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
16
  end
17
17
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/lib/sga/asset.rb CHANGED
@@ -1,6 +1,7 @@
1
- gem 'paperclip', ">=2.3.1.1"
1
+ gem 'paperclip', ">=2.3.3"
2
2
  require 'paperclip'
3
3
  require 'digest/md5'
4
+ include Paperclip
4
5
 
5
6
  class Asset < ActiveRecord::Base
6
7
  has_many :attachings, :dependent => :destroy
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sga_paperclippolymorph}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["tim.teng"]
12
- s.date = %q{2010-06-01}
12
+ s.date = %q{2010-08-03}
13
13
  s.description = %q{gem version of paperclippolymorph for sga company}
14
14
  s.email = %q{tim.rubist@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -49,12 +49,12 @@ Gem::Specification.new do |s|
49
49
  s.specification_version = 3
50
50
 
51
51
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
52
- s.add_runtime_dependency(%q<paperclip>, [">= 2.3.1.1"])
52
+ s.add_runtime_dependency(%q<paperclip>, [">= 2.3.3"])
53
53
  else
54
- s.add_dependency(%q<paperclip>, [">= 2.3.1.1"])
54
+ s.add_dependency(%q<paperclip>, [">= 2.3.3"])
55
55
  end
56
56
  else
57
- s.add_dependency(%q<paperclip>, [">= 2.3.1.1"])
57
+ s.add_dependency(%q<paperclip>, [">= 2.3.3"])
58
58
  end
59
59
  end
60
60
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 1
9
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - tim.teng
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-01 00:00:00 +08:00
17
+ date: 2010-08-03 00:00:00 +08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -27,9 +27,8 @@ dependencies:
27
27
  segments:
28
28
  - 2
29
29
  - 3
30
- - 1
31
- - 1
32
- version: 2.3.1.1
30
+ - 3
31
+ version: 2.3.3
33
32
  type: :runtime
34
33
  version_requirements: *id001
35
34
  description: gem version of paperclippolymorph for sga company