memcached_store 0.12.6 → 0.12.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 729f6c0fdff4c0d6de3fec9fab64f8e1064a92df
4
- data.tar.gz: 808f3dbae00b4d70d28226fa890ba43e15ed08d0
3
+ metadata.gz: 705667e198b18bcd4d65f50390e5b739e12065b2
4
+ data.tar.gz: 238f5c0a7cbcbdec4000fe7d753eb439e2868765
5
5
  SHA512:
6
- metadata.gz: 04f15a78bd3c7e734f35ef684ad606c9fc40cb59da859e4412568cfb396aebc1c1328f931e4014ccf5c0138a83f29625b76e478a9408edd9cdf9b8ade604e5f7
7
- data.tar.gz: dfb66071f1f0f8af513dd326a1e72832ccef03efdc8001f2e564948df493e859c7a80902b9f9d7b0566c72cfe2063086c3fd925de2199b8bfdd7e0f0ae0957d1
6
+ metadata.gz: a50651983aa2380199e6ccb94b912e0d24f99791977cea55951fbd286adbb305f7e230308e6efcd27a7393775ede1e4dc4a78cb4cbf8eef974269e445f042d3a
7
+ data.tar.gz: bf9f4f47644e8e73d5d0a4bf3b0f7679902b457ada045f0f0c5c4a8b6736a3f2958b3f60eb0f90b9b77d94fe735327ce86cf0345fec87a011035e0562d7bb34a
@@ -135,6 +135,13 @@ module ActiveSupport
135
135
  !!super
136
136
  end
137
137
 
138
+ def reset #:nodoc:
139
+ @data.reset
140
+ rescue *NONFATAL_EXCEPTIONS => e
141
+ @data.log_exception(e)
142
+ false
143
+ end
144
+
138
145
  protected
139
146
  def read_entry(key, options) # :nodoc:
140
147
  deserialize_entry(@data.get(escape_key(key), true))
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module MemcachedStore
3
- VERSION = "0.12.6"
3
+ VERSION = "0.12.7"
4
4
  end
@@ -388,6 +388,12 @@ class TestMemcachedStore < ActiveSupport::TestCase
388
388
  assert_equal "", client.prefix_key, "should not send the namespace to the client"
389
389
  assert_equal "foo::key", cache.send(:namespaced_key, "key", cache.options)
390
390
  end
391
+
392
+ def test_reset
393
+ client = @cache.instance_variable_get(:@data)
394
+ client.expects(:reset).once
395
+ @cache.reset
396
+ end
391
397
 
392
398
  private
393
399
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memcached_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.6
4
+ version: 0.12.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Camilo Lopez
@@ -10,30 +10,8 @@ authors:
10
10
  - Francis Bogsanyi
11
11
  autorequire:
12
12
  bindir: bin
13
- cert_chain:
14
- - |
15
- -----BEGIN CERTIFICATE-----
16
- MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MQ8wDQYDVQQDDAZhZG1p
17
- bnMxFzAVBgoJkiaJk/IsZAEZFgdzaG9waWZ5MRMwEQYKCZImiZPyLGQBGRYDY29t
18
- MB4XDTE0MDUxNTIwMzM0OFoXDTE1MDUxNTIwMzM0OFowPzEPMA0GA1UEAwwGYWRt
19
- aW5zMRcwFQYKCZImiZPyLGQBGRYHc2hvcGlmeTETMBEGCgmSJomT8ixkARkWA2Nv
20
- bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL0/81O3e1vh5smcwp2G
21
- MpLQ6q0kejQLa65bPYPxdzWA1SYOKyGfw+yR9LdFzsuKpwWzKq6zX35lj1IckWS4
22
- bNBEQzxmufUxU0XPM02haFB8fOfDJzdXsWte9Ge4IFwahwn68gpMqN+BvxL+KMYz
23
- Iut9YmN44d4LZdsENEIO5vmybuG2vYDz7R56qB0PA+Q2P2CdhymsBad2DQs69FBo
24
- uico9V6VMYYctL9lCYdzu9IXrOYNTt88suKIVzzAlHOKeN0Ng5qdztFoTR8sfxDr
25
- Ydg3KHl5n47wlpgd8R0f/4b5gGxW+v9pyJCgQnLlRu7DedVSvv7+GMtj3g9r3nhJ
26
- KqECAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFI/o
27
- maf34HXbUOQsdoLHacEKQgunMB0GA1UdEQQWMBSBEmFkbWluc0BzaG9waWZ5LmNv
28
- bTAdBgNVHRIEFjAUgRJhZG1pbnNAc2hvcGlmeS5jb20wDQYJKoZIhvcNAQEFBQAD
29
- ggEBADkK9aj5T0HPExsov4EoMWFnO+G7RQ28C30VAfKxnL2UxG6i4XMHVs6Xi94h
30
- qXFw1ec9Y2eDUqaolT3bviOk9BB197+A8Vz/k7MC6ci2NE+yDDB7HAC8zU6LAx8Y
31
- Iqvw7B/PSZ/pz4bUVFlTATif4mi1vO3lidRkdHRtM7UePSn2rUpOi0gtXBP3bLu5
32
- YjHJN7wx5cugMEyroKITG5gL0Nxtu21qtOlHX4Hc4KdE2JqzCPOsS4zsZGhgwhPs
33
- fl3hbtVFTqbOlwL9vy1fudXcolIE/ZTcxQ+er07ZFZdKCXayR9PPs64heamfn0fp
34
- TConQSX2BnZdhIEYW+cKzEC/bLc=
35
- -----END CERTIFICATE-----
36
- date: 2014-06-13 00:00:00.000000000 Z
13
+ cert_chain: []
14
+ date: 2014-06-17 00:00:00.000000000 Z
37
15
  dependencies:
38
16
  - !ruby/object:Gem::Dependency
39
17
  name: activesupport
Binary file
data.tar.gz.sig DELETED
@@ -1 +0,0 @@
1
- �����XP�ע����|���`�m�I%--�|T���ݹ0dQLQ�J0@C�~>�T��9m�����#\47�n�V�d
metadata.gz.sig DELETED
@@ -1 +0,0 @@
1
- ��������Y��!c��D��jE <�v���|P���kVp�8����J��'M(��^���w���c�b���F${/�H*A ըV�v[�U�}�r�' .���^EA�Ƕ�pԛV7j F���x�l��f:S�e�g���P:ɹ-���1�g���n����X�f#��