$:.push File.expand_path("../lib", __FILE__)

# Maintain your gem's version:
require "rich/version"

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = "rich"
  s.version     = Rich::VERSION
  s.authors     = ["Bastiaan Terhorst"]
  s.email       = ["bastiaan@perceptor.nl"]
  s.homepage    = "https://github.com/bastiaanterhorst/rich"
  s.summary     = "Rich is an opinionated WYSIWYG editor for Rails based on CKEditor."
  s.description = ""

  s.files = Dir["{app,config,db,lib,vendor}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
  s.test_files = Dir["test/**/*"]

  s.add_dependency "rails", ">= 3.2.0"
  s.add_dependency "jquery-rails"
  s.add_dependency "paperclip", '~> 3.5.2' # Possible to upgrade, but will need a fix. See https://github.com/gwincr11/rich/commit/1262a3225c20229f4b28eb3784cb60c14fb8b969
  s.add_dependency "rack-raw-upload"
  s.add_dependency "sass-rails"
  s.add_dependency "mime-types"
  s.add_dependency "kaminari"

  #s.add_development_dependency "sqlite3"
  #s.add_development_dependency "formtastic"
  
end

$:.push File.expand_path("../lib", __FILE__)

# Maintain your gem's version:
require "rich/version"

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = "rich"
  s.version     = Rich::VERSION
  s.authors     = ["Bastiaan Terhorst"]
  s.email       = ["bastiaan@perceptor.nl"]
  s.homepage    = "https://github.com/bastiaanterhorst/rich"
  s.summary     = "Rich is an opinionated WYSIWYG editor for Rails based on CKEditor."
  s.description = ""

  s.files = Dir["{app,config,db,lib,vendor}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
  s.test_files = Dir["test/**/*"]

  s.add_dependency "rails", ">= 3.2.0"
  s.add_dependency "jquery-rails"
  s.add_dependency "paperclip"
  s.add_dependency "rack-raw-upload"
  s.add_dependency "sass-rails"
  s.add_dependency "mime-types"
  s.add_dependency "kaminari"

  #s.add_development_dependency "sqlite3"
  #s.add_development_dependency "formtastic"
  
end

Revert "Fixe la version de Paperclip pour éviter un bug corrigé dans une future version de Rich"
Revert "Fixe la version de Paperclip pour éviter un bug corrigé dans une future version de Rich"

This reverts commit 023f472a73e9dd84d5be602ffa9dd3bdda3f9209.
