poj_org 0.4.4 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/poj_org/user.rb +2 -2
  2. metadata +2 -2
@@ -48,7 +48,7 @@ module PojOrg
48
48
  end
49
49
 
50
50
  def codes(options = {})
51
- code_ids.map do |id|
51
+ code_ids(options).map do |id|
52
52
  code(id)
53
53
  end
54
54
  end
@@ -62,7 +62,7 @@ module PojOrg
62
62
  def status_url(options)
63
63
  options.merge!(user_id: @username)
64
64
  params = options.map { |key, value|
65
- "&#{key}=#{value}"
65
+ "#{key}=#{value}"
66
66
  }.join('&')
67
67
  "http://poj.org/status?#{params}"
68
68
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poj_org
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-15 00:00:00.000000000 Z
12
+ date: 2013-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri