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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1499c9cb4c509d4e1b4e7a54381379153c28d603
4
- data.tar.gz: 128d128393906301f43c82612128043a501135c2
3
+ metadata.gz: 089dbaea4043c44691520b73ddc5d8c225a480db
4
+ data.tar.gz: c6a9fedfd01d13204bbea559a18043c70ee1546f
5
5
  SHA512:
6
- metadata.gz: aecd8faf04361f27585f52a373e958d86fcb93275744e2741deefc9e13c8e8fadb40e7695cec3533623ece9b80253f68d6f1d367eaf3073e901cd7a51322afd5
7
- data.tar.gz: 3f76d73a18f8d883e603dc8fd0b821887ab297f0f56bbae4353e4f881c44e2d557be8f68b6d1175c64a1112f68cb6347a2e2996174b81f3155a845740d0c3222
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
- options are:
58
- bg --> background
59
- ct --> caret
60
- fg --> foreground
61
- fh --> findHighlight
62
- fhf --> findHighlightForeground
63
- inv --> invisibles
64
- lh --> lineHighlight
65
- sb --> selectionBorder
66
- se --> selection
67
- sg --> stackGuide
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.
@@ -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\tbg --> background")
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://rubygems.org/gems/sublimetheme). \nAll glory belongs to God.\n\n"
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]
@@ -1,3 +1,3 @@
1
1
  module Sublimetheme
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -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 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 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.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-08-20 00:00:00.000000000 Z
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 with as little as six lines of code
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: