- Enabled Travis-CI integration to automatically run rubocop. Fixed all baseline rubocop warnings.
- Added support for name_server (@hunner)
- Added support for ntp_server (@jonnytpuppet)
- Added support for ntp_config (@jonnytpuppet)
- Added git hooks to streamline certain processes:
- Validate commit message format for consistency
- Don't allow commit of code failing RuboCop
--lintchecks - If RuboCop is failing any check, warn on commit (but don't fail), and fail on push.
- Don't allow push without updating CHANGELOG.md
- Once git hooks are installed, automatically update them on pull/merge (if possible).
- If using git-flow:
git flow release startandgit flow hotfix startwill automatically updateCHANGELOG.mdandversion.rbfor the new release versiongit flow release finishwill automatically bump the version number for the develop branch.
- Minitest enhancements:
- Code coverage calculation using SimpleCov
- Full Minitest suite can be run by
rake test - UUT can be specified by the
NODEenvironment variable or at runtime, in addition to the classic method of command line arguments toruby test_my_file.rb - Added
configand(assert|refute)_show_matchhelper methods for testing.
- Added
bin/check_metric_limits.rbhelper script in support of refactoring.
- Fixed several bugs in
SnmpUser.(auth|priv)_password_equal? - Added missing steps to CONTRIBUTING.md and README-develop-node-utils-APIs.md
- Fixed a bug in
test_interface.rbthat was keeping it from properly exercising thenegotiate_autofunctionality. - Added a cache_flush call in
Platform.chassisto work around an infrequent issue.
- Doc change: Add git config comments
- Moved
platform_info.(rb|yaml)fromlib/totests/as it is test-only code. - Now requires Minitest ~> 5.0 instead of Minitest < 5.0.
- Dropped support for Ruby 1.9.3 as it is end-of-life.
- Removed
test_all_cisco.rbasrake testcan auto-discover all tests.
- Updated to fix broken documentation links.
- Improved logic in Vtp class to handle the presence or absence of 'feature vtp' and 'vtp domain' configuration.
- Fixed missing
default_timer_throttle_*APIs in RouterOspfVrf class. - Fixed idempotency and area update issues in interface_ospf class.
- Updated CliError class definition to make it easier to troubleshoot such errors when running Puppet modules that use this gem.
- Added dotted-decimal munging for the area getter in interface_ospf.
- Added n9000_sample*.rpm to /tests for use with minitests.
- Updated yum install method to include vrf, fixes minitest issue.
- Extended cisco_interface with the following attributes:
- encapsulation dot1q
- mtu
- switchport trunk allowed and native vlans
- vrf member
- Move misc READMEs into /docs
- First public release, corresponding to Early Field Trial (EFT) of Cisco NX-OS 7.0(3)I2(1).