disqus 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,8 +29,7 @@ module Disqus
29
29
 
30
30
  # Returns a Forum object corresponding to the given forum_id or nil if it was not found.
31
31
  def self.find(forum_id, user_api_key = nil)
32
- opts = user_api_key ? {:api_key => user_api_key} : {}
33
- list = Forum.list(opts)
32
+ list = Forum.list(user_api_key)
34
33
  if list
35
34
  list.select{|f| f.id == forum_id}.first
36
35
  end
@@ -2,7 +2,7 @@ module Disqus
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 3
5
+ TINY = 4
6
6
  STRING = [MAJOR, MINOR, TINY].join('.')
7
7
  end
8
- end
8
+ end
@@ -61,7 +61,7 @@ module Disqus
61
61
  validate_opts!(opts)
62
62
  s = <<-WHIMPER
63
63
  <script type="text/javascript">
64
- //<[CDATA[
64
+ //<![CDATA[
65
65
  (function() {
66
66
  var links = document.getElementsByTagName('a');
67
67
  var query = '?';
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 3
9
- version: 1.0.3
8
+ - 4
9
+ version: 1.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Norman Clarke
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-03-30 00:00:00 -03:00
18
+ date: 2010-04-21 00:00:00 -03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency