farmbot-serial 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f70c1d389944aaf66a8f619de9b56b0c4810ac5
4
- data.tar.gz: b2a4a401415b351b5c0fa0a2b6ed0f3a5f45d93f
3
+ metadata.gz: 4f03cbb43d92cc8ca47bed51d5973dd8b9df2c62
4
+ data.tar.gz: bf21efaa7da97549064830d066a241cca4276224
5
5
  SHA512:
6
- metadata.gz: 67fe520ab93bd13b4deac3609b9ba9b5b5939e2ef8c0f3c38b6b5ec4b9bf721519067c868981e23f600bba307ee94d35f1c303665a1cda3c023a28e3c771405f
7
- data.tar.gz: 543109b2e6d97f0fdade6e8935ccb422315e8d8adec7a681aa17423fdb21584f88859f83bc1af94f96eac4c62f158b42413774f92762add8dffb1f3bda699f16
6
+ metadata.gz: c56c1392cb0b02d10a725f8e182fb4840d06b8fe8968be3aa9d73c4f7afdb114a6595f98051323026ad8c594ce1b2c52ad946c666abc8656feb61504825072e1
7
+ data.tar.gz: 43b13c2e162e3c879dfd79365ce56797a28c02ad8aeb84604979d46a58558c2b358dd2a05ad73f08f3cbf882e54b111300c4c415f1b58eedaf6ce428bfdc5cde
@@ -22,7 +22,7 @@ module FB
22
22
 
23
23
  # Called when the Ardunio is reporting the status of a parameter.
24
24
  def report_parameter_value(gcode)
25
- bot.status.set(gcode.value_of(:P), gcode.value_of(:V))
25
+ bot.status.set_parameter(gcode.value_of(:P), gcode.value_of(:V))
26
26
  end
27
27
 
28
28
  def report_pin_value(gcode)
@@ -52,7 +52,7 @@ module FB
52
52
  transaction { |info| info.PINS[num] = val }
53
53
  end
54
54
 
55
- def set(key, val)
55
+ def set_parameter(key, val)
56
56
  transaction do |info|
57
57
  info[Gcode::PARAMETER_DICTIONARY.fetch(key, "PIN_#{key}".to_sym)] = val
58
58
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: farmbot-serial
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Evers
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-07 00:00:00.000000000 Z
12
+ date: 2015-08-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler