phaserunner 0.1.4 → 0.1.5

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
  SHA1:
3
- metadata.gz: 4fddea34efd702f9b67cd9da8cf89f807249be34
4
- data.tar.gz: bb0673fe4a4dbbde90ba3f23ba3b07cd5c930f5f
3
+ metadata.gz: c3e55864e72ce79b450f75145786815a1fa052da
4
+ data.tar.gz: 643a185f0dfd0511cb53b258b8d92da8b92ccf85
5
5
  SHA512:
6
- metadata.gz: a377522f5bad4658e8c56a9c2aa9d73d2566fc436b84660785b4449b4c05044e647c00876d85786cc237a1fc4b46b0fdc7a4b68cab78fec7cb69cbc47e783376
7
- data.tar.gz: e21da3d45023c40446a360380c477dc946af9703e13d350db66b5c7b6718b304d56e2218ae1faed586b8c502eaf91c89eac32b9b6e2bd362e4d9b54a9faf3b79
6
+ metadata.gz: 71a3038c8b51bcf6e169be87fcc2fc93412f7e0fa007c28a0f13ad61f55d3ca811140e7b92b9731beb8696523d217f75c6437579b9103ac8a843ce209819c4b3
7
+ data.tar.gz: 46e03f852e54287a140c836b866106f53b1a6d99e5e104a438a87db267e0beb32c183f5d51ba38fed452d9cee89c718a4f75bdb783c326eb42bdd2b9e6a2b0bb
@@ -104,15 +104,15 @@ module Phaserunner
104
104
  # chosen command
105
105
  # Use skips_pre before a command to skip this block
106
106
  # on that command only
107
- @modbus = Modbus.new(global)
108
- @dict = @modbus.dict
107
+ @quiet = global[:quiet]
109
108
  # Handle that loop_count can be :forever or an Integer
110
109
  @loop_count = if global[:loop_count] == :forever
111
110
  Float::INFINITY
112
111
  else
113
112
  global[:loop_count].to_i
114
113
  end
115
- @quiet = global[:quiet]
114
+ @modbus = Modbus.new(global)
115
+ @dict = @modbus.dict
116
116
  end
117
117
 
118
118
  post do |global,command,options,args|
@@ -1,3 +1,3 @@
1
1
  module Phaserunner
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phaserunner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert J. Berger