-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade all dependencies to their latest versions, fix Rubocop lints.
This brings lego-next into the 2018 with upgrade dependencies all around, fixed lints for Rubocop, and confirmed compatibility with Ruby 2.5+.
- Loading branch information
1 parent
da99264
commit 9b65c53
Showing
35 changed files
with
405 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
LineLength: | ||
Max: 120 | ||
|
||
MethodLength: | ||
Max: 100 | ||
|
||
Metrics/BlockLength: | ||
Exclude: | ||
- spec/**/*.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
script: "bundle exec rspec" | ||
rvm: | ||
- 1.9.3 | ||
- 2.0.0 | ||
- 2.5.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
# You should always make sure this gets called by putting it in an `ensure` | ||
# block. | ||
nxt.disconnect | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ | |
# You should always make sure this gets called by putting it in an `ensure` | ||
# block. | ||
nxt.disconnect | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
Gem::Specification.new do |spec| | ||
spec.name = 'lego-nxt' | ||
spec.version = '0.2.0' | ||
spec.extra_rdoc_files = ['README.md'] | ||
spec.summary = 'Ruby LEGO Mindstorms NXT 2.0 control via Bluetooth and USB.' | ||
spec.description = spec.summary + ' See http://github.com/nathankleyn/lego-nxt for more information.' | ||
spec.license = 'MIT' | ||
spec.author = 'Nathan Kleyn' | ||
spec.email = 'nathan@nathankleyn.com' | ||
spec.homepage = 'http://github.com/nathankleyn/lego-nxt' | ||
spec.files = %w(README.md Rakefile) + Dir.glob('{lib,spec}/**/*') | ||
spec.require_path = 'lib' | ||
Gem::Specification.new do |gem| | ||
gem.name = 'lego-nxt' | ||
gem.version = '0.2.0' | ||
gem.extra_rdoc_files = ['README.md'] | ||
gem.summary = 'Ruby LEGO Mindstorms NXT 2.0 control via Bluetooth and USB.' | ||
gem.description = gem.summary + ' See http://github.com/nathankleyn/lego-nxt for more information.' | ||
gem.license = 'MIT' | ||
gem.author = 'Nathan Kleyn' | ||
gem.email = 'nathan@nathankleyn.com' | ||
gem.homepage = 'http://github.com/nathankleyn/lego-nxt' | ||
gem.files = %w[README.md Rakefile] + Dir.glob('{lib,spec}/**/*') | ||
gem.require_path = 'lib' | ||
|
||
spec.add_dependency('activesupport', '~>3.2.13') | ||
spec.add_dependency('libusb', '~>0.3.4') | ||
spec.add_dependency('serialport', '~>1.1.0') | ||
spec.add_development_dependency('coveralls', '~>0.6.7') | ||
spec.add_development_dependency('redcarpet', '~>2.3.0') | ||
spec.add_development_dependency('rev', '~>0.3.2') | ||
spec.add_development_dependency('rspec', '~>2.13.0') | ||
spec.add_development_dependency('pry', '~>0.9.12.2') | ||
spec.add_development_dependency('watchr', '~>0.7.0') | ||
spec.add_development_dependency('yard', '~>0.8.6.1') | ||
gem.add_dependency 'activesupport', '~>5.2.1' | ||
gem.add_dependency 'libusb', '~>0.6.4' | ||
gem.add_dependency 'serialport', '~>1.3.1' | ||
gem.add_development_dependency 'coveralls', '~> 0.8.22' | ||
gem.add_development_dependency 'filewatcher', '~> 1.0.1' | ||
gem.add_development_dependency 'pry-byebug', '~> 3.6.0' | ||
gem.add_development_dependency 'redcarpet', '~> 3.4.0' | ||
gem.add_development_dependency 'rspec', '~> 3.8.0' | ||
gem.add_development_dependency 'rubocop', '~> 0.58.2' | ||
gem.add_development_dependency 'rubocop-rspec', '~> 1.29.0' | ||
gem.add_development_dependency 'yard', '~> 0.9.16' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.