summaryrefslogtreecommitdiff
path: root/queue/list/add.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2016-01-18 14:16:07 +0200
committerSteve Kemp <steve@steve.org.uk>2016-01-18 14:16:07 +0200
commitc6f2c6f924e6b263be5a3ba4a4eb7049f27544d3 (patch)
treee023f6bbef8a2ecf8829a0d0ab5214b902266bc7 /queue/list/add.rb
parentfbd4e3bf99afbc80012d6dc029be19e1bd8e6890 (diff)
Removed queue-examples.
These are no longer required now we're sure we understand the process of adding jobs to the queue without duplication.
Diffstat (limited to 'queue/list/add.rb')
-rwxr-xr-xqueue/list/add.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/queue/list/add.rb b/queue/list/add.rb
deleted file mode 100755
index a8676d9..0000000
--- a/queue/list/add.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/ruby
-#
-# Add the same three tests over and over again.
-#
-#
-require "redis"
-
-@redis = Redis.new(:host => "127.0.0.1")
-
-
-x = []
-
-x.push( "http://example.com/ must run http otherwise 'fail'" )
-x.push( "1.2.3.4 must run ping otherwise 'fail'" )
-x.push( "https://steve.net/ must run https otherwise 'fail'" )
-
-
-for i in 0 .. 10
- x.each do |test|
- @redis.lpush('list', test)
- end
-end