components/prism-ruby.js


Log

Author Commit Date CI Message
Michael Schmidt e2630d89 2021-09-26T11:52:18 ESLint: Added `regexp/sort-alternatives` rule (#3093)
Samuel Cochran 20b77bff 2021-05-14T21:04:43 Ruby: Added heredoc literals (#2885) Adds support for heredoc-style string literals in the Ruby syntax. https://ruby-doc.org/core-2.7.0/doc/syntax/literals_rdoc.html#label-Here+Documents+-28heredocs-29 This isn't perfect, but it's a good start.
Michael Schmidt 3786f396 2021-04-03T13:28:14 Ruby: Added missing regex flags (#2845)
Michael Schmidt f08c2f7f 2021-04-03T11:36:51 Ruby: Added missing regex interpolation (#2841)
Michael Schmidt c2f6a644 2020-10-25T23:42:25 Fixed multiple cases of vulnerable regexes (#2584)
Michael Schmidt b526e8c0 2020-05-19T01:52:09 Ruby: Optimized `regex` and `string` patterns (#2354)
Michael Schmidt c5de5aa8 2020-02-21T13:04:52 Ruby: Fixed exponential backtracking (#2225) This fixes the exponential backtracking in one of Ruby's regex patterns.
Petrik de Heus 401d4b02 2020-01-05T19:59:16 Ruby: Override 'class-name' definition (#2135) Unlike other C-like languages, in Ruby objects don't get initialized by using `new Object` but `Object.new`. So whatever comes after `new` probably isn't a classname.
Michael Schmidt 68d1c472 2019-10-20T10:59:47 Ruby: Made `true` and `false` booleans (#2098) This makes `true` and `false` `boolean` tokens. Previously they were tokenized as `keyword`.
Michael Schmidt f460eafc 2019-10-19T14:31:27 Ruby: Added missing keywords (#2097) This adds the missing keywords `extend`, `include`, and `prepend`.
Michael Schmidt c187e229 2019-10-16T12:06:22 Added test for unused capturing groups (#1996) This adds a test that checks for unused capturing groups in patterns and another test which ensures that lookbehind groups are always the first thing being matched in a pattern.
Michael Schmidt c805f859 2019-03-05T16:56:13 Ruby/ERB: Fixed block comments (#1768) This fixes block comments in Ruby and ERB.
Masafumi Koba 0c8f6504 2018-12-03T04:37:20 Add file extensions support for major languages (#1478) This adds aliases for file extensions of some major languages. - `coffee` -> `coffeescript` - `md` -> `markdown` - `py` -> `python` - `rb` -> `ruby` - `yml` -> `yaml`
Cameron Bothner 72775919 2018-12-01T16:38:05 Consistent Ruby method highlighting (#1523) Ruby methods might or might be called in C-style creating inconsistent highlighting. This highlights only method definitions and removes the highlighting of C-style-invoked methods.
Golmote b0e34fbe 2018-03-26T21:12:08 Ruby: Make multi-line comments greedy, remove single-line comment hack. Update known failures and tests.
Golmote cc80ccda 2018-03-13T08:15:56 Remove most of the cloning occurrences in language definitions.
Golmote 31a2a697 2018-03-08T08:43:54 Ruby: Ensure module syntax is not confused with symbols. Fix #1336
Golmote 4593837f 2018-03-05T08:43:22 Ruby: Add keywords "protected", "private" and "public"
Golmote 4902ed48 2017-10-22T15:21:42 Ruby: Regexp optimisation and simplification + don't use captures if not needed
Golmote 62cdaf80 2017-05-08T13:39:11 Ruby: Add support for =begin =end comments. Manual merge of #1121.
Golmote 7549eccb 2017-02-08T23:23:24 Add missing greedy config in APL, AutoIt, Dart, Elixir, Erlang, F#, Go, Haxe, Icon, Inform7, J, Makefile, Mel, Nim, Nix, NSIS, OCaml, Oz, Pari/GP, Parser, Pascal, Perl, Prolog, Pure, Qore, R, Rip, Ruby, Rust, SAS, Scheme, SQL, Stylus, Tcl and Verilog
Golmote a708730c 2017-01-18T08:44:55 Ruby: Fix slash regex performance. Fix #1083
Golmote 8b0520a8 2016-11-09T01:27:40 Ruby: Make strings greedy. Fixes #1048
Masataka Kuwabara 22cb0187 2016-09-14T05:44:22 Fix typo `Fload` to `Float` in prism-ruby.js (#1023)
Weston Ganger 721af812 2015-09-22T10:06:16 reset state
Weston Ganger a0a3976e 2015-05-18T13:05:43 Added String Interpolation to Ruby fixes #580
Golmote 2d378008 2015-09-03T22:16:03 Ruby: Add % notations for strings and regexps. Fix #590
Golmote dd4989f5 2015-08-22T23:47:59 Ruby: Code cleaning, handle \r\n and \r, fix some regexps
Weston Ganger 5b1e07bc 2015-06-25T12:58:40 fixed double quoted strings in interpolation ruby
Weston Ganger e3f4d7af 2015-05-29T20:31:17 added ruby string interpolation
Weston Ganger 81eff547 2015-05-23T14:54:09 fixed string interpolation feature
Weston Ganger 774ef34d 2015-05-18T13:05:43 Added String Interpolation to Ruby fixes #580
Golmote b1fd5bdc 2015-03-10T08:27:53 Removed unused global flag in all grammars
Pier-Olivier Thibault 39e2eb58 2013-12-27T13:28:02 Removed extra character in variable regexp Fix #175 by removing '&' as a variable prefix. For some reason, this change also fixes the '<' character being appended with a ; character.
Samuel Flores 8168cd3e 2013-09-26T11:46:08 Support for Ruby languague