conglomerate 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/conglomerate/datum.rb +0 -1
- data/lib/conglomerate/datum_builder.rb +0 -1
- data/lib/conglomerate/ext/datum_type.rb +9 -0
- data/lib/conglomerate/version.rb +1 -1
- data/spec/datum_spec.rb +0 -6
- data/spec/datum_type_ext_spec.rb +13 -0
- data/spec/particle_builder_spec.rb +1 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e7f86dfe40e6fc92f0c38175855edca70ef07ae
|
4
|
+
data.tar.gz: 91f29ea288d44987d94e0538c88a6ad20e84767f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed8a22876ae473586c0c47f69c84b945b9537adbb93ca037d3b1ccaf9fafbd74d84efb9642afc9fdb2a888b0b8082365c72a55da7d70bac0327da609421f99c0
|
7
|
+
data.tar.gz: c92c82fe723c88ff6ba1d17d3e07525efd2f847e9b1f34eb17de17f3b53bfd04a9f8f365854877e4881b7beb2812242d29f6a76d71d1a1e313c7865a947092ba
|
data/lib/conglomerate/datum.rb
CHANGED
data/lib/conglomerate/version.rb
CHANGED
data/spec/datum_spec.rb
CHANGED
@@ -19,11 +19,5 @@ describe Conglomerate::Datum do
|
|
19
19
|
expect(datum).to respond_to(:"prompt=")
|
20
20
|
expect { datum.prompt = 3 }.to raise_error
|
21
21
|
end
|
22
|
-
|
23
|
-
specify "type" do
|
24
|
-
datum = Conglomerate::Datum.new(:name => "name")
|
25
|
-
expect(datum).to respond_to(:"type=")
|
26
|
-
expect { datum.type = 3 }.to raise_error
|
27
|
-
end
|
28
22
|
end
|
29
23
|
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require_relative "spec_helper"
|
2
|
+
require_relative "../lib/conglomerate"
|
3
|
+
require_relative "../lib/conglomerate/ext/datum_type"
|
4
|
+
|
5
|
+
describe Conglomerate::Datum do
|
6
|
+
context "optional attributes" do
|
7
|
+
specify "type" do
|
8
|
+
datum = Conglomerate::Datum.new(:name => "name")
|
9
|
+
expect(datum).to respond_to(:"type=")
|
10
|
+
expect { datum.type = 3 }.to raise_error
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conglomerate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Emmons
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-07-
|
12
|
+
date: 2014-07-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -77,6 +77,7 @@ files:
|
|
77
77
|
- lib/conglomerate/datum_builder.rb
|
78
78
|
- lib/conglomerate/error.rb
|
79
79
|
- lib/conglomerate/ext/commands.rb
|
80
|
+
- lib/conglomerate/ext/datum_type.rb
|
80
81
|
- lib/conglomerate/item.rb
|
81
82
|
- lib/conglomerate/item_builder.rb
|
82
83
|
- lib/conglomerate/link.rb
|
@@ -99,6 +100,7 @@ files:
|
|
99
100
|
- spec/command_spec.rb
|
100
101
|
- spec/conglomerate_spec.rb
|
101
102
|
- spec/datum_spec.rb
|
103
|
+
- spec/datum_type_ext_spec.rb
|
102
104
|
- spec/link_spec.rb
|
103
105
|
- spec/particle_builder_spec.rb
|
104
106
|
- spec/particle_spec.rb
|
@@ -135,6 +137,7 @@ test_files:
|
|
135
137
|
- spec/command_spec.rb
|
136
138
|
- spec/conglomerate_spec.rb
|
137
139
|
- spec/datum_spec.rb
|
140
|
+
- spec/datum_type_ext_spec.rb
|
138
141
|
- spec/link_spec.rb
|
139
142
|
- spec/particle_builder_spec.rb
|
140
143
|
- spec/particle_spec.rb
|