ruby-dovado 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 493334755f4182fb4c6ffbf010747a6212f48352
4
- data.tar.gz: 67798f1509b7ad86e95dd321a92267a0fd8a80f4
3
+ metadata.gz: c269ddd9eff2fa5106fa286c8498b084622003c4
4
+ data.tar.gz: c51e6186541f708b122c5161138cbb6dd89c52aa
5
5
  SHA512:
6
- metadata.gz: 9ffe73cdf1b1a4b89f85c006d7597ad0fb0410614fc542c3bce3dfb62a917b031194a955be6aa26f2c06fb63bbc78762732f3c6e160f9aa072b0bd0f71b80dfd
7
- data.tar.gz: bbf0eed5cd3ee58b89cc52642eb1b7d6a7a35eaf9158d1587cf09f1e0b9bcfcd0f1239505963cd830e9c971b3de48fa2548c95ec559cfffbe0a3025be4c31d9b
6
+ metadata.gz: 905cdbe46e78f7d5765014a4a3e7d5b08c71505e9c83e987e439b46a7b6974779804b8a872e064410d4f2bb20c50aae98db0cf904c18140cf49b0592c54cc443
7
+ data.tar.gz: d15460a40263fdf2f296caa06b852cc00de0ab26b6b212ad55ed6e2c76fa1d42bca8b0bfecc972bc032ca8a51ee3f9bc884e22c13f9763d50b28301c60e1b941
data/README.md CHANGED
@@ -21,9 +21,9 @@ gem "ruby-dovado"
21
21
  They load it in your code:
22
22
 
23
23
  ```ruby
24
- require "dovado"
24
+ require dovado
25
25
 
26
- router = Dovado::Router.new(address: "192.168.0.1", user: "admin", password: "password")
26
+ router = Dovado::Router.new(address: 192.168.0.1”, user: admin”, password: password)
27
27
  router.info
28
28
  router.sms.load_messages
29
29
  message = router.sms.get_message 12
data/lib/dovado.rb CHANGED
@@ -1,5 +1,12 @@
1
1
  require 'celluloid/current'
2
2
 
3
+ # The Ruby-Dovado library.
4
+ #
5
+ # @author Jan Lindblom <janlindblom@fastmail.fm>
6
+ # @version 1.0.1
7
+ module Dovado
8
+ end
9
+
3
10
  require 'dovado/connection_error'
4
11
  require 'dovado/utilities'
5
12
  require 'dovado/client'
@@ -13,10 +20,3 @@ require 'dovado/router/info/operator/telia'
13
20
  require 'dovado/router/sms'
14
21
  require 'dovado/router/sms/messages'
15
22
  require 'dovado/router/sms/message'
16
-
17
- # The Ruby-Dovado library.
18
- #
19
- # @author Jan Lindblom <janlindblom@fastmail.fm>
20
- # @version 1.0.0
21
- module Dovado
22
- end
@@ -1,5 +1,7 @@
1
1
  # Custom error for failed connections.
2
2
  #
3
3
  # @since 1.0.0
4
- class Dovado::ConnectionError < StandardError
4
+ module Dovado
5
+ class ConnectionError < StandardError
6
+ end
5
7
  end
@@ -1,4 +1,4 @@
1
1
  module Dovado
2
2
  # Current version of the library.
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-dovado
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lindblom
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-20 00:00:00.000000000 Z
11
+ date: 2015-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: celluloid