sublimetheme 1.0.0 → 1.0.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 +4 -4
- data/README.md +16 -11
- data/lib/sublimetheme.rb +13 -3
- data/lib/sublimetheme/version.rb +1 -1
- data/sublimetheme.gemspec +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 089dbaea4043c44691520b73ddc5d8c225a480db
|
4
|
+
data.tar.gz: c6a9fedfd01d13204bbea559a18043c70ee1546f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a1e279953c6a640f0d080267897833c77211c904b2a0706de5ef3b666c6ca6d565b131dac96bd21f2e70c02a65555235927930a589f928150e17e21fdd7b411
|
7
|
+
data.tar.gz: 19848e8d2a301886ba25a629e1839f1798d01c5bba72e4edc2699316e1bfceafc90605da467e57ea3109c9b26bd61747d47a62c03ace5150d2460310aae9a1f2
|
data/README.md
CHANGED
@@ -54,17 +54,22 @@ Contains a class **Make** that takes two arguments ``(Theme name)`` and ``(Autho
|
|
54
54
|
|
55
55
|
```ruby
|
56
56
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
57
|
+
> options are:
|
58
|
+
ag --> activeGuide
|
59
|
+
bg --> background
|
60
|
+
ct --> caret
|
61
|
+
fg --> foreground
|
62
|
+
fh --> findHighlight
|
63
|
+
fhf --> findHighlightForeground
|
64
|
+
gf --> gutterForeground
|
65
|
+
gu --> guide
|
66
|
+
gut --> gutter
|
67
|
+
ins --> inactiveSelection
|
68
|
+
inv --> invisibles
|
69
|
+
lh --> lineHighlight
|
70
|
+
sb --> selectionBorder
|
71
|
+
se --> selection
|
72
|
+
sg --> stackGuide
|
68
73
|
|
69
74
|
```
|
70
75
|
> See example below.
|
data/lib/sublimetheme.rb
CHANGED
@@ -6646,16 +6646,21 @@ class Make
|
|
6646
6646
|
puts ("Main xml heading written")
|
6647
6647
|
puts ("TODO: Call .head() on class instance with any params and values")
|
6648
6648
|
puts ("\ne.g. instance.head(fg='#F0F', bg='#0FF')")
|
6649
|
-
puts ("options are:\n\
|
6649
|
+
puts ("options are:\n\tag --> activeGuide")
|
6650
|
+
puts ("\tbg --> background")
|
6650
6651
|
puts ("\tct --> caret")
|
6651
6652
|
puts ("\tfg --> foreground")
|
6652
6653
|
puts ("\tfh --> findHighlight")
|
6653
6654
|
puts ("\tfhf --> findHighlightForeground")
|
6655
|
+
puts ("\tgf --> gutterForeground")
|
6656
|
+
puts ("\tgu --> guide")
|
6657
|
+
puts ("\tgut --> gutter")
|
6658
|
+
puts ("\tins --> inactiveSelection")
|
6654
6659
|
puts ("\tinv --> invisibles")
|
6655
6660
|
puts ("\tlh --> lineHighlight")
|
6656
6661
|
puts ("\tsb --> selectionBorder")
|
6657
6662
|
puts ("\tse --> selection")
|
6658
|
-
puts ("\tsg --> stackGuide")
|
6663
|
+
puts ("\tsg --> stackGuide\n")
|
6659
6664
|
puts
|
6660
6665
|
end
|
6661
6666
|
|
@@ -6663,11 +6668,16 @@ class Make
|
|
6663
6668
|
@file = open(@filepath,'a')
|
6664
6669
|
|
6665
6670
|
(options.sort.map).each{|x, y|
|
6671
|
+
_write(@file, "activeGuide", y.upcase) if x.to_s == "ag"
|
6666
6672
|
_write(@file, "background", y.upcase) if x.to_s == "bg"
|
6667
6673
|
_write(@file, "caret", y.upcase) if x.to_s == "ct"
|
6668
6674
|
_write(@file, "foreground", y.upcase) if x.to_s == "fg"
|
6669
6675
|
_write(@file, "findHighlight", y.upcase) if x.to_s == "fh"
|
6670
6676
|
_write(@file, "findHighlightForeground", y.upcase) if x.to_s == "fhf"
|
6677
|
+
_write(@file, "gutterForeground", y.upcase) if x.to_s == "gf"
|
6678
|
+
_write(@file, "guide", y.upcase) if x.to_s == "gu"
|
6679
|
+
_write(@file, "gutter", y.upcase) if x.to_s == "gut"
|
6680
|
+
_write(@file, "inactiveSelection", y.upcase) if x.to_s == "ins"
|
6671
6681
|
_write(@file, "invisibles", y.upcase) if x.to_s == "inv"
|
6672
6682
|
_write(@file, "lineHighlight", y.upcase) if x.to_s == "lh"
|
6673
6683
|
_write(@file, "selectionBorder", y.upcase) if x.to_s == "sb"
|
@@ -6779,7 +6789,7 @@ class Make
|
|
6779
6789
|
|
6780
6790
|
licsn = "## License\n\nMIT (c) 2015 %s | %s\n\nThis is free software. It is licensed under the MIT License. Feel free to use this in your own work. However, if you modify and/or redistribute it, please attribute me in some way, and it would be great if you distribute your work under this or a similar license, but it's not required.\n\n"% [@author, email]
|
6781
6791
|
|
6782
|
-
ack = "## Acknowledgements\n\nCreated using sublimetheme package by Taiwo Kareem. (https://
|
6792
|
+
ack = "## Acknowledgements\n\nCreated using Ruby's [sublimetheme](https://rubygems.org/gems/sublimetheme) package by [Taiwo Kareem](https://github.com/tushortz). Alternatively, Use Python's [SublimeScheme](https://pypi.python.org/pypi/Sublimescheme). \n\nAll glory belongs to God.\n\n"
|
6783
6793
|
|
6784
6794
|
|
6785
6795
|
lines = [title, img, about, inst, contrb, licsn, ack]
|
data/lib/sublimetheme/version.rb
CHANGED
data/sublimetheme.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Taiwo Kareem"]
|
10
10
|
spec.email = ["taiwo.kareem36@gmail.com"]
|
11
11
|
spec.summary = %q{Easily create a Sublime text Color Scheme with as little as six lines of code}
|
12
|
-
spec.description = %q{A Ruby package that allows you to easily create a Sublime text Color Scheme with
|
12
|
+
spec.description = %q{A Ruby package that allows you to easily create a Sublime text Color Scheme with as little as six lines of code}
|
13
13
|
spec.homepage = "https://github.com/tushortz/sublimetheme"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sublimetheme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taiwo Kareem
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: A Ruby package that allows you to easily create a Sublime text Color
|
56
|
-
Scheme with
|
56
|
+
Scheme with as little as six lines of code
|
57
57
|
email:
|
58
58
|
- taiwo.kareem36@gmail.com
|
59
59
|
executables: []
|
@@ -360,4 +360,3 @@ specification_version: 4
|
|
360
360
|
summary: Easily create a Sublime text Color Scheme with as little as six lines of
|
361
361
|
code
|
362
362
|
test_files: []
|
363
|
-
has_rdoc:
|