palette 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Rakefile +5 -12
- data/bin/palette +1 -1
- data/features/cli.feature +31 -13
- data/features/support/env.rb +3 -2
- data/lib/palette/cli.rb +3 -4
- data/lib/palette/color.rb +16 -4
- data/lib/palette/color_scheme.rb +7 -3
- data/lib/palette/dsl.rb +1 -1
- data/lib/palette/rule.rb +4 -4
- data/lib/palette/version.rb +1 -1
- data/lib/palette.rb +9 -7
- data/spec/color_scheme_spec.rb +16 -9
- data/spec/color_spec.rb +7 -2
- data/spec/dsl_spec.rb +2 -2
- data/spec/rule_spec.rb +38 -27
- data/spec/spec_helper.rb +3 -4
- metadata +20 -23
- data/Gemfile.lock +0 -45
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -1,17 +1,10 @@
|
|
1
|
-
require
|
1
|
+
require "bundler"
|
2
2
|
Bundler::GemHelper.install_tasks
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
require "spec/rake/spectask"
|
4
|
+
require "rspec/core/rake_task"
|
7
5
|
require "cucumber/rake/task"
|
8
6
|
|
9
|
-
|
10
|
-
|
11
|
-
end
|
12
|
-
|
13
|
-
Cucumber::Rake::Task.new(:features) do |t|
|
14
|
-
t.cucumber_opts = "features --format pretty"
|
15
|
-
end
|
7
|
+
RSpec::Core::RakeTask.new(:rspec)
|
8
|
+
Cucumber::Rake::Task.new(:features)
|
16
9
|
|
17
|
-
task :default => [:
|
10
|
+
task :default => [:rspec, :features]
|
data/bin/palette
CHANGED
data/features/cli.feature
CHANGED
@@ -16,11 +16,12 @@ Feature: Run palette from the command line
|
|
16
16
|
white = "FFF"
|
17
17
|
Normal black, white
|
18
18
|
Identifier white, black
|
19
|
+
Comment none, none
|
19
20
|
|
20
21
|
link :rubyDelimiter, :rubyInterpolationDelimiter, :to => :String
|
21
22
|
end
|
22
23
|
"""
|
23
|
-
When I run
|
24
|
+
When I run `palette valid_scheme`
|
24
25
|
Then the output should contain:
|
25
26
|
"""
|
26
27
|
" Vim color file
|
@@ -30,8 +31,6 @@ Feature: Run palette from the command line
|
|
30
31
|
" Author: Josh Clayton
|
31
32
|
" Notes: This is a pretty simple example
|
32
33
|
|
33
|
-
let colors_name="valid_scheme"
|
34
|
-
|
35
34
|
hi clear
|
36
35
|
if version > 580
|
37
36
|
if exists("syntax_on")
|
@@ -39,12 +38,15 @@ Feature: Run palette from the command line
|
|
39
38
|
endif
|
40
39
|
endif
|
41
40
|
|
41
|
+
let colors_name="valid_scheme"
|
42
|
+
|
42
43
|
if has("gui_running")
|
43
44
|
set background=light
|
44
45
|
endif
|
45
46
|
|
46
|
-
hi Normal guifg=#000000 ctermfg=16
|
47
|
-
hi Identifier guifg=#FFFFFF ctermfg=231
|
47
|
+
hi Normal guifg=#000000 ctermfg=16 guibg=#FFFFFF ctermbg=231
|
48
|
+
hi Identifier guifg=#FFFFFF ctermfg=231 guibg=#000000 ctermbg=16
|
49
|
+
hi Comment guifg=NONE ctermfg=NONE guibg=NONE ctermbg=NONE
|
48
50
|
|
49
51
|
hi link rubyDelimiter String
|
50
52
|
hi link rubyInterpolationDelimiter String
|
@@ -58,15 +60,15 @@ Feature: Run palette from the command line
|
|
58
60
|
Identifier lighten("000", 60), complement("F00")
|
59
61
|
end
|
60
62
|
"""
|
61
|
-
When I run
|
63
|
+
When I run `palette valid_scheme`
|
62
64
|
Then the output should contain:
|
63
65
|
"""
|
64
|
-
hi Normal guifg=#999999 ctermfg=246
|
65
|
-
hi Identifier guifg=#999999 ctermfg=246
|
66
|
+
hi Normal guifg=#999999 ctermfg=246 guibg=#00FFFF ctermbg=51
|
67
|
+
hi Identifier guifg=#999999 ctermfg=246 guibg=#00FFFF ctermbg=51
|
66
68
|
"""
|
67
69
|
|
68
70
|
Scenario: Process a nonexistant file
|
69
|
-
When I run
|
71
|
+
When I run `palette missing_scheme`
|
70
72
|
Then the output should not contain "colors_name"
|
71
73
|
And the exit status should be 0
|
72
74
|
|
@@ -77,7 +79,7 @@ Feature: Run palette from the command line
|
|
77
79
|
totally made up junk
|
78
80
|
end
|
79
81
|
"""
|
80
|
-
When I run
|
82
|
+
When I run `palette invalid_scheme`
|
81
83
|
Then the exit status should be 1
|
82
84
|
And the output should contain "Please check the syntax of your palette file"
|
83
85
|
|
@@ -89,9 +91,25 @@ Feature: Run palette from the command line
|
|
89
91
|
Float "FFF", "000"
|
90
92
|
end
|
91
93
|
"""
|
92
|
-
When I run
|
94
|
+
When I run `palette valid_theme`
|
95
|
+
Then the output should contain:
|
96
|
+
"""
|
97
|
+
hi String guifg=#000000 ctermfg=16 guibg=#FFFFFF ctermbg=231
|
98
|
+
hi Float guifg=#FFFFFF ctermfg=231 guibg=#000000 ctermbg=16
|
99
|
+
"""
|
100
|
+
|
101
|
+
Scenario: Process a file where links are self-referential
|
102
|
+
Given a file named "valid_theme" with:
|
103
|
+
"""
|
104
|
+
vim_colors "self-referential links" do
|
105
|
+
link :htmlTag, :to => :Type
|
106
|
+
link :htmlEndTag, :htmlTagName, :to => :htmlTag
|
107
|
+
end
|
108
|
+
"""
|
109
|
+
When I run `palette valid_theme`
|
93
110
|
Then the output should contain:
|
94
111
|
"""
|
95
|
-
hi
|
96
|
-
hi
|
112
|
+
hi link htmlTag Type
|
113
|
+
hi link htmlEndTag htmlTag
|
114
|
+
hi link htmlTagName htmlTag
|
97
115
|
"""
|
data/features/support/env.rb
CHANGED
data/lib/palette/cli.rb
CHANGED
@@ -1,14 +1,13 @@
|
|
1
|
-
require "palette"
|
2
1
|
module Palette
|
3
2
|
class Cli
|
4
3
|
def initialize(*args)
|
5
4
|
if File.exist?(path = File.expand_path(args.first))
|
6
5
|
begin
|
7
|
-
puts Palette::Dsl.run
|
6
|
+
puts Palette::Dsl.run {
|
8
7
|
eval(IO.read(path), binding, path)
|
9
8
|
}
|
10
|
-
rescue
|
11
|
-
|
9
|
+
rescue Exception => e
|
10
|
+
puts "Please check the syntax of your palette file\n #{e}"
|
12
11
|
exit 1
|
13
12
|
end
|
14
13
|
end
|
data/lib/palette/color.rb
CHANGED
@@ -13,21 +13,33 @@ module Palette
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def to_cterm
|
16
|
-
|
16
|
+
return "NONE" if @hex == "NONE"
|
17
|
+
cterm_of_closest_cterm_hex
|
17
18
|
end
|
18
19
|
|
19
20
|
private
|
20
21
|
|
21
22
|
def self.parse(hex)
|
22
23
|
if hex.upcase =~ /^[A-F\d]{3}$/
|
23
|
-
hex.split(//).map {|code| code * 2 }.join
|
24
|
+
"##{hex.split(//).map {|code| code * 2 }.join}"
|
24
25
|
elsif hex.upcase =~ /^[A-F\d]{6}$/
|
25
|
-
hex
|
26
|
+
"##{hex}"
|
27
|
+
elsif hex.upcase == "NONE"
|
28
|
+
"NONE"
|
26
29
|
else
|
27
30
|
raise "invalid hex value: #{hex}"
|
28
31
|
end.upcase
|
29
32
|
end
|
30
33
|
|
34
|
+
def cterm_of_closest_cterm_hex
|
35
|
+
color_map = self.class.color_map
|
36
|
+
if color_map.respond_to?(:key)
|
37
|
+
color_map.key(closest_cterm_hex)
|
38
|
+
else
|
39
|
+
color_map.index(closest_cterm_hex)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
31
43
|
def closest_cterm_hex
|
32
44
|
all_colors = self.class.color_map.values.map do |hexcode|
|
33
45
|
original_r, original_g, original_b = self.class.hex_to_decimal(@hex)
|
@@ -68,7 +80,7 @@ module Palette
|
|
68
80
|
end
|
69
81
|
|
70
82
|
def self.hex_to_decimal(hex)
|
71
|
-
hex.scan(/../).map {|x| ("%2d" % "0x#{x}").to_i }
|
83
|
+
hex.gsub("#", "").scan(/../).map {|x| ("%2d" % "0x#{x}").to_i }
|
72
84
|
end
|
73
85
|
end
|
74
86
|
end
|
data/lib/palette/color_scheme.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require "sass"
|
2
2
|
|
3
3
|
module Palette
|
4
4
|
class ColorScheme
|
@@ -53,14 +53,18 @@ module Palette
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
+
def none
|
57
|
+
"NONE"
|
58
|
+
end
|
59
|
+
|
56
60
|
def to_s
|
57
61
|
output = []
|
58
62
|
output << header
|
59
63
|
output << ""
|
60
|
-
output << color_scheme_name
|
61
|
-
output << ""
|
62
64
|
output << generate_reset
|
63
65
|
output << ""
|
66
|
+
output << color_scheme_name
|
67
|
+
output << ""
|
64
68
|
output << generate_background
|
65
69
|
output << ""
|
66
70
|
output << @rules
|
data/lib/palette/dsl.rb
CHANGED
data/lib/palette/rule.rb
CHANGED
@@ -21,14 +21,14 @@ module Palette
|
|
21
21
|
|
22
22
|
if fg
|
23
23
|
color = Palette::Color.new(fg)
|
24
|
-
output << %{guifg
|
25
|
-
output << %{ctermfg=#{sprintf("%-
|
24
|
+
output << %{guifg=#{sprintf("%-7s", color.to_hex)}}
|
25
|
+
output << %{ctermfg=#{sprintf("%-4s", color.to_cterm)}}
|
26
26
|
end
|
27
27
|
|
28
28
|
if bg
|
29
29
|
color = Palette::Color.new(bg)
|
30
|
-
output << %{guibg
|
31
|
-
output << %{ctermbg=#{sprintf("%-
|
30
|
+
output << %{guibg=#{sprintf("%-7s", color.to_hex)}}
|
31
|
+
output << %{ctermbg=#{sprintf("%-4s", color.to_cterm)}}
|
32
32
|
end
|
33
33
|
|
34
34
|
if gui
|
data/lib/palette/version.rb
CHANGED
data/lib/palette.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
-
require "
|
2
|
-
require
|
3
|
-
require "palette/color_scheme"
|
4
|
-
require "palette/color"
|
5
|
-
require "palette/rule"
|
6
|
-
require "palette/link"
|
7
|
-
require "palette/version"
|
1
|
+
require "bundler/setup"
|
2
|
+
Bundler.require(:default)
|
8
3
|
|
9
4
|
module Palette
|
5
|
+
autoload :Cli, "palette/cli"
|
6
|
+
autoload :Color, "palette/color"
|
7
|
+
autoload :ColorScheme, "palette/color_scheme"
|
8
|
+
autoload :Dsl, "palette/dsl"
|
9
|
+
autoload :Link, "palette/link"
|
10
|
+
autoload :Rule, "palette/rule"
|
11
|
+
autoload :Version, "palette/version"
|
10
12
|
end
|
data/spec/color_scheme_spec.rb
CHANGED
@@ -89,14 +89,14 @@ describe Palette::ColorScheme, "rule generation" do
|
|
89
89
|
before { Palette::Rule.stubs(:new => "Custom rule") }
|
90
90
|
|
91
91
|
it "creates simple rules" do
|
92
|
-
Palette::ColorScheme.run "one",
|
92
|
+
Palette::ColorScheme.run "one", proc {
|
93
93
|
Comment "ABCDEF", :gui => "bold"
|
94
94
|
}
|
95
95
|
Palette::Rule.should have_received(:new).with("Comment", "ABCDEF", :gui => "bold")
|
96
96
|
end
|
97
97
|
|
98
98
|
it "creates multiple rules" do
|
99
|
-
Palette::ColorScheme.run "one",
|
99
|
+
Palette::ColorScheme.run "one", proc {
|
100
100
|
Comment "ABCDEF", :gui => "bold"
|
101
101
|
Regexp :gui => "bold"
|
102
102
|
}
|
@@ -104,15 +104,22 @@ describe Palette::ColorScheme, "rule generation" do
|
|
104
104
|
Palette::Rule.should have_received(:new).with("Regexp", :gui => "bold")
|
105
105
|
end
|
106
106
|
|
107
|
+
it "handles none" do
|
108
|
+
Palette::ColorScheme.run "one", proc {
|
109
|
+
Comment none, none
|
110
|
+
}
|
111
|
+
Palette::Rule.should have_received(:new).with("Comment", "NONE", "NONE")
|
112
|
+
end
|
113
|
+
|
107
114
|
it "handles Ruby naming conflicts" do
|
108
|
-
Palette::ColorScheme.run "one",
|
115
|
+
Palette::ColorScheme.run "one", proc {
|
109
116
|
String "ABCDEF"
|
110
117
|
}
|
111
118
|
Palette::Rule.should have_received(:new).with("String", "ABCDEF")
|
112
119
|
end
|
113
120
|
|
114
121
|
it "outputs rules" do
|
115
|
-
output = Palette::ColorScheme.run "one",
|
122
|
+
output = Palette::ColorScheme.run "one", proc {
|
116
123
|
Comment "ABCDEF", :gui => "bold"
|
117
124
|
String "ABCDEF"
|
118
125
|
}
|
@@ -125,14 +132,14 @@ describe Palette::ColorScheme, "linking" do
|
|
125
132
|
before { Palette::Link.stubs(:new => "Custom link") }
|
126
133
|
|
127
134
|
it "handles simple linking" do
|
128
|
-
Palette::ColorScheme.run "one",
|
135
|
+
Palette::ColorScheme.run "one", proc {
|
129
136
|
link :Something, :to => :Another
|
130
137
|
}
|
131
138
|
Palette::Link.should have_received(:new).with(:Something, :Another)
|
132
139
|
end
|
133
140
|
|
134
141
|
it "handles complex linking" do
|
135
|
-
Palette::ColorScheme.run "one",
|
142
|
+
Palette::ColorScheme.run "one", proc {
|
136
143
|
link :Something, :Else, :to => :Another
|
137
144
|
link :Red, :to => :Black
|
138
145
|
}
|
@@ -142,7 +149,7 @@ describe Palette::ColorScheme, "linking" do
|
|
142
149
|
end
|
143
150
|
|
144
151
|
it "outputs links" do
|
145
|
-
output = Palette::ColorScheme.run "one",
|
152
|
+
output = Palette::ColorScheme.run "one", proc {
|
146
153
|
link :Something, :Else, :to => :Another
|
147
154
|
link :Red, :to => :Black
|
148
155
|
}
|
@@ -166,7 +173,7 @@ describe Palette::ColorScheme, "output order" do
|
|
166
173
|
end
|
167
174
|
|
168
175
|
it "generates the color file in the correct order" do
|
169
|
-
subject.to_s.should =~ /#{header}.*#{
|
176
|
+
subject.to_s.should =~ /#{header}.*#{reset}.*#{color_scheme_name}.*#{background}/m
|
170
177
|
end
|
171
178
|
end
|
172
179
|
|
@@ -182,7 +189,7 @@ describe Palette::ColorScheme, ".run" do
|
|
182
189
|
end
|
183
190
|
|
184
191
|
it "creates a new color scheme with the correct name" do
|
185
|
-
Palette::ColorScheme.run "Great",
|
192
|
+
Palette::ColorScheme.run "Great", proc {
|
186
193
|
great
|
187
194
|
}
|
188
195
|
Palette::ColorScheme.should have_received(:new).with("Great")
|
data/spec/color_spec.rb
CHANGED
@@ -2,11 +2,11 @@ require "spec_helper"
|
|
2
2
|
|
3
3
|
describe Palette::Color, "color conversion" do
|
4
4
|
it "generates hex from three hex digits" do
|
5
|
-
Palette::Color.new("AAA").to_hex.should == "AAAAAA"
|
5
|
+
Palette::Color.new("AAA").to_hex.should == "#AAAAAA"
|
6
6
|
end
|
7
7
|
|
8
8
|
it "generates hex from six hex digits" do
|
9
|
-
Palette::Color.new("FAFAFA").to_hex.should == "FAFAFA"
|
9
|
+
Palette::Color.new("FAFAFA").to_hex.should == "#FAFAFA"
|
10
10
|
end
|
11
11
|
|
12
12
|
it "generates cterm colors from three hex digits" do
|
@@ -23,6 +23,11 @@ describe Palette::Color, "color conversion" do
|
|
23
23
|
Palette::Color.new("fffffa").to_cterm.should == 231
|
24
24
|
end
|
25
25
|
|
26
|
+
it "returns NONE when color is none" do
|
27
|
+
Palette::Color.new("none").to_hex.should == "NONE"
|
28
|
+
Palette::Color.new("none").to_cterm.should == "NONE"
|
29
|
+
end
|
30
|
+
|
26
31
|
it "raises an error if a bad color is passed" do
|
27
32
|
expect { Palette::Color.new("abcdfg") }.to raise_error
|
28
33
|
expect { Palette::Color.new("abcdf") }.to raise_error
|
data/spec/dsl_spec.rb
CHANGED
data/spec/rule_spec.rb
CHANGED
@@ -7,7 +7,7 @@ shared_examples_for "rule with colors" do
|
|
7
7
|
let(:cterm) { 123 }
|
8
8
|
let(:color) do
|
9
9
|
mock("color").tap do |color|
|
10
|
-
color.stubs(:to_hex => hex, :to_cterm => cterm)
|
10
|
+
color.stubs(:to_hex => "##{hex}", :to_cterm => cterm)
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
@@ -15,47 +15,58 @@ shared_examples_for "rule with colors" do
|
|
15
15
|
end
|
16
16
|
|
17
17
|
describe Palette::Rule, "with a foreground" do
|
18
|
-
it_should_behave_like "rule with colors"
|
19
|
-
|
18
|
+
it_should_behave_like "rule with colors" do
|
19
|
+
subject { Palette::Rule.new("Awesome", fg) }
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
it "highlights the correct colors" do
|
22
|
+
subject.to_s.should == "hi Awesome guifg=##{hex} ctermfg=#{cterm}"
|
23
|
+
end
|
24
24
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
25
|
+
it "converts the correct colors" do
|
26
|
+
subject.to_s
|
27
|
+
Palette::Color.should have_received(:new).with(fg)
|
28
|
+
Palette::Color.should_not have_received(:new).with(bg)
|
29
|
+
end
|
29
30
|
end
|
30
31
|
end
|
31
32
|
|
32
|
-
describe Palette::Rule, "with a foreground
|
33
|
-
|
34
|
-
subject { Palette::Rule.new("Awesome", fg, bg) }
|
33
|
+
describe Palette::Rule, "with a foreground set to none" do
|
34
|
+
subject { Palette::Rule.new("Awesome", "none") }
|
35
35
|
|
36
36
|
it "highlights the correct colors" do
|
37
|
-
subject.to_s.should == "hi Awesome guifg
|
37
|
+
subject.to_s.should == "hi Awesome guifg=NONE ctermfg=NONE"
|
38
38
|
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe Palette::Rule, "with a foreground and background" do
|
42
|
+
it_should_behave_like "rule with colors" do
|
43
|
+
subject { Palette::Rule.new("Awesome", fg, bg) }
|
39
44
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
45
|
+
it "highlights the correct colors" do
|
46
|
+
subject.to_s.should == "hi Awesome guifg=##{hex} ctermfg=#{cterm} guibg=##{hex} ctermbg=#{cterm}"
|
47
|
+
end
|
48
|
+
|
49
|
+
it "converts the correct colors" do
|
50
|
+
subject.to_s
|
51
|
+
Palette::Color.should have_received(:new).with(fg)
|
52
|
+
Palette::Color.should have_received(:new).with(bg)
|
53
|
+
end
|
44
54
|
end
|
45
55
|
end
|
46
56
|
|
47
57
|
describe Palette::Rule, "with a hash passed" do
|
48
|
-
it_should_behave_like "rule with colors"
|
49
|
-
|
58
|
+
it_should_behave_like "rule with colors" do
|
59
|
+
subject { Palette::Rule.new("Awesome", :fg => fg, :bg => bg) }
|
50
60
|
|
51
|
-
|
52
|
-
|
53
|
-
|
61
|
+
it "highlights the correct colors" do
|
62
|
+
subject.to_s.should == "hi Awesome guifg=##{hex} ctermfg=#{cterm} guibg=##{hex} ctermbg=#{cterm}"
|
63
|
+
end
|
54
64
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
65
|
+
it "converts the correct colors" do
|
66
|
+
subject.to_s
|
67
|
+
Palette::Color.should have_received(:new).with(fg)
|
68
|
+
Palette::Color.should have_received(:new).with(bg)
|
69
|
+
end
|
59
70
|
end
|
60
71
|
end
|
61
72
|
|
data/spec/spec_helper.rb
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
require "spec"
|
2
|
-
require "mocha"
|
3
1
|
require "palette"
|
4
|
-
require "
|
2
|
+
require "bundler/setup"
|
3
|
+
Bundler.require(:development)
|
5
4
|
|
6
|
-
|
5
|
+
RSpec.configure do |config|
|
7
6
|
config.mock_with :mocha
|
8
7
|
|
9
8
|
Mocha::Configuration.warn_when(:stubbing_non_existant_method)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: palette
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 19
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Josh Clayton
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-08-24 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,14 +26,12 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - "="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 1
|
30
30
|
segments:
|
31
31
|
- 3
|
32
32
|
- 1
|
33
|
-
-
|
34
|
-
|
35
|
-
- 23
|
36
|
-
version: 3.1.0.alpha.23
|
33
|
+
- 1
|
34
|
+
version: 3.1.1
|
37
35
|
type: :runtime
|
38
36
|
version_requirements: *id001
|
39
37
|
- !ruby/object:Gem::Dependency
|
@@ -44,12 +42,12 @@ dependencies:
|
|
44
42
|
requirements:
|
45
43
|
- - "="
|
46
44
|
- !ruby/object:Gem::Version
|
47
|
-
hash:
|
45
|
+
hash: 23
|
48
46
|
segments:
|
49
|
-
-
|
50
|
-
-
|
47
|
+
- 2
|
48
|
+
- 6
|
51
49
|
- 0
|
52
|
-
version:
|
50
|
+
version: 2.6.0
|
53
51
|
type: :development
|
54
52
|
version_requirements: *id002
|
55
53
|
- !ruby/object:Gem::Dependency
|
@@ -91,12 +89,12 @@ dependencies:
|
|
91
89
|
requirements:
|
92
90
|
- - "="
|
93
91
|
- !ruby/object:Gem::Version
|
94
|
-
hash:
|
92
|
+
hash: 19
|
95
93
|
segments:
|
94
|
+
- 1
|
96
95
|
- 0
|
97
|
-
-
|
98
|
-
|
99
|
-
version: 0.9.3
|
96
|
+
- 2
|
97
|
+
version: 1.0.2
|
100
98
|
type: :development
|
101
99
|
version_requirements: *id005
|
102
100
|
- !ruby/object:Gem::Dependency
|
@@ -107,12 +105,12 @@ dependencies:
|
|
107
105
|
requirements:
|
108
106
|
- - "="
|
109
107
|
- !ruby/object:Gem::Version
|
110
|
-
hash:
|
108
|
+
hash: 5
|
111
109
|
segments:
|
112
110
|
- 0
|
113
|
-
- 2
|
114
111
|
- 4
|
115
|
-
|
112
|
+
- 5
|
113
|
+
version: 0.4.5
|
116
114
|
type: :development
|
117
115
|
version_requirements: *id006
|
118
116
|
description: Palette provides an easy way to build Vim color schemes
|
@@ -127,7 +125,6 @@ extra_rdoc_files: []
|
|
127
125
|
files:
|
128
126
|
- .gitignore
|
129
127
|
- Gemfile
|
130
|
-
- Gemfile.lock
|
131
128
|
- README.markdown
|
132
129
|
- Rakefile
|
133
130
|
- bin/palette
|
@@ -177,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
174
|
requirements: []
|
178
175
|
|
179
176
|
rubyforge_project:
|
180
|
-
rubygems_version: 1.
|
177
|
+
rubygems_version: 1.6.2
|
181
178
|
signing_key:
|
182
179
|
specification_version: 3
|
183
180
|
summary: Build Vim colorschemes with ease
|
data/Gemfile.lock
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
palette (0.0.4)
|
5
|
-
sass (= 3.1.0.alpha.23)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: http://rubygems.org/
|
9
|
-
specs:
|
10
|
-
aruba (0.2.4)
|
11
|
-
background_process
|
12
|
-
cucumber (~> 0.9.3)
|
13
|
-
background_process (1.2)
|
14
|
-
bourne (1.0)
|
15
|
-
mocha (= 0.9.8)
|
16
|
-
builder (2.1.2)
|
17
|
-
cucumber (0.9.3)
|
18
|
-
builder (~> 2.1.2)
|
19
|
-
diff-lcs (~> 1.1.2)
|
20
|
-
gherkin (~> 2.2.9)
|
21
|
-
json (~> 1.4.6)
|
22
|
-
term-ansicolor (~> 1.0.5)
|
23
|
-
diff-lcs (1.1.2)
|
24
|
-
gherkin (2.2.9)
|
25
|
-
json (~> 1.4.6)
|
26
|
-
term-ansicolor (~> 1.0.5)
|
27
|
-
json (1.4.6)
|
28
|
-
mocha (0.9.8)
|
29
|
-
rake
|
30
|
-
rake (0.8.7)
|
31
|
-
rspec (1.3.0)
|
32
|
-
sass (3.1.0.alpha.23)
|
33
|
-
term-ansicolor (1.0.5)
|
34
|
-
|
35
|
-
PLATFORMS
|
36
|
-
ruby
|
37
|
-
|
38
|
-
DEPENDENCIES
|
39
|
-
aruba (= 0.2.4)
|
40
|
-
bourne (= 1.0)
|
41
|
-
cucumber (= 0.9.3)
|
42
|
-
mocha (= 0.9.8)
|
43
|
-
palette!
|
44
|
-
rspec (= 1.3.0)
|
45
|
-
sass (= 3.1.0.alpha.23)
|