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 +1 -0
- data/{syspy.rb → lib/syspy.rb} +2 -2
- data/lib/tds_package.rb +1 -1
- data/lib/tds_package_stream.rb +2 -2
- data/lib/tds_packages/tds_language.rb +1 -1
- data/lib/tds_packages/tds_paramfmt.rb +2 -0
- data/lib/tds_packages/tds_paramfmt2.rb +2 -0
- data/lib/tds_packages/tds_params.rb +2 -0
- data/lib/tds_tokens.rb +2 -2
- metadata +4 -4
data/bin/syspy
CHANGED
data/{syspy.rb → lib/syspy.rb}
RENAMED
data/lib/tds_package.rb
CHANGED
data/lib/tds_package_stream.rb
CHANGED
data/lib/tds_tokens.rb
CHANGED
@@ -73,8 +73,8 @@ module Syspy
|
|
73
73
|
end
|
74
74
|
|
75
75
|
class_file_name = name.downcase
|
76
|
-
if(File.exist?("
|
77
|
-
require "
|
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:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
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:
|