code-snippets 0.1.3 → 0.1.4

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 +2 -2
  2. metadata +2 -2
data/lib/code-snippets.rb CHANGED
@@ -75,13 +75,13 @@ class CodeSnippets
75
75
  end
76
76
 
77
77
  def html_user(user, pg_n)
78
- @args = [user, pg_n]
78
+ @args = ['user', user, pg_n]
79
79
  summary = {title: 'Snippets', user: user}
80
80
  html_cached(context=@args, summary) { @blog.user(user).page(pg_n.to_i) }
81
81
  end
82
82
 
83
83
  def html_user_tag(user, tag, pg_n)
84
- @args = [user, tag, pg_n]
84
+ @args = ['user', user, 'tag', tag, pg_n]
85
85
  summary = {title: 'Snippets', user: user, tag: tag}
86
86
  html_cached(context=@args, summary) { @blog.user(user).tag(tag).page(pg_n.to_i) }
87
87
  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.1.3
4
+ version: 0.1.4
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-07 00:00:00 +01:00
12
+ date: 2010-08-08 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15