Sha256: f0adcc09724f7ab61d5f7f5860dbf54d8ad2695fd3d1db82a831cff7a0cdafe2

Contents?: true

Size: 1.32 KB

Versions: 15

Compression:

Stored size: 1.32 KB

Contents

# -*- encoding: utf-8 -*-
require File.expand_path("../lib/paranoia/version", __FILE__)

Gem::Specification.new do |s|
  s.name        = "paranoia"
  s.version     = Paranoia::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["radarlistener@gmail.com"]
  s.email       = []
  s.homepage    = "http://rubygems.org/gems/paranoia"
  s.summary     = "Paranoia is a re-implementation of acts_as_paranoid for Rails 3, using much, much, much less code."
  s.description = "Paranoia is a re-implementation of acts_as_paranoid for Rails 3, using much, much, much less code. You would use either plugin / gem if you wished that when you called destroy on an Active Record object that it didn't actually destroy it, but just \"hid\" the record. Paranoia does this by setting a deleted_at field to the current time when you destroy a record, and hides it by scoping all queries on your model to only include records which do not have a deleted_at field."

  s.required_rubygems_version = ">= 1.3.6"
  s.rubyforge_project         = "paranoia"

  s.add_dependency "activerecord", "~> 4.0"

  s.add_development_dependency "bundler", ">= 1.0.0"
  s.add_development_dependency "rake"

  s.files        = `git ls-files`.split("\n")
  s.executables  = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
  s.require_path = 'lib'
end

Version data entries

15 entries across 14 versions & 2 rubygems

Version Path
paranoia-2.1.5 paranoia.gemspec
paranoia-2.1.4 paranoia.gemspec
solidus_backend-1.0.0.pre3 vendor/bundle/gems/paranoia-2.1.3/paranoia.gemspec
solidus_backend-1.0.0.pre2 vendor/bundle/gems/paranoia-2.1.3/paranoia.gemspec
solidus_backend-1.0.0.pre vendor/bundle/gems/paranoia-2.1.3/paranoia.gemspec
solidus_backend-1.0.0.pre vendor/bundle/gems/paranoia-2.1.2/paranoia.gemspec
paranoia-2.1.3 paranoia.gemspec
paranoia-2.1.2 paranoia.gemspec
paranoia-2.1.1 paranoia.gemspec
paranoia-2.1.0 paranoia.gemspec
paranoia-2.1.0.pre paranoia.gemspec
paranoia-2.0.5 paranoia.gemspec
paranoia-2.0.4 paranoia.gemspec
paranoia-2.0.3 paranoia.gemspec
paranoia-2.0.2 paranoia.gemspec