panomosity 0.1.25 → 0.1.26
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/panomosity/pair.rb +2 -2
- data/lib/panomosity/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3563096b654b51eb403bbfb8df02d93e76ffd022c34b83959722979a75ab1ccd
|
|
4
|
+
data.tar.gz: f5dd4f89277ad4749a444aa34e436b79d277188d0ee27c269c3db5ca11cf0f64
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2d655b129aca801c982b9f240ecd69331de19026943530470f665c6fc13f6bed42478665cc3ba7fa106ecf0b5230870e377845230cc52ccfd0b9df37de0c916
|
|
7
|
+
data.tar.gz: b951e009ee77006653f0b6c5e5ad7eff7124e7c467401039a15f0f6f1f496f4480fb27574bbe85f0f7c24145f27a7a7ba2a1ebed87499b5361e231d8a846870e
|
data/Gemfile.lock
CHANGED
data/lib/panomosity/pair.rb
CHANGED
|
@@ -207,8 +207,8 @@ module Panomosity
|
|
|
207
207
|
# Keep all our control points if we have less than 10
|
|
208
208
|
if control_points.count >= 10
|
|
209
209
|
ratio = control_points_to_keep.count.to_f / control_points.count
|
|
210
|
-
if ratio < 0.
|
|
211
|
-
Panomosity.logger.warn "#{to_s} keeping less than
|
|
210
|
+
if ratio < 0.2
|
|
211
|
+
Panomosity.logger.warn "#{to_s} keeping less than 20% (#{(ratio*100).round(4)}%) of #{control_points.count} control points. Reverting and keeping all control points"
|
|
212
212
|
control_points
|
|
213
213
|
else
|
|
214
214
|
control_points_to_keep
|
data/lib/panomosity/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: panomosity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.26
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Oliver Garcia
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-11-
|
|
11
|
+
date: 2018-11-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|