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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db0edcee5ad6fc5e2a714b8eb8b1a8907d4ff614ac9fdf35358f267d8f27427d
4
- data.tar.gz: d1ec621e5695fb7dccdab388e4f794b6b7503e7af735f34038990bcb4eabed86
3
+ metadata.gz: 3563096b654b51eb403bbfb8df02d93e76ffd022c34b83959722979a75ab1ccd
4
+ data.tar.gz: f5dd4f89277ad4749a444aa34e436b79d277188d0ee27c269c3db5ca11cf0f64
5
5
  SHA512:
6
- metadata.gz: f746df4a521d3010033df747bdba989604031a7ed8d766b79cac3f857eeef2079c009335ec4466aa2802a7a2d9495ca40ea133ca3cd7b1b02eacb5e7f01914b3
7
- data.tar.gz: 536c5e50acdccaab90fce9838a1cd2ca506f15302ecfae802fa1c6f51ef60933e871f5ef8de3ef84b33c55902d52a5808e754dd28e069e21fff71cc09ae0b098
6
+ metadata.gz: d2d655b129aca801c982b9f240ecd69331de19026943530470f665c6fc13f6bed42478665cc3ba7fa106ecf0b5230870e377845230cc52ccfd0b9df37de0c916
7
+ data.tar.gz: b951e009ee77006653f0b6c5e5ad7eff7124e7c467401039a15f0f6f1f496f4480fb27574bbe85f0f7c24145f27a7a7ba2a1ebed87499b5361e231d8a846870e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- panomosity (0.1.24)
4
+ panomosity (0.1.25)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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.5
211
- Panomosity.logger.warn "#{to_s} keeping less than 50% (#{(ratio*100).round(4)}%) of #{control_points.count} control points. Reverting and keeping all control points"
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
@@ -1,3 +1,3 @@
1
1
  module Panomosity
2
- VERSION = '0.1.25'
2
+ VERSION = '0.1.26'
3
3
  end
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.25
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-15 00:00:00.000000000 Z
11
+ date: 2018-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler