syspy 0.0.26 → 0.0.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/syspy +2 -2
  2. metadata +4 -4
data/bin/syspy CHANGED
@@ -27,7 +27,7 @@ module Syspy
27
27
  stream.each_package(){|package|
28
28
  if(package.instance_of?(TdsLanguage))
29
29
  statement = package.language_text
30
- replaced_statement = "#{statement}"
30
+ replaced_statement = statement.gsub("\r\n","\n").gsub("\n"," ").gsub("\t"," ").squeeze(" ").strip
31
31
 
32
32
  index = 0
33
33
  if(package.tds_params)
@@ -48,7 +48,7 @@ module Syspy
48
48
  index += 1
49
49
  }
50
50
  end
51
- Log.info("Replaced parameters: #{index}\n\n#{replaced_statement.gsub("\r\n","\n").gsub("\n"," ").gsub("\t"," ").squeeze(" ").strip}\n------------------------------------------------------")
51
+ Log.info("Replaced parameters: #{index}\n\n#{replaced_statement}\n------------------------------------------------------")
52
52
  end
53
53
  }
54
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syspy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.26
4
+ version: 0.0.27
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-15 00:00:00.000000000 Z
12
+ date: 2013-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bindata
16
- requirement: &12571760 !ruby/object:Gem::Requirement
16
+ requirement: &12103420 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *12571760
24
+ version_requirements: *12103420
25
25
  description: ! 'Captures TDS (Sybase / MSSQL) packages directly from a network interface.
26
26
 
27
27