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 +4 -4
- data/lib/phaserunner/main.rb +3 -3
- data/lib/phaserunner/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c3e55864e72ce79b450f75145786815a1fa052da
|
|
4
|
+
data.tar.gz: 643a185f0dfd0511cb53b258b8d92da8b92ccf85
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71a3038c8b51bcf6e169be87fcc2fc93412f7e0fa007c28a0f13ad61f55d3ca811140e7b92b9731beb8696523d217f75c6437579b9103ac8a843ce209819c4b3
|
|
7
|
+
data.tar.gz: 46e03f852e54287a140c836b866106f53b1a6d99e5e104a438a87db267e0beb32c183f5d51ba38fed452d9cee89c718a4f75bdb783c326eb42bdd2b9e6a2b0bb
|
data/lib/phaserunner/main.rb
CHANGED
|
@@ -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
|
-
@
|
|
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
|
-
@
|
|
114
|
+
@modbus = Modbus.new(global)
|
|
115
|
+
@dict = @modbus.dict
|
|
116
116
|
end
|
|
117
117
|
|
|
118
118
|
post do |global,command,options,args|
|
data/lib/phaserunner/version.rb
CHANGED