memcache_mock 0.0.1 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -3
- data/lib/memcache_mock/version.rb +1 -1
- data/memcache_mock.gemspec +3 -3
- metadata +4 -2
data/README.md
CHANGED
@@ -2,16 +2,18 @@
|
|
2
2
|
|
3
3
|
Simple library to mock a **key/value** storage system.
|
4
4
|
|
5
|
-
The _API_ is based in the
|
5
|
+
The _API_ is based in the [Dalli Memcache Ruby Client](https://github.com/mperham/dalli). So any time you need to mock your code that integrates _Dalli_ you can exponse an instance of _MemcacheMock_ instead.
|
6
6
|
|
7
7
|
## Use
|
8
|
-
|
8
|
+
|
9
|
+
require "memcache_mock"
|
10
|
+
|
9
11
|
cache = MemcacheMock.new
|
10
12
|
cache.set( "key", "value" )
|
11
13
|
cache.get( "key" ) # => "value"
|
12
14
|
|
13
15
|
## Status
|
14
16
|
|
15
|
-
The actual status is **Beta**
|
17
|
+
The actual status is **Beta** but functional. The _API_ only supports the methods we have needed so far.
|
16
18
|
|
17
19
|
If you have any suggestion we'll appreciate _pull requests_.
|
data/memcache_mock.gemspec
CHANGED
@@ -5,9 +5,9 @@ require "memcache_mock/version"
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "memcache_mock"
|
7
7
|
s.version = MemcacheMock::VERSION
|
8
|
-
s.authors = ["Fernando Guillen"]
|
9
|
-
s.email = ["fguillen.mail@gmail.com"]
|
10
|
-
s.homepage = ""
|
8
|
+
s.authors = ["Fernando Guillen", "Carlos Moutinho"]
|
9
|
+
s.email = ["fguillen.mail@gmail.com", "carlosmoutinho@gmail.com"]
|
10
|
+
s.homepage = "https://github.com/fguillen/MemcacheMock"
|
11
11
|
s.summary = "Simple key/value mocked storage system"
|
12
12
|
s.description = "Simple key/value mocked storage system"
|
13
13
|
|
metadata
CHANGED
@@ -2,10 +2,11 @@
|
|
2
2
|
name: memcache_mock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Fernando Guillen
|
9
|
+
- Carlos Moutinho
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
@@ -48,6 +49,7 @@ dependencies:
|
|
48
49
|
description: Simple key/value mocked storage system
|
49
50
|
email:
|
50
51
|
- fguillen.mail@gmail.com
|
52
|
+
- carlosmoutinho@gmail.com
|
51
53
|
executables: []
|
52
54
|
|
53
55
|
extensions: []
|
@@ -65,7 +67,7 @@ files:
|
|
65
67
|
- memcache_mock.gemspec
|
66
68
|
- test/memcache_mock_test.rb
|
67
69
|
- test/test_helper.rb
|
68
|
-
homepage:
|
70
|
+
homepage: https://github.com/fguillen/MemcacheMock
|
69
71
|
licenses: []
|
70
72
|
|
71
73
|
post_install_message:
|