code-snippets 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/code-snippets.rb +3 -1
- metadata +2 -2
data/lib/code-snippets.rb
CHANGED
@@ -86,7 +86,8 @@ class CodeSnippets
|
|
86
86
|
|
87
87
|
def delete(id)
|
88
88
|
cache_reset
|
89
|
-
@blog.delete(id)
|
89
|
+
@blog.delete(id)
|
90
|
+
"record deleted"
|
90
91
|
end
|
91
92
|
|
92
93
|
private
|
@@ -283,6 +284,7 @@ class CodeSnippets
|
|
283
284
|
def cache_reset()
|
284
285
|
@page_cache.reset
|
285
286
|
@doc_cache.reset
|
287
|
+
@hc_xml.reset
|
286
288
|
end
|
287
289
|
|
288
290
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: code-snippets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors: []
|
7
7
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-10-02 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|