coloration 0.3.3 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,112 +1,206 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coloration
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.3.3
4
+ version: 0.4.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Marcin Kulik
8
+ - Gavin Laking
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2013-03-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- type: :runtime
15
+ name: bundler
16
16
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
17
  requirements:
19
- - - ! '>='
18
+ - - "~>"
20
19
  - !ruby/object:Gem::Version
21
- version: '0.11'
20
+ version: '1.8'
21
+ type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
- none: false
25
24
  requirements:
26
- - - ! '>='
25
+ - - "~>"
27
26
  - !ruby/object:Gem::Version
28
- version: '0.11'
29
- name: textpow19
27
+ version: '1.8'
30
28
  - !ruby/object:Gem::Dependency
31
- type: :runtime
29
+ name: guard
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - '='
33
+ - !ruby/object:Gem::Version
34
+ version: 2.12.5
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - '='
40
+ - !ruby/object:Gem::Version
41
+ version: 2.12.5
42
+ - !ruby/object:Gem::Dependency
43
+ name: guard-bundler
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - '='
47
+ - !ruby/object:Gem::Version
48
+ version: 2.1.0
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - '='
54
+ - !ruby/object:Gem::Version
55
+ version: 2.1.0
56
+ - !ruby/object:Gem::Dependency
57
+ name: guard-minitest
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '='
61
+ - !ruby/object:Gem::Version
62
+ version: 2.4.4
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '='
68
+ - !ruby/object:Gem::Version
69
+ version: 2.4.4
70
+ - !ruby/object:Gem::Dependency
71
+ name: minitest
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - '='
75
+ - !ruby/object:Gem::Version
76
+ version: 5.7.0
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - '='
82
+ - !ruby/object:Gem::Version
83
+ version: 5.7.0
84
+ - !ruby/object:Gem::Dependency
85
+ name: simplecov
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - '='
89
+ - !ruby/object:Gem::Version
90
+ version: 0.10.0
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - '='
96
+ - !ruby/object:Gem::Version
97
+ version: 0.10.0
98
+ - !ruby/object:Gem::Dependency
99
+ name: yard
32
100
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
101
  requirements:
35
- - - ! '>='
102
+ - - '='
36
103
  - !ruby/object:Gem::Version
37
- version: 1.3.0
104
+ version: 0.8.7.6
105
+ type: :development
38
106
  prerelease: false
39
107
  version_requirements: !ruby/object:Gem::Requirement
40
- none: false
41
108
  requirements:
42
- - - ! '>='
109
+ - - '='
43
110
  - !ruby/object:Gem::Version
44
- version: 1.3.0
45
- name: color-tools
111
+ version: 0.8.7.6
46
112
  - !ruby/object:Gem::Dependency
113
+ name: textpow19
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0.11'
47
119
  type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '0.11'
126
+ - !ruby/object:Gem::Dependency
127
+ name: plist
48
128
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
129
  requirements:
51
- - - ! '>='
130
+ - - ">="
52
131
  - !ruby/object:Gem::Version
53
132
  version: 3.1.0
133
+ type: :runtime
54
134
  prerelease: false
55
135
  version_requirements: !ruby/object:Gem::Requirement
56
- none: false
57
136
  requirements:
58
- - - ! '>='
137
+ - - ">="
59
138
  - !ruby/object:Gem::Version
60
139
  version: 3.1.0
61
- name: plist
62
140
  description: Color scheme converters for vim, textmate, kate/kwrite, jedit
63
- email: marcin.kulik@gmail.com
141
+ email:
142
+ - marcin.kulik@gmail.com
143
+ - gavinlaking@gmail.com
64
144
  executables:
65
- - tm2katepart
66
145
  - tm2vim
146
+ - tm2katepart
67
147
  - tm2jedit
68
148
  extensions: []
69
149
  extra_rdoc_files: []
70
150
  files:
151
+ - README.md
152
+ - bin/tm2jedit
71
153
  - bin/tm2katepart
72
154
  - bin/tm2vim
73
- - bin/tm2jedit
74
155
  - lib/coloration.rb
75
- - lib/coloration/version.rb
76
- - lib/coloration/readers/textmate_theme_reader.rb
77
- - lib/coloration/extensions.rb
78
- - lib/coloration/style.rb
156
+ - lib/coloration/color/cmyk.rb
157
+ - lib/coloration/color/color.rb
158
+ - lib/coloration/color/css.rb
159
+ - lib/coloration/color/grayscale.rb
160
+ - lib/coloration/color/hsl.rb
161
+ - lib/coloration/color/palette.rb
162
+ - lib/coloration/color/palette/gimp.rb
163
+ - lib/coloration/color/palette/monocontrast.rb
164
+ - lib/coloration/color/rgb-colors.rb
165
+ - lib/coloration/color/rgb.rb
166
+ - lib/coloration/color/rgb/metallic.rb
167
+ - lib/coloration/color/yiq.rb
79
168
  - lib/coloration/color_rgba.rb
80
- - lib/coloration/converters/textmate2vim.rb
169
+ - lib/coloration/converters/abstract_converter.rb
81
170
  - lib/coloration/converters/textmate2jedit.rb
82
171
  - lib/coloration/converters/textmate2katepart.rb
83
- - lib/coloration/abstract_converter.rb
84
- - lib/coloration/writers/katepart_theme_writer.rb
172
+ - lib/coloration/converters/textmate2vim.rb
173
+ - lib/coloration/extensions.rb
174
+ - lib/coloration/readers/textmate_theme_reader.rb
175
+ - lib/coloration/style.rb
176
+ - lib/coloration/support/items_lookup.rb
177
+ - lib/coloration/version.rb
178
+ - lib/coloration/writers/abstract_writer.rb
85
179
  - lib/coloration/writers/jedit_theme_writer.rb
180
+ - lib/coloration/writers/katepart_theme_writer.rb
86
181
  - lib/coloration/writers/vim_theme_writer.rb
87
- - README.md
88
182
  homepage: http://github.com/sickill/coloration
89
183
  licenses: []
184
+ metadata: {}
90
185
  post_install_message:
91
186
  rdoc_options: []
92
187
  require_paths:
93
188
  - lib
94
189
  required_ruby_version: !ruby/object:Gem::Requirement
95
- none: false
96
190
  requirements:
97
- - - ~>
191
+ - - ">="
98
192
  - !ruby/object:Gem::Version
99
- version: '1.9'
193
+ version: '0'
100
194
  required_rubygems_version: !ruby/object:Gem::Requirement
101
- none: false
102
195
  requirements:
103
- - - ! '>='
196
+ - - ">="
104
197
  - !ruby/object:Gem::Version
105
198
  version: '0'
106
199
  requirements: []
107
200
  rubyforge_project:
108
- rubygems_version: 1.8.24
201
+ rubygems_version: 2.4.5
109
202
  signing_key:
110
- specification_version: 3
203
+ specification_version: 4
111
204
  summary: Color scheme converters for vim, textmate, kate/kwrite, jedit
112
205
  test_files: []
206
+ has_rdoc: false
@@ -1,38 +0,0 @@
1
- module Coloration
2
- module Converters
3
- class AbstractConverter
4
- attr_accessor :name, :ui, :items, :input, :result
5
- class << self; attr_reader :in_theme_type; end
6
-
7
- def self.process_cmd_line
8
- if ARGV.size > 0
9
- begin
10
- converter = self.new
11
- converter.feed(File.read(ARGV[0]))
12
- out_filename = ARGV[1] || ARGV[0].gsub(/\.#{@in_theme_ext}$/, ".#{@out_theme_ext}")
13
- converter.convert!
14
- File.open(out_filename, "w") { |f| f.write(converter.result) }
15
- rescue Coloration::Readers::TextMateThemeReader::InvalidThemeError
16
- STDERR.puts "Err: given file doesn't look like xml plist file containing Textmate theme"
17
- end
18
- else
19
- puts "#{File.basename($0)} <in #{@in_theme_type} theme> [out #{@out_theme_type} theme]"
20
- end
21
- end
22
-
23
- def feed(data)
24
- self.input = data
25
- end
26
-
27
- def convert!
28
- parse_input
29
- build_result
30
- end
31
-
32
- protected
33
- def comment_text
34
- "Converted from #{self.class.in_theme_type} theme #{name} using Coloration v#{VERSION} (http://github.com/sickill/coloration)"
35
- end
36
- end
37
- end
38
- end