birdbrain 0.9.6 → 0.9.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c19db414d18dc4c867da7c20996eac4776988a6d2cec9f647b0421331f497533
4
- data.tar.gz: b1a327063e601aa60b6d52d14ac9839763a77605e8a8b026e73e413864247293
3
+ metadata.gz: 356a087f6a2441be860d8b5568b3df845b53bb917a1479dbfa594deacd5d2e7c
4
+ data.tar.gz: f3faa96b3a8180f01852e7cb7730c2633d34969ca26e69b095c6ea84fa1e4b29
5
5
  SHA512:
6
- metadata.gz: caf7ad0fd88ed312cef45ad0c57e5cf2dd1fa475a5fcb9af17c4ff548b6f56107333202246509cfdcd8658128566a433c8bd38333aaca81b1835be89b120b040
7
- data.tar.gz: a7da2556c64c151423cc04fa108a3d6fc9cb5dc72aef2998c86c04bb94f0cb595c4b97132bd5ef491bf3b2c71763e8e0bc3f1116811acc2b8b28e3a780365041
6
+ metadata.gz: 2706627b9645b0cc89e28122e6f08e59e0b2352f68343d030bb6c915709a7b78c42c19929e040c7193e6b63ac014f9c343ed44727bb9a448e6c6b707e6522e8c
7
+ data.tar.gz: 0cf7a1838354c72d3b96107aa2b3e1d8582aa45d32c9481263a61ba5f7012770d9f94c257317252406c744ff93d87430f2bae7a102e1a2833aeedb330674e28a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- birdbrain (0.1.1)
4
+ birdbrain (0.9.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -36,6 +36,7 @@ GEM
36
36
 
37
37
  PLATFORMS
38
38
  x86_64-darwin-19
39
+ x86_64-darwin-23
39
40
 
40
41
  DEPENDENCIES
41
42
  birdbrain!
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # Birdbrain-Ruby-Library
1
+ # robot-ruby-birdbrain
2
2
 
3
3
  Ruby Library for the BirdBrainTechnologies Hummingbird Bit and Finch 2
4
4
 
5
5
  This Ruby library allows students to use Ruby to read sensors and set motors and LEDs with the Hummingbird Bit. To use Ruby with the Hummingbird Bit, you must connect to the Hummingbird Bit via bluetooth with the BlueBird Connector.
6
6
 
7
- For more information about setting up the BlueBird Connector used with their Python library, see www.birdbraintechnologies.com/hummingbirdbit/python
7
+ For more information about setting up the BlueBird Connector used with their Python library, see https://learn.birdbraintechnologies.com/hummingbirdbit/python/?portal=1
8
8
 
9
- RubyDoc files are available at https://rubydoc.info/github/fmorton/BirdBrain-Ruby-Library
9
+ RubyDoc files are available at https://rubydoc.info/github/fmorton/robot-ruby-library
10
10
 
11
11
  ## Installation
12
12
 
@@ -81,7 +81,7 @@ sleep(1)
81
81
  finch.disconnect
82
82
  ```
83
83
 
84
- RubyDoc files are available at https://rubydoc.info/github/fmorton/BirdBrain-Ruby-Library
84
+ RubyDoc files are available at https://rubydoc.info/github/fmorton/robot-ruby-library
85
85
 
86
86
  ## Development
87
87
 
@@ -91,7 +91,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
91
91
 
92
92
  ## Contributing
93
93
 
94
- Bug reports and pull requests are welcome on GitHub at https://github.com/fmorton/BirdBrain-Ruby-Library.
94
+ Bug reports and pull requests are welcome on GitHub at https://github.com/fmorton/robot-ruby-library.
95
95
 
96
96
  ## License
97
97
 
data/birdbrain.gemspec CHANGED
@@ -10,15 +10,15 @@ Gem::Specification.new do |spec|
10
10
  spec.description = 'This Ruby library allows students to use Ruby to read sensors and set motors and LEDs with the '\
11
11
  'Birdbrain Technologies Hummingbird Bit and Finch 2. To use Ruby with the Hummingbird Bit or '\
12
12
  'Finch 2, you must connect via bluetooth with the BlueBird Connector.'
13
- spec.homepage = 'https://github.com/fmorton/BirdBrain-Ruby-Library'
13
+ spec.homepage = 'https://github.com/fmorton/robot-ruby-library'
14
14
  spec.license = 'MIT'
15
15
  spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
16
16
 
17
17
  spec.metadata['allowed_push_host'] = 'https://rubygems.org'
18
18
 
19
19
  spec.metadata['homepage_uri'] = spec.homepage
20
- spec.metadata['source_code_uri'] = 'https://github.com/fmorton/BirdBrain-Ruby-Library'
21
- spec.metadata['changelog_uri'] = 'https://github.com/fmorton/BirdBrain-Ruby-Library/CHANGELOG.md'
20
+ spec.metadata['source_code_uri'] = 'https://github.com/fmorton/robot-ruby-library'
21
+ spec.metadata['changelog_uri'] = 'https://github.com/fmorton/robot-ruby-library/CHANGELOG.md'
22
22
 
23
23
  # Specify which files should be added to the gem when it is released.
24
24
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -90,8 +90,8 @@ class BirdbrainRequest
90
90
  [x.send(type_method), y.send(type_method), z.send(type_method)]
91
91
  end
92
92
 
93
- def self.calculate_angle(intensity)
94
- intensity * 255 / 180
93
+ def self.calculate_angle(angle)
94
+ angle * 255 / 180
95
95
  end
96
96
 
97
97
  def self.calculate_intensity(intensity)
@@ -4,5 +4,5 @@
4
4
  # frozen_string_literal: true
5
5
 
6
6
  module Birdbrain
7
- VERSION = '0.9.6'
7
+ VERSION = '0.9.7'
8
8
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: birdbrain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - fmorton
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2021-02-16 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: This Ruby library allows students to use Ruby to read sensors and set
14
13
  motors and LEDs with the Birdbrain Technologies Hummingbird Bit and Finch 2. To
@@ -46,15 +45,14 @@ files:
46
45
  - lib/birdbrain/birdbrain_request.rb
47
46
  - lib/birdbrain/birdbrain_state.rb
48
47
  - lib/birdbrain/version.rb
49
- homepage: https://github.com/fmorton/BirdBrain-Ruby-Library
48
+ homepage: https://github.com/fmorton/robot-ruby-library
50
49
  licenses:
51
50
  - MIT
52
51
  metadata:
53
52
  allowed_push_host: https://rubygems.org
54
- homepage_uri: https://github.com/fmorton/BirdBrain-Ruby-Library
55
- source_code_uri: https://github.com/fmorton/BirdBrain-Ruby-Library
56
- changelog_uri: https://github.com/fmorton/BirdBrain-Ruby-Library/CHANGELOG.md
57
- post_install_message:
53
+ homepage_uri: https://github.com/fmorton/robot-ruby-library
54
+ source_code_uri: https://github.com/fmorton/robot-ruby-library
55
+ changelog_uri: https://github.com/fmorton/robot-ruby-library/CHANGELOG.md
58
56
  rdoc_options: []
59
57
  require_paths:
60
58
  - lib
@@ -69,8 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
67
  - !ruby/object:Gem::Version
70
68
  version: '0'
71
69
  requirements: []
72
- rubygems_version: 3.2.5
73
- signing_key:
70
+ rubygems_version: 4.0.3
74
71
  specification_version: 4
75
72
  summary: Ruby Library for BirdBrain Technologies Hummingbird Bit and Finch 2
76
73
  test_files: []