glimmer-cs-gladiator 0.11.0 → 0.11.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2be1b2aad1f764036be0f36a95a217e51f93609c05855b48c9574144872f9da
4
- data.tar.gz: c494f9e2ed2d472d5c600d82a6116f993253381cd20bad5983584f2d67bc7440
3
+ metadata.gz: 3fe3696b0a87eb8158d519cbe9480113e82226259d547020ca9fababe255d5d3
4
+ data.tar.gz: c8af0b5d4917d7373367941a59c06dc79ed171cc13295588a35c09e6b9b98f9c
5
5
  SHA512:
6
- metadata.gz: bcc7bedfde90a8288dd733c388d04c6aa265cc19caf11055b8ec6449a0cf5d27cbad85939c6eee8536485fc29ebabea39b928400364b28fd5a5dcd0af72a5da1
7
- data.tar.gz: 8da78ae7dcea093e2357d42bf0dee6fa0bf0e5d423a2264e3f9e08da8b5230d86d7967c02637b5c290eac37ab0892513ef9c689c8308cd3a210ea2d883fc42d2
6
+ metadata.gz: ee65bef582e89f4791b0b4f2f682d143a0b793a6fa2bc6afcfa094d1ee0fae8823b03ab88e1bf57cbbac7a10204fc3e10be12f281c1a7f73bf56368008d2b326
7
+ data.tar.gz: 43e2c2563d1121027563d5985ce716ecb0e2a7e57846fb88a2b20340b6ae60127fca85e79dca29a00d5aa60dee3d1fc211ea0eac008e428d513cd1f798876e49
data/CHANGELOG.md CHANGED
@@ -1,8 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.11.1
4
+
5
+ - [CONTRIBUTION BY keeperotphones] Support Ruby file formats: `'rbw', 'gemspec'`
6
+ - Support new file formats: Elixir (`'ex', 'exs'`) & Embedded Elixir (`'eex', 'leex', 'heex'`)
7
+
3
8
  ## 0.11.0
4
9
 
5
- - Support new file formats: 'ts' (TypeScript), 'rs' (Rust), and 'cs' (C#)
10
+ - Support new file formats: 'ts' (TypeScript), 'tsx', 'rs' (Rust), and 'cs' (C#)
6
11
  - Use the correct single line comment prefix for each programming language (e.g. `//` in JS/Java/C and `#` in Ruby/Perl/Python)
7
12
  - Improve Undo/Redo support by storing data for in-progress text entry every 1 second (or ENV['UNDO_TIME_INTERVAL_SECONDS'] if specified) while typing to enable undoing partial text instead of everything
8
13
  - File Lookup ignores `:` in filename search terms to enable looking up files for namespaced Ruby class (e.g. `Glimmer::Gladiator::Command` will find `lib/models/glimmer/gladiator/command.rb`)
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.11.0 - [Ugliest Text Editor Ever!](https://www.reddit.com/r/ruby/comments/hgve8k/gladiator_glimmer_editor_ugliest_text_editor_ever/)
1
+ # <img src='https://raw.githubusercontent.com/AndyObtiva/glimmer-cs-gladiator/master/images/glimmer-cs-gladiator-logo.svg' height=85 /> Gladiator 0.11.1 - [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
  [![Gem Version](https://badge.fury.io/rb/glimmer-cs-gladiator.svg)](http://badge.fury.io/rb/glimmer-cs-gladiator)
4
4
 
@@ -96,6 +96,8 @@ Here is an exhaustive list of the file formats supported by [Gladiator](https://
96
96
  1. CSS (`'css'`)
97
97
  1. Conf (`'conf'`)
98
98
  1. CoffeeScript (`'coffee'`)
99
+ 1. Elixir (`'ex', 'exs'`)
100
+ 1. Embedded Elixir (`'eex', 'leex', 'heex'`)
99
101
  1. ERB (`'erb'`)
100
102
  1. Gherkin Feature (`'feature'`)
101
103
  1. Gradle (`'gradle'`)
@@ -118,7 +120,7 @@ Here is an exhaustive list of the file formats supported by [Gladiator](https://
118
120
  1. PostScript (`'ps'`)
119
121
  1. PowerShell (`'ps1'`)
120
122
  1. Python (`'py'`)
121
- 1. Ruby (`'rb'`, `'rake'`)
123
+ 1. Ruby (`'rb'`, `'rbw'`, `'rake'`, `'gemspec'`)
122
124
  1. Rust (`'rs'`)
123
125
  1. SASS (`'sass'`)
124
126
  1. Scheme (`'scm', 'sps', 'sls', 'sld'`)
@@ -127,6 +129,7 @@ Here is an exhaustive list of the file formats supported by [Gladiator](https://
127
129
  1. SQL (`'sql'`)
128
130
  1. Tcl (`'tcl'`)
129
131
  1. TypeScript (`'ts'`)
132
+ 1. TSX (`'tsx'`)
130
133
  1. Yaml (`'yaml', 'yml'`)
131
134
  1. XML (`'xml'`)
132
135
 
@@ -144,7 +147,7 @@ Here is an exhaustive list of the file formats supported by [Gladiator](https://
144
147
 
145
148
  ## Download
146
149
 
147
- [<img src='https://raw.githubusercontent.com/AndyObtiva/glimmer-cs-gladiator/master/images/glimmer-cs-gladiator-logo.svg' height=40 /> Download Gladiator 0.11.0 Mac DMG Installer (ARM64 Ventura 13.4.1 & Older)](https://www.dropbox.com/scl/fi/b6t41tw0oqirbishtcncm/Gladiator-0.11.0-arm64-ventura-13.4.1.dmg?rlkey=3vq3ifq84tfjiglnttcbtgcmm&dl=1) (this version starts in about 2.5 seconds)
150
+ [<img src='https://raw.githubusercontent.com/AndyObtiva/glimmer-cs-gladiator/master/images/glimmer-cs-gladiator-logo.svg' height=40 /> Download Gladiator 0.11.1 Mac DMG Installer (ARM64 Ventura 13.4.1 & Older)](https://www.dropbox.com/scl/fi/iyyubcqekhtn4rv91feka/Gladiator-0.11.1-arm64-ventura-13.4.1.dmg?rlkey=ht2bt4jqf6bmgfjy0aurt2fem&dl=1) (this version starts in about 2.5 seconds)
148
151
 
149
152
  [<img src='https://raw.githubusercontent.com/AndyObtiva/glimmer-cs-gladiator/master/images/glimmer-cs-gladiator-logo.svg' height=40 /> Download Gladiator 0.10.0 Mac DMG Installer (x64 Monterey & Big Sur)](https://www.dropbox.com/s/6155qdxv7j6hnsi/Gladiator-0.10.0-x64-monterey.dmg?dl=1)
150
153
 
@@ -163,7 +166,7 @@ Note: if you encounter any issues, check if they are documented in [TODO.md](TOD
163
166
  Install [Gladiator](https://rubygems.org/gems/glimmer-cs-gladiator) gem by running (`jgem`, `jruby -S gem`, or `gem` directly if you have [RVM](https://rvm.io/)):
164
167
 
165
168
  ```
166
- jgem install glimmer-cs-gladiator -v0.11.0
169
+ jgem install glimmer-cs-gladiator -v0.11.1
167
170
  ```
168
171
 
169
172
  Or add to a JRuby project Bundler `Gemfile` under the `:developement` group:
@@ -227,7 +230,7 @@ To reuse [Gladiator](https://rubygems.org/gems/glimmer-cs-gladiator) as a Glimme
227
230
  following to the application's `Gemfile`:
228
231
 
229
232
  ```
230
- gem 'glimmer-cs-gladiator', '~> 0.11.0'
233
+ gem 'glimmer-cs-gladiator', '~> 0.11.1'
231
234
  ```
232
235
 
233
236
  Run:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.0
1
+ 0.11.1
@@ -2,17 +2,17 @@
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.11.0 ruby lib
5
+ # stub: glimmer-cs-gladiator 0.11.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "glimmer-cs-gladiator".freeze
9
- s.version = "0.11.0"
9
+ s.version = "0.11.1"
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 = "2023-08-14"
15
- s.description = "Gladiator (short for Glimmer Editor) is a Glimmer beta 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
14
+ s.date = "2023-08-15"
15
+ s.description = "Gladiator (short for Glimmer Editor) is a Code Editor / IDE beta 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.".freeze
16
16
  s.email = "andy.am@gmail.com".freeze
17
17
  s.executables = ["glimmer-cs-gladiator".freeze, "gladiator".freeze, "gladiator-setup".freeze]
18
18
  s.extra_rdoc_files = [
@@ -46,7 +46,7 @@ Gem::Specification.new do |s|
46
46
  s.licenses = ["MIT".freeze]
47
47
  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
48
48
  s.rubygems_version = "3.2.29".freeze
49
- s.summary = "Gladiator (Glimmer Editor) - Glimmer Custom Shell - Text Editor Built in Ruby".freeze
49
+ s.summary = "Gladiator (Glimmer Editor) - Glimmer Custom Shell - Code Editor / IDE Built in Ruby".freeze
50
50
 
51
51
  if s.respond_to? :specification_version then
52
52
  s.specification_version = 4
@@ -69,10 +69,12 @@ module Glimmer
69
69
  'conf'
70
70
  when 'coffee'
71
71
  'coffeescript'
72
+ when 'eex', 'leex', 'heex'
73
+ 'eex' # embedded elixir
72
74
  when 'erb'
73
75
  'erb'
74
76
  when 'ex', 'exs'
75
- 'eex'
77
+ 'elixir'
76
78
  when 'feature'
77
79
  'gherkin'
78
80
  when 'gradle'
@@ -115,7 +117,7 @@ module Glimmer
115
117
  'python'
116
118
  when 'rs'
117
119
  'rust'
118
- when 'rb', 'rake'
120
+ when 'rb', 'rbw', 'rake', 'gemspec'
119
121
  'ruby'
120
122
  when 'sass'
121
123
  'sass'
@@ -134,17 +136,18 @@ module Glimmer
134
136
  when 'tsx'
135
137
  'tsx'
136
138
  when 'txt', nil
137
- 'plain_text'
139
+ 'plaintext'
138
140
  when 'yaml', 'yml'
139
141
  'yaml'
140
142
  when 'xml'
141
143
  'xml'
142
144
  else
143
- 'plain_text'
145
+ 'plaintext'
144
146
  end
145
147
  end
146
148
 
147
149
  def single_line_comment_prefix
150
+ # TODO redo this implementation using language instead of extension
148
151
  case extension
149
152
  when 'c', 'h',
150
153
  'cpp', 'cc', 'C', 'cxx', 'c++', 'hpp', 'hh', 'H', 'hxx', 'h++',
@@ -171,14 +174,15 @@ module Glimmer
171
174
  'properties',
172
175
  'ps1',
173
176
  'py',
174
- 'rb', 'rake',
177
+ 'rb', 'rbw', 'rake', 'gemspec',
175
178
  'sh',
176
179
  'tcl',
177
180
  'yaml', 'yml'
178
181
  '#'
179
182
  when 'css'
180
183
  '/*'
181
- when 'erb',
184
+ when 'eex', 'leex', 'heex',
185
+ 'erb',
182
186
  'html',
183
187
  'jsp',
184
188
  'plist',
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-cs-gladiator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-14 00:00:00.000000000 Z
11
+ date: 2023-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -108,12 +108,10 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- description: Gladiator (short for Glimmer Editor) is a Glimmer beta project under
112
- on-going development. It is not intended to be a full-fledged editor by any means,
113
- yet mostly a fun educational exercise in using Glimmer to build a text editor. Gladiator
114
- is also a personal tool for shaping an editor exactly the way I like. I leave building
115
- truly professional text editors to software tooling experts who would hopefully
116
- use Glimmer one day.
111
+ description: Gladiator (short for Glimmer Editor) is a Code Editor / IDE beta project
112
+ under on-going development. It is not intended to be a full-fledged editor by any
113
+ means, yet mostly a fun educational exercise in using Glimmer to build a text editor.
114
+ Gladiator is also a personal tool for shaping an editor exactly the way I like.
117
115
  email: andy.am@gmail.com
118
116
  executables:
119
117
  - glimmer-cs-gladiator
@@ -170,6 +168,6 @@ requirements: []
170
168
  rubygems_version: 3.2.29
171
169
  signing_key:
172
170
  specification_version: 4
173
- summary: Gladiator (Glimmer Editor) - Glimmer Custom Shell - Text Editor Built in
174
- Ruby
171
+ summary: Gladiator (Glimmer Editor) - Glimmer Custom Shell - Code Editor / IDE Built
172
+ in Ruby
175
173
  test_files: []