code-snippets 0.2.1 → 0.2.2

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 +1 -1
  2. metadata +2 -2
@@ -146,7 +146,7 @@ class CodeSnippets
146
146
  page_doc
147
147
  end
148
148
 
149
- xml_doc = context != '1' ? @hc_xml.read(context, &blk) : blk.call
149
+ xml_doc = context != '1' ? @hc_xml.read(context+current_user, &blk) : blk.call
150
150
 
151
151
  render_html(xml_doc, @xsl_doc, current_user)
152
152
 
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.1
4
+ version: 0.2.2
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-04 00:00:00 +01:00
12
+ date: 2010-09-05 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15