Sha256: c4ba8ea71b539381ad5ff91e752b5e1b38764b42700c0328db41b6126725febe

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 KB

Contents

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

Gem::Specification.new do |gem|
  gem.authors       = ["Camilo Lopez", "Tom Burns", "Harry Brundage", "Dylan Smith", "Tobias Lütke"]
  gem.email         = ["harry.brundage@shopify.com"]
  gem.description   = %q{Opt in read through ActiveRecord caching.}
  gem.summary       = %q{IdentityCache lets you specify how you want to cache your model objects, at the model level, and adds a number of convenience methods for accessing those objects through the cache. Memcached is used as the backend cache store, and the database is only hit when a copy of the object cannot be found in Memcached.}
  gem.homepage      = "https://github.com/Shopify/identity_cache"

  gem.files         = `git ls-files`.split($\)
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.name          = "identity_cache"
  gem.require_paths = ["lib"]
  gem.version       = IdentityCache::VERSION

  gem.add_dependency('ar_transaction_changes', '= 0.0.3')
  gem.add_dependency('activerecord', '>= 3.2', '< 4.1')

  gem.add_development_dependency('memcache-client')
  gem.add_development_dependency('rake')
  gem.add_development_dependency('mocha', '0.14.0')

  if RUBY_PLATFORM == 'java'
    gem.add_development_dependency 'jruby-openssl'
    gem.add_development_dependency 'activerecord-jdbcmysql-adapter'
    gem.add_development_dependency 'jdbc-mysql'
  else
    gem.add_development_dependency('cityhash', '0.6.0')
    gem.add_development_dependency('mysql2')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
identity_cache-0.0.5 identity_cache.gemspec