code-snippets 0.1.10 → 0.1.11

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 -1
  2. metadata +2 -2
@@ -65,7 +65,10 @@ class CodeSnippets
65
65
  end
66
66
 
67
67
  def update(id ,h)
68
- @blog.update(id, h)
68
+ # fetch the user
69
+ user = h[:user]
70
+ h.delete :user
71
+ @blog.update_user(user, id, h)
69
72
  end
70
73
 
71
74
  # -- xml interface ------------
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.1.10
4
+ version: 0.1.11
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-08-29 00:00:00 +01:00
12
+ date: 2010-08-30 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15