syspy 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/bin/syspy CHANGED
@@ -1,4 +1,5 @@
1
1
  require "rubygems"
2
+ require "syspy"
2
3
  require "time"
3
4
 
4
5
  module Syspy
@@ -1,6 +1,6 @@
1
1
  require "rubygems"
2
- require "lib/log"
3
- require "lib/tds_package_stream"
2
+ require "log"
3
+ require "tds_package_stream"
4
4
  require "time"
5
5
 
6
6
  module Syspy
@@ -1,4 +1,4 @@
1
- require "lib/bytes"
1
+ require "bytes"
2
2
 
3
3
  module Syspy
4
4
 
@@ -1,8 +1,8 @@
1
1
  require "stringio"
2
2
  require "thread"
3
3
 
4
- require "lib/tds_types"
5
- require "lib/tds_tokens"
4
+ require "tds_types"
5
+ require "tds_tokens"
6
6
 
7
7
  module Syspy
8
8
  class TdsPackageStream
@@ -1,4 +1,4 @@
1
- require "lib/tds_package"
1
+ require "tds_package"
2
2
 
3
3
  module Syspy
4
4
  class TdsLanguage < TdsPackage
@@ -1,3 +1,5 @@
1
+ require "tds_package"
2
+
1
3
  module Syspy
2
4
  class TdsParamfmt < TdsPackage
3
5
 
@@ -1,3 +1,5 @@
1
+ require "tds_package"
2
+
1
3
  module Syspy
2
4
  class TdsParamfmt2 < TdsPackage
3
5
 
@@ -1,3 +1,5 @@
1
+ require "tds_package"
2
+
1
3
  module Syspy
2
4
  class TdsParams < TdsPackage
3
5
 
@@ -73,8 +73,8 @@ module Syspy
73
73
  end
74
74
 
75
75
  class_file_name = name.downcase
76
- if(File.exist?("lib/tds_packages/#{class_file_name}.rb"))
77
- require "lib/tds_packages/#{class_file_name}"
76
+ if(File.exist?("tds_packages/#{class_file_name}.rb"))
77
+ require "tds_packages/#{class_file_name}"
78
78
  class_name = class_file_name.to_s.gsub(/\/(.?)/) { "::" + $1.upcase }.gsub(/(^|_)(.)/) { $2.upcase }
79
79
  cl = eval(class_name)
80
80
  STREAM_CLASSES[token] = cl
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syspy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matthias Balmer
@@ -40,7 +40,6 @@ extensions: []
40
40
  extra_rdoc_files: []
41
41
 
42
42
  files:
43
- - syspy.rb
44
43
  - lib/bytes.rb
45
44
  - lib/tds_types.rb
46
45
  - lib/tds_tokens.rb
@@ -50,6 +49,7 @@ files:
50
49
  - lib/tds_packages/tds_paramfmt.rb
51
50
  - lib/tds_packages/tds_language.rb
52
51
  - lib/log.rb
52
+ - lib/syspy.rb
53
53
  - lib/tds_package.rb
54
54
  - bin/syspy
55
55
  homepage: