dnsimple-ruby 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/dnsimple/error.rb +5 -4
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.3
|
data/lib/dnsimple/error.rb
CHANGED
@@ -1,8 +1,5 @@
|
|
1
1
|
module DNSimple
|
2
2
|
class Error < StandardError
|
3
|
-
def initialize(message)
|
4
|
-
super(message)
|
5
|
-
end
|
6
3
|
end
|
7
4
|
|
8
5
|
class DomainError < DNSimple::Error
|
@@ -13,7 +10,11 @@ module DNSimple
|
|
13
10
|
end
|
14
11
|
end
|
15
12
|
|
16
|
-
class RecordExists < DomainError
|
13
|
+
class RecordExists < DomainError
|
14
|
+
def initialize(domain, message)
|
15
|
+
super(domain, message)
|
16
|
+
end
|
17
|
+
end
|
17
18
|
|
18
19
|
class AuthenticationFailed < DNSimple::Error; end
|
19
20
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dnsimple-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 3
|
10
|
+
version: 1.2.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Anthony Eden
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-12-23 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
requirement: &id001 !ruby/object:Gem::Requirement
|