clumpy 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/clumpy/builder.rb +4 -1
- data/lib/clumpy/version.rb +1 -1
- data/spec/builder_spec.rb +2 -2
- metadata +3 -3
data/lib/clumpy/builder.rb
CHANGED
data/lib/clumpy/version.rb
CHANGED
data/spec/builder_spec.rb
CHANGED
@@ -24,8 +24,8 @@ describe Clumpy::Builder do
|
|
24
24
|
end
|
25
25
|
|
26
26
|
it "passes the values threshold through to the cluster" do
|
27
|
-
builder = Clumpy::Builder.new([point1], values_threshold: 100)
|
28
|
-
builder.cluster_options.should eq({ values_threshold: 100 })
|
27
|
+
builder = Clumpy::Builder.new([point1], values_threshold: 100, include_values: true)
|
28
|
+
builder.cluster_options.should eq({ values_threshold: 100, include_values: true })
|
29
29
|
clusters = builder.cluster
|
30
30
|
clusters.first.instance_variable_get(:@options).should eq builder.cluster_options
|
31
31
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clumpy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -113,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
113
|
version: '0'
|
114
114
|
segments:
|
115
115
|
- 0
|
116
|
-
hash:
|
116
|
+
hash: 3119910671482455644
|
117
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
118
|
none: false
|
119
119
|
requirements:
|
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
segments:
|
124
124
|
- 0
|
125
|
-
hash:
|
125
|
+
hash: 3119910671482455644
|
126
126
|
requirements: []
|
127
127
|
rubyforge_project:
|
128
128
|
rubygems_version: 1.8.25
|