rubyslippers 0.94 → 0.95
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/Readme.txt +213 -57
- data/code/ii6rubyslippers/{ij9execgemserve.rb → execgemserve.rb} +0 -0
- data/code/ii6rubyslippers/{ii9gemcommands.rb → gemcommands.rb} +4 -2
- data/code/ii6rubyslippers/{ii9gemenvironment.rb → gemenvironment.rb} +0 -0
- data/code/ii6rubyslippers/{ii9gemfilesinstalled.rb → gemfilesinstalled.rb} +0 -0
- data/code/ii6rubyslippers/{ii6installgem.rb → installgem.rb} +0 -0
- data/code/ii6rubyslippers/{ii9listgemdirs.rb → listgemdirs.rb} +0 -0
- data/code/ii6rubyslippers/{ii4listgemrecord.rb → listgemrecord.rb} +0 -0
- data/code/ii6rubyslippers/{ii7listgemsremote.rb → listgemremote.rb} +0 -0
- data/code/ii6rubyslippers/runrubyslipperswindow.rb +3 -3
- data/code/ii6rubyslippers/{ii3viewgemdata.rb → viewgemdata.rb} +0 -0
- data/code/ii6rubyslippers/viewrubyslippersconfiguration.rb +21 -0
- data/code/xb1rwdtinkerbackwindow/clearscreendisplay.rb +24 -0
- data/code/xb1rwdtinkerbackwindow/{lm1installapplet.rb → installapplet.rb} +0 -0
- data/code/xb1rwdtinkerbackwindow/{05listinstalledfiles.rb → listinstalledfiles.rb} +1 -1
- data/code/xb1rwdtinkerbackwindow/{ll5listzips.rb → listzips.rb} +0 -0
- data/code/xb1rwdtinkerbackwindow/{ll1openname.rb → openappletname.rb} +1 -1
- data/code/xb1rwdtinkerbackwindow/{mm1removeapplet.rb → removeapplet.rb} +0 -0
- data/code/xb2rubyslippersbackwindow/changegemspecdata.rb +14 -0
- data/code/xb2rubyslippersbackwindow/clearscreendisplay.rb +24 -0
- data/code/xb2rubyslippersbackwindow/copygemspecdata.rb +15 -0
- data/code/xb2rubyslippersbackwindow/creategem.rb +26 -0
- data/code/xb2rubyslippersbackwindow/creategemspecrecord.rb +18 -0
- data/code/xb2rubyslippersbackwindow/deletegemspecrecord.rb +21 -0
- data/code/xb2rubyslippersbackwindow/listgemdirectories.rb +13 -0
- data/code/xb2rubyslippersbackwindow/listgemspecrecord.rb +13 -0
- data/code/xb2rubyslippersbackwindow/loadgemspecrecord.rb +40 -0
- data/code/xb2rubyslippersbackwindow/viewgemspecdata.rb +20 -0
- data/configuration/language.cnf +5 -0
- data/configuration/{ii3rubyslippers.cnf → rubyslippers.cnf} +3 -2
- data/configuration/rubyslippersversion.cnf +2 -0
- data/configuration/{aa0rwdframework.cnf → rwdtinker.cnf} +0 -5
- data/configuration/rwdtinkerversion.cnf +2 -0
- data/configuration/{ab1tinkerwin2.cnf → tinkerwin2.cnf} +0 -1
- data/configuration/tinkerwin2version.cnf +3 -0
- data/gui/ii6rubyslippers/{ii3viewgemdata.rwd → 30viewgemdata.rwd} +0 -0
- data/gui/ii6rubyslippers/{ii4listgemrecordfiles.rwd → 40listgemrecordfiles.rwd} +0 -0
- data/gui/ii6rubyslippers/{ii6installgem.rwd → 60installgem.rwd} +0 -0
- data/gui/ii6rubyslippers/{ii7listgemsremote.rwd → 70listgemsremote.rwd} +0 -0
- data/gui/ii6rubyslippers/80gemcommands.rwd +22 -0
- data/gui/ii6rubyslippers/{ij1gemfilesinstalled.rwd → 85gemfilesinstalled.rwd} +0 -0
- data/gui/ii6rubyslippers/{ij4gemserverscan.rwd → 90gemserverscan.rwd} +0 -0
- data/gui/ii6rubyslippers/92viewconfiguration.rwd +16 -0
- data/gui/ll6rubyslippersselectiontab/rubyslippersselectiontab.rwd +12 -0
- data/gui/xb2rubyslippersbackwindow/1appname.rwd +5 -0
- data/gui/xb2rubyslippersbackwindow/3viewgemspec.rwd +17 -0
- data/gui/xb2rubyslippersbackwindow/4listgemspecrecord.rwd +15 -0
- data/gui/xb2rubyslippersbackwindow/5editgemspecrecord.rwd +43 -0
- data/gui/xb2rubyslippersbackwindow/6buildgem.rwd +34 -0
- data/gui/{ii6rubyslippers/ii9gemcommands.rwd → xb2rubyslippersbackwindow/7gemcommands.rwd} +0 -0
- data/gui/xb2rubyslippersbackwindow/7rwddiagnostics.rwd +33 -0
- data/gui/xb2rubyslippersbackwindow/98returntab.rwd +11 -0
- data/gui/xb2rubyslippersbackwindow/zbackend.rwd +6 -0
- data/installed/{rubyslippers-0.93.inf → rubyslippers-0.95.inf} +0 -0
- data/lang/xlocallangfile.rb +26 -25
- data/rwd_files/HowTo_RubySlippers.txt +69 -15
- metadata +55 -28
data/Readme.txt
CHANGED
|
@@ -1,57 +1,213 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
the
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
the
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
1
|
+
= RubySlippers Frontend for RubyGems
|
|
2
|
+
|
|
3
|
+
How To use RubySlippers - a frontend for RubyGems
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
The configuration file is at:
|
|
7
|
+
configuration/rubyslippers.cnf
|
|
8
|
+
|
|
9
|
+
There you can change the location of your gemspec files.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
= Quick Start
|
|
13
|
+
|
|
14
|
+
You should unzip the program in a directory you have assess to.
|
|
15
|
+
|
|
16
|
+
at the command line run:
|
|
17
|
+
ruby init.rb
|
|
18
|
+
Point your browser at
|
|
19
|
+
http://localhost:7705
|
|
20
|
+
or where it tells you
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
= View Gem
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
Use the "View Gem" tab
|
|
27
|
+
|
|
28
|
+
You can view the list of gems you have installed
|
|
29
|
+
by clicking on the list files button
|
|
30
|
+
|
|
31
|
+
You can view the contents of the gemspec file by typing or pasting a name in.
|
|
32
|
+
|
|
33
|
+
When you are finished press the open button (leave off the .gemspec ending)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
= Install Gem
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
Using the "Install Gem" tab
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
You can list the Gems available in the repository
|
|
44
|
+
Click on the button.
|
|
45
|
+
It will take several seconds then should show the list.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
To install a gem, enter the name into to textbox and
|
|
49
|
+
click on the install Gem button
|
|
50
|
+
You should see the result of the command on the screen
|
|
51
|
+
|
|
52
|
+
You can check in the first tab if it is installed.
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
= Gem Commands:
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
Go to "Gem Commands" tab
|
|
59
|
+
|
|
60
|
+
<blockquote/>
|
|
61
|
+
You can view the setup that Gem has on your system.
|
|
62
|
+
|
|
63
|
+
Click on Show Environment
|
|
64
|
+
This will show your setup
|
|
65
|
+
|
|
66
|
+
You can run a Gem command or a shell command
|
|
67
|
+
Enter the command in the box and press the
|
|
68
|
+
Run Command button
|
|
69
|
+
|
|
70
|
+
It displays the result of the command on the screen.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
= Gem Files:
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
Go to "Gem Files" tab
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
You can view the files that are installed for applications
|
|
80
|
+
|
|
81
|
+
Click on Show Gem Dirs
|
|
82
|
+
This will show your list of Gems installed
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
Click on Show Application Files
|
|
86
|
+
This will show your list of files installed
|
|
87
|
+
|
|
88
|
+
== Rubyslippers Back Window
|
|
89
|
+
|
|
90
|
+
From the Selection Panel you can click on the Rubyslippers Back Window
|
|
91
|
+
This window has tabs to help you in building gems
|
|
92
|
+
|
|
93
|
+
== Add Info
|
|
94
|
+
|
|
95
|
+
To view gemspecs you already have see the View Gemspec tab
|
|
96
|
+
|
|
97
|
+
For edits to gemspec go to the Edit Gem tab
|
|
98
|
+
|
|
99
|
+
At the Build Gem tab
|
|
100
|
+
You can
|
|
101
|
+
Rename gemspec
|
|
102
|
+
Delete gemspec
|
|
103
|
+
copy gemspec
|
|
104
|
+
|
|
105
|
+
When building a gem the
|
|
106
|
+
The Gem name should be pointing to the Gemspec that you want
|
|
107
|
+
Gem Directory box should be pointing to the top directory of you source files
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
Have alot of fun!
|
|
112
|
+
give me bug reports and suggestions.
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
= Problem solving
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
On my Linux system I changed permissions on my gem directory to allow
|
|
120
|
+
the nonprovileged user to install gems.
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
= Documents
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
when you click on a document name, the document should pop up in a
|
|
127
|
+
browser window, or in another browser tab.
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
== Using over a Network
|
|
131
|
+
|
|
132
|
+
To serve the application over your local LAN,change the last line in the
|
|
133
|
+
init.rb file to something like:
|
|
134
|
+
RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
|
|
135
|
+
Then you should be able to login at: http://yourhostname:8080
|
|
136
|
+
|
|
137
|
+
You have to authorize yourself. The .rwuids example is a string with
|
|
138
|
+
the name of the authorization file, relative to the home directory
|
|
139
|
+
of the user that started the service. This file has to be in the form of:
|
|
140
|
+
|
|
141
|
+
user1 = password
|
|
142
|
+
user2 = pass phrase
|
|
143
|
+
|
|
144
|
+
Thus the file .rwduids might contain:
|
|
145
|
+
|
|
146
|
+
erik = secret
|
|
147
|
+
|
|
148
|
+
==Contacts
|
|
149
|
+
|
|
150
|
+
For more information see:
|
|
151
|
+
http://rwdapplications.rubyforge.org/wiki/wiki.pl
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
For more information about RubyWebDialogs see:
|
|
155
|
+
http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
156
|
+
|
|
157
|
+
Thanks, Steven Gibson
|
|
158
|
+
|
|
159
|
+
=Changelog
|
|
160
|
+
Version 0.95
|
|
161
|
+
Updated for version 1.42 - semi-live updates should work
|
|
162
|
+
Changed gem commands tab - added pull down choices
|
|
163
|
+
Added tab for viewing Rubyslippers configuration file
|
|
164
|
+
Added back window with tabs for building gems
|
|
165
|
+
Added list gemspec files
|
|
166
|
+
view a gemspec file
|
|
167
|
+
Edit a gemspec
|
|
168
|
+
Rename, copy, delete gemspec file
|
|
169
|
+
build gem
|
|
170
|
+
|
|
171
|
+
Version 0.94
|
|
172
|
+
Updated to version 1.4 of rwdtinker
|
|
173
|
+
added more i18n fixes
|
|
174
|
+
updated l10n files es, jp, nl
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
Version 0.93
|
|
178
|
+
Updated to version 1.3 of rwdtinker
|
|
179
|
+
|
|
180
|
+
Version 0.92
|
|
181
|
+
Added to version 1.23 of rwdtinker
|
|
182
|
+
created gemspec
|
|
183
|
+
|
|
184
|
+
Version 0.91
|
|
185
|
+
Changed download of remote gem list - should now work on XP - avoids SystemStackError
|
|
186
|
+
added txt file to hold downloaded list
|
|
187
|
+
Changed order on list installed gems directories
|
|
188
|
+
Fixed view gemspec - it was totally broken! (bug introduced in 0.8)
|
|
189
|
+
|
|
190
|
+
Version 0.9
|
|
191
|
+
Added scan for gem_server
|
|
192
|
+
links for gem_server content
|
|
193
|
+
|
|
194
|
+
Version 0.8
|
|
195
|
+
Improved file selection
|
|
196
|
+
|
|
197
|
+
Version 0.7
|
|
198
|
+
Was updated to work with rwdtinker version 0.9
|
|
199
|
+
|
|
200
|
+
Version 0.6
|
|
201
|
+
fixes to work under XP
|
|
202
|
+
wrong variable in listfiles function
|
|
203
|
+
added configuration for XP vs Linux systems
|
|
204
|
+
updated the rwdrefreshacpi applet in zips
|
|
205
|
+
|
|
206
|
+
Version 0.5
|
|
207
|
+
first applet
|
|
208
|
+
added gem files tab - should list install app files
|
|
209
|
+
|
|
210
|
+
Version 0.4
|
|
211
|
+
first public version released
|
|
212
|
+
using rwdtinker framework
|
|
213
|
+
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
def rungemcommand
|
|
3
3
|
|
|
4
|
-
commandtext = "
|
|
4
|
+
commandtext = "gem " + @a_gemcommandinput.to_s + " " + @a_gemcommandoptioninput.to_s
|
|
5
5
|
commandtemp = $xpcommand + commandtext
|
|
6
6
|
begin # exception trapped block
|
|
7
7
|
|
|
@@ -14,4 +14,6 @@
|
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
def showgemcommandoptions
|
|
18
|
+
@gemcommandoptions = ["help","--version","list --local","check -a","check --test"," "].rwd_options
|
|
19
|
+
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Application RwdAddresses orginally (c) 2004 Steven Gibson under GPL.
|
|
2
|
-
#
|
|
2
|
+
#
|
|
3
3
|
# For more information about see http://www.rubyforge.net/projects/rwdapplications
|
|
4
4
|
|
|
5
5
|
# call the window
|
|
6
|
-
def
|
|
7
|
-
@rwd_window = "
|
|
6
|
+
def runrubyslippersbackwindow
|
|
7
|
+
@rwd_window = "rubyslippersbackwindow"
|
|
8
8
|
end
|
|
9
9
|
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
def viewrubyslippersconfiguration
|
|
2
|
+
require 'fileutils'
|
|
3
|
+
begin # exception trapped block
|
|
4
|
+
|
|
5
|
+
Dir.chdir($progdir)
|
|
6
|
+
rubyslippersconfigurationfile = File.join( "configuration", "rubyslippers.cnf" )
|
|
7
|
+
if File.exist?(rubyslippersconfigurationfile)
|
|
8
|
+
fd = File.open(rubyslippersconfigurationfile,"r")
|
|
9
|
+
@rubyslippersconfigurationtext = " "
|
|
10
|
+
while ! fd.eof?
|
|
11
|
+
@rubyslippersconfigurationtext = fd.read
|
|
12
|
+
end
|
|
13
|
+
fd.close
|
|
14
|
+
else
|
|
15
|
+
@rubyslippersconfigurationtext = "File error"
|
|
16
|
+
end
|
|
17
|
+
rescue SystemCallError, StandardError
|
|
18
|
+
$stderr.print "system call error: " + $!
|
|
19
|
+
@rubyslippersconfigurationtext = "File error"
|
|
20
|
+
end # exception rescue
|
|
21
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# this method clears the on screen variables
|
|
2
|
+
def cleargemspecscreendisplay
|
|
3
|
+
|
|
4
|
+
@a_gemspecfilename =""
|
|
5
|
+
@a_gemspecline1 = ""
|
|
6
|
+
@a_gemspecline2 = ""
|
|
7
|
+
@a_gemspecline3 = ""
|
|
8
|
+
@a_gemspecline4 = ""
|
|
9
|
+
@a_gemspecline5 = ""
|
|
10
|
+
@a_gemspecline6 = ""
|
|
11
|
+
@a_gemspecline7 = ""
|
|
12
|
+
@a_gemspecline8 = ""
|
|
13
|
+
@a_gemspecline9 = ""
|
|
14
|
+
@a_gemspecline10 = ""
|
|
15
|
+
@a_gemspecline11 = ""
|
|
16
|
+
@a_gemspecline12 = ""
|
|
17
|
+
@a_gemspecline13 = ""
|
|
18
|
+
@a_gemspecline14 = ""
|
|
19
|
+
@a_gemspecline15 = ""
|
|
20
|
+
@a_gemspecline16 = ""
|
|
21
|
+
@a_gemspecline17 = ""
|
|
22
|
+
extragemspecdatadisplay = ""
|
|
23
|
+
|
|
24
|
+
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# this code is to change the contact name
|
|
2
|
+
def changegemspecdata
|
|
3
|
+
if @a_viewgemspecdata and @a_changegemspecdata
|
|
4
|
+
tempoldname = @a_viewgemspecdata + ".gemspec"
|
|
5
|
+
|
|
6
|
+
oldName = $gemspec_directory + "/" + @a_viewgemspecdata + ".gemspec"
|
|
7
|
+
if File.exist?(oldName)
|
|
8
|
+
newName = $gemspec_directory + "/" + @a_changegemspecdata + ".gemspec"
|
|
9
|
+
File.rename(oldName, newName)
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# this method clears the on screen variables
|
|
2
|
+
def cleargemspecscreendisplay
|
|
3
|
+
|
|
4
|
+
@a_gemspecfilename=""
|
|
5
|
+
@a_gemspecline1 = ""
|
|
6
|
+
@a_gemspecline2 = ""
|
|
7
|
+
@a_gemspecline3 = ""
|
|
8
|
+
@a_gemspecline4 = ""
|
|
9
|
+
@a_gemspecline5 = ""
|
|
10
|
+
@a_gemspecline6 = ""
|
|
11
|
+
@a_gemspecline7 = ""
|
|
12
|
+
@a_gemspecline8 = ""
|
|
13
|
+
@a_gemspecline9 = ""
|
|
14
|
+
@a_gemspecline10 = ""
|
|
15
|
+
@a_gemspecline11 = ""
|
|
16
|
+
@a_gemspecline12 = ""
|
|
17
|
+
@a_gemspecline13 = ""
|
|
18
|
+
@a_gemspecline14 = ""
|
|
19
|
+
@a_gemspecline15 = ""
|
|
20
|
+
@a_gemspecline16 = ""
|
|
21
|
+
@a_gemspecline17 = ""
|
|
22
|
+
extragemspecdatadisplay = ""
|
|
23
|
+
|
|
24
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# this code is to change the contact name
|
|
2
|
+
def copygemspecdata
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
if @a_viewgemspecdata and @a_changegemspecdata
|
|
5
|
+
tempoldname = @a_viewgemspecdata + ".gemspec"
|
|
6
|
+
|
|
7
|
+
oldName = $gemspec_directory + "/" + @a_viewgemspecdata + ".gemspec"
|
|
8
|
+
if File.exist?(oldName)
|
|
9
|
+
newName = $gemspec_directory + "/" + @a_changegemspecdata + ".gemspec"
|
|
10
|
+
FileUtils.cp(oldName, newName)
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
def creategem
|
|
2
|
+
require 'fileutils'
|
|
3
|
+
|
|
4
|
+
if @a_viewgemspecdata
|
|
5
|
+
nametext = $gemspec_directory +"/" + @a_viewgemspecdata.to_s + ".gemspec"
|
|
6
|
+
end
|
|
7
|
+
Dir.chdir($gembuild_directory)
|
|
8
|
+
builddir = $gembuild_directory
|
|
9
|
+
if @a_gemdirectoryinput
|
|
10
|
+
builddir = @a_gemdirectoryinput.to_s
|
|
11
|
+
@installgemresult = nametext
|
|
12
|
+
if File.exist?(nametext)
|
|
13
|
+
|
|
14
|
+
begin # exception trapped block
|
|
15
|
+
Dir.chdir(builddir)
|
|
16
|
+
|
|
17
|
+
commandline = $xpcommand + "gem build " + nametext
|
|
18
|
+
|
|
19
|
+
@installgemresult = `#{commandline}`
|
|
20
|
+
|
|
21
|
+
rescue
|
|
22
|
+
@installgemresult = "error during gem install!"
|
|
23
|
+
end # exception rescue
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# this method adds a new address record or saves changes
|
|
2
|
+
def creategemspecrecord
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
if @a_gemspecfilename
|
|
5
|
+
newname = "%s" % [@a_gemspecfilename] # grab the new filename to create
|
|
6
|
+
newdata = @a_gemspecline1.to_s + "\n" + @a_gemspecline2.to_s + "\n" + @a_gemspecline3.to_s + "\n" + @a_gemspecline4.to_s + "\n" + @a_gemspecline5.to_s + "\n" + @a_gemspecline6.to_s + "\n" + @a_gemspecline7.to_s + "\n" + @a_gemspecline8.to_s + "\n" + @a_gemspecline9.to_s + "\n" + @a_gemspecline10.to_s + "\n" + @a_gemspecline11.to_s + "\n" + @a_gemspecline12 .to_s + "\n" + @a_gemspecline13.to_s + "\n" + @a_gemspecline14.to_s + "\n" + @a_gemspecline15.to_s + "\n" + @a_gemspecline16.to_s + "\n" + @a_gemspecline17.to_s + "\n"
|
|
7
|
+
fullnewname = newname + ".gemspec"
|
|
8
|
+
begin # exception trapped block
|
|
9
|
+
fileName = File.join($gemspec_directory, fullnewname )
|
|
10
|
+
fd = File.open(fileName,"w")
|
|
11
|
+
fd.print(newdata) # save the record info to the file
|
|
12
|
+
fd.close
|
|
13
|
+
@createnewgemspecrecorddisplay=newdata # show the record info in the browser
|
|
14
|
+
rescue SystemCallError, StandardError
|
|
15
|
+
$stderr.print "system call error: " + $!
|
|
16
|
+
end # exception rescue
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# this method views an existing address record
|
|
2
|
+
def deletegemspecrecord
|
|
3
|
+
|
|
4
|
+
require 'fileutils'
|
|
5
|
+
|
|
6
|
+
if @a_viewgemspecdata
|
|
7
|
+
$currentgemspectext = @a_viewgemspecdata
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
fileName = $gemspec_directory + "/" + $currentgemspectext + ".gemspec"
|
|
11
|
+
$stderr.print fileName
|
|
12
|
+
|
|
13
|
+
begin # exception trapped block
|
|
14
|
+
if File.exist?(fileName)
|
|
15
|
+
File.delete(fileName)
|
|
16
|
+
end
|
|
17
|
+
rescue SystemCallError, StandardError
|
|
18
|
+
$stderr.print "system call error: " + $!
|
|
19
|
+
end # exception rescue
|
|
20
|
+
|
|
21
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# this code is to list the gem directories that are
|
|
2
|
+
def listgemdirectories
|
|
3
|
+
gemdirectory_gemfiles = $gembuild_directory
|
|
4
|
+
fileList = Dir.new(gemdirectory_gemfiles).entries.sort
|
|
5
|
+
@listgemspecrecordfilesresult = ""
|
|
6
|
+
@listgemdirectoriesresult = fileList.rwd_method("fillshowgemdirsname")
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
def fillshowgemdirsname(inffile)
|
|
10
|
+
applet = inffile
|
|
11
|
+
@a_gemdirectoryinput = applet
|
|
12
|
+
|
|
13
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# this code is to list the contact gemspecs
|
|
2
|
+
def listgemspecrecordfiles
|
|
3
|
+
fileList = Dir.new($gemspec_directory).entries.sort.delete_if { |x| ! (x =~ /gemspec$/) }
|
|
4
|
+
|
|
5
|
+
@listgemspecrecordfilesresult = fileList.rwd_method("fillcontactrecordgemspec")
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
# this method is to help fill in list of gemspecs
|
|
9
|
+
def fillcontactrecordgemspec(inffile)
|
|
10
|
+
applet = inffile.gsub(/\.gemspec$/, "")
|
|
11
|
+
@a_viewgemspecdata = applet
|
|
12
|
+
end
|
|
13
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# this method views an existing address record
|
|
2
|
+
def loadgemspecrecord
|
|
3
|
+
|
|
4
|
+
require 'fileutils'
|
|
5
|
+
@a_filegemspec = $currentgemspectext
|
|
6
|
+
|
|
7
|
+
begin # exception trapped block
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
filegemspec = $gemspec_directory + "/" + $currentgemspectext + ".gemspec"
|
|
11
|
+
|
|
12
|
+
fd = File.open(filegemspec,"r")
|
|
13
|
+
@a_gemspecfilename = $currentgemspectext
|
|
14
|
+
@a_gemspecline1 = fd.readline.chomp
|
|
15
|
+
@a_gemspecline2 = fd.readline.chomp
|
|
16
|
+
@a_gemspecline3 = fd.readline.chomp
|
|
17
|
+
@a_gemspecline4 = fd.readline.chomp
|
|
18
|
+
@a_gemspecline5 = fd.readline.chomp
|
|
19
|
+
@a_gemspecline6 = fd.readline.chomp
|
|
20
|
+
@a_gemspecline7 =fd.readline.chomp
|
|
21
|
+
@a_gemspecline8 = fd.readline.chomp
|
|
22
|
+
@a_gemspecline9 = fd.readline.chomp
|
|
23
|
+
@a_gemspecline10= fd.readline.chomp
|
|
24
|
+
@a_gemspecline11= fd.readline.chomp
|
|
25
|
+
@a_gemspecline12= fd.readline.chomp
|
|
26
|
+
@a_gemspecline13= fd.readline.chomp
|
|
27
|
+
@a_gemspecline14= fd.readline.chomp
|
|
28
|
+
@a_gemspecline15= fd.readline.chomp
|
|
29
|
+
@a_gemspecline16= fd.readline.chomp
|
|
30
|
+
@a_gemspecline17= fd.readline.chomp
|
|
31
|
+
|
|
32
|
+
while ! fd.eof?
|
|
33
|
+
@extragemspecdatadisplay = fd.readline
|
|
34
|
+
end
|
|
35
|
+
fd.close
|
|
36
|
+
rescue SystemCallError, StandardError
|
|
37
|
+
$stderr.print "system call error: " + $!
|
|
38
|
+
end # exception rescue
|
|
39
|
+
|
|
40
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
def viewgemspecdata
|
|
2
|
+
require 'fileutils'
|
|
3
|
+
$currentgemspectext = "%s" % [@a_viewgemspecdata]
|
|
4
|
+
|
|
5
|
+
begin # exception trapped block
|
|
6
|
+
|
|
7
|
+
Dir.chdir($progdir)
|
|
8
|
+
filegemspec = $gemspec_directory + "/" + $currentgemspectext + ".gemspec"
|
|
9
|
+
|
|
10
|
+
fd = File.open(filegemspec,"r")
|
|
11
|
+
@viewgemspecdatadisplay = " "
|
|
12
|
+
while ! fd.eof?
|
|
13
|
+
@viewgemspecdatadisplay = fd.read
|
|
14
|
+
end
|
|
15
|
+
fd.close
|
|
16
|
+
rescue SystemCallError, StandardError
|
|
17
|
+
$stderr.print "system call error: " + $!
|
|
18
|
+
end # exception rescue
|
|
19
|
+
|
|
20
|
+
end
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
RubySlippersVersion = "0.94"
|
|
1
|
+
|
|
3
2
|
#$gemdirectory = "c:\\ruby\\lib\\ruby\\gems\\1.8" # XP machine
|
|
4
3
|
$gemdirectory = "/usr/lib/ruby/gems/1.8" # Linux machine
|
|
5
4
|
#$gemspecificationsdirectory = "c:\\ruby\\lib\\ruby\\gems\\1.8\\specifications" # XP
|
|
6
5
|
$gemspecificationsdirectory = "/usr/lib/ruby/gems/1.8/specifications"
|
|
7
6
|
#$xpcommand = "cmd /C " # XP machines with cmd shell
|
|
8
7
|
$xpcommand = " " # Linux machines
|
|
8
|
+
$gemspec_directory = "/usr/src/rwdapplets"
|
|
9
|
+
$gembuild_directory = "/usr/src/rwdapplets"
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
RwdTinkerVersion = "1.4"
|
|
3
2
|
CodeName = "rwdtinker"
|
|
4
3
|
CodeNameFile = CodeName + ".rb"
|
|
5
4
|
LangNameFile = "rwdlanguage.rb"
|
|
6
5
|
RWDFile = "rwdtinker.rwd"
|
|
7
|
-
#$lang = "jp"
|
|
8
|
-
$lang= "en"
|
|
9
|
-
#$lang= "nl"
|
|
10
|
-
#$lang= "es"
|
|
11
6
|
@@codedir = "code"
|
|
12
7
|
@@guidir = "gui"
|
|
13
8
|
@@langdir = "lang"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<tab name=\"gemcommands\" caption=#{Message[:gemcommands]}>
|
|
4
|
+
<horizontal>
|
|
5
|
+
<button caption=\"Show Environment\" action=\"showgemenvironment\"/>
|
|
6
|
+
<button caption=\"Cancel\" action=\"main\"/>
|
|
7
|
+
</horizontal>
|
|
8
|
+
<p>%viewgemcommandresult%</p>
|
|
9
|
+
<horizontal>
|
|
10
|
+
<button caption=\"Show Gem Command Choices\" action=\"showgemcommandoptions\"/>
|
|
11
|
+
|
|
12
|
+
</horizontal>
|
|
13
|
+
<table>
|
|
14
|
+
<select name=\"a_gemcommandinput\"> %%gemcommandoptions%% </select>
|
|
15
|
+
<p>Additional Options: <text name=\"a_gemcommandoptioninput\"/> </p>
|
|
16
|
+
</table>
|
|
17
|
+
<horizontal>
|
|
18
|
+
<button caption=\"Run Command\" action=\"rungemcommand\"/>
|
|
19
|
+
<button caption=\"Cancel\" action=\"main\"/>
|
|
20
|
+
</horizontal>
|
|
21
|
+
<p>%gemcommandresult%</p>
|
|
22
|
+
</tab>"
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<tab name=\"viewrubyslippersconfiguration\" caption=\"Rubyslippers Configuration\">
|
|
4
|
+
<table>
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
</table>
|
|
8
|
+
|
|
9
|
+
<horizontal>
|
|
10
|
+
<button caption=\"View Configuration File\" action=\"viewrubyslippersconfiguration\"/>
|
|
11
|
+
</horizontal>
|
|
12
|
+
<p>%rubyslippersconfigurationtext%</p>
|
|
13
|
+
</tab>"
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<tab name=\"Viewgemspecdata\" caption=\"View Gemspec\">
|
|
4
|
+
|
|
5
|
+
<table>
|
|
6
|
+
<row> <p align=\"right\">Gemspec Name:</p> <text name=\"a_viewgemspecdata\"/> </row>
|
|
7
|
+
|
|
8
|
+
</table>
|
|
9
|
+
|
|
10
|
+
<horizontal>
|
|
11
|
+
<button caption=\"Open\" action=\"viewgemspecdata\"/>
|
|
12
|
+
|
|
13
|
+
<button caption=\"Cancel\" action=\"main\"/>
|
|
14
|
+
|
|
15
|
+
</horizontal>"
|
|
16
|
+
|
|
17
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<tab name=\"editgemspecrecordfile\" caption=\"Edit Gemspec\">
|
|
4
|
+
<table>
|
|
5
|
+
<row> <p> </row>
|
|
6
|
+
<row> <p align=\"right\">You can create a new record here or edit one</row>
|
|
7
|
+
<row> <p> </row>
|
|
8
|
+
<horizontal>
|
|
9
|
+
<button caption=\"Fill Record\" action=\"loadgemspecrecord\"/>
|
|
10
|
+
<button caption=\"Save Changes\" action=\"creategemspecrecord\"/>
|
|
11
|
+
<button caption=\"Clear\" action=\"cleargemspecscreendisplay\"/>
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
</horizontal>
|
|
17
|
+
<table>
|
|
18
|
+
<row> <p align=\"right\">1:</p> <text name=\"a_gemspecfilename\"/> </row>
|
|
19
|
+
|
|
20
|
+
<row> <p align=\"right\">1:</p> <text name=\"a_gemspecline1\"/> </row>
|
|
21
|
+
<row> <p align=\"right\">2:</p> <text name=\"a_gemspecline2\"/> </row>
|
|
22
|
+
<row> <p align=\"right\">3:</p> <text name=\"a_gemspecline3\"/> </row>
|
|
23
|
+
<row> <p align=\"right\">4:</p> <text name=\"a_gemspecline4\"/> </row>
|
|
24
|
+
<row> <p align=\"right\">5:</p> <text name=\"a_gemspecline5\"/> </row>
|
|
25
|
+
<row> <p align=\"right\">6:</p> <text name=\"a_gemspecline6\"/> </row>
|
|
26
|
+
<row> <p align=\"right\">7:</p> <text name=\"a_gemspecline7\"/> </row>
|
|
27
|
+
<row> <p align=\"right\">8:</p> <text name=\"a_gemspecline8\"/> </row>
|
|
28
|
+
<row> <p align=\"right\">9:</p> <text name=\"a_gemspecline9\"/> </row>
|
|
29
|
+
<row> <p align=\"right\">10:</p> <text name=\"a_gemspecline10\"/> </row>
|
|
30
|
+
<row> <p align=\"right\">11:</p> <text name=\"a_gemspecline11\"/> </row>
|
|
31
|
+
<row> <p align=\"right\">12:</p> <text name=\"a_gemspecline12\"/> </row>
|
|
32
|
+
<row> <p align=\"right\">13:</p> <text name=\"a_gemspecline13\"/> </row>
|
|
33
|
+
<row> <p align=\"right\">14:</p> <text name=\"a_gemspecline14\"/> </row>
|
|
34
|
+
<row> <p align=\"right\">15:</p> <text name=\"a_gemspecline15\"/> </row>
|
|
35
|
+
<row> <p align=\"right\">16:</p> <text name=\"a_gemspecline16\"/> </row>
|
|
36
|
+
<row> <p align=\"right\">17:</p> <text name=\"a_gemspecline17\"/> </row>
|
|
37
|
+
|
|
38
|
+
</table>
|
|
39
|
+
<p>%extragemspecdatadisplay%</p>
|
|
40
|
+
<p>
|
|
41
|
+
<p>%createnewgemspecrecorddisplay%</p>
|
|
42
|
+
</tab>"
|
|
43
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<tab name=\"gemutilitiesrubyslippers\" caption=\"Build Gem\">
|
|
4
|
+
|
|
5
|
+
<table>
|
|
6
|
+
<row> <p align=\"right\">Gemspec Name:</p> <text name=\"a_viewgemspecdata\"/> </row>
|
|
7
|
+
<row> <p align=\"right\">New Name:</p> <text name=\"a_changegemspecdata\"/> </row>
|
|
8
|
+
|
|
9
|
+
</table>
|
|
10
|
+
|
|
11
|
+
<horizontal>
|
|
12
|
+
<button caption=\"Rename Gemspec\" action=\"changegemspecdata\"/>
|
|
13
|
+
<button caption=\"Copy Gemspec\" action=\"copygemspecdata\"/>
|
|
14
|
+
<button caption=\"Delete Gemspec\" action=\"deletegemspecrecord\"/>
|
|
15
|
+
</horizontal>
|
|
16
|
+
<table>
|
|
17
|
+
|
|
18
|
+
<row> <p align=\"right\">Gem Directory:</p> <text name=\"a_gemdirectoryinput\"/> </row>
|
|
19
|
+
</table>
|
|
20
|
+
|
|
21
|
+
<horizontal>
|
|
22
|
+
<button caption=\"Create Gem\" action=\"creategem\"/>
|
|
23
|
+
</horizontal>
|
|
24
|
+
%%installgemresult%%
|
|
25
|
+
<horizontal>
|
|
26
|
+
<button caption=\"List Gemspecs\" action=\"listgemspecrecordfiles\"/>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
<button caption=\"List Gem Directories\" action=\"listgemdirectories\"/>
|
|
30
|
+
</horizontal>
|
|
31
|
+
|
|
32
|
+
<p>%%listgemspecrecordfilesresult%%</p>
|
|
33
|
+
<p>%%listgemdirectoriesresult%%</p>
|
|
34
|
+
</tab>"
|
|
File without changes
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<tab name=\"diagnostictab\" caption=\"Diagnostic Tab\">
|
|
4
|
+
<horizontal>
|
|
5
|
+
<button caption=\"View Ruby Version\" action=\"runrubyversion\"/>
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
</horizontal>
|
|
9
|
+
<p>%rubyversion%</p>
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
<table>
|
|
13
|
+
<row> <p> </row>
|
|
14
|
+
|
|
15
|
+
</table>
|
|
16
|
+
|
|
17
|
+
<horizontal>
|
|
18
|
+
<button caption=\"view platform\" action=\"runviewplatform\"/>
|
|
19
|
+
|
|
20
|
+
</horizontal>
|
|
21
|
+
|
|
22
|
+
<p>%platformdisplay%</p>
|
|
23
|
+
<horizontal>
|
|
24
|
+
<button caption=\"View rwdtinker Version\" action=\"rwdtinkerversiondiagnostic\"/>
|
|
25
|
+
|
|
26
|
+
</horizontal>
|
|
27
|
+
|
|
28
|
+
<p>%rwdtinkerversionreturn%</p>
|
|
29
|
+
|
|
30
|
+
</tab>"
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
File without changes
|
data/lang/xlocallangfile.rb
CHANGED
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
# English Language files for Rubyslippers
|
|
2
2
|
|
|
3
|
-
:viewgem => '"
|
|
4
|
-
|
|
5
|
-
:
|
|
6
|
-
:
|
|
7
|
-
:
|
|
8
|
-
:
|
|
9
|
-
:
|
|
10
|
-
:
|
|
11
|
-
:
|
|
12
|
-
:list_installed_gems => '"Lista de Instalado Gems"',# Lang file for rwdclandar - nl
|
|
3
|
+
:viewgem => '"View Gem"',
|
|
4
|
+
:installgem => '"Install Gem"',
|
|
5
|
+
:gemcommands => '"Gem Commands"',
|
|
6
|
+
:gemfiles => '"Gem Files"',
|
|
7
|
+
:gemdocs => '"Gem Docs"',
|
|
8
|
+
:gem_name => "Gem Name",
|
|
9
|
+
:cancel => '"Cancel"',
|
|
10
|
+
:open => '"Open"',
|
|
11
|
+
:list_installed_gems => '"List Installed Gems"',# Lang file for rwdclandar - nl
|
|
13
12
|
|
|
14
|
-
:year => "
|
|
15
|
-
:month => "
|
|
13
|
+
:year => "Year:",
|
|
14
|
+
:month => "Month:",
|
|
16
15
|
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
:clickfor_version => '"Pulse para versi�n"',
|
|
20
|
-
:documents => '"Documentos"',
|
|
21
|
-
:help => '"Ayuda"',
|
|
22
|
-
:module_unknown => "Module desconocido.",
|
|
23
|
-
:next => '"Siguiente"',
|
|
24
|
-
:rwdtinker => "RwdTinker",
|
|
25
|
-
:rwdtinker_help_window => '"RwdTinker Ventana Ayuda"',
|
|
26
|
-
:rwdtinker_help => '"RwdTinker Ayuda"',
|
|
27
|
-
:rwdtinker_window_2 => "RwdTinker Ventana 2",
|
|
28
|
-
:rwdtinker_back_window => '"RwdTinker Ventana Trasera"',
|
|
29
|
-
:tinker_logo => "Insignia de Tinker",
|
|
30
|
-
:selection_panel => '"Selecci�n Panel"',
|
|
17
|
+
# English Language files for RwdTinker core
|
|
31
18
|
|
|
19
|
+
|
|
20
|
+
:applet_installed => "applet installed!.",
|
|
21
|
+
:clickfor_version => '"click for version"',
|
|
22
|
+
:documents => '"Documents"',
|
|
23
|
+
:help => '"Help"',
|
|
24
|
+
:module_unknown => "Module unknown",
|
|
25
|
+
:next => '"Next"',
|
|
26
|
+
:rwdtinker_window_2 => "RwdTinker Window 2",
|
|
27
|
+
:rwdtinker => "RwdTinker",
|
|
28
|
+
:rwdtinker_help_window => '"RwdTinker Help Window"',
|
|
29
|
+
:rwdtinker_back_window => '"RwdTinker Back Window"',
|
|
30
|
+
:rwdtinker_help => '"RwdTinker Help"',
|
|
31
|
+
:tinker_logo => "Tinker Logo",
|
|
32
|
+
:selection_panel => '"Selection Panel"',
|
|
@@ -4,9 +4,21 @@ How To use RubySlippers - a frontend for RubyGems
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
The configuration file is at:
|
|
7
|
-
configuration/
|
|
7
|
+
configuration/rubyslippers.cnf
|
|
8
8
|
|
|
9
|
-
There you can change the location of your gemspec files.
|
|
9
|
+
There you can change the location of your gemspec files.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
= Quick Start
|
|
13
|
+
|
|
14
|
+
You should unzip the program in a directory you have assess to.
|
|
15
|
+
|
|
16
|
+
at the command line run:
|
|
17
|
+
ruby init.rb
|
|
18
|
+
Point your browser at
|
|
19
|
+
http://localhost:7705
|
|
20
|
+
or where it tells you
|
|
21
|
+
|
|
10
22
|
|
|
11
23
|
= View Gem
|
|
12
24
|
|
|
@@ -71,20 +83,31 @@ Go to "Gem Files" tab
|
|
|
71
83
|
|
|
72
84
|
|
|
73
85
|
Click on Show Application Files
|
|
74
|
-
This will show your list of files installed
|
|
86
|
+
This will show your list of files installed
|
|
87
|
+
|
|
88
|
+
== Rubyslippers Back Window
|
|
75
89
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
90
|
+
From the Selection Panel you can click on the Rubyslippers Back Window
|
|
91
|
+
This window has tabs to help you in building gems
|
|
92
|
+
|
|
93
|
+
== Add Info
|
|
94
|
+
|
|
95
|
+
To view gemspecs you already have see the View Gemspec tab
|
|
96
|
+
|
|
97
|
+
For edits to gemspec go to the Edit Gem tab
|
|
98
|
+
|
|
99
|
+
At the Build Gem tab
|
|
100
|
+
You can
|
|
101
|
+
Rename gemspec
|
|
102
|
+
Delete gemspec
|
|
103
|
+
copy gemspec
|
|
104
|
+
|
|
105
|
+
When building a gem the
|
|
106
|
+
The Gem name should be pointing to the Gemspec that you want
|
|
107
|
+
Gem Directory box should be pointing to the top directory of you source files
|
|
108
|
+
|
|
109
|
+
|
|
81
110
|
|
|
82
|
-
at the command line run:
|
|
83
|
-
ruby init.rb
|
|
84
|
-
Point your browser at
|
|
85
|
-
http://localhost:7706
|
|
86
|
-
or where it tells you
|
|
87
|
-
|
|
88
111
|
Have alot of fun!
|
|
89
112
|
give me bug reports and suggestions.
|
|
90
113
|
|
|
@@ -103,7 +126,27 @@ give me bug reports and suggestions.
|
|
|
103
126
|
when you click on a document name, the document should pop up in a
|
|
104
127
|
browser window, or in another browser tab.
|
|
105
128
|
|
|
106
|
-
|
|
129
|
+
|
|
130
|
+
== Using over a Network
|
|
131
|
+
|
|
132
|
+
To serve the application over your local LAN,change the last line in the
|
|
133
|
+
init.rb file to something like:
|
|
134
|
+
RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
|
|
135
|
+
Then you should be able to login at: http://yourhostname:8080
|
|
136
|
+
|
|
137
|
+
You have to authorize yourself. The .rwuids example is a string with
|
|
138
|
+
the name of the authorization file, relative to the home directory
|
|
139
|
+
of the user that started the service. This file has to be in the form of:
|
|
140
|
+
|
|
141
|
+
user1 = password
|
|
142
|
+
user2 = pass phrase
|
|
143
|
+
|
|
144
|
+
Thus the file .rwduids might contain:
|
|
145
|
+
|
|
146
|
+
erik = secret
|
|
147
|
+
|
|
148
|
+
==Contacts
|
|
149
|
+
|
|
107
150
|
For more information see:
|
|
108
151
|
http://rwdapplications.rubyforge.org/wiki/wiki.pl
|
|
109
152
|
|
|
@@ -114,6 +157,17 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
|
114
157
|
Thanks, Steven Gibson
|
|
115
158
|
|
|
116
159
|
=Changelog
|
|
160
|
+
Version 0.95
|
|
161
|
+
Updated for version 1.42 - semi-live updates should work
|
|
162
|
+
Changed gem commands tab - added pull down choices
|
|
163
|
+
Added tab for viewing Rubyslippers configuration file
|
|
164
|
+
Added back window with tabs for building gems
|
|
165
|
+
Added list gemspec files
|
|
166
|
+
view a gemspec file
|
|
167
|
+
Edit a gemspec
|
|
168
|
+
Rename, copy, delete gemspec file
|
|
169
|
+
build gem
|
|
170
|
+
|
|
117
171
|
Version 0.94
|
|
118
172
|
Updated to version 1.4 of rwdtinker
|
|
119
173
|
added more i18n fixes
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
|
-
rubygems_version: 0.8.
|
|
2
|
+
rubygems_version: 0.8.4
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: rubyslippers
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: "0.
|
|
7
|
-
date:
|
|
6
|
+
version: "0.95"
|
|
7
|
+
date: 2005-01-13
|
|
8
8
|
summary: RubySlippers is a GUI wrapper for RubyGems using RubyWebDialogs.
|
|
9
9
|
require_paths:
|
|
10
10
|
- "."
|
|
@@ -30,29 +30,45 @@ files:
|
|
|
30
30
|
- code/ag1core/aa0begin.rb
|
|
31
31
|
- code/ag1core/rwdtinkerversion.rb
|
|
32
32
|
- code/ii6rubyslippers/gemserve.rb
|
|
33
|
-
- code/ii6rubyslippers/
|
|
34
|
-
- code/ii6rubyslippers/
|
|
35
|
-
- code/ii6rubyslippers/
|
|
36
|
-
- code/ii6rubyslippers/
|
|
37
|
-
- code/ii6rubyslippers/
|
|
38
|
-
- code/ii6rubyslippers/
|
|
39
|
-
- code/ii6rubyslippers/
|
|
40
|
-
- code/ii6rubyslippers/
|
|
41
|
-
- code/ii6rubyslippers/ij9execgemserve.rb
|
|
33
|
+
- code/ii6rubyslippers/listgemrecord.rb
|
|
34
|
+
- code/ii6rubyslippers/installgem.rb
|
|
35
|
+
- code/ii6rubyslippers/listgemremote.rb
|
|
36
|
+
- code/ii6rubyslippers/gemcommands.rb
|
|
37
|
+
- code/ii6rubyslippers/gemenvironment.rb
|
|
38
|
+
- code/ii6rubyslippers/gemfilesinstalled.rb
|
|
39
|
+
- code/ii6rubyslippers/listgemdirs.rb
|
|
40
|
+
- code/ii6rubyslippers/execgemserve.rb
|
|
42
41
|
- code/ii6rubyslippers/rubyslippershelpabout.rb
|
|
43
42
|
- code/ii6rubyslippers/runrubyslipperswindow.rb
|
|
43
|
+
- code/ii6rubyslippers/viewgemdata.rb
|
|
44
|
+
- code/ii6rubyslippers/viewrubyslippersconfiguration.rb
|
|
44
45
|
- code/xa5rwdtinkercallable/callable.rb
|
|
45
|
-
- code/xb1rwdtinkerbackwindow/
|
|
46
|
+
- code/xb1rwdtinkerbackwindow/openappletname.rb
|
|
47
|
+
- code/xb1rwdtinkerbackwindow/removeapplet.rb
|
|
48
|
+
- code/xb1rwdtinkerbackwindow/installapplet.rb
|
|
49
|
+
- code/xb1rwdtinkerbackwindow/listzips.rb
|
|
46
50
|
- code/xb1rwdtinkerbackwindow/diagnostictab.rb
|
|
47
|
-
- code/xb1rwdtinkerbackwindow/ll1openname.rb
|
|
48
|
-
- code/xb1rwdtinkerbackwindow/ll5listzips.rb
|
|
49
|
-
- code/xb1rwdtinkerbackwindow/lm1installapplet.rb
|
|
50
|
-
- code/xb1rwdtinkerbackwindow/mm1removeapplet.rb
|
|
51
51
|
- code/xb1rwdtinkerbackwindow/rwdtinkerwin2version.rb
|
|
52
|
+
- code/xb1rwdtinkerbackwindow/listinstalledfiles.rb
|
|
53
|
+
- code/xb1rwdtinkerbackwindow/clearscreendisplay.rb
|
|
52
54
|
- code/zz0applicationend/zz0end.rb
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
55
|
+
- code/xb2rubyslippersbackwindow/copygemspecdata.rb
|
|
56
|
+
- code/xb2rubyslippersbackwindow/changegemspecdata.rb
|
|
57
|
+
- code/xb2rubyslippersbackwindow/listgemdirectories.rb
|
|
58
|
+
- code/xb2rubyslippersbackwindow/deletegemspecrecord.rb
|
|
59
|
+
- code/xb2rubyslippersbackwindow/creategem.rb
|
|
60
|
+
- code/xb2rubyslippersbackwindow/viewgemspecdata.rb
|
|
61
|
+
- code/xb2rubyslippersbackwindow/listgemspecrecord.rb
|
|
62
|
+
- code/xb2rubyslippersbackwindow/loadgemspecrecord.rb
|
|
63
|
+
- code/xb2rubyslippersbackwindow/clearscreendisplay.rb
|
|
64
|
+
- code/xb2rubyslippersbackwindow/creategemspecrecord.rb
|
|
65
|
+
- configuration/rubyslippers.cnf
|
|
66
|
+
- configuration/rubyslippersversion.cnf
|
|
67
|
+
- configuration/language.cnf
|
|
68
|
+
- configuration/rwdtinker.cnf
|
|
69
|
+
- configuration/rwdtinkerversion.cnf
|
|
70
|
+
- configuration/tinkerwin2.cnf
|
|
71
|
+
- configuration/tinkerwin2version.cnf
|
|
56
72
|
- ev/browser.rb
|
|
57
73
|
- ev/ftools.rb
|
|
58
74
|
- ev/net.rb
|
|
@@ -81,13 +97,14 @@ files:
|
|
|
81
97
|
- lang/nl/rwdcore/languagefile.rb
|
|
82
98
|
- lang/nl/rubyslippers/languagefile.rb
|
|
83
99
|
- gui/aa2core/aa0rwdtop.rwd
|
|
84
|
-
- gui/ii6rubyslippers/
|
|
85
|
-
- gui/ii6rubyslippers/
|
|
86
|
-
- gui/ii6rubyslippers/
|
|
87
|
-
- gui/ii6rubyslippers/
|
|
88
|
-
- gui/ii6rubyslippers/
|
|
89
|
-
- gui/ii6rubyslippers/
|
|
90
|
-
- gui/ii6rubyslippers/
|
|
100
|
+
- gui/ii6rubyslippers/70listgemsremote.rwd
|
|
101
|
+
- gui/ii6rubyslippers/90gemserverscan.rwd
|
|
102
|
+
- gui/ii6rubyslippers/80gemcommands.rwd
|
|
103
|
+
- gui/ii6rubyslippers/85gemfilesinstalled.rwd
|
|
104
|
+
- gui/ii6rubyslippers/92viewconfiguration.rwd
|
|
105
|
+
- gui/ii6rubyslippers/60installgem.rwd
|
|
106
|
+
- gui/ii6rubyslippers/40listgemrecordfiles.rwd
|
|
107
|
+
- gui/ii6rubyslippers/30viewgemdata.rwd
|
|
91
108
|
- gui/ll1selectiontabbegin/selectiontabbegin.rwd
|
|
92
109
|
- gui/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd
|
|
93
110
|
- gui/lz1selectiontabend/endselectiontab.rwd
|
|
@@ -119,7 +136,17 @@ files:
|
|
|
119
136
|
- gui/yi2rubyslippers/5version.rwd
|
|
120
137
|
- gui/yy5helpaboutend/helpscreenend.rwd
|
|
121
138
|
- gui/za1applicationend/yy9rwdend.rwd
|
|
122
|
-
-
|
|
139
|
+
- gui/xb2rubyslippersbackwindow/1appname.rwd
|
|
140
|
+
- gui/xb2rubyslippersbackwindow/7gemcommands.rwd
|
|
141
|
+
- gui/xb2rubyslippersbackwindow/6buildgem.rwd
|
|
142
|
+
- gui/xb2rubyslippersbackwindow/98returntab.rwd
|
|
143
|
+
- gui/xb2rubyslippersbackwindow/3viewgemspec.rwd
|
|
144
|
+
- gui/xb2rubyslippersbackwindow/5editgemspecrecord.rwd
|
|
145
|
+
- gui/xb2rubyslippersbackwindow/7rwddiagnostics.rwd
|
|
146
|
+
- gui/xb2rubyslippersbackwindow/zbackend.rwd
|
|
147
|
+
- gui/xb2rubyslippersbackwindow/4listgemspecrecord.rwd
|
|
148
|
+
- gui/ll6rubyslippersselectiontab/rubyslippersselectiontab.rwd
|
|
149
|
+
- installed/rubyslippers-0.95.inf
|
|
123
150
|
- installed/rwdtinkerwin2-0.5.inf
|
|
124
151
|
- rwd_files/favicon.ico
|
|
125
152
|
- rwd_files/GemDocuments.html
|