1212
1313** Accounts** - https://www.duosecurity.com/docs/accountsapi
1414
15- ## Tested Against Ruby Versions:
16- * 3.0
15+ # Compatibility
16+ While the gem should work for Ruby versions >= 2.5, tests and linting may only work properly on Ruby versions >= 3.0.
17+
18+ Tests are only run on currently supported Ruby versions.
19+
20+ ### Tested Against Ruby Versions:
1721* 3.1
1822* 3.2
23+ * 3.3
24+ * 3.4
1925
20- ## TLS 1.2 and 1.3 Support
26+ ### TLS 1.2 and 1.3 Support
2127
22- Duo_api_ruby uses the Ruby openssl extension for TLS operations.
28+ duo_api_ruby uses the Ruby openssl extension for TLS operations.
2329
24- All currently supported Ruby versions (2.7 and higher) support TLS 1.2 and 1.3.
30+ All Ruby versions compatible with this gem (2.5 and higher) support TLS 1.2 and 1.3.
2531
2632# Installing
2733
@@ -45,27 +51,31 @@ gem 'duo_api', '~> 1.0'
4551```
4652
4753# Using
48-
49- TODO
54+ - Examples of doing things [ the hard way] ( /examples/the_hard_way.md )
55+ - Examples of doing things [ the less hard way] ( /examples/the_less_hard_way.md )
56+ - Examples of doing things [ the simple way] ( /examples/the_simple_way.md )
5057
5158# Testing
52-
59+ ###### (Testing and Linting can be done simultaneously by running ` rake ` without specifying a task)
5360```
54- $ rake
61+ $ rake test
5562Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader
5663Started
57- ........
58-
59- Finished in 0.002024715 seconds.
60- --------------------------------------------------------------------------------------------------------
61- 8 tests, 10 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
64+ Finished in 0.123992 seconds.
65+ ----------------------------------------------------------------------------------------------------------------------------
66+ 368 tests, 1098 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
6267100% passed
63- --------------------------------------------------------------------------------------------------------
64- 3951.17 tests/s, 4938.97 assertions/s
68+ ----------------------------------------------------------------------------------------------------------------------------
69+ 2967.93 tests/s, 8855.41 assertions/s
6570```
6671
6772# Linting
68-
73+ ###### (Testing and Linting can be done simultaneously by running ` rake ` without specifying a task)
6974```
70- $ rubocop
75+ $ rake rubocop
76+ Running RuboCop...
77+ Inspecting 15 files
78+ ...............
79+
80+ 15 files inspected, no offenses detected
7181```
0 commit comments