canonicurl 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,12 +43,11 @@ module Canonicurl
43
43
  result = @db.get(k)
44
44
  if !result.nil? && result.size > 1
45
45
  return result
46
-
47
46
  end
48
47
 
49
48
  case result
50
49
  when CANONICAL
51
- yield url
50
+ url
52
51
  when LOCKED
53
52
  resolve(url, k, callbacks)
54
53
  RESOLVING
@@ -1,3 +1,3 @@
1
1
  module Canonicurl
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canonicurl
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Dai