coloration 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Coloration
2
- VERSION = "0.3.0".freeze
2
+ VERSION = "0.3.1".freeze
3
3
  end
@@ -190,16 +190,16 @@ module Coloration
190
190
  ctermfg = rgb_to_xterm256(fg)
191
191
  guifg = fg.html
192
192
  else
193
- ctermfg = 'none'
194
- guifg = 'none'
193
+ ctermfg = 'NONE'
194
+ guifg = 'NONE'
195
195
  end
196
196
 
197
197
  if bg = style.background
198
198
  ctermbg = rgb_to_xterm256(bg)
199
199
  guibg = bg.html
200
200
  else
201
- ctermbg = 'none'
202
- guibg = 'none'
201
+ ctermbg = 'NONE'
202
+ guibg = 'NONE'
203
203
  end
204
204
 
205
205
  gui_attrs = [
@@ -211,8 +211,8 @@ module Coloration
211
211
 
212
212
  cterm_attrs = gui_attrs.reject { |a| a == 'italic' }
213
213
 
214
- gui = gui_attrs.empty? ? 'none' : gui_attrs.join(',')
215
- cterm = cterm_attrs.empty? ? 'none' : cterm_attrs.join(',')
214
+ gui = gui_attrs.empty? ? 'NONE' : gui_attrs.join(',')
215
+ cterm = cterm_attrs.empty? ? 'NONE' : cterm_attrs.join(',')
216
216
 
217
217
  "ctermfg=#{ctermfg} ctermbg=#{ctermbg} cterm=#{cterm} " +
218
218
  "guifg=#{guifg} guibg=#{guibg} gui=#{gui}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coloration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-10-22 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: textpow19
16
- requirement: &69495040 !ruby/object:Gem::Requirement
16
+ requirement: &77037200 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0.11'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *69495040
24
+ version_requirements: *77037200
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: color-tools
27
- requirement: &69546540 !ruby/object:Gem::Requirement
27
+ requirement: &77036530 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.3.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *69546540
35
+ version_requirements: *77036530
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: plist
38
- requirement: &69709450 !ruby/object:Gem::Requirement
38
+ requirement: &77036050 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 3.1.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *69709450
46
+ version_requirements: *77036050
47
47
  description: Color scheme converters for vim, textmate, kate/kwrite, jedit
48
48
  email: marcin.kulik@gmail.com
49
49
  executables: