avatars_for_rails 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/avatars_for_rails.gemspec +6 -2
  2. metadata +4 -4
@@ -2,7 +2,7 @@
2
2
  # project in your rails apps through git.
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "avatars_for_rails"
5
- s.version = "0.2.0"
5
+ s.version = "0.2.1"
6
6
  s.authors = ["Jaime Castro Montero", "GING"]
7
7
  s.summary = "Avatar manager for rails apps."
8
8
  s.description = "A Rails engine that allows any model to act as avatarable, permitting it to have a complete avatar manager with a few options. Adapted to rails 3"
@@ -16,8 +16,12 @@ Gem::Specification.new do |s|
16
16
  # SQL foreign keys
17
17
  s.add_runtime_dependency('foreigner', '>= 0.9.1')
18
18
  s.add_runtime_dependency('paperclip', '>= 2.3.4')
19
- s.add_runtime_dependency('rmagick','>= 2.13.1')
20
19
 
20
+ if defined?(PLATFORM) && PLATFORM == 'java'
21
+ s.add_runtime_dependency('rmagick4j','>= 0.3.0')
22
+ else
23
+ s.add_runtime_dependency('rmagick','>= 2.13.1')
24
+ end
21
25
 
22
26
  # Development Gem dependencies
23
27
  #
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avatars_for_rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jaime Castro Montero
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-10-24 00:00:00 +02:00
19
+ date: 2011-11-07 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency