rservicebus 0.0.48 → 0.0.50

Sign up to get free protection for your applications and to get access to all the features.
data/bin/SendEmptyMessage CHANGED
@@ -10,7 +10,7 @@ def CreateAnonymousClass( name_for_class )
10
10
  end
11
11
 
12
12
 
13
- abort( "Usage: #{__FILE__} <Msg Name> <Queue Name> [Response Queue Name] [Beanstalk Host]" ) unless ARGV.length >=2 && ARGV.length <=4
13
+ abort( "Usage: #{File.basename($0)} <Msg Name> <Queue Name> [Response Queue Name] [Beanstalk Host]" ) unless ARGV.length >=2 && ARGV.length <=4
14
14
  msg_name = ARGV[0]
15
15
  queue_name = ARGV[1]
16
16
  response_queue_name = "#{queue_name}Response" if ARGV.length >= 3
@@ -5,9 +5,8 @@ module RServiceBus
5
5
 
6
6
  class Monitor_CsvPerLineDir<Monitor_Dir
7
7
 
8
-
9
8
  def checkPayloadForNumberOfColumns( payload )
10
- if @QueryStringParts.has_key?("cols") then
9
+ if !@QueryStringParts.nil? && @QueryStringParts.has_key?("cols") then
11
10
 
12
11
  cols = @QueryStringParts["cols"][0].to_i
13
12
  payload.each_with_index do |row, idx|
@@ -1,4 +1,3 @@
1
- require 'rubygems/package'
2
1
  require 'cgi'
3
2
  require 'zip/zip'
4
3
  require 'zlib'
@@ -71,11 +70,11 @@ module RServiceBus
71
70
  end
72
71
 
73
72
  def ReadContentFromTarFile( filePath )
73
+ raise "Not supported yet"
74
74
  content = ""
75
- Gem::Package::TarReader.new( filePath ).each do |entry|
76
- content = entry.read
77
- return content
78
- end
75
+ # Gem::Package::TarReader.new( filePath ).each do |entry|
76
+ # content = entry.read
77
+ return content
79
78
  end
80
79
 
81
80
  def ReadContentFromFile( filePath )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rservicebus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.48
4
+ version: 0.0.50
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-12 00:00:00.000000000 Z
12
+ date: 2013-03-21 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A Ruby interpretation of NServiceBus
15
15
  email: guy@guyirvine.com