Sha256: efe5c6c867dbe7a242cbc94d5424860da56073fbe2de9c3875d576b600b1cb1d
Contents?: true
Size: 1.48 KB
Versions: 4
Compression:
Stored size: 1.48 KB
Contents
# -*- encoding: utf-8 -*- require File.expand_path('../lib/second_level_cache/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["wangxz"] gem.email = ["wangxz@csdn.net"] gem.description = %q{Write Through and Read Through caching library inspired by CacheMoney and cache_fu, support only Rails3 and ActiveRecord.} gem.summary = <<-SUMMARY SecondLevelCache is a write-through and read-through caching library inspired by Cache Money and cache_fu, support only Rails3 and ActiveRecord. Read-Through: Queries by ID, like current_user.articles.find(params[:id]), will first look in cache store and then look in the database for the results of that query. If there is a cache miss, it will populate the cache. Write-Through: As objects are created, updated, and deleted, all of the caches are automatically kept up-to-date and coherent. SUMMARY gem.homepage = "https://github.com/csdn-dev/second_level_cache" gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } gem.files = `git ls-files`.split("\n") gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") gem.name = "second_level_cache" gem.require_paths = ["lib"] gem.version = SecondLevelCache::VERSION gem.add_runtime_dependency "activesupport", ["~> 3.2.0"] gem.add_development_dependency "activerecord", ["~> 3.2.0"] gem.add_development_dependency "sqlite3" gem.add_development_dependency "rake" end
Version data entries
4 entries across 4 versions & 1 rubygems