rwdruby 1.06 → 1.07
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/code/superant.com.rwdshell/0uninstallapplet.rb +1 -1
- data/configuration/language.dist +2 -2
- data/configuration/rwdapplicationidentity.dist +1 -1
- data/configuration/rwdtinker.dist +4 -7
- data/configuration/{rwdwruby-1.06.dist → rwdwruby-1.07.dist} +12 -12
- data/configuration/tinkerwin2variables.dist +8 -7
- data/gui/tinkerbackwindows/superant.com.ashellscripts/2arubyeval.rwd +17 -0
- data/installed/{rwdwruby-1.06.inf → rwdwruby-1.07.inf} +2 -2
- data/lib/rconftool.rb +13 -6
- data/lib/rwd/net.rb +10 -0
- data/lib/rwd/ruby.rb +1 -1
- data/lib/rwd/rwd.rb +63 -46
- data/rwd_files/HowTo_Ruby.txt +7 -2
- data/rwd_files/HowTo_Tinker.txt +7 -0
- data/rwdconfig.dist +14 -13
- data/tests/makedist-rwdwruby.rb +5 -3
- data/tests/makedist.rb +1 -1
- data/zips/{rwdwaddresses-1.05.zip → rwdwaddresses-1.06.zip} +0 -0
- data/zips/rwdwcalc-0.62.zip +0 -0
- data/zips/rwdwfoldeditor-0.04.zip +0 -0
- data/zips/rwdwruby-1.07.zip +0 -0
- metadata +9 -8
- data/zips/rwdwcalc-0.61.zip +0 -0
- data/zips/rwdwfoldeditor-0.03.zip +0 -0
- data/zips/rwdwruby-1.06.zip +0 -0
data/configuration/language.dist
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
##VERSION:1.
|
|
1
|
+
##VERSION: (1.79)
|
|
2
2
|
ConfigurationDir = "configuration" # for use in program - init.rb has this value without using this constant
|
|
3
3
|
CodeName = "rwdtinker"
|
|
4
4
|
CodeNameFile = CodeName + ".rb"
|
|
@@ -7,12 +7,9 @@ LangDir = "lang"
|
|
|
7
7
|
CodeDir = "code"
|
|
8
8
|
GuiDir = "gui"
|
|
9
9
|
$help_topic = "general_help"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
$rwdcontrolports =["13713","13714","13715","13716","13717","13718"] # remote control code not actived 2007
|
|
10
|
+
$prevouswindow ="main"
|
|
11
|
+
$rwdcontrolports =["13713","13714","13715","13716"] # remote control code not actived 2007
|
|
13
12
|
$port = 7705
|
|
14
|
-
$rwdjumplink = ["helpscreen","tinkerbackwindow","returntomain","opendocuments","editconfiguration"]
|
|
15
13
|
Browser_Exe = 'mozilla '
|
|
16
|
-
|
|
17
|
-
RwdTinkerVersion = "1.77"
|
|
14
|
+
RwdTinkerVersion = "1.79"
|
|
18
15
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
##VERSION:1.
|
|
2
|
-
##NAME
|
|
1
|
+
##VERSION: (1.07)
|
|
2
|
+
##NAME: ($shellscript_directory):(1.06)
|
|
3
3
|
$shellscript_directory = "scripts"
|
|
4
4
|
AcpiCommand = "acpi"
|
|
5
5
|
DateCommand = 'date +"Date is %D %n%t %t Time is %T"'
|
|
@@ -11,14 +11,14 @@ ApacheAccesslogCommand = "tail /var/log/apache/access.log"
|
|
|
11
11
|
ApacheAccesslogDelay = 5
|
|
12
12
|
ApacheErrorlogCommand = "tail /var/log/apache/error.log"
|
|
13
13
|
ApacheErrorlogDelay = 5
|
|
14
|
-
##NAME
|
|
15
|
-
$testharnessarray
|
|
16
|
-
##NAME
|
|
17
|
-
$tinkerhelpaboutarray
|
|
18
|
-
##NAME
|
|
19
|
-
$tinkerdocumentsarray
|
|
14
|
+
##NAME: ($testharnessarray):(1.06)
|
|
15
|
+
$testharnessarray << "rwdruby_all_tests"
|
|
16
|
+
##NAME: ($tinkerhelpaboutarray):(1.06)
|
|
17
|
+
$tinkerhelpaboutarray << "RwdRuby"
|
|
18
|
+
##NAME: ($tinkerdocumentsarray):(1.06)
|
|
19
|
+
$tinkerdocumentsarray << "HowTo_Ruby.txt"
|
|
20
20
|
JumpLink.update(:RwdRubyBackWindow=>"runrwdrubybackwindow", :RunRuby=>"runrwdrubywindow", :RefreshAcpi=>"runrefreshacpiwindow")
|
|
21
|
-
##NAME
|
|
22
|
-
$rwdjumplink
|
|
23
|
-
##NAME:RwdRubyVersion:
|
|
24
|
-
RwdRubyVersion = "1.
|
|
21
|
+
##NAME: ($rwdjumplink):(1.06)
|
|
22
|
+
$rwdjumplink << "RwdRubyBackWindow" << "RunRuby" << "RefreshAcpi"
|
|
23
|
+
##NAME: (RwdRubyVersion):(1.06)
|
|
24
|
+
RwdRubyVersion = "1.07"
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
##VERSION:1.
|
|
1
|
+
##VERSION: (1.79)
|
|
2
2
|
TinkerWin2ConfigurationFileName = "tinkerwin2variables.cnf" # this file name - do not change
|
|
3
|
-
##NAME
|
|
3
|
+
##NAME: ($zipslocation):(1.78)
|
|
4
4
|
$zipslocation = "zips" # location of applets to add
|
|
5
|
-
$zipsarray = [""]
|
|
6
|
-
|
|
5
|
+
$zipsarray = [""]
|
|
6
|
+
$zipsarraylocal = [""]
|
|
7
|
+
##NAME: ($xpcommand):(1.78)
|
|
7
8
|
$xpcommand = " " # Linux machines
|
|
8
9
|
# $xpcommand = "cmd /C " # XP machines with cmd shell
|
|
9
|
-
##NAME
|
|
10
|
+
##NAME: ($gemdirectory_withgemfiles):(1.78)
|
|
10
11
|
$gemdirectory_withgemfiles = "/var/lib/gems/1.8/gems"
|
|
11
12
|
# $gemdirectory_withgemfiles = "c:\\ruby\\lib\\ruby\\gems\\1.8\\gems" # XP machine
|
|
12
|
-
##NAME
|
|
13
|
+
##NAME: ($geminstalled_directory):(1.78)
|
|
13
14
|
# $geminstalled_directory = "/ruby/lib/ruby/gems/1.8/gems" # XP machine
|
|
14
15
|
$geminstalled_directory = "/var/lib/gems/1.8/gems" # Debian Linux
|
|
15
16
|
|
|
16
|
-
RwdTinkerWin2Version = "
|
|
17
|
+
RwdTinkerWin2Version = "1.79"
|
|
17
18
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<tab name=\"rwdlinesruby\" caption=\"ruby lines\">
|
|
4
|
+
<table>
|
|
5
|
+
|
|
6
|
+
</table>
|
|
7
|
+
<horizontal>
|
|
8
|
+
<button caption=\"Execute\" action=\"rubyeval\"/>
|
|
9
|
+
<button caption=\"Cancel\" action=\"main\"/>
|
|
10
|
+
<button caption=\"Help\" action=\"runhelpwindowrwdshell\"/>
|
|
11
|
+
</horizontal>
|
|
12
|
+
<row>
|
|
13
|
+
<textarea name=\"a_rubyeval\"/> </row>
|
|
14
|
+
<p>%rubydisplay%</p>
|
|
15
|
+
|
|
16
|
+
</tab>"
|
|
17
|
+
|
data/lib/rconftool.rb
CHANGED
|
@@ -121,13 +121,17 @@ module Rconftool
|
|
|
121
121
|
next
|
|
122
122
|
end
|
|
123
123
|
if old_setting.version == src_setting.version
|
|
124
|
+
if $DEBUG
|
|
125
|
+
$stderr.puts "old setting: #{old_setting.version}"
|
|
126
|
+
$stderr.puts "src setting: #{src_setting.version}"
|
|
127
|
+
end
|
|
124
128
|
debug << " #{name}: unchanged\n"
|
|
125
|
-
|
|
129
|
+
src_setting.add_comment("\n DEFAULT SETTING from #{distfile}:\n")
|
|
126
130
|
src_setting.add_comment(src_setting.content)
|
|
127
131
|
src_setting.content = old_setting.content
|
|
128
132
|
next
|
|
129
133
|
end
|
|
130
|
-
|
|
134
|
+
# Otherwise, must install updated setting and comment out
|
|
131
135
|
# the current setting for reference
|
|
132
136
|
debug << " #{name}: UPDATED\n"
|
|
133
137
|
src_setting.add_comment("\n Previous setting (inserted by rconftool):\n\n")
|
|
@@ -215,9 +219,10 @@ module Rconftool
|
|
|
215
219
|
20.times do
|
|
216
220
|
line = f.gets
|
|
217
221
|
break unless line
|
|
218
|
-
|
|
222
|
+
linetmp = line.chop + "\r\n"
|
|
223
|
+
curr_setting << linetmp
|
|
219
224
|
if line =~ /\A##VERSION:/
|
|
220
|
-
@version = line
|
|
225
|
+
@version = line.chop
|
|
221
226
|
break
|
|
222
227
|
end
|
|
223
228
|
end
|
|
@@ -225,7 +230,8 @@ module Rconftool
|
|
|
225
230
|
|
|
226
231
|
while line = f.gets
|
|
227
232
|
unless line =~ /\A##NAME:(.*):(.*)/
|
|
228
|
-
|
|
233
|
+
linetmp = line.chop + "\r\n"
|
|
234
|
+
curr_setting << linetmp
|
|
229
235
|
next
|
|
230
236
|
end
|
|
231
237
|
curr_setting = Setting.new($1,$2)
|
|
@@ -238,7 +244,8 @@ module Rconftool
|
|
|
238
244
|
def write(filename)
|
|
239
245
|
File.open(filename,"w") do |f|
|
|
240
246
|
@settings.each do |s|
|
|
241
|
-
|
|
247
|
+
stmp = s.to_s.chop + "\r\n"
|
|
248
|
+
f << stmp
|
|
242
249
|
end
|
|
243
250
|
end
|
|
244
251
|
end
|
data/lib/rwd/net.rb
CHANGED
|
@@ -562,6 +562,12 @@ class RequestRequest
|
|
|
562
562
|
end
|
|
563
563
|
end
|
|
564
564
|
|
|
565
|
+
def url_unescape(string)
|
|
566
|
+
string.tr('+', ' ').gsub(/((?:%[0-9a-fA-F]{2})+)/n) do
|
|
567
|
+
[$1.delete('%')].pack('H*')
|
|
568
|
+
end
|
|
569
|
+
end
|
|
570
|
+
|
|
565
571
|
class Request < Hash
|
|
566
572
|
attr_reader :peeraddr
|
|
567
573
|
attr_reader :request
|
|
@@ -604,10 +610,14 @@ class Request < Hash
|
|
|
604
610
|
@vars = RequestGet.new(@request.data.nil? ? "" : @request.data)
|
|
605
611
|
when "POST"
|
|
606
612
|
data = (@io.read(self["content-length"].to_i) or "")
|
|
613
|
+
# data = url_unescape(data)
|
|
607
614
|
@vars = RequestPost.new((self["content-type"] == "application/x-www-form-urlencoded") ? data : "")
|
|
608
615
|
else
|
|
609
616
|
$stderr.puts "Unknown request ('#{firstline}')."
|
|
610
617
|
end
|
|
618
|
+
if $DEBUG
|
|
619
|
+
$stderr.puts data
|
|
620
|
+
end
|
|
611
621
|
end
|
|
612
622
|
|
|
613
623
|
@peeraddr = @io.peeraddr
|
data/lib/rwd/ruby.rb
CHANGED
data/lib/rwd/rwd.rb
CHANGED
|
@@ -683,70 +683,70 @@ class RWDWindow
|
|
|
683
683
|
|
|
684
684
|
vars = vars.deep_dup
|
|
685
685
|
|
|
686
|
-
begin # error wrap
|
|
686
|
+
begin # error wrap
|
|
687
687
|
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
688
|
+
vars.each do |key, value|
|
|
689
|
+
if not key.empty?
|
|
690
|
+
if value.respond_to? "to_s"
|
|
691
|
+
@rwd.gsub!(/%%#{key}%%/, value.to_s)
|
|
692
|
+
@rwd.gsub!(/%#{key}%/, value.to_s.to_html)
|
|
693
693
|
|
|
694
|
-
|
|
695
|
-
|
|
694
|
+
@helprwd.gsub!(/%%#{key}%%/, value.to_s)
|
|
695
|
+
@helprwd.gsub!(/%#{key}%/, value.to_s.to_html)
|
|
696
696
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
697
|
+
varshtml[key] = value.to_s.to_html
|
|
698
|
+
varsstring[key] = value.to_s
|
|
699
|
+
end
|
|
700
|
+
end
|
|
701
|
+
end
|
|
702
702
|
|
|
703
|
-
|
|
704
|
-
|
|
703
|
+
windowobject = RWDTree.new(@rwd).children.dup.delete_if{|obj| obj.subtype != "window"}[0]
|
|
704
|
+
helpobject = RWDTree.new(@helprwd).children.dup.delete_if{|obj| obj.subtype != "helpwindow"}[0]
|
|
705
705
|
|
|
706
|
-
|
|
706
|
+
tabsobj = windowobject.children.dup.delete_if{|obj| obj.subtype != "tabs"}[0]
|
|
707
707
|
|
|
708
|
-
|
|
709
|
-
|
|
708
|
+
if not tabsobj.nil?
|
|
709
|
+
tabs = tabsobj.children.dup.delete_if{|obj| (not obj.kind_of?(OpenTag)) or (obj.subtype != "tab")}
|
|
710
710
|
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
711
|
+
if tab.empty?
|
|
712
|
+
tab = tabs[0].args["name"]
|
|
713
|
+
end
|
|
714
714
|
|
|
715
|
-
|
|
716
|
-
|
|
715
|
+
tabsobj.children.delete_if{|obj| (obj.kind_of?(OpenTag)) and (obj.subtype == "tab") and obj.args["name"] != tab}
|
|
716
|
+
end
|
|
717
717
|
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
718
|
+
if help
|
|
719
|
+
helpobject.parsetree("prechildren", "postchildren", html, [""], [""], varshtml, varsstring, switches, false, oneormorefields, firstaction, tabs, tab, pda)
|
|
720
|
+
else
|
|
721
|
+
windowobject.parsetree("prechildren", "postchildren", html, [""], [""], varshtml, varsstring, switches, (not @helprwd.empty?), oneormorefields, firstaction, tabs, tab, pda)
|
|
722
|
+
end
|
|
723
723
|
|
|
724
|
-
|
|
724
|
+
html = html.join("") # ???
|
|
725
725
|
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
726
|
+
html.gsub!(/%%*[[:alnum:]_\-]+%%*/, "") if not $rwd_debug
|
|
727
|
+
html.gsub!(/%%/, "%")
|
|
728
|
+
html.gsub!(/\n\n*/, "\n")
|
|
729
729
|
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
730
|
+
if oneormorefields.empty?
|
|
731
|
+
focus = ""
|
|
732
|
+
else
|
|
733
|
+
focus = "document.bodyform.elements[0].focus();"
|
|
734
|
+
end
|
|
735
735
|
|
|
736
|
-
|
|
736
|
+
firstaction = action if windowobject.args.keys.include?("refresh") unless action.nil?
|
|
737
737
|
|
|
738
|
-
|
|
739
|
-
|
|
738
|
+
html.gsub!(/\$RWD_FIRSTACTION\$/ , firstaction)
|
|
739
|
+
html.gsub!(/\$RWD_FOCUS\$/ , focus)
|
|
740
740
|
|
|
741
|
-
|
|
742
|
-
|
|
741
|
+
html
|
|
742
|
+
end
|
|
743
743
|
|
|
744
744
|
rescue
|
|
745
|
-
|
|
745
|
+
|
|
746
746
|
$stderr.puts "error in RWDWindow - render method"
|
|
747
747
|
end
|
|
748
748
|
end
|
|
749
|
-
|
|
749
|
+
|
|
750
750
|
|
|
751
751
|
class RWDMessage < RWDWindow
|
|
752
752
|
def initialize(msg)
|
|
@@ -830,7 +830,9 @@ class RWDialog
|
|
|
830
830
|
|
|
831
831
|
self
|
|
832
832
|
end
|
|
833
|
+
|
|
833
834
|
|
|
835
|
+
|
|
834
836
|
def render(res, path, post, download, downloadfile, pda, sessionid)
|
|
835
837
|
# Avoid a timeout.
|
|
836
838
|
|
|
@@ -862,8 +864,13 @@ class RWDialog
|
|
|
862
864
|
|
|
863
865
|
post.sort.each do |key, value|
|
|
864
866
|
puts "Post: #{key} -> #{value.from_html.inspect}" if $rwd_debug
|
|
865
|
-
|
|
867
|
+
if $DEBUG
|
|
868
|
+
$stderr.puts "Post: #{key} -> #{value.from_html.inspect}\n"
|
|
869
|
+
end
|
|
866
870
|
vars[key] = value.from_html
|
|
871
|
+
if $DEBUG
|
|
872
|
+
$stderr.puts " #{value.from_html}\n"
|
|
873
|
+
end
|
|
867
874
|
end
|
|
868
875
|
|
|
869
876
|
# Stack handling for rwd_action, rwd_window and rwd_tab.
|
|
@@ -931,7 +938,17 @@ class RWDialog
|
|
|
931
938
|
# Copy vars from window to instance.
|
|
932
939
|
|
|
933
940
|
vars.each do |k, v|
|
|
934
|
-
|
|
941
|
+
if $DEBUG
|
|
942
|
+
$stderr.puts "Post: #{k} -> #{v}\n"
|
|
943
|
+
end
|
|
944
|
+
if ((not k.empty?) and k.scan(/^rwd_/).empty? and not @rwd_ignore_vars.include?("@#{k}"))
|
|
945
|
+
|
|
946
|
+
instance_eval "@#{k} = ''"
|
|
947
|
+
instance_variable_set("@#{k}", vars.fetch("#{k}"))
|
|
948
|
+
if $DEBUG
|
|
949
|
+
$stderr.puts "Post: #{k} -> #{v}\n"
|
|
950
|
+
end
|
|
951
|
+
end
|
|
935
952
|
end
|
|
936
953
|
|
|
937
954
|
# Callback.
|
data/rwd_files/HowTo_Ruby.txt
CHANGED
|
@@ -210,11 +210,16 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
|
210
210
|
|
|
211
211
|
Thanks, Steven Gibson
|
|
212
212
|
|
|
213
|
-
==
|
|
213
|
+
== Changes
|
|
214
|
+
Version 1.07
|
|
215
|
+
fix config files
|
|
216
|
+
|
|
214
217
|
Version 1.06
|
|
215
218
|
help button on ruby tab
|
|
216
219
|
suggestions for ruby commands
|
|
217
|
-
|
|
220
|
+
widen command text box
|
|
221
|
+
rearrange tabs
|
|
222
|
+
|
|
218
223
|
Version 1.05
|
|
219
224
|
combine acpi into rwdshell and rename to ruby
|
|
220
225
|
make refresh tab with date/time like a stopwatch
|
data/rwd_files/HowTo_Tinker.txt
CHANGED
|
@@ -227,6 +227,13 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
|
227
227
|
Thanks, Steven Gibson
|
|
228
228
|
|
|
229
229
|
== Changelog
|
|
230
|
+
version 1.79
|
|
231
|
+
edited net.rb to fix text editing
|
|
232
|
+
|
|
233
|
+
version 1.78
|
|
234
|
+
modify config files
|
|
235
|
+
modify rconftools.rb to handle \r\n dos vs unix
|
|
236
|
+
|
|
230
237
|
Version 1.77
|
|
231
238
|
Fixed zips location to be relative or absolute
|
|
232
239
|
Made themes loadable
|
data/rwdconfig.dist
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
##VERSION:1.
|
|
1
|
+
##VERSION: (1.78)
|
|
2
2
|
# rwdtinker core configuration file
|
|
3
|
-
##NAME: ConfigLocation:
|
|
3
|
+
##NAME: (ConfigLocation):(1.78)
|
|
4
4
|
ConfigLocation=""
|
|
5
|
-
##NAME: ZipsLocation:
|
|
5
|
+
##NAME: (ZipsLocation):(1.78)
|
|
6
6
|
ZipsLocation=""
|
|
7
|
-
##NAME
|
|
7
|
+
##NAME: ($testharnessarray):(1.78)
|
|
8
8
|
$testharnessarray = ["rwdtinker_all_tests"]
|
|
9
|
-
##NAME:TestNow:
|
|
9
|
+
##NAME: (TestNow):(1.78)
|
|
10
10
|
TestNow=false # turning this on will run the unit tests
|
|
11
|
-
##NAME
|
|
11
|
+
##NAME: ($testharness):(1.78)
|
|
12
12
|
$testharness=true
|
|
13
|
-
##NAME
|
|
13
|
+
##NAME: ($tinkerhelpaboutarray):(1.78)
|
|
14
14
|
$tinkerhelpaboutarray = ["Tinker"]
|
|
15
|
-
##NAME
|
|
16
|
-
$
|
|
17
|
-
##NAME
|
|
18
|
-
$
|
|
19
|
-
##NAME:JumpLink:
|
|
15
|
+
##NAME: ($helptopicsarray):(1.78)
|
|
16
|
+
$helptopicsarray = [ "general_help","network_help"]
|
|
17
|
+
##NAME: ($tinkerdocumentsarray):(1.78)
|
|
18
|
+
$tinkerdocumentsarray = ["HowTo_Tinker.txt" , "rwdapplications.html" , "RubyWebDialogs.html"]
|
|
19
|
+
##NAME: (JumpLink):(1.78)
|
|
20
20
|
JumpLink = Hash.new { |hh, kk| hh[kk] = "ERROR: link not found: #{kk.inspect}."; hh[kk] }
|
|
21
|
-
|
|
21
|
+
##NAME: ($rwdjumplink):(1.78)
|
|
22
|
+
$rwdjumplink = ["helpscreen", "tinkerbackwindow", "returntomain", "opendocuments", "editconfiguration"]
|
data/tests/makedist-rwdwruby.rb
CHANGED
|
@@ -12,7 +12,7 @@ JumpLink = Hash.new("default")
|
|
|
12
12
|
$rwdjumplink= [""]
|
|
13
13
|
require 'fileutils'
|
|
14
14
|
DistroName = "rwdwruby"
|
|
15
|
-
DistroVersion="1.
|
|
15
|
+
DistroVersion="1.07"
|
|
16
16
|
load "configuration/#{DistroName}-#{DistroVersion}.dist"
|
|
17
17
|
|
|
18
18
|
|
|
@@ -27,10 +27,12 @@ puts "creating #{DistroName} distribution files version #{DistroVersion}"
|
|
|
27
27
|
|
|
28
28
|
#puts "moving up one directory"
|
|
29
29
|
#Dir.chdir("..")
|
|
30
|
-
|
|
30
|
+
findcmd = "find _arx > /tmp/excludezip"
|
|
31
|
+
puts "#{findcmd}"
|
|
32
|
+
`#{findcmd}`
|
|
31
33
|
|
|
32
34
|
FileUtils.rm_rf("#{DistroTitle}.zip")
|
|
33
|
-
zipcreatecmd = "zip -r #{DistroTitle}.zip *"
|
|
35
|
+
zipcreatecmd = "zip -r #{DistroTitle}.zip * -x@/tmp/excludezip"
|
|
34
36
|
puts "#{zipcreatecmd}"
|
|
35
37
|
`#{zipcreatecmd}`
|
|
36
38
|
|
data/tests/makedist.rb
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rwdruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: "1.
|
|
4
|
+
version: "1.07"
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Gibson
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-09-
|
|
12
|
+
date: 2008-09-25 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
@@ -122,7 +122,7 @@ files:
|
|
|
122
122
|
- code/superant.com.rwdshell/viewscript.rb
|
|
123
123
|
- code/superant.com.rwdshell/savechangedscript.rb
|
|
124
124
|
- code/superant.com.rwdshell/0runrefreshacpi.rb
|
|
125
|
-
- configuration/rwdwruby-1.
|
|
125
|
+
- configuration/rwdwruby-1.07.dist
|
|
126
126
|
- configuration/rwdtinker.dist
|
|
127
127
|
- configuration/tinkerwin2variables.dist
|
|
128
128
|
- configuration/language.dist
|
|
@@ -140,6 +140,7 @@ files:
|
|
|
140
140
|
- gui/tinkerbackwindows/superant.com.refreshwindow/rwdrefreshacpi.rwd
|
|
141
141
|
- gui/tinkerbackwindows/superant.com.refreshwindow/rwdrefresh.rwd
|
|
142
142
|
- gui/tinkerbackwindows/superant.com.ashellscripts
|
|
143
|
+
- gui/tinkerbackwindows/superant.com.ashellscripts/2arubyeval.rwd
|
|
143
144
|
- gui/tinkerbackwindows/superant.com.ashellscripts/1appname.rwd
|
|
144
145
|
- gui/tinkerbackwindows/superant.com.ashellscripts/45listscripts.rwd
|
|
145
146
|
- gui/tinkerbackwindows/superant.com.ashellscripts/44listplayscripts.rwd
|
|
@@ -193,7 +194,7 @@ files:
|
|
|
193
194
|
- gui/zzcoreguiend/yy9rwdend.rwd
|
|
194
195
|
- installed/rwdrubydata1.inf
|
|
195
196
|
- installed/temp.rb
|
|
196
|
-
- installed/rwdwruby-1.
|
|
197
|
+
- installed/rwdwruby-1.07.inf
|
|
197
198
|
- rwd_files/tinker.png
|
|
198
199
|
- rwd_files/favicon.ico
|
|
199
200
|
- rwd_files/rdoc-style.css
|
|
@@ -205,10 +206,10 @@ files:
|
|
|
205
206
|
- rwd_files/HowTo_Ruby.txt
|
|
206
207
|
- zips/rwdwgutenberg-0.09.zip
|
|
207
208
|
- zips/temp.rb
|
|
208
|
-
- zips/rwdwfoldeditor-0.
|
|
209
|
-
- zips/rwdwcalc-0.
|
|
210
|
-
- zips/rwdwruby-1.
|
|
211
|
-
- zips/rwdwaddresses-1.
|
|
209
|
+
- zips/rwdwfoldeditor-0.04.zip
|
|
210
|
+
- zips/rwdwcalc-0.62.zip
|
|
211
|
+
- zips/rwdwruby-1.07.zip
|
|
212
|
+
- zips/rwdwaddresses-1.06.zip
|
|
212
213
|
- zips/wrubyslippers-1.06.zip
|
|
213
214
|
- tests/rdep.rb
|
|
214
215
|
- tests/cleancnf.sh
|
data/zips/rwdwcalc-0.61.zip
DELETED
|
Binary file
|
|
Binary file
|
data/zips/rwdwruby-1.06.zip
DELETED
|
Binary file
|