gpsd_baud_rate 0.1.6 → 0.1.7

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
  SHA256:
3
- metadata.gz: 96a00a30d7ff931c648e4d127ae5f253f9bf328d376e96e6f32650082b306ba4
4
- data.tar.gz: 8549c6d82accb16822416fa8a57f4be95348e90a0c50ed894e3474ebe0e4bf15
3
+ metadata.gz: b782674c020c642a45c1e397f2fb736cd06c4e6655227d52b3c2390559a9876e
4
+ data.tar.gz: aa58039be7b360fd1531d4b7656347101da364be1c8afc9a043bff3b5a48a137
5
5
  SHA512:
6
- metadata.gz: 3bc5af12c004b9d533d006409977064bf0b888c6dd0d09cb57b92d7e3bb2f64a0f5debfcc9d52b227ce4a5a7a9b7beedb299cb7f859723993dc0344216a67cae
7
- data.tar.gz: 2947d2490fde65c8d28ec4cf2739dcd90a5965e671fb9cf4d1109e8becb50dcdef91646322f939802ddaab0a2480e06c645dbae4ab4b32e3e9830ca3cc1b7796
6
+ metadata.gz: 9935987dd7d1f01afb27bdf550dfb81bb1fa94fbc3bae6191d5c049ca0d236ed3f1e42b0169046fff215ae33130789ee5d8a68507c70502c43bd52b938b81acf
7
+ data.tar.gz: c4efa59dbfef40cf6b9b08ce214e7f02d4973966d6ef3ee0694dea13f444adf2224b722a6749a741a058cda85c9841ef3baeca72d41a4e3dcc908140bf8c0d1a
@@ -39,7 +39,7 @@ Gem::Specification.new do |spec|
39
39
  spec.add_development_dependency "bundler", "~> 1.17"
40
40
  spec.add_development_dependency "rake", "~> 10.0"
41
41
 
42
- spec.add_dependency 'serialport', '~> 1.3'
42
+ spec.add_dependency 'serialport', '>= 1.3.1'
43
43
 
44
44
  # spec.add_development_dependency "rspec", "~> 3.2"
45
45
  end
@@ -6,7 +6,7 @@ require 'logger'
6
6
  class GpsdBaudRate
7
7
  attr_reader :version
8
8
 
9
- @@version =GpsdBaudRate::VERSION
9
+ @@version = GpsdBaudRate::VERSION.to_s
10
10
 
11
11
  @@device = '/dev/ttyAMA0'
12
12
  @@service = 'gpsd.service'
@@ -17,13 +17,12 @@ class GpsdBaudRate
17
17
 
18
18
  def initialize goal_rate = @@baud_rates[0]
19
19
 
20
- @logger = new_logger path: "log/GpsdbaudRate.log", progname: "GpsdbaudRate", time_format: "'%Y-%m-%d %T.%N %z %Z'", level: Logger::DEBUG
20
+ @logger = new_logger path: "log/GpsdbaudRate.log", progname: "GpsdBaudRate", time_format: "'%Y-%m-%d %T.%N %z %Z'", level: Logger::DEBUG
21
21
  @logger.info "GpsdBaudRate Gem - Version: #{@@version}"
22
22
  # pid= %x|pgrep -f "ruby /home/deploy/bin/set_baud.rb"|
23
23
  # @logger.debug "Pid: #{pid}, $$: #{$$}, $BASHPID: #{$BASHPID}"
24
24
 
25
25
  @goal_rate = goal_rate.to_i
26
- @logger.debug "Hello from gpsd_baud_rate!"
27
26
  @logger.debug "Goal_rate: #{@goal_rate}"
28
27
 
29
28
 
@@ -1,3 +1,3 @@
1
1
  class GpsdBaudRate
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gpsd_baud_rate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Finnegan
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: serialport
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '1.3'
47
+ version: 1.3.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '1.3'
54
+ version: 1.3.1
55
55
  description:
56
56
  email:
57
57
  - steven@rustyshamrock.com