blunt-cache 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +3 -3
- data/{blunt_cache.gemspec → blunt-cache.gemspec} +3 -3
- data/lib/blunt-cache/version.rb +3 -0
- data/lib/{blunt_cache.rb → blunt-cache.rb} +0 -0
- data/spec/spec_helper.rb +1 -1
- metadata +6 -6
- data/lib/blunt_cache/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf46d74e7e4652dfef6b3f3b8a17ab2be7d6632f
|
4
|
+
data.tar.gz: 299867f1138432a5de57407172c2388a57e13a70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b6338db292321ea9f87384b4282e073285c331af8c66f2f7774bca89ffd1e5171524931ef952b3287739794a2ec421daf19296c296febf783b8e3d8db240801
|
7
|
+
data.tar.gz: 27287a69808fb856764928b0105d24f91a055ab5b9b86b5a0ed907d3f59db0f8b0e62b698980616a0e4e6b5dac9436579d6e4627428fc2cb110501b40ec27d9a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
|
4
|
+
blunt-cache (0.1.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -26,7 +26,7 @@ PLATFORMS
|
|
26
26
|
ruby
|
27
27
|
|
28
28
|
DEPENDENCIES
|
29
|
-
|
29
|
+
blunt-cache!
|
30
30
|
bundler (~> 1.6)
|
31
|
-
rake
|
31
|
+
rake (>= 10.0)
|
32
32
|
rspec (~> 3.1)
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# BluntCache
|
2
|
-
Simple in-memory cache service for
|
2
|
+
Simple in-memory cache service for Ruby.
|
3
3
|
|
4
4
|
## Usage
|
5
5
|
|
@@ -30,10 +30,10 @@ Simple in-memory cache service for ruby.
|
|
30
30
|
## Why? When to use?
|
31
31
|
|
32
32
|
* It is fast.
|
33
|
-
* Use it when you don't want to execute
|
33
|
+
* Use it when you don't want to execute serialization-deserialization cycle with real cache (Redis or Memcache).
|
34
34
|
* Use it when you not able (or don't want) to use external cache service (you or your admin are lazy, when using Heroku or other cloud services, etc).
|
35
35
|
|
36
36
|
## Limitations
|
37
37
|
|
38
38
|
* Keep in mind that values are stored in memory even if they are expired. As for replaced values, let's just belive in Ruby GC abilities. So, Ruby workers can bloat.
|
39
|
-
* Keep in mind that Cache IS NOT shared between workers (e.g. Unicorn, Puma cluster workers) and IS shared between threads (Puma).
|
39
|
+
* Keep in mind that Cache IS NOT shared between workers (e.g. Unicorn, Puma cluster workers) and IS shared between threads (Puma).
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require '
|
4
|
+
require 'blunt-cache/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "blunt-cache"
|
8
8
|
spec.version = BluntCache::VERSION
|
9
9
|
spec.authors = ["Roman Exempliarov"]
|
10
10
|
spec.email = ["urvala@gmail.com"]
|
11
|
-
spec.summary = %q{Simple in-memory cache service for
|
12
|
-
spec.description = %q{Simple in-memory cache service for
|
11
|
+
spec.summary = %q{Simple in-memory cache service for Ruby.}
|
12
|
+
spec.description = %q{Simple in-memory cache service for Ruby.}
|
13
13
|
spec.homepage = "https://github.com/appelsin/blunt_cache"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require '
|
1
|
+
require 'blunt-cache'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blunt-cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roman Exempliarov
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.1'
|
55
|
-
description: Simple in-memory cache service for
|
55
|
+
description: Simple in-memory cache service for Ruby.
|
56
56
|
email:
|
57
57
|
- urvala@gmail.com
|
58
58
|
executables: []
|
@@ -64,9 +64,9 @@ files:
|
|
64
64
|
- Gemfile.lock
|
65
65
|
- LICENSE
|
66
66
|
- README.md
|
67
|
-
-
|
68
|
-
- lib/
|
69
|
-
- lib/
|
67
|
+
- blunt-cache.gemspec
|
68
|
+
- lib/blunt-cache.rb
|
69
|
+
- lib/blunt-cache/version.rb
|
70
70
|
- spec/blunt_cache_spec.rb
|
71
71
|
- spec/spec_helper.rb
|
72
72
|
homepage: https://github.com/appelsin/blunt_cache
|
@@ -92,7 +92,7 @@ rubyforge_project:
|
|
92
92
|
rubygems_version: 2.4.7
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
|
-
summary: Simple in-memory cache service for
|
95
|
+
summary: Simple in-memory cache service for Ruby.
|
96
96
|
test_files:
|
97
97
|
- spec/blunt_cache_spec.rb
|
98
98
|
- spec/spec_helper.rb
|
data/lib/blunt_cache/version.rb
DELETED