cadun 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cadun/user.rb +1 -1
- data/lib/cadun/version.rb +1 -1
- data/spec/cadun/user_spec.rb +5 -0
- metadata +2 -2
data/lib/cadun/user.rb
CHANGED
data/lib/cadun/version.rb
CHANGED
data/spec/cadun/user_spec.rb
CHANGED
@@ -8,6 +8,11 @@ describe Cadun::User do
|
|
8
8
|
stub_requests
|
9
9
|
end
|
10
10
|
|
11
|
+
it "should load a gateway" do
|
12
|
+
mock(Cadun::Gateway).new("GLB_ID", "127.0.0.1", 2626)
|
13
|
+
Cadun::User.new("GLB_ID", "127.0.0.1", 2626)
|
14
|
+
end
|
15
|
+
|
11
16
|
subject { Cadun::User.new("GLB_ID", "127.0.0.1", 2626) }
|
12
17
|
|
13
18
|
describe "#id" do
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: cadun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.2.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Bruno Azisaka Maciel
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05-
|
13
|
+
date: 2011-05-24 00:00:00 -03:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|