glimmer-cs-gladiator 0.6.4 → 0.8.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +51 -0
- data/LICENSE.txt +1 -1
- data/README.md +71 -15
- data/VERSION +1 -1
- data/bin/gladiator +22 -1
- data/bin/gladiator-setup +80 -0
- data/bin/glimmer-cs-gladiator +22 -0
- data/glimmer-cs-gladiator.gemspec +19 -9
- data/lib/glimmer-cs-gladiator.rb +1 -0
- data/lib/glimmer-cs-gladiator/launch.rb +6 -0
- data/lib/models/glimmer/gladiator/dir.rb +9 -5
- data/lib/models/glimmer/gladiator/file.rb +68 -10
- data/lib/views/glimmer/gladiator.rb +540 -748
- data/lib/views/glimmer/gladiator/file_explorer_tree.rb +244 -0
- data/lib/views/glimmer/gladiator/file_lookup_list.rb +64 -0
- data/lib/views/glimmer/gladiator/gladiator_menu_bar.rb +189 -0
- data/lib/views/glimmer/gladiator/progress_shell.rb +31 -0
- data/lib/views/glimmer/gladiator/text_editor.rb +29 -11
- metadata +33 -7
- data/bin/gladiator_runner.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6af7b2892ce6c1f52db5e004fdfd8e2cee83f73a9c8fd35a2e92d82b8bc9f186
|
4
|
+
data.tar.gz: 47b746faacc0d7fac31802abb54efb6b90ba56246c0dbef05186f59602b1547c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 566d39ec4b7437e7562339c419045337274d96ad8d477e31d357c8df124725c2fae07e7d72ebf3ca0606ce33bb7ce3c628893071d41cd75634dbab890575f9e6
|
7
|
+
data.tar.gz: 67b3db63a6e55b6d5a641ab9466abd58e2d06c930133b7b010f71dda56629501ffd0beec80d26d77ca615193d53ef13bc2f697b0a0b4e0cd7bd7f21c4164eaef
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,56 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.8.0
|
4
|
+
|
5
|
+
- Upgrade to glimmer-dsl-swt v4.18.3.5
|
6
|
+
- Multiple language syntax highlighting support (over 20 languages) via the new code_text language option in Glimmer DSL for SWT
|
7
|
+
- Refactor code to use display on_quit event (instead of manual SWT code for quitting on the Mac)
|
8
|
+
- Fix issue with Reset All not working
|
9
|
+
- Fix issue with CMD+F not revealing Navigation Area when in Maximized Editor Mode
|
10
|
+
|
11
|
+
## 0.7.3
|
12
|
+
|
13
|
+
- Add gladiator-setup to make gladiator executable available everywhere
|
14
|
+
- Package Gladiator as Mac DMG file
|
15
|
+
- Shrink minimum height for editor area (too large for putting side by side with another window)
|
16
|
+
- Change initial default size of Gladiator window to the entire screen size
|
17
|
+
- Made layout more resilient to shrinkage so that the Navigation area widgets don't get jumbled up
|
18
|
+
- Show open project dialog when run as Gladiator app (e.g. Mac app) instead of opening the local directory of the app
|
19
|
+
- Extract gladiator_menu_bar custom widget and reuse in open_project shell (to use in app version)
|
20
|
+
- Extract progress_shell custom shell
|
21
|
+
- Fix issue with disposed? error in save_config
|
22
|
+
- Fix issue with first open of a file with an empty brand new gladiator session not showing file content until resizing
|
23
|
+
|
24
|
+
## 0.7.2
|
25
|
+
|
26
|
+
- Fallback font ("Courier") for text editor when "Consolas" is not available
|
27
|
+
- Refactor Gladiator Custom Shell to extract more Glimmer Custom Widgets from it like FileLookupList and FileExplorerTree
|
28
|
+
- Upgrade to glimmer-dsl-swt v4.18.0.2
|
29
|
+
|
30
|
+
## 0.7.1
|
31
|
+
|
32
|
+
- Update View -> Reset All to also reset the File Lookup/File Explorer Sash Width and the Navigation Bar (expanding it)
|
33
|
+
- Fix issue with split, reset split, unsplit, and then split again forgetting the reset for the sash width
|
34
|
+
- Ensure closing a single tab moves user back to the previous tab
|
35
|
+
- Add pkg to ignore paths
|
36
|
+
- Update Reset All menu item to reset splits too
|
37
|
+
|
38
|
+
## 0.7.0
|
39
|
+
|
40
|
+
- Upgrade to glimmer-dsl-swt v4.18.0.0
|
41
|
+
- Implement sash form for separator between file area and editing area to make resizable
|
42
|
+
- Change shortcut for open project from CMD+SHIFT+P to CMD+O
|
43
|
+
- Unsplit pane Menu Item / Keyboard Shortcut (CMD+SHIFT+U)
|
44
|
+
- Maximize Split Pane Size Menu Item / Keyboard Shortcut (CMD+SHIFT+M)
|
45
|
+
- Reset Split Pane Menu Item / Keyboard Shortcut (CMD+SHIFT+M again while maximized or CMD+SHIFT+P to reset split widths)
|
46
|
+
- Maximize Editor Menu Item / Keyboard Shortcut (CMD+CTRL+M)
|
47
|
+
- Reset Editor Menu Item / Keyboard Shortcut (CMD+CTRL+M again while maximized or CMD+CTRL+R to reset all sizes)
|
48
|
+
- Make CMD R and CMD T shortcuts show the file lookup/file explorer if collapsed (just like CMD + F shows navigation area)
|
49
|
+
- Display Accelerators (keyboard shortcuts) on Mac Menu Items
|
50
|
+
- Show exception dialog on error when invoking Run -> Ruby
|
51
|
+
- Fix issue with creating a new directory in a different project from the main one open
|
52
|
+
- Fix issue with quitting gladiator when multiple projects are open requiring multiple presses of CMD+Q
|
53
|
+
|
3
54
|
## 0.6.4
|
4
55
|
|
5
56
|
- Ensured Gladiator logo in the about menu has a white background
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# <img src='https://raw.githubusercontent.com/AndyObtiva/glimmer-cs-gladiator/master/images/glimmer-cs-gladiator-logo.svg' height=85 /> Gladiator 0.
|
1
|
+
# <img src='https://raw.githubusercontent.com/AndyObtiva/glimmer-cs-gladiator/master/images/glimmer-cs-gladiator-logo.svg' height=85 /> Gladiator 0.8.0 - [Ugliest Text Editor Ever!](https://www.reddit.com/r/ruby/comments/hgve8k/gladiator_glimmer_editor_ugliest_text_editor_ever/)
|
2
2
|
## [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=40 /> Glimmer Custom Shell](https://github.com/AndyObtiva/glimmer-dsl-swt#custom-shell-gem)
|
3
3
|
[](http://badge.fury.io/rb/glimmer-cs-gladiator)
|
4
4
|
|
@@ -9,13 +9,17 @@ It is not intended to be a full-fledged editor by any means, yet mostly a fun ed
|
|
9
9
|
Gladiator is also a personal tool for shaping an editor exactly the way I like, with all the keyboard shortcuts I prefer.
|
10
10
|
I leave building truly professional text editors to software tooling experts who would hopefully use [Glimmer](https://github.com/AndyObtiva/glimmer) one day. Otherwise, I have been happily using Gladiator to develop all my [open-source projects](https://github.com/AndyObtiva) since May of 2020.
|
11
11
|
|
12
|
+
You may now [download](#download) a packaged version on the Mac.
|
13
|
+
|
12
14
|
## Features
|
13
15
|
|
14
16
|
Gladiator currently supports the following text editing features (including keyboard shortcuts with Mac CMD=CTRL on Windows/Linux)
|
15
17
|
|
18
|
+

|
19
|
+
|
16
20
|
### Text Editor
|
17
21
|
|
18
|
-
- Text Editor with Colored
|
22
|
+
- Text Editor with Colored Syntax Highlighting for [Multiple Languages](#multiple-language-syntax-highlighting)
|
19
23
|
- Show Line Numbers
|
20
24
|
- Multi-tab support (CMD+SHIFT+[ & CMD+SHIFT+] for tab navigation. CMD+1-9 to jump to a specific tab)
|
21
25
|
- Drag and drop split pane (drag a file from File Tree or File Lookup List, and it splits the pane)
|
@@ -47,8 +51,18 @@ Gladiator currently supports the following text editing features (including keyb
|
|
47
51
|
|
48
52
|
### Menus
|
49
53
|
|
50
|
-
- File Menu
|
51
|
-
-
|
54
|
+
- File Menu:
|
55
|
+
- Open Project (CMD+O)
|
56
|
+
- Quit Project (CMD+ALT+Q)
|
57
|
+
- New Scratchpad for running arbitrary Ruby/Glimmer code without saving to disk (CMD+SHIFT+S)
|
58
|
+
- View Menu
|
59
|
+
- Split Pane
|
60
|
+
- Orientation change to Horizontal/Vertical (CMD+SHIFT+O)
|
61
|
+
- Maximize Pane: maximizes current pane in split pane to take entire area (CMD+SHIFT+M)
|
62
|
+
- Reset Panes: resets pane sizes if split width/height was adjusted (CMD+SHIFT+P)
|
63
|
+
- Unsplit: closes the second pane (CMD+SHIFT+U)
|
64
|
+
- Maximize Editor: maximizes editor area to hide file lookup list and file explorer tree (CMD+CTRL+M)
|
65
|
+
- Reset All: resizes sizes of all areas in the editor (CMD+CTRL+R)
|
52
66
|
- Run Menu to run Ruby code (CMD+SHIFT+R)
|
53
67
|
|
54
68
|
### Watch External Changes
|
@@ -62,6 +76,34 @@ Gladiator currently supports the following text editing features (including keyb
|
|
62
76
|
- Remember opened tabs, caret position, top pixel, window size, and window location
|
63
77
|
- [Default](#configuration) "ignore paths" to avoid bogging down editor with irrelevant directory files
|
64
78
|
|
79
|
+
### Multiple Language Syntax Highlighting
|
80
|
+
|
81
|
+
- Ruby
|
82
|
+
- Markdown
|
83
|
+
- JavaScript
|
84
|
+
- JSON
|
85
|
+
- Yaml
|
86
|
+
- HTML
|
87
|
+
- C
|
88
|
+
- Haskell
|
89
|
+
- Gradle
|
90
|
+
- C++
|
91
|
+
- CSS
|
92
|
+
- Java
|
93
|
+
- JSP
|
94
|
+
- plist
|
95
|
+
- Haml
|
96
|
+
- XML
|
97
|
+
- INI
|
98
|
+
- Perl
|
99
|
+
- Tcl
|
100
|
+
- SASS
|
101
|
+
- SCSS
|
102
|
+
- SQL
|
103
|
+
- Shell (Bash / Zsh)
|
104
|
+
- Vue
|
105
|
+
- Plain Text
|
106
|
+
|
65
107
|
## Platforms
|
66
108
|
|
67
109
|
- Mac: Gladiator works best on the Mac. This is the platform it is most used on and receives the most maintenance for.
|
@@ -70,9 +112,15 @@ Gladiator currently supports the following text editing features (including keyb
|
|
70
112
|
|
71
113
|
## Pre-requisites
|
72
114
|
|
73
|
-
- [Glimmer DSL for SWT](https://github.com/AndyObtiva/glimmer-dsl-swt) (JRuby Desktop Development GUI Framework): '>= 4.17.2.0', '< 5.0.0.0' (dependency included in Ruby gem).
|
74
|
-
- [JRuby](https://www.jruby.org/download): Same version required by [Glimmer](https://github.com/AndyObtiva/glimmer-dsl-swt)
|
75
115
|
- [JDK](https://www.oracle.com/java/technologies/javase-downloads.html): Same version required by [Glimmer](https://github.com/AndyObtiva/glimmer-dsl-swt)
|
116
|
+
- [JRuby](https://www.jruby.org/download): Same version required by [Glimmer](https://github.com/AndyObtiva/glimmer-dsl-swt)
|
117
|
+
- [Glimmer DSL for SWT](https://github.com/AndyObtiva/glimmer-dsl-swt) (JRuby Desktop Development GUI Framework) (dependency included in Ruby gem).
|
118
|
+
|
119
|
+
## Download
|
120
|
+
|
121
|
+
You may [download a packaged version of the Gladiator app](https://www.dropbox.com/s/pzkvm6uh14ngrr2/Gladiator-0.8.0.dmg?dl=1) on the Mac.
|
122
|
+
|
123
|
+
Otherwise, if you prefer a command line version, then follow the Setup Instructions below.
|
76
124
|
|
77
125
|
## Setup Instructions
|
78
126
|
|
@@ -98,6 +146,20 @@ Run (`jruby -S bundle` or `bundle` directly if you have [RVM](https://rvm.io/)):
|
|
98
146
|
jruby -S bundle
|
99
147
|
```
|
100
148
|
|
149
|
+
Afterwards, to ensure system wide availablility of the `gladiator` command, run this command in an environment that has JRuby:
|
150
|
+
|
151
|
+
```
|
152
|
+
gladiator-setup
|
153
|
+
```
|
154
|
+
|
155
|
+
Finally, start a new terminal session or source .gladiator_source:
|
156
|
+
|
157
|
+
```
|
158
|
+
source ~/.gladiator_source
|
159
|
+
```
|
160
|
+
|
161
|
+
You should be able to run `gladiator` from anywhere now, even cross-rubies in [RVM](https://rvm.io).
|
162
|
+
|
101
163
|
## Usage
|
102
164
|
|
103
165
|
You may run the `gladiator` command to bring up the text editor in the project directory you would like to edit:
|
@@ -126,19 +188,13 @@ gladiator relative-or-absolute-path/to/project
|
|
126
188
|
|
127
189
|
Note: If you cloned this project and bundle installed, you may invoke via `bin/gladiator` instead.
|
128
190
|
|
129
|
-
If your project is not a JRuby project, then you cannot install [glimmer-cs-gladiator](https://rubygems.org/gems/glimmer-cs-gladiator), so you must install in a separate JRuby environment and invoke by passing the project path as per command above. Alternatively, you may clone this project, and invoke gladiator via `bin/gladiator` (that's how I use Gladiator for most of my projects):
|
130
|
-
|
131
|
-
```
|
132
|
-
bin/gladiator relative-or-absolute-path/to/project
|
133
|
-
```
|
134
|
-
|
135
191
|
### Glimmer Custom Shell Reuse
|
136
192
|
|
137
193
|
To reuse Gladiator as a Glimmer Custom Shell inside another Glimmer application, add the
|
138
194
|
following to the application's `Gemfile`:
|
139
195
|
|
140
196
|
```
|
141
|
-
gem 'glimmer-cs-gladiator', '>= 0.
|
197
|
+
gem 'glimmer-cs-gladiator', '>= 0.8.0'
|
142
198
|
```
|
143
199
|
|
144
200
|
Run:
|
@@ -169,7 +225,7 @@ Gladiator automatically saves configuration data in a `.gladiator` file at the d
|
|
169
225
|
It currently remembers:
|
170
226
|
- Last opened files (in both split panes if split)
|
171
227
|
- Window size and position
|
172
|
-
- Ignore Paths (default: '.gladiator', '.git', 'coverage', 'packages', 'node_modules', 'tmp', 'vendor')
|
228
|
+
- Ignore Paths under `Glimmer::Gladiator::Dir::IGNORE_PATHS` (default: `['.gladiator', '.git', 'coverage', 'packages', 'node_modules', 'tmp', 'vendor', 'pkg', 'dist']`)
|
173
229
|
|
174
230
|
## Gotcha
|
175
231
|
|
@@ -202,7 +258,7 @@ The signal TERM is in use by the JVM and will not work correctly on this platfor
|
|
202
258
|
|
203
259
|
[MIT](https://opensource.org/licenses/MIT)
|
204
260
|
|
205
|
-
Copyright (c) 2020 Andy Maleh. See [LICENSE.txt](LICENSE.txt) for further details.
|
261
|
+
Copyright (c) 2020-2021 Andy Maleh. See [LICENSE.txt](LICENSE.txt) for further details.
|
206
262
|
|
207
263
|
--
|
208
264
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.8.0
|
data/bin/gladiator
CHANGED
@@ -1,8 +1,29 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
# Copyright (c) 2020-2021 Andy Maleh
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
# a copy of this software and associated documentation files (the
|
7
|
+
# "Software"), to deal in the Software without restriction, including
|
8
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
# the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be
|
14
|
+
# included in all copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
23
|
+
|
3
24
|
require 'glimmer/launcher'
|
4
25
|
|
5
|
-
gladiator_runner = File.expand_path('../
|
26
|
+
gladiator_runner = File.expand_path('../glimmer-cs-gladiator', __FILE__)
|
6
27
|
launcher = Glimmer::Launcher.new([gladiator_runner, '-J-Xrs'] + ARGV)
|
7
28
|
launcher.application_paths.to_a.each do |file|
|
8
29
|
if file != gladiator_runner
|
data/bin/gladiator-setup
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# Copyright (c) 2020-2021 Andy Maleh
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
# a copy of this software and associated documentation files (the
|
7
|
+
# "Software"), to deal in the Software without restriction, including
|
8
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
# the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be
|
14
|
+
# included in all copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
23
|
+
|
24
|
+
version = File.read(File.expand_path('../VERSION', __dir__))
|
25
|
+
puts "== Gladiator (Glimmer Editor) Version #{version.strip} =="
|
26
|
+
|
27
|
+
ruby = `which jruby`.to_s.strip
|
28
|
+
if ruby.empty?
|
29
|
+
return puts('jruby is not available. Make sure you have jruby installed and available in path environment (or selected if using RVM)')
|
30
|
+
end
|
31
|
+
|
32
|
+
rvm_command = `which rvm`
|
33
|
+
if rvm_command.to_s.strip.empty?
|
34
|
+
command = "#{ruby} #{File.expand_path('../gladiator', __FILE__)}"
|
35
|
+
else
|
36
|
+
rvm = `rvm current`.strip
|
37
|
+
command = "rvm #{rvm} do #{ruby} #{File.expand_path('../gladiator', __FILE__)}"
|
38
|
+
end
|
39
|
+
|
40
|
+
gladiator_script = <<~SHELL_SCRIPT
|
41
|
+
function gladiator()
|
42
|
+
{
|
43
|
+
#{command}
|
44
|
+
}
|
45
|
+
SHELL_SCRIPT
|
46
|
+
|
47
|
+
|
48
|
+
require 'fileutils'
|
49
|
+
home_dir = `echo ~`.strip
|
50
|
+
FileUtils.mkdir_p("#{home_dir}/bin")
|
51
|
+
gladiator_script_file = "#{home_dir}/.gladiator_source"
|
52
|
+
gladiator_script_file_bash = "$HOME/.gladiator_source"
|
53
|
+
File.write(gladiator_script_file, gladiator_script)
|
54
|
+
|
55
|
+
[
|
56
|
+
['.bash_profile', '.bashrc'],
|
57
|
+
['.zprofile', '.zshrc']
|
58
|
+
].each do |profile_and_fallback|
|
59
|
+
shell_profile_file_name = profile_and_fallback.first
|
60
|
+
shell_profile_file_name = profile_and_fallback.last if !File.exist?("#{home_dir}/#{shell_profile_file_name}")
|
61
|
+
shell_profile_file = "#{home_dir}/#{shell_profile_file_name}"
|
62
|
+
FileUtils.touch(shell_profile_file)
|
63
|
+
shell_profile = File.read(shell_profile_file)
|
64
|
+
gladiator_source_statement = "source \"#{gladiator_script_file_bash}\""
|
65
|
+
unless shell_profile.split("\n").detect {|line| line.include?(gladiator_source_statement) }
|
66
|
+
File.write(shell_profile_file, "#{shell_profile}\n#{gladiator_source_statement}")
|
67
|
+
end
|
68
|
+
puts "~/#{shell_profile_file_name} has been modified to source the `gladiator` function from ~/.gladiator_source"
|
69
|
+
end
|
70
|
+
|
71
|
+
puts <<~OUTPUT
|
72
|
+
|
73
|
+
Before using `gladiator`, start a new shell session (open a new terminal tab) or run:
|
74
|
+
|
75
|
+
source ~/.gladiator_source
|
76
|
+
|
77
|
+
Afterwards, you may run the following command from anywhere to start Gladiator (Glimmer Editor):
|
78
|
+
|
79
|
+
gladiator
|
80
|
+
OUTPUT
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Copyright (c) 2020-2021 Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
22
|
+
require_relative '../lib/glimmer-cs-gladiator/launch'
|
@@ -2,19 +2,19 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: glimmer-cs-gladiator 0.
|
5
|
+
# stub: glimmer-cs-gladiator 0.8.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "glimmer-cs-gladiator".freeze
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.8.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Andy Maleh".freeze]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2021-02-01"
|
15
15
|
s.description = "Gladiator (short for Glimmer Editor) is a Glimmer sample project under on-going development. It is not intended to be a full-fledged editor by any means, yet mostly a fun educational exercise in using Glimmer to build a text editor. Gladiator is also a personal tool for shaping an editor exactly the way I like. I leave building truly professional text editors to software tooling experts who would hopefully use Glimmer one day.".freeze
|
16
16
|
s.email = "andy.am@gmail.com".freeze
|
17
|
-
s.executables = ["gladiator".freeze]
|
17
|
+
s.executables = ["glimmer-cs-gladiator".freeze, "gladiator".freeze, "gladiator-setup".freeze]
|
18
18
|
s.extra_rdoc_files = [
|
19
19
|
"LICENSE.txt",
|
20
20
|
"README.md"
|
@@ -25,45 +25,55 @@ Gem::Specification.new do |s|
|
|
25
25
|
"README.md",
|
26
26
|
"VERSION",
|
27
27
|
"bin/gladiator",
|
28
|
-
"bin/
|
28
|
+
"bin/gladiator-setup",
|
29
|
+
"bin/glimmer-cs-gladiator",
|
29
30
|
"glimmer-cs-gladiator.gemspec",
|
30
31
|
"images/glimmer-cs-gladiator-logo.png",
|
31
32
|
"lib/glimmer-cs-gladiator.rb",
|
33
|
+
"lib/glimmer-cs-gladiator/launch.rb",
|
32
34
|
"lib/models/glimmer/gladiator/command.rb",
|
33
35
|
"lib/models/glimmer/gladiator/dir.rb",
|
34
36
|
"lib/models/glimmer/gladiator/file.rb",
|
35
37
|
"lib/views/glimmer/gladiator.rb",
|
38
|
+
"lib/views/glimmer/gladiator/file_explorer_tree.rb",
|
39
|
+
"lib/views/glimmer/gladiator/file_lookup_list.rb",
|
40
|
+
"lib/views/glimmer/gladiator/gladiator_menu_bar.rb",
|
41
|
+
"lib/views/glimmer/gladiator/progress_shell.rb",
|
36
42
|
"lib/views/glimmer/gladiator/text_editor.rb"
|
37
43
|
]
|
38
44
|
s.homepage = "http://github.com/AndyObtiva/glimmer-cs-gladiator".freeze
|
39
45
|
s.licenses = ["MIT".freeze]
|
46
|
+
s.post_install_message = "\nTo make the gladiator command available system-wide (especially with RVM), make sure you run this command with jruby in path: gladiator-setup\n\n".freeze
|
40
47
|
s.rubygems_version = "3.0.6".freeze
|
41
|
-
s.summary = "Gladiator (Glimmer Editor) - Glimmer Custom Shell".freeze
|
48
|
+
s.summary = "Gladiator (Glimmer Editor) - Glimmer Custom Shell - Text Editor Built in Ruby".freeze
|
42
49
|
|
43
50
|
if s.respond_to? :specification_version then
|
44
51
|
s.specification_version = 4
|
45
52
|
|
46
53
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
47
|
-
s.add_runtime_dependency(%q<glimmer-dsl-swt>.freeze, [">= 4.
|
54
|
+
s.add_runtime_dependency(%q<glimmer-dsl-swt>.freeze, [">= 4.18.3.5", "< 5.0.0.0"])
|
48
55
|
s.add_runtime_dependency(%q<filewatcher>.freeze, ["~> 1.1.1"])
|
49
56
|
s.add_runtime_dependency(%q<clipboard>.freeze, ["~> 1.3.5"])
|
50
57
|
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
51
58
|
s.add_development_dependency(%q<jeweler>.freeze, ["= 2.3.9"])
|
59
|
+
s.add_development_dependency(%q<warbler>.freeze, ["= 2.0.5"])
|
52
60
|
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
53
61
|
else
|
54
|
-
s.add_dependency(%q<glimmer-dsl-swt>.freeze, [">= 4.
|
62
|
+
s.add_dependency(%q<glimmer-dsl-swt>.freeze, [">= 4.18.3.5", "< 5.0.0.0"])
|
55
63
|
s.add_dependency(%q<filewatcher>.freeze, ["~> 1.1.1"])
|
56
64
|
s.add_dependency(%q<clipboard>.freeze, ["~> 1.3.5"])
|
57
65
|
s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
58
66
|
s.add_dependency(%q<jeweler>.freeze, ["= 2.3.9"])
|
67
|
+
s.add_dependency(%q<warbler>.freeze, ["= 2.0.5"])
|
59
68
|
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
60
69
|
end
|
61
70
|
else
|
62
|
-
s.add_dependency(%q<glimmer-dsl-swt>.freeze, [">= 4.
|
71
|
+
s.add_dependency(%q<glimmer-dsl-swt>.freeze, [">= 4.18.3.5", "< 5.0.0.0"])
|
63
72
|
s.add_dependency(%q<filewatcher>.freeze, ["~> 1.1.1"])
|
64
73
|
s.add_dependency(%q<clipboard>.freeze, ["~> 1.3.5"])
|
65
74
|
s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
66
75
|
s.add_dependency(%q<jeweler>.freeze, ["= 2.3.9"])
|
76
|
+
s.add_dependency(%q<warbler>.freeze, ["= 2.0.5"])
|
67
77
|
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
68
78
|
end
|
69
79
|
end
|