code-snippets 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/code-snippets.rb +4 -0
  2. metadata +2 -2
data/lib/code-snippets.rb CHANGED
@@ -82,6 +82,10 @@ class CodeSnippets
82
82
  @blog.create_entry(h, user)
83
83
  end
84
84
 
85
+ def update(id)
86
+ @blog.delete(id)
87
+ end
88
+
85
89
  private
86
90
 
87
91
  def html_page(n, current_user='guest')
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.7
4
+ version: 0.2.8
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-09-05 00:00:00 +01:00
12
+ date: 2010-09-06 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15