valvat 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md CHANGED
@@ -1,6 +1,12 @@
1
1
  ### dev
2
2
 
3
- [full changelog](http://github.com/yolk/valvat/compare/v0.2.0...master)
3
+ [full changelog](http://github.com/yolk/valvat/compare/v0.2.1...master)
4
+
5
+ ### 0.2.1 / 2011-01-07
6
+
7
+ [full changelog](http://github.com/yolk/valvat/compare/v0.2.0...v0.2.1)
8
+
9
+ * Fixed blocker in valvat/lookup
4
10
 
5
11
  ### 0.2.0 / 2011-01-07
6
12
 
data/lib/valvat/lookup.rb CHANGED
@@ -12,7 +12,8 @@ class Valvat
12
12
  http.get("/#{vat.to_a.join("/")}/")
13
13
  }.body)
14
14
  rescue => err
15
- raise if FakeWeb::NetConnectNotAllowedError === err
15
+ # Ugly, ugly for better specs
16
+ raise if defined?(FakeWeb::NetConnectNotAllowedError) && FakeWeb::NetConnectNotAllowedError === err
16
17
  nil
17
18
  end
18
19
 
@@ -1,3 +1,3 @@
1
1
  class Valvat
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sebastian Munz