troshka 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/troshka/editor/bond_completer.rb +8 -2
- metadata +58 -59
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c2231304916f121479754a53af78d30f62268863
|
4
|
+
data.tar.gz: 73fdf332f109e54572644159d2f18172ba6fb14c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b93c2ac242fb74c734aaa0a826021c2126a469013d83a1bd56da869a784d1df30fd6c645d0dd3f662ca56ffacda3f981f6ef32b68771d2f80c2692ef050daa7b
|
7
|
+
data.tar.gz: 9001cd93ede89c908e6fb6b1cc5955097695e95e7bfdcf10f7b1731ec03b17da4badfd54983f2825b1384cdff2fefcc6a153fe37728521833b0e01acac3ef600
|
@@ -1,6 +1,13 @@
|
|
1
|
-
gem 'bond', '<= 0.4.2'
|
2
1
|
require "bond"
|
3
2
|
|
3
|
+
# A Bond patch to work with Qt
|
4
|
+
class Bond::ObjectMission
|
5
|
+
def default_action(obj)
|
6
|
+
methods = klass(obj).instance_methods rescue obj.class.instance_methods
|
7
|
+
methods.map {|e| e.to_s} - OPERATORS
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
4
11
|
class Completer
|
5
12
|
def initialize
|
6
13
|
Bond.start
|
@@ -11,5 +18,4 @@ class Completer
|
|
11
18
|
list = @completer.call word, line
|
12
19
|
list.sort!
|
13
20
|
end
|
14
|
-
|
15
21
|
end
|
metadata
CHANGED
@@ -1,109 +1,108 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: troshka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Patricio Ros
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
11
|
+
date: 2013-03-29 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
|
-
description:
|
15
|
-
|
13
|
+
description: " Troshka is an GUI Ruby console. It's an alternative to irb and\n other
|
14
|
+
Ruby REPLs. \n Troshka is written in Ruby and GUI uses Qt bindings.\n"
|
16
15
|
email: patricioros.dev@gmail.com
|
17
16
|
executables:
|
18
17
|
- troshka
|
19
18
|
extensions: []
|
20
19
|
extra_rdoc_files: []
|
21
20
|
files:
|
22
|
-
- lib/shirka/
|
21
|
+
- lib/shirka/app.rb
|
23
22
|
- lib/shirka/components.rb
|
24
|
-
- lib/shirka/qt.rb
|
25
|
-
- lib/shirka/eventalk.rb
|
26
23
|
- lib/shirka/controller.rb
|
27
|
-
- lib/shirka/
|
28
|
-
- lib/shirka/qt
|
29
|
-
- lib/shirka/qt/list_item/controller.rb
|
30
|
-
- lib/shirka/qt/list/view.rb
|
31
|
-
- lib/shirka/qt/list/controller.rb
|
32
|
-
- lib/shirka/qt/tree_item/view.rb
|
33
|
-
- lib/shirka/qt/tree_item/controller.rb
|
34
|
-
- lib/shirka/qt/tree/view.rb
|
35
|
-
- lib/shirka/qt/tree/controller.rb
|
24
|
+
- lib/shirka/eventalk.rb
|
25
|
+
- lib/shirka/qt.rb
|
36
26
|
- lib/shirka/qt/app.rb
|
37
|
-
- lib/shirka/qt/
|
38
|
-
- lib/shirka/qt/
|
27
|
+
- lib/shirka/qt/list/controller.rb
|
28
|
+
- lib/shirka/qt/list/view.rb
|
29
|
+
- lib/shirka/qt/list_item/controller.rb
|
30
|
+
- lib/shirka/qt/list_item/view.rb
|
39
31
|
- lib/shirka/qt/multipanel/controller.rb
|
40
|
-
- lib/shirka/
|
41
|
-
- lib/
|
42
|
-
- lib/
|
43
|
-
- lib/
|
44
|
-
- lib/
|
45
|
-
- lib/
|
46
|
-
- lib/
|
47
|
-
- lib/
|
48
|
-
- lib/troshka/
|
49
|
-
- lib/troshka/detail_panel_item_object/view.rb
|
50
|
-
- lib/troshka/detail_panel_item_object/controller.rb
|
51
|
-
- lib/troshka/detail/view.rb
|
32
|
+
- lib/shirka/qt/multipanel/view.rb
|
33
|
+
- lib/shirka/qt/tab/view.rb
|
34
|
+
- lib/shirka/qt/tree/controller.rb
|
35
|
+
- lib/shirka/qt/tree/view.rb
|
36
|
+
- lib/shirka/qt/tree_item/controller.rb
|
37
|
+
- lib/shirka/qt/tree_item/view.rb
|
38
|
+
- lib/shirka/shirka.rb
|
39
|
+
- lib/shirka/view.rb
|
40
|
+
- lib/troshka/app.rb
|
52
41
|
- lib/troshka/detail/controller.rb
|
53
|
-
- lib/troshka/
|
42
|
+
- lib/troshka/detail/view.rb
|
43
|
+
- lib/troshka/detail_panel_enumerable/controller.rb
|
44
|
+
- lib/troshka/detail_panel_enumerable/view.rb
|
54
45
|
- lib/troshka/detail_panel_hash/controller.rb
|
55
|
-
- lib/troshka/
|
56
|
-
- lib/troshka/
|
46
|
+
- lib/troshka/detail_panel_hash/view.rb
|
47
|
+
- lib/troshka/detail_panel_item_enumerable/controller.rb
|
48
|
+
- lib/troshka/detail_panel_item_enumerable/view.rb
|
49
|
+
- lib/troshka/detail_panel_item_hash/controller.rb
|
50
|
+
- lib/troshka/detail_panel_item_hash/view.rb
|
51
|
+
- lib/troshka/detail_panel_item_object/controller.rb
|
52
|
+
- lib/troshka/detail_panel_item_object/view.rb
|
53
|
+
- lib/troshka/detail_panel_object/controller.rb
|
54
|
+
- lib/troshka/detail_panel_object/view.rb
|
57
55
|
- lib/troshka/editor/bond_completer.rb
|
58
56
|
- lib/troshka/editor/completer.rb
|
59
|
-
- lib/troshka/editor/qtextedit_view.rb
|
60
57
|
- lib/troshka/editor/controller.rb
|
61
|
-
- lib/troshka/editor/
|
58
|
+
- lib/troshka/editor/line.rb
|
59
|
+
- lib/troshka/editor/qscintilla_view.rb
|
60
|
+
- lib/troshka/editor/qtextedit_view.rb
|
62
61
|
- lib/troshka/editor/qxscintilla.rb
|
63
|
-
- lib/troshka/
|
64
|
-
- lib/troshka/
|
65
|
-
- lib/troshka/
|
66
|
-
- lib/troshka/detail_panel_item_hash/controller.rb
|
67
|
-
- lib/troshka/methods/view.rb
|
62
|
+
- lib/troshka/editor/shell.rb
|
63
|
+
- lib/troshka/main/controller.rb
|
64
|
+
- lib/troshka/main/view.rb
|
68
65
|
- lib/troshka/methods/controller.rb
|
69
|
-
- lib/troshka/
|
66
|
+
- lib/troshka/methods/view.rb
|
70
67
|
- lib/troshka/methods_item/controller.rb
|
71
|
-
- lib/troshka/
|
72
|
-
- lib/troshka/output_item_exception/controller.rb
|
73
|
-
- lib/troshka/output/view.rb
|
68
|
+
- lib/troshka/methods_item/view.rb
|
74
69
|
- lib/troshka/output/controller.rb
|
75
|
-
- lib/troshka/
|
76
|
-
- lib/troshka/
|
77
|
-
- lib/troshka/
|
78
|
-
- lib/troshka/
|
79
|
-
- lib/troshka/
|
80
|
-
- lib/troshka/
|
81
|
-
- lib/troshka/
|
70
|
+
- lib/troshka/output/view.rb
|
71
|
+
- lib/troshka/output_item/controller.rb
|
72
|
+
- lib/troshka/output_item/view.rb
|
73
|
+
- lib/troshka/output_item_code/controller.rb
|
74
|
+
- lib/troshka/output_item_code/view.rb
|
75
|
+
- lib/troshka/output_item_exception/controller.rb
|
76
|
+
- lib/troshka/output_item_exception/view.rb
|
77
|
+
- lib/troshka/output_item_obj/controller.rb
|
78
|
+
- lib/troshka/output_item_obj/view.rb
|
79
|
+
- lib/troshka/output_item_output/controller.rb
|
80
|
+
- lib/troshka/output_item_output/view.rb
|
82
81
|
- resources/logo.png
|
83
82
|
- bin/troshka
|
84
83
|
homepage: https://github.com/pmros/troshka
|
85
|
-
licenses:
|
84
|
+
licenses:
|
85
|
+
- GPL3
|
86
|
+
metadata: {}
|
86
87
|
post_install_message:
|
87
88
|
rdoc_options: []
|
88
89
|
require_paths:
|
89
90
|
- lib
|
90
91
|
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
92
|
requirements:
|
93
|
-
- -
|
93
|
+
- - '>='
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: 1.9.0
|
96
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
97
|
requirements:
|
99
|
-
- -
|
98
|
+
- - '>='
|
100
99
|
- !ruby/object:Gem::Version
|
101
100
|
version: '0'
|
102
101
|
requirements:
|
103
102
|
- QtRuby
|
104
103
|
rubyforge_project:
|
105
|
-
rubygems_version:
|
104
|
+
rubygems_version: 2.0.3
|
106
105
|
signing_key:
|
107
|
-
specification_version:
|
106
|
+
specification_version: 4
|
108
107
|
summary: A GUI Ruby console
|
109
108
|
test_files: []
|