diff --git a/README.md b/README.md index fb0350c..27db4a4 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ are used when configuring [F5 BIG-IP](http://www.f5.com/products/big-ip/) devices. ## News +- 29th April 2016 - Version [1.0.9](https://github.com/landro/TesTcl/releases) released - 16th December 2015 - Version [1.0.8](https://github.com/landro/TesTcl/releases) released - 7th August 2015 - Version [1.0.7](https://github.com/landro/TesTcl/releases) released - 2nd September 2014 - Version [1.0.6](https://github.com/landro/TesTcl/releases) released @@ -41,7 +42,7 @@ rule simple { Now, create a file called *test_simple_irule.tcl* containing the following lines: ```tcl -package require -exact testcl 1.0.8 +package require -exact testcl 1.0.9 namespace import ::testcl::* # Comment in to enable logging @@ -119,7 +120,7 @@ You should get a success message. Download latest [TesTcl distribution](https://github.com/landro/TesTcl/releases) from github containing all the files (including examples) found in the project. Unzip, and add unzipped directory to the [TCLLIBPATH](http://jtcl.kenai.com/gettingstarted.html) environment variable: - export TCLLIBPATH=whereever/TesTcl-1.0.8 + export TCLLIBPATH=whereever/TesTcl-1.0.9 In order to run this example, type in the following at the command-line: @@ -199,7 +200,7 @@ NB! Be carefull with using _on_ commands in _before_. If there will be another d Using the _before_ command, *test_simple_irule.tcl* can be rewritten as: ```tcl -package require -exact testcl 1.0.8 +package require -exact testcl 1.0.9 namespace import ::testcl::* # Comment in to enable logging @@ -280,7 +281,7 @@ rule advanced { The specs for this iRule would look like this: ```tcl -package require -exact testcl 1.0.8 +package require -exact testcl 1.0.9 namespace import ::testcl::* # Comment out to suppress logging @@ -395,7 +396,7 @@ rule headers { The example specs for this iRule would look like this: ```tcl -package require -exact testcl 1.0.8 +package require -exact testcl 1.0.9 namespace import ::testcl::* # Comment out to suppress logging @@ -441,7 +442,7 @@ rule classes { with code that looks like this ```tcl -package require -exact testcl 1.0.8 +package require -exact testcl 1.0.9 namespace import testcl::* before { diff --git a/examples/errors/error_simple.tcl b/examples/errors/error_simple.tcl index 7ed92a1..3a88cdb 100644 --- a/examples/errors/error_simple.tcl +++ b/examples/errors/error_simple.tcl @@ -1,4 +1,4 @@ -package require -exact testcl 1.0.8 +package require -exact testcl 1.0.9 namespace import ::testcl::* ## diff --git a/examples/example_irule_advanced.tcl b/examples/example_irule_advanced.tcl index 55faad6..2d90d67 100644 --- a/examples/example_irule_advanced.tcl +++ b/examples/example_irule_advanced.tcl @@ -1,4 +1,4 @@ -package require -exact testcl 1.0.8 +package require -exact testcl 1.0.9 namespace import ::testcl::* ## diff --git a/examples/example_irule_call.tcl b/examples/example_irule_call.tcl index fb3e479..8265fbf 100644 --- a/examples/example_irule_call.tcl +++ b/examples/example_irule_call.tcl @@ -1,4 +1,4 @@ -package require -exact testcl 1.0.8 +package require -exact testcl 1.0.9 namespace import ::testcl::* # Comment in to enable logging diff --git a/examples/example_irule_classes.tcl b/examples/example_irule_classes.tcl index 7c6749a..ea3d583 100644 --- a/examples/example_irule_classes.tcl +++ b/examples/example_irule_classes.tcl @@ -1,4 +1,4 @@ -package require -exact testcl 1.0.8 +package require -exact testcl 1.0.9 namespace import ::testcl::* before { @@ -18,4 +18,4 @@ it "should drop blacklisted addresses" { on IP::remote_addr return "192.168.0.1" endstate pool main-pool run irules/classes_irule.tcl classes -} \ No newline at end of file +} diff --git a/examples/example_irule_headers.tcl b/examples/example_irule_headers.tcl index 27cb2c9..b07a414 100644 --- a/examples/example_irule_headers.tcl +++ b/examples/example_irule_headers.tcl @@ -1,4 +1,4 @@ -package require -exact testcl 1.0.8 +package require -exact testcl 1.0.9 namespace import ::testcl::* ## diff --git a/examples/example_irule_simple.tcl b/examples/example_irule_simple.tcl index d0dcfe1..db53e10 100644 --- a/examples/example_irule_simple.tcl +++ b/examples/example_irule_simple.tcl @@ -1,4 +1,4 @@ -package require -exact testcl 1.0.8 +package require -exact testcl 1.0.9 namespace import ::testcl::* ## diff --git a/irules/call_irule.tcl b/irules/call_irule.tcl index bd31f1d..05d588a 100644 --- a/irules/call_irule.tcl +++ b/irules/call_irule.tcl @@ -15,4 +15,4 @@ rule call { } -} \ No newline at end of file +} diff --git a/irules/classes_irule.tcl b/irules/classes_irule.tcl index 0720784..b749301 100644 --- a/irules/classes_irule.tcl +++ b/irules/classes_irule.tcl @@ -8,4 +8,4 @@ rule classes { } } -} \ No newline at end of file +} diff --git a/pkgIndex.tcl b/pkgIndex.tcl index f4a05cb..874b643 100644 --- a/pkgIndex.tcl +++ b/pkgIndex.tcl @@ -64,7 +64,7 @@ set sources {} foreach {f} $files { lappend sources [list source [file join $dir src $f]] } -package ifneeded testcl 1.0.8 [join $sources "\n"] +package ifneeded testcl 1.0.9 [join $sources "\n"] # Disable certain Tcl commands from iRules if { $::tcl_platform(platform) eq "java" } { diff --git a/scripts/release.md b/scripts/release.md index 5d756fd..e7a9a38 100644 --- a/scripts/release.md +++ b/scripts/release.md @@ -7,7 +7,7 @@ Mac OS X/Free BSD Tagging a new release and pushing to origin - git tag -a v1.0.8 -m 'Release 1.0.8' + git tag -a v1.0.9 -m 'Release 1.0.9' git push --tags Remove feature branches after merging diff --git a/src/assert.tcl b/src/assert.tcl index b526353..b8132cf 100644 --- a/src/assert.tcl +++ b/src/assert.tcl @@ -1,4 +1,4 @@ -package provide testcl 1.0.8 +package provide testcl 1.0.9 package require log namespace eval ::testcl { diff --git a/src/classes.tcl b/src/classes.tcl index 401a26e..b842726 100644 --- a/src/classes.tcl +++ b/src/classes.tcl @@ -1,4 +1,4 @@ -package provide testcl 1.0.8 +package provide testcl 1.0.9 package require log package require cmdline diff --git a/src/global.tcl b/src/global.tcl index 40bbca4..5eefd3a 100644 --- a/src/global.tcl +++ b/src/global.tcl @@ -1,4 +1,4 @@ -package provide testcl 1.0.8 +package provide testcl 1.0.9 package require log namespace eval ::testcl { diff --git a/src/ip.tcl b/src/ip.tcl index e60a8ae..a43a072 100644 --- a/src/ip.tcl +++ b/src/ip.tcl @@ -1,4 +1,4 @@ -package provide testcl 1.0.8 +package provide testcl 1.0.9 package require log package require ip diff --git a/src/irulehttp.tcl b/src/irulehttp.tcl index f99e0ad..90a7b3e 100644 --- a/src/irulehttp.tcl +++ b/src/irulehttp.tcl @@ -1,4 +1,4 @@ -package provide testcl 1.0.8 +package provide testcl 1.0.9 package require log package require base64 diff --git a/src/iruleuri.tcl b/src/iruleuri.tcl index 451c6c5..73b3637 100644 --- a/src/iruleuri.tcl +++ b/src/iruleuri.tcl @@ -1,4 +1,4 @@ -package provide testcl 1.0.8 +package provide testcl 1.0.9 package require log package require base64 diff --git a/src/it.tcl b/src/it.tcl index 8f843a8..a8ccf3d 100644 --- a/src/it.tcl +++ b/src/it.tcl @@ -1,4 +1,4 @@ -package provide testcl 1.0.8 +package provide testcl 1.0.9 package require log namespace eval ::testcl { diff --git a/src/on.tcl b/src/on.tcl index a5650b1..a3ddf7b 100644 --- a/src/on.tcl +++ b/src/on.tcl @@ -1,4 +1,4 @@ -package provide testcl 1.0.8 +package provide testcl 1.0.9 package require log namespace eval ::testcl { diff --git a/src/onirule.tcl b/src/onirule.tcl index af67315..6470718 100644 --- a/src/onirule.tcl +++ b/src/onirule.tcl @@ -1,4 +1,4 @@ -package provide testcl 1.0.8 +package provide testcl 1.0.9 package require log namespace eval ::testcl {