panomosity 0.1.33 → 0.1.34

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: dc51adbd45db0cbb937f28da56b8a589f633d0ce9cccccf885281536f6e24c9e
4
- data.tar.gz: 651e257e87f066cd469c7cd1810dde92ed8674a3c68cec8210c59d009f59f38f
3
+ metadata.gz: 9c4ca26ec8aea2aab2814eadc973bd9823fa4f68d1e758b1ffc4aea748716b6a
4
+ data.tar.gz: fe80a8e94d0ceb930ef654a7c5e20284880b06ca62c9851aa499f34c490979c7
5
5
  SHA512:
6
- metadata.gz: fbda70377b5cf21a0f7c0b4cafadc18d6851143e5cafa7872f1332f126368df9b5182a11bfa0f8c00bed9572706b1cd5aa64a046e064ad29a354c34b5311a7b6
7
- data.tar.gz: 294e882e7e3ee22a34e41c23db1c72091ad19467254e64ef85be40251f5bafa33b0c00415293f573ed18863eae4f6eb22ed83d3d54698793aa626f5e397e1078
6
+ metadata.gz: ed7748db818e144a39740f03396d6afdab885359c0b95eb773048f7ea76912bb2c92de61f57b0dcc4efe6cc9b33344aa2bc9c08d542358e35e627608fb8691bd
7
+ data.tar.gz: 3f18437d67ae7b651e8bfef77cdfb99ce8733b810c3d2fc11591bfd95bf542781a25fa1e9674f2b59ec20b661f95dcd6933c9125725dc1592401c03b825cdd72
@@ -73,7 +73,7 @@ module Panomosity
73
73
  optimizer = Optimizer.new(panorama)
74
74
  calibration_report = JSON.parse(@report_file)
75
75
 
76
- if calibration_report.fetch('position')
76
+ if calibration_report.fetch('position', nil)
77
77
  logger.info 'calibration_report.json included position, applying position values'
78
78
  optimizer.run_position_optimizer(xh_avg: calibration_report['position']['xh_avg'],
79
79
  yh_avg: calibration_report['position']['yh_avg'],
@@ -81,7 +81,7 @@ module Panomosity
81
81
  yv_avg: calibration_report['position']['yv_avg'])
82
82
  end
83
83
 
84
- if calibration_report.fetch('roll')
84
+ if calibration_report.fetch('roll', nil)
85
85
  logger.info 'calibration_report.json included roll, applying roll values'
86
86
  optimizer.run_roll_optimizer(apply_roll: calibration_report.fetch('roll'))
87
87
  end
@@ -1,3 +1,3 @@
1
1
  module Panomosity
2
- VERSION = '0.1.33'
2
+ VERSION = '0.1.34'
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.33
4
+ version: 0.1.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Garcia
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-26 00:00:00.000000000 Z
11
+ date: 2019-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler