Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 96 lines (84 sloc) 5.948 kB
3359ab8 Added OS version look-up on connect, stored in @os_version, accessabl…
Aaron D. Gifford authored
1 2012-02-09 (09 FEB 2012) VERSION 4.0.1 Aaron D. Gifford (http://www.aarongifford.com)
2 * Added os_version to connections. Upon successful connect and login, the RouterOS
3 version is fetched and stored. This will allow future updates to better support
4 some commands that differ (like fetch) depending on which RouterOS version is
5 installed on the device.
6
80e9dc1 Typo fix (not JAN, but MAR)
Aaron D. Gifford authored
7 2011-03-25 (25 MAR 2011) VERSION 4.0.0 Aaron D. Gifford (http://www.aarongifford.com)
31e9476 New entry added.
Aaron D. Gifford authored
8 * Per user suggestion, added a new optional cancel parameter to the MTik#command()
9 method that will auto-cancel the supplied command after receiving the specified
10 number of '!re' reply sentences. This is usful for executing a command that otherwise
11 will not terminate, but will keep sending output perpetually if not canceled.
12 * Spelling changes: :cancelled updated to :canceled This means anyone who checked the
13 state of a request using :cancelled or 'cancelled' will need to update their code to
14 check for :canceled instead.
15 * Due to changing of spelling and adding a new parameter, I've bumped the major version
16 number to 4.x in case any users code might break. This in spite of the fact that
17 there are no major new features added.
18 * I found 2-3 tiny bugs left over from the past change of request state from string
19 to symbol and fixed those, updated error messages to reflect state as a symbol,
20 eliminated a few redundant key?() calls, and fixed a replycounter initialization
21 typo (had set it to 1 instead of 0).
3359ab8 Added OS version look-up on connect, stored in @os_version, accessabl…
Aaron D. Gifford authored
22
5cc863c Mostly cosmetic changes. See CHANGELOG.txt for details. Minor versi…
Aaron D. Gifford authored
23 2011-01-11 (11 JAN 2011) VERSION 3.1.2 Aaron D. Gifford (http://www.aarongifford.com)
24 * Added source file encoding comments and updated the copyright notices
25 * Fixed a tiny bug in lib/mtik/connection.rb
26 * Changed MTik::Request@state member in lib/mtik/request.rb to Symbol instead of String
27 * Moved tikfetch.rb, tikcli.rb, and tikcommand.rb from examples/ to bin/ and removed
28 the .rb suffix -- left tikjson.rb behind in examples/
29 * Renamed a few variables that, with warnings enabled, Ruby complained were overlapping
30 or hiding outer variables of the same name to avoid the warning.
31
32 2010-12-30 (30 DEC 2011) VERSION 3.1.1 Aaron D. Gifford (http://www.aarongifford.com)
33 * Changed the tikfetch.rb utility so it no longer requires a destination filename
34 by default--it will use the supplied URL's final path element as a filename. Also
35 updated the stats output a bit.
36
1be9558 Release 3.1.0
Aaron D. Gifford authored
37 2010-04-24 (24 APR 2010) VERSION 3.1.0 Aaron D. Gifford (http://www.aarongifford.com)
865b4c4 RDoc formatting and other changes, Rakefile task for RDoc, and a bit …
Aaron D. Gifford authored
38 * Added find_sentences() method to MTik::Reply -- just sugar to Array.select()
39 * Changed MTik::Connection.fetch() method to add an optional timeout parameter
40 which should not affect the API and should be backward compatible. By default,
41 there is no inactivity timeout for downloads. But if you set the timeout parameter
42 to a positive number, when a reply arrives and no progress/activity has been
31e9476 New entry added.
Aaron D. Gifford authored
43 made for timeout seconds, the command will be canceled. This should help with
865b4c4 RDoc formatting and other changes, Rakefile task for RDoc, and a bit …
Aaron D. Gifford authored
44 stalled downloads (i.e. the remote side has stopped sending but the TCP connection
45 remains open/active).
46 * Also add the MTik::Request object as a parameter to the MTik::Connection.fetch()
47 method's callback so that a script could use the request object to cancel the
48 command if needed. Due to this change, I decided to bump the version to 3.1.0.
49 * Fixed RDoc formatting in several files, and added an RDocTask to the Rakefile
50
2b845e8 Applied patch from Søren Daugaard and Allan Eising and added
Aaron D. Gifford authored
51 2010-04-23 (23 APR 2010) VERSION 3.0.5 Aaron D. Gifford (http://www.aarongifford.com)
52 * Double bug-fix (typo fix and logic fix) to request.rb thanks to Allan Eising and
53 Søren Daugaard. Thank you both for the patch!
54 * Added a brief sanity-check in request.rb to help spotlight logic errors.
55
cec0dca Updated to version 3.0.4
Charlie authored
56 2010-04-09 (09 APR 2010) VERSION 3.0.4 Aaron D. Gifford (http://www.aarongifford.com)
57 * Bug fix to lib/mtik.rb thanks to Allan Eising to the command validation regular
58 expression to permit the '-' character in a command. Thanks!
59
ec3a87a Committing versiion 3.0.3
Aaron D. Gifford authored
60 2010-03-11 (11 MAR 2010) VERSION 3.0.3 Aaron D. Gifford (http://www.aarongifford.com)
61 * Bug fix to lib/mtik.rb command() method so when executing multiple commands
62 response array order matches command array order.
63 * Cosmetic change for hex encoding with a little simplification, and one very small
64 readability change in lib/mtik/connection.rb
65
b2cf729 Commit for 3.0.2 gem release
Aaron D. Gifford authored
66 2010-02-05 (05 FEB 2010) VERSION 3.0.2 Aaron D. Gifford (http://www.aarongifford.com)
67 * Typo fixes to example tikfetch.rb
68 * Multi-command functionality added to interactive client and to tikcommand.rb example
69 * Removed kludge path stuff for author's broken FreeBSD Ruby 1.9.1 gem system
70 * Removed lame JSON-ifier from example and switched to require 'json' instead
71
72 2010-01-19 (19 JAN 2010) VERSION 3.0.1 Aaron D. Gifford (http://www.aarongifford.com/)
73 * Added support for '/tool/fetch' 'requesting' state
74 * Added auto-cancel of finished '/tool/fetch' command in MTik#command()
75 * Added MTik::Request#cancel() method
76 * Added MTik::Request#state() attr_reader (and new @state object property to replace
77 the @completed boolean property)
78 * MTik::Request objects now associate with the appropriate MTik::Connection object
79 upon MTik::Connection transmitting the request to a device (which facilities)
80 the MTik::Request@cancel() method
81 * Removed gem root directory mtik.rb file that was acting as a kludge for the author's
82 messed-up FreeBSD Ruby 1.9 installation
83 * Renamed examples with a 'tik' prefix
84
543fa3d Initial git repository commit (version 3.0.0)
Aaron D. Gifford authored
85 2010-01-15 (15 JAN 2010) VERSION 3.0.0 Aaron D. Gifford (http://www.aarongifford.com/)
86 * Bumped the version to 3.0.0 due to modularization and gemification changes
87 that break any software using the older Ruby API classes.
88 * Split out (as separate files) and added a few more examples:
89 cli.rb
90 command.rb
91 json.rb
92 fetch.rb
93 * Added VERSION.txt, CHANGELOG.txt, README.txt, LICENSE.txt, and *.gemspec files, moved
94 the example files into the bin subdirectory
3359ab8 Added OS version look-up on connect, stored in @os_version, accessabl…
Aaron D. Gifford authored
95
Something went wrong with that request. Please try again.