Skip to content

Commit

Permalink
Preparing 1.0.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Magnus Landrø authored and Stefan Magnus Landrø committed Dec 7, 2013
1 parent 11307f5 commit f8f826a
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Let's say you want to test the following simple iRule found in *simple_irule.tcl

Now, create a file called *test_simple_irule.tcl* containing the following lines:

package require -exact testcl 1.0.2
package require -exact testcl 1.0.3
namespace import ::testcl::*

# Comment in to enable logging
Expand Down Expand Up @@ -96,7 +96,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.2
export TCLLIBPATH=whereever/TesTcl-1.0.3

In order to run this example, type in the following at the command-line:

Expand Down Expand Up @@ -162,7 +162,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:

package require -exact testcl 1.0.2
package require -exact testcl 1.0.3
namespace import ::testcl::*

# Comment in to enable logging
Expand Down Expand Up @@ -239,7 +239,7 @@ Let's have a look at a more advanced iRule (advanced_irule.tcl):

The specs for this iRule would look like this:

package require -exact testcl 1.0.2
package require -exact testcl 1.0.3
namespace import ::testcl::*

# Comment out to suppress logging
Expand Down Expand Up @@ -351,7 +351,7 @@ Let's have a look at a another iRule (headers_irule.tcl):

The example specs for this iRule would look like this:

package require -exact testcl 1.0.2
package require -exact testcl 1.0.3
namespace import ::testcl::*

# Comment out to suppress logging
Expand Down
2 changes: 1 addition & 1 deletion examples/example_irule_advanced.tcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package require -exact testcl 1.0.2
package require -exact testcl 1.0.3
namespace import ::testcl::*

##
Expand Down
2 changes: 1 addition & 1 deletion examples/example_irule_headers.tcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package require -exact testcl 1.0.2
package require -exact testcl 1.0.3
namespace import ::testcl::*

##
Expand Down
2 changes: 1 addition & 1 deletion examples/example_irule_simple.tcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package require -exact testcl 1.0.2
package require -exact testcl 1.0.3
namespace import ::testcl::*

##
Expand Down
2 changes: 1 addition & 1 deletion pkgIndex.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if { $::tcl_platform(platform) eq "java" } {
puts stderr "WARNING"
}

package ifneeded testcl 1.0.2 [list source [file join $dir src/assert.tcl]]\n[list source [file join $dir src/it.tcl]]\n[list source [file join $dir src/on.tcl]]\n[list source [file join $dir src/onirule.tcl]]\n[list source [file join $dir src/irulehttp.tcl]]
package ifneeded testcl 1.0.3 [list source [file join $dir src/assert.tcl]]\n[list source [file join $dir src/it.tcl]]\n[list source [file join $dir src/on.tcl]]\n[list source [file join $dir src/onirule.tcl]]\n[list source [file join $dir src/irulehttp.tcl]]

# Disable certain Tcl commands from iRules
if { $::tcl_platform(platform) eq "java" } {
Expand Down
2 changes: 1 addition & 1 deletion src/assert.tcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package provide testcl 1.0.2
package provide testcl 1.0.3
package require log

namespace eval ::testcl {
Expand Down
2 changes: 1 addition & 1 deletion src/irulehttp.tcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package provide testcl 1.0.2
package provide testcl 1.0.3
package require log

package require base64
Expand Down
2 changes: 1 addition & 1 deletion src/it.tcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package provide testcl 1.0.2
package provide testcl 1.0.3
package require log

namespace eval ::testcl {
Expand Down
2 changes: 1 addition & 1 deletion src/on.tcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package provide testcl 1.0.2
package provide testcl 1.0.3
package require log

namespace eval ::testcl {
Expand Down
2 changes: 1 addition & 1 deletion src/onirule.tcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package provide testcl 1.0.2
package provide testcl 1.0.3
package require log

namespace eval ::testcl {
Expand Down
2 changes: 1 addition & 1 deletion verification/test_jtcl_irule_all.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ if {"abcdefg" matches_regex "a.cde.*"} { puts "matches_regex works as expected"
if {"abcdefg" equals "abcdefg"} { puts "equals works as expected" }
if { 1 and 1 } { puts "and works as expected" }
if { 1 or 0 } { puts "or works as expected" }
if { not false } { puts "not works as expected" }
if { not false } { puts "not works as expected" }

0 comments on commit f8f826a

Please sign in to comment.