Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

initial support for gem creation

  • Loading branch information...
commit 938b59b7367a49745c43833b6081d8413d24a300 1 parent 421cd15
anonymous authored
Showing with 24 additions and 0 deletions.
  1. +24 −0 syncache.gemspec
View
24 syncache.gemspec
@@ -0,0 +1,24 @@
+Gem::Specification.new do |spec|
+ spec.name = 'syncache'
+ spec.version = '1.2'
+ spec.author = 'Dmitry Borodaenko'
+ spec.email = 'angdraug@debian.org'
+ spec.homepage = 'https://github.com/angdraug/syncache'
+ spec.summary = 'Thread-safe time-limited cache with flexible replacement policy'
+ spec.description = <<-EOF
+SynCache stores cached objects in a Hash that is protected by an advanced
+two-level locking mechanism which ensures that:
+
+ * Multiple threads can add and fetch objects in parallel.
+ * While one thread is working on a cache entry, other threads can access
+ the rest of the cache with no waiting on the global lock, no race
+ conditions nor deadlock or livelock situations.
+ * While one thread is performing a long and resource-intensive
+ operation, other threads that request the same data will be put on hold,
+ and as soon as the first thread completes the operation, the result will be
+ returned to all threads.
+ EOF
+ spec.files = `git ls-files`.split "\n"
+ spec.executables = spec.files.map{|p| p =~ /^bin\/(.*)/ ? $1 : nil }.compact
+ spec.license = 'GPL3+'
+end
Please sign in to comment.
Something went wrong with that request. Please try again.