arcadia 0.1.2.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,11 @@
1
- name=shell
2
- active=yes
3
- require=ext/ae-shell/ae-shell
4
- class=Shell
5
-
6
-
7
- #:::::::::::::::: output ::::::::::::::::::::::<begin>
8
- ruby=ruby
9
- freebsd::ruby=ruby
10
- win::ruby=ruby
11
- #:::::::::::::::: output ::::::::::::::::::::::<end>
1
+ name=shell
2
+ active=yes
3
+ require=ext/ae-shell/ae-shell
4
+ class=Shell
5
+
6
+
7
+ #:::::::::::::::: output ::::::::::::::::::::::<begin>
8
+ ruby=ruby
9
+ freebsd::ruby=ruby
10
+ win32::ruby=ruby
11
+ #:::::::::::::::: output ::::::::::::::::::::::<end>
@@ -1,51 +1,50 @@
1
- #
2
- # ae-shell.rb - Arcadia Ruby ide
3
- # by Antonio Galeone <antonio-galeone@rubyforge.org>
4
- #
5
-
6
- require "tk"
7
- require "base/a-utils"
8
-
9
- class Shell < ArcadiaExt
10
-
11
- def build
12
- @run_threads = Array.new
13
- end
14
-
15
- def run_last
16
- run($arcadia['pers']['run.file.last'])
17
- end
18
-
19
- def run_current
20
- current_editor = $arcadia['editor'].raised
21
- run(current_editor.file) if current_editor
22
- end
23
-
24
- def stop
25
- @run_threads.each{|t|
26
- if t.alive?
27
- t.kill
28
- end
29
- }
30
- debug_quit if @adw
31
- end
32
-
33
- def run(_filename=nil)
34
- if _filename
35
- begin
36
- $arcadia['pers']['run.file.last']=_filename
37
- @run_threads << Thread.new{
38
- _cmd_ = "|"+$arcadia['conf']['shell.ruby']+" "+_filename+" 2>&1"
39
- #MsgContract.instance.out_debug(self, _cmd_)
40
- @cmd = open(_cmd_,"r"){
41
- |f|
42
- MsgContract.instance.out_debug(self, f.read)
43
- }
44
- }
45
- rescue Exception => e
46
- MsgContract.instance.out_debug(self, e)
47
- end
48
- end
49
- end
50
-
51
- end
1
+ #
2
+ # ae-shell.rb - Arcadia Ruby ide
3
+ # by Antonio Galeone <antonio-galeone@rubyforge.org>
4
+ #
5
+
6
+ require "tk"
7
+ require "base/a-utils"
8
+
9
+ class Shell < ArcadiaExt
10
+
11
+ def build
12
+ @run_threads = Array.new
13
+ end
14
+
15
+ def run_last
16
+ run($arcadia['pers']['run.file.last'])
17
+ end
18
+
19
+ def run_current
20
+ current_editor = $arcadia['editor'].raised
21
+ run(current_editor.file) if current_editor
22
+ end
23
+
24
+ def stop
25
+ @run_threads.each{|t|
26
+ if t.alive?
27
+ t.kill
28
+ end
29
+ }
30
+ debug_quit if @adw
31
+ end
32
+
33
+ def run(_filename=nil)
34
+ if _filename
35
+ begin
36
+ $arcadia['pers']['run.file.last']=_filename
37
+ @run_threads << Thread.new{
38
+ _cmd_ = "|"+$arcadia['conf']['shell.ruby']+" "+_filename+" 2>&1"
39
+ # MsgContract.instance.out_debug(self, _cmd_)
40
+ @cmd = open(_cmd_,"r"){|f|
41
+ MsgContract.instance.out_debug(self, f.read)
42
+ }
43
+ }
44
+ rescue Exception => e
45
+ MsgContract.instance.out_debug(self, e)
46
+ end
47
+ end
48
+ end
49
+
50
+ end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: arcadia
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.2.1
7
- date: 2007-05-14 00:00:00 +02:00
6
+ version: 0.1.3
7
+ date: 2007-07-02 00:00:00 +02:00
8
8
  summary: An Ide for Ruby application building with ruby-tk.
9
9
  require_paths:
10
10
  - lib
@@ -32,6 +32,7 @@ files:
32
32
  - base/a-ext.rb
33
33
  - base/a-utils.rb
34
34
  - base/a-contracts.rb
35
+ - base/a-contracts-work.rb
35
36
  - conf/arcadia.conf
36
37
  - conf/arcadia.init.rb
37
38
  - conf/arcadia.res.rb
@@ -46,11 +47,12 @@ files:
46
47
  - ext/ae-output-event
47
48
  - ext/ae-file-history
48
49
  - ext/ae-doc-code
50
+ - ext/ae-ruby-debug
51
+ - ext/ae-flag
49
52
  - ext/ae-inspector/ae-inspector.rb
50
53
  - ext/ae-inspector/ae-inspector.conf
51
54
  - ext/ae-shell/ae-shell.conf
52
55
  - ext/ae-shell/ae-shell.rb
53
- - ext/ae-shell/ae-shell.rb~~
54
56
  - ext/ae-complete-code/ae-complete-code.conf
55
57
  - ext/ae-complete-code/ae-complete-code.rb
56
58
  - ext/ae-palette/ae-palette.rb
@@ -69,6 +71,10 @@ files:
69
71
  - ext/ae-file-history/ae-file-history.conf
70
72
  - ext/ae-doc-code/ae-doc-code.rb
71
73
  - ext/ae-doc-code/ae-doc-code.conf
74
+ - ext/ae-ruby-debug/ae-ruby-debug.rb
75
+ - ext/ae-ruby-debug/ae-ruby-debug.conf
76
+ - ext/ae-flag/ae-flag.rb
77
+ - ext/ae-flag/ae-flag.conf
72
78
  - lib/tk
73
79
  - lib/tkext
74
80
  - lib/tk/al-tk.rb
@@ -230,5 +236,22 @@ extensions: []
230
236
 
231
237
  requirements: []
232
238
 
233
- dependencies: []
234
-
239
+ dependencies:
240
+ - !ruby/object:Gem::Dependency
241
+ name: rcodetools
242
+ version_requirement:
243
+ version_requirements: !ruby/object:Gem::Version::Requirement
244
+ requirements:
245
+ - - ">="
246
+ - !ruby/object:Gem::Version
247
+ version: 0.5.0.0
248
+ version:
249
+ - !ruby/object:Gem::Dependency
250
+ name: ruby-debug
251
+ version_requirement:
252
+ version_requirements: !ruby/object:Gem::Version::Requirement
253
+ requirements:
254
+ - - ">="
255
+ - !ruby/object:Gem::Version
256
+ version: 0.9.3
257
+ version:
@@ -1,49 +0,0 @@
1
- #
2
- # ae-shell.rb - Arcadia Ruby ide
3
- # by Antonio Galeone <antonio-galeone@rubyforge.org>
4
- #
5
-
6
- require "tk"
7
- require "base/a-utils"
8
-
9
- class Shell < ArcadiaExt
10
-
11
- def build
12
- @run_threads = Array.new
13
- end
14
-
15
- def run_last
16
- run($arcadia['pers']['run.file.last'])
17
- end
18
-
19
- def run_current
20
- current_editor = $arcadia['editor'].raised
21
- run(current_editor.file) if current_editor
22
- end
23
-
24
- def stop
25
- @run_threads.each{|t|
26
- if t.alive?
27
- t.kill
28
- end
29
- }
30
- debug_quit if @adw
31
- end
32
-
33
- def run(_filename=nil)
34
- if _filename
35
- begin
36
- $arcadia['pers']['run.file.last']=_filename
37
- @run_threads << Thread.new{
38
- @cmd = open("|"+$arcadia['conf']['shell.ruby']+" "+_filename+" 2>&1","r"){
39
- |f|
40
- MsgContract.instance.out_debug(self, f.read)
41
- }
42
- }
43
- rescue Exception => e
44
- MsgContract.instance.out_debug(self, e)
45
- end
46
- end
47
- end
48
-
49
- end