BBB 0.0.5 → 0.0.6

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.
@@ -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: