canfig 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canfig/version.rb +1 -1
- data/lib/canfig.rb +7 -0
- data/spec/canfig_spec.rb +11 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87d7a71f3425215cb0226cd0f6eeabc7912dd552
|
4
|
+
data.tar.gz: 378a6def629c7ed263384211bf8361fbe28338a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbf3b023b2f8853dcbd0d5731baa98f9de2995ece01982da2718fe7919724efb7b4de7d350054330cf0749aaa7a5cd3c362f74db340e42c4521ca993800bbe09
|
7
|
+
data.tar.gz: bb8e16f4eaee8db347246e7e45e5abcf16a673c1bb1eacab89b76f930a8eeac3d4abee81c638d208ef061e1b2115286bab8608078f5d09919ef949a3da65c14d
|
data/lib/canfig/version.rb
CHANGED
data/lib/canfig.rb
CHANGED
data/spec/canfig_spec.rb
CHANGED
@@ -1,4 +1,15 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
RSpec.describe Canfig do
|
4
|
+
describe '.new' do
|
5
|
+
it 'returns a configuration object' do
|
6
|
+
expect(subject.new).to be_an_instance_of(Canfig::Config)
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
describe '.open' do
|
11
|
+
it 'returns an open configuration object' do
|
12
|
+
expect(subject.open).to be_an_instance_of(Canfig::OpenConfig)
|
13
|
+
end
|
14
|
+
end
|
4
15
|
end
|