rubybuntu-gedit 11.08.18 → 11.08.19
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -3
- data/bin/rubybuntu-gedit +1 -1
- data/data/language-specs/ruby.lang-extras/examples.rb +45 -0
- data/rubybuntu-gedit.gemspec +1 -1
- metadata +4 -3
data/README.rdoc
CHANGED
@@ -1,12 +1,14 @@
|
|
1
|
-
=
|
1
|
+
= RubyBuntuGedit
|
2
2
|
|
3
|
-
|
3
|
+
== Ruby/Rails/Web related gedit language definitions, mime types, styles and snippets.
|
4
|
+
|
5
|
+
This is not meant to be an alternative to *gedit-plugins* or gmate[https://github.com/gmate/gmate], but an addition. It focuses on maintaining the base stuff to provide a foundation for customizing your gedit with your favourite plugins.
|
4
6
|
|
5
7
|
=== Contains
|
6
8
|
* {language specifications}[https://github.com/janlelis/rubybuntu-language-specs]
|
7
9
|
* {mime types}[https://github.com/janlelis/rubybuntu-mime]
|
8
10
|
* {styles}[https://github.com/janlelis/rubybuntu-editor-styles]
|
9
|
-
*
|
11
|
+
* {snippets}[https://github.com/janlelis/rubybuntu-gedit-snippets]
|
10
12
|
|
11
13
|
Might also contain plugins someday, but only ones directly related to Ruby/Rails/Web stuff.
|
12
14
|
|
data/bin/rubybuntu-gedit
CHANGED
@@ -81,7 +81,7 @@ action gets.chop =~ /^s?$/i ?
|
|
81
81
|
# snippets
|
82
82
|
puts '>> Sorry, currently, the snippets cannot installed via this installer'
|
83
83
|
|
84
|
-
puts Paint["Congratulations! You've updated your gedit stuff! (if everything worked correctly
|
84
|
+
puts Paint["Congratulations! You've updated your gedit stuff! (if everything worked correctly)", :green]
|
85
85
|
puts "If not, please install manually and open an issue on github"
|
86
86
|
puts 'Don\'t forget to change your gedit style to "RubyBuntu One" ;)'
|
87
87
|
puts
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Normal interpolation
|
2
|
+
"hello #{ 42 + 0.5 }"
|
3
|
+
|
4
|
+
# Interpolation with instance variables
|
5
|
+
"example #@variable"
|
6
|
+
|
7
|
+
# Improved method defintions
|
8
|
+
def self.some_method(a, b)
|
9
|
+
end
|
10
|
+
|
11
|
+
def $*.important!
|
12
|
+
end
|
13
|
+
|
14
|
+
# 1.9 hash symbols
|
15
|
+
{ strange: 'symbols' }
|
16
|
+
|
17
|
+
# Highlights important methods
|
18
|
+
normal_method
|
19
|
+
require_relative
|
20
|
+
|
21
|
+
# Highlights important constants
|
22
|
+
SomeConstant
|
23
|
+
File
|
24
|
+
|
25
|
+
# Highlights important global variables
|
26
|
+
$blubb
|
27
|
+
$stdin
|
28
|
+
|
29
|
+
# Different heredoc matching (however, still far from perfect)
|
30
|
+
here = "doc"
|
31
|
+
%w[string array] <<here # no heredoc
|
32
|
+
|
33
|
+
variable = <<here
|
34
|
+
this one is a heredoc °_°
|
35
|
+
here
|
36
|
+
|
37
|
+
# colorful special values :D
|
38
|
+
[true, false, nil]
|
39
|
+
|
40
|
+
# strange literals are mostly supported
|
41
|
+
%x[ls]
|
42
|
+
%r>[\>]>
|
43
|
+
|
44
|
+
__END__
|
45
|
+
supports data area
|
data/rubybuntu-gedit.gemspec
CHANGED
@@ -3,7 +3,7 @@ require 'rubygems' unless defined? Gem
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "rubybuntu-gedit"
|
6
|
-
s.version = Time.now.strftime("%y.%m.%d")
|
6
|
+
s.version = "11.08.19" #Time.now.strftime("%y.%m.%d")
|
7
7
|
s.authors = ["Jan Lelis", "Snippets by Christoph Olszowka", "Please see individual files for author and license"]
|
8
8
|
s.email = "mail@janlelis.de"
|
9
9
|
s.homepage = "https://github.com/janlelis/rubybuntu-gedit"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubybuntu-gedit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.08.
|
4
|
+
version: 11.08.19
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -15,7 +15,7 @@ date: 2011-08-18 00:00:00.000000000Z
|
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: paint
|
18
|
-
requirement: &
|
18
|
+
requirement: &14780300 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,7 +23,7 @@ dependencies:
|
|
23
23
|
version: '0'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *14780300
|
27
27
|
description: Ruby/Rails/Web related gedit language definitions, mime types, styles
|
28
28
|
and snippets.
|
29
29
|
email: mail@janlelis.de
|
@@ -42,6 +42,7 @@ files:
|
|
42
42
|
- data/language-specs/ruby.lang-extras/important-methods.rb
|
43
43
|
- data/language-specs/ruby.lang-extras/important-constants.rb
|
44
44
|
- data/language-specs/ruby.lang-extras/known-bugs.rb
|
45
|
+
- data/language-specs/ruby.lang-extras/examples.rb
|
45
46
|
- data/language-specs/html-erb.lang
|
46
47
|
- data/language-specs/ruby.lang
|
47
48
|
- data/language-specs/javascript-erb.lang
|