BBB 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,8 @@ module BBB
5
5
  # Thanks to BoneScript, see the resources/pin_mappings.json.comment
6
6
  # for reference to the original BoneScript file.
7
7
  #
8
- MAP = JSONPinMapper.convert("resources/pin_mappings.json")
8
+ pin_mapping_file = File.expand_path("../../../../resources/pin_mappings.json", __FILE__)
9
+ MAP = JSONPinMapper.convert(pin_mapping_file)
9
10
 
10
11
  def self.map(pin_symbol, type=:gpio)
11
12
  begin
data/lib/BBB/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module BBB
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: BBB
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: