octopress-solarized 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +10 -5
- data/assets/config.yml +1 -0
- data/assets/stylesheets/_solarized.scss +0 -2
- data/assets/stylesheets/index.scss +2 -1
- data/lib/octopress-solarized/version.rb +1 -1
- data/lib/octopress-solarized.rb +7 -17
- metadata +26 -33
- data/.gitignore +0 -21
- data/.travis.yml +0 -5
- data/Gemfile +0 -4
- data/Rakefile +0 -23
- data/assets/stylesheets/_vars.scss +0 -1
- data/build/sass/solarized-dark.scss +0 -2
- data/build/sass/solarized-light.scss +0 -2
- data/build/solarized-dark.min.css +0 -1
- data/build/solarized-light.min.css +0 -1
- data/demo/.gitignore +0 -1
- data/demo/Gemfile +0 -11
- data/demo/_config.yml +0 -8
- data/demo/_layouts/default.html +0 -13
- data/demo/_octopress.yml +0 -2
- data/demo/index.html +0 -66
- data/octopress-solarized.gemspec +0 -30
- data/test/expected/solarized-dark.min.css +0 -1
- data/test/expected/solarized-light.min.css +0 -1
- data/test/test.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccf65eab7024fcefb4de84355697a5a8cf059793
|
4
|
+
data.tar.gz: fa8003632d5bc0ffea6b86f11678091b38a2dd58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5e5d1a0b53ddf7744cbd433730db608a02743ffe2c435ac4dafd84c69ea39e01c03a725260dfa9090e1f6c760dfa6f5d0ddedae4d5892d9ec546df197ae3cbd
|
7
|
+
data.tar.gz: c0a2d252ab0ec4c3f83ddafb33e599f6510c36a8632d28c7f7e4f5bd1fb0786577f57d34a9bc5fbed0838dd11e64f4b067ab217b2d0aad058355ad592afcd3b6
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Octopress Solarized
|
2
2
|
|
3
|
-
|
3
|
+
Style your code blocks using Ethan Schoonover's solarized theme (with tweaks) on Jekyll and Octopress sites.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -16,14 +16,19 @@ Or install it yourself as:
|
|
16
16
|
|
17
17
|
$ gem install octopress-solarized
|
18
18
|
|
19
|
-
|
19
|
+
Next add it to your gems list in Jekyll's `_config.yml`
|
20
20
|
|
21
|
-
|
21
|
+
gems:
|
22
|
+
- octopress-include-tag
|
23
|
+
|
24
|
+
If you're using a standard Jekyll theme add `{% css_asset_tag %}` to your site layout.
|
25
|
+
|
26
|
+
If you're using an Octopress Ink Theme, stylesheets should be automatically added when you generate your site.
|
22
27
|
|
23
28
|
## Contributing
|
24
29
|
|
25
|
-
1. Fork it
|
30
|
+
1. Fork it ( https://github.com/octopress/solarized/fork )
|
26
31
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
32
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
33
|
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
-
5. Create new Pull Request
|
34
|
+
5. Create a new Pull Request
|
data/assets/config.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
style: dark
|
data/lib/octopress-solarized.rb
CHANGED
@@ -1,19 +1,9 @@
|
|
1
1
|
require "octopress-solarized/version"
|
2
|
+
require "octopress-ink"
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
slug: "octopress-solarized",
|
10
|
-
description: "Style code snippets with Ethan Schoonover's Solarized theme (tweaked a bit).",
|
11
|
-
version: Octopress::Solarized::VERSION,
|
12
|
-
assets_path: File.expand_path(File.join(File.dirname(__FILE__), '../assets'))
|
13
|
-
}
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
Octopress::Ink.register_plugin(Octopress::Solarized::Plugin)
|
4
|
+
Octopress::Ink.add_plugin({
|
5
|
+
name: "Octopress Solarized",
|
6
|
+
description: "Style code snippets with Ethan Schoonover's Solarized theme (tweaked a bit).",
|
7
|
+
path: File.expand_path(File.join(File.dirname(__FILE__), '../')),
|
8
|
+
version: Octopress::Solarized::VERSION,
|
9
|
+
})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-solarized
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octopress-ink
|
@@ -16,16 +16,16 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0.0.rc
|
19
|
+
version: 1.0.0.rc
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.0.0.rc
|
26
|
+
version: 1.0.0.rc
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: clash
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: octopress
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 3.0.0.rc
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 3.0.0.rc
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: octopress-code-highlighter
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,6 +122,20 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry-byebug
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
125
139
|
description: Ethan Schoonover's solarized theme (with tweaks) for Octopress Ink.
|
126
140
|
email:
|
127
141
|
- brandon@imathis.com
|
@@ -129,34 +143,16 @@ executables: []
|
|
129
143
|
extensions: []
|
130
144
|
extra_rdoc_files: []
|
131
145
|
files:
|
132
|
-
- ".gitignore"
|
133
|
-
- ".travis.yml"
|
134
146
|
- CHANGELOG.md
|
135
|
-
- Gemfile
|
136
147
|
- LICENSE.txt
|
137
148
|
- README.md
|
138
|
-
-
|
149
|
+
- assets/config.yml
|
139
150
|
- assets/stylesheets/_code-highlight.scss
|
140
151
|
- assets/stylesheets/_code-mixins.scss
|
141
152
|
- assets/stylesheets/_solarized.scss
|
142
|
-
- assets/stylesheets/_vars.scss
|
143
153
|
- assets/stylesheets/index.scss
|
144
|
-
- build/sass/solarized-dark.scss
|
145
|
-
- build/sass/solarized-light.scss
|
146
|
-
- build/solarized-dark.min.css
|
147
|
-
- build/solarized-light.min.css
|
148
|
-
- demo/.gitignore
|
149
|
-
- demo/Gemfile
|
150
|
-
- demo/_config.yml
|
151
|
-
- demo/_layouts/default.html
|
152
|
-
- demo/_octopress.yml
|
153
|
-
- demo/index.html
|
154
154
|
- lib/octopress-solarized.rb
|
155
155
|
- lib/octopress-solarized/version.rb
|
156
|
-
- octopress-solarized.gemspec
|
157
|
-
- test/expected/solarized-dark.min.css
|
158
|
-
- test/expected/solarized-light.min.css
|
159
|
-
- test/test.rb
|
160
156
|
homepage: https://github.com/octopress/solarized
|
161
157
|
licenses:
|
162
158
|
- MIT
|
@@ -177,11 +173,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
173
|
version: '0'
|
178
174
|
requirements: []
|
179
175
|
rubyforge_project:
|
180
|
-
rubygems_version: 2.
|
176
|
+
rubygems_version: 2.4.1
|
181
177
|
signing_key:
|
182
178
|
specification_version: 4
|
183
179
|
summary: Ethan Schoonover's solarized theme (with tweaks) for Octopress Ink.
|
184
|
-
test_files:
|
185
|
-
- test/expected/solarized-dark.min.css
|
186
|
-
- test/expected/solarized-light.min.css
|
187
|
-
- test/test.rb
|
180
|
+
test_files: []
|
data/.gitignore
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
.bundle
|
4
|
-
.config
|
5
|
-
.yardoc
|
6
|
-
Gemfile.lock
|
7
|
-
InstalledFiles
|
8
|
-
_yardoc
|
9
|
-
coverage
|
10
|
-
doc/
|
11
|
-
lib/bundler/man
|
12
|
-
pkg
|
13
|
-
rdoc
|
14
|
-
spec/reports
|
15
|
-
test/tmp
|
16
|
-
test/version_tmp
|
17
|
-
tmp
|
18
|
-
.sass-cache
|
19
|
-
.code-highlighter-cache
|
20
|
-
_site
|
21
|
-
.DS_Store
|
data/.travis.yml
DELETED
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
2
|
-
require "autoprefixer-rails"
|
3
|
-
|
4
|
-
desc "Generate CSS build"
|
5
|
-
task :build_css do
|
6
|
-
|
7
|
-
light_css_file = 'build/solarized-light.min.css'
|
8
|
-
dark_css_file = 'build/solarized-dark.min.css'
|
9
|
-
|
10
|
-
system "sass --no-cache --style compressed build/sass/solarized-light.scss #{light_css_file}"
|
11
|
-
system "sass --no-cache --style compressed build/sass/solarized-dark.scss #{dark_css_file}"
|
12
|
-
|
13
|
-
# post process with Autoprefixer
|
14
|
-
#
|
15
|
-
prefix_css(light_css_file)
|
16
|
-
prefix_css(dark_css_file)
|
17
|
-
end
|
18
|
-
|
19
|
-
def prefix_css(css_file)
|
20
|
-
css = File.open(css_file).read
|
21
|
-
css = AutoprefixerRails.process(css)
|
22
|
-
File.open(css_file, 'w') { |f| f.write css }
|
23
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
pre .gd:after,pre .gd .x:after,pre .gi:after,pre .gi .x:after{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;bottom:0}.code-highlight-pre{background:#002731}.code-highlight-row.numbered:before{color:#586e75;background:#073642;border-right:1px solid #00232c;-webkit-box-shadow:#083e4b -1px 0 inset;box-shadow:#083e4b -1px 0 inset;text-shadow:#021014 0 -1px}.marked-line .code-highlight-line:before{background:rgba(0,186,255,0.13)}.marked-line.numbered:before{background:rgba(0,186,255,0.13);border-right-color:rgba(0,112,153,0.13)}.highlight pre,pre:not(.code-highlight-pre),.code-highlight{border:1px solid #05232b;background:#002b36;color:#93a1a1}pre span{color:#93a1a1}pre .c{color:#586e75;font-style:italic}pre .cm{color:#586e75;font-style:italic}pre .cp{color:#586e75;font-style:italic}pre .c1{color:#586e75;font-style:italic}pre .cs{color:#586e75;font-weight:bold;font-style:italic}pre .err{color:#dc322f;background:none}pre .k{color:#cb4b16}pre .o{color:#93a1a1;font-weight:bold}pre .p{color:#93a1a1}pre .ow{color:#2aa198;font-weight:bold}pre .gd{color:#93a1a1}pre .gd:after{background:#372c34}pre .gd .x{color:#93a1a1}pre .gd .x:after{background:#4d2d33}pre .ge{color:#93a1a1;font-style:italic}pre .gh{color:#586e75}pre .gi{color:#93a1a1}pre .gi:after{background:#1a412b}pre .gi .x{color:#93a1a1}pre .gi .x:after{background:#355720}pre .go{color:#839496}pre .gp{color:#2aa198}pre .gs{color:#93a1a1;font-weight:bold}pre .gu{color:#6c71c4}pre .gt{color:#dc322f}pre .kc{color:#859900;font-weight:bold}pre .kd{color:#268bd2}pre .kp{color:#cb4b16;font-weight:bold}pre .kr{color:#d33682;font-weight:bold}pre .kt{color:#2aa198}pre .n{color:#268bd2}pre .na{color:#268bd2}pre .nb{color:#859900}pre .nc{color:#d33682}pre .no{color:#b58900}pre .ni{color:#d33682}pre .nl{color:#859900}pre .ne{color:#268bd2;font-weight:bold}pre .nf{color:#268bd2;font-weight:bold}pre .nn{color:#b58900}pre .nt{color:#268bd2;font-weight:bold}pre .nx{color:#b58900}pre .bp{color:#93a1a1}pre .vc{color:#859900}pre .vg{color:#268bd2}pre .vi{color:#268bd2}pre .nv{color:#268bd2}pre .w{color:#657b83}pre .mf{color:#2aa198}pre .m{color:#2aa198}pre .mh{color:#2aa198}pre .mi{color:#2aa198}pre .mo{color:#2aa198}pre .s{color:#2aa198}pre .sb{color:#859900}pre .sc{color:#859900}pre .sd{color:#2aa198}pre .s2{color:#2aa198}pre .se{color:#dc322f}pre .sh{color:#859900}pre .si{color:#268bd2}pre .sx{color:#859900}pre .sr{color:#2aa198}pre .s1{color:#2aa198}pre .ss{color:#cb4b16}pre .il{color:#b58900}code,kbd,samp,tt{color:inherit;background-color:rgba(255,255,255,0.3);border:1px solid rgba(0,0,0,0.1);font-family:"Source Code Pro",Inconsolata-dz,Inconsolata,Menlo,Monaco,Consolas,"Liberation Mono",Courier,monospace;border-radius:3px;font-size:0.85em}code:before,code:after,kbd:before,kbd:after,samp:before,samp:after,tt:before,tt:after{content:"\00a0";letter-spacing:-0.2em}pre code{border:none;background:none;border-raidus:0;font-size:inherit}pre code:before,pre code:after{content:none}pre,pre code{font-size:13px;font-family:"Source Code Pro",Inconsolata-dz,Inconsolata,Menlo,Monaco,Consolas,"Liberation Mono",Courier,monospace}pre *,pre code *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.highlight pre,pre:not(.code-highlight-pre),.code-highlight{overflow:scroll;overflow-y:hidden;overflow-x:auto;line-height:1.45em}.highlight pre span,pre:not(.code-highlight-pre) span,.code-highlight span{font-style:normal;font-weight:normal}.code-highlight-figure{margin:1.8em 0;font-size:14px;background:none;padding:0;border:0}.code-highlight-figure *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.code-highlight-figure pre{margin-top:0;margin-bottom:0}.code-highlight-caption{position:relative;text-align:center;line-height:2em;text-shadow:rgba(255,255,255,0.8) 0 1px 0;color:#474747;font-weight:normal;margin-bottom:0;background-color:#ccc;background-image:-webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(6%, #f0f0f0), color-stop(90%, #e5e5e5), to(#e5e5e5));background-image:-webkit-linear-gradient(#fff, #f0f0f0 6%, #e5e5e5 90%, #e5e5e5);background-image:linear-gradient(#fff, #f0f0f0 6%, #e5e5e5 90%, #e5e5e5);border-top-left-radius:5px;border-top-right-radius:5px;font-family:"Helvetica Neue", Arial, "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif;border:1px solid #cbcbcb}.code-highlight-caption+.code-highlight{border-top:0}.code-highlight-caption-link{position:absolute;right:.8em;color:#666;z-index:1;text-shadow:rgba(255,255,255,0.8) 0 1px 0;padding-left:3em}.highlight pre,pre:not(.code-highlight-pre){padding:1em .8rem;border-radius:.4em;margin:1.8em 0}.code-highlight-pre{width:100%;margin-bottom:0;display:table}.code-highlight-row{display:table-row;width:100%}.code-highlight-row:before,.code-highlight-row .code-highlight-line{padding-left:1.6em;padding-right:1.6em}.code-highlight-row:first-child:before,.code-highlight-row:first-child .code-highlight-line{padding-top:0.8em}.code-highlight-row:last-child:before,.code-highlight-row:last-child .code-highlight-line{padding-bottom:0.8em}.code-highlight-row.numbered:before,.code-highlight-row.numbered .code-highlight-line{padding-left:0.8em;padding-right:0.8em}.code-highlight-row.numbered:before{display:table-cell;content:attr(data-line);min-width:1.2em;text-align:right;line-height:1.45em}.code-highlight-line{display:table-cell;width:100%;position:relative;z-index:1}.marked-line{position:relative}.marked-line .code-highlight-line:before{content:"";position:absolute;left:0;top:0;bottom:0;right:0;border-right:1px solid rgba(0,186,255,0.13)}.marked-line.unnumbered .code-highlight-line:before{border-left:3px solid rgba(0,186,255,0.5)}.marked-line.numbered:before{border-left:3px solid rgba(0,186,255,0.5)}.start-marked-line:before,.start-marked-line .code-highlight-line:before{border-top:1px solid rgba(0,186,255,0.13)}.end-marked-line:before,.end-marked-line .code-highlight-line:before{border-bottom:1px solid rgba(0,186,255,0.13)}
|
@@ -1 +0,0 @@
|
|
1
|
-
pre .gd:after,pre .gd .x:after,pre .gi:after,pre .gi .x:after{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;bottom:0}.code-highlight-pre{background:#002731}.code-highlight-row.numbered:before{color:#586e75;background:#073642;border-right:1px solid #00232c;-webkit-box-shadow:#083e4b -1px 0 inset;box-shadow:#083e4b -1px 0 inset;text-shadow:#021014 0 -1px}.marked-line .code-highlight-line:before{background:rgba(0,186,255,0.13)}.marked-line.numbered:before{background:rgba(0,186,255,0.13);border-right-color:rgba(0,112,153,0.13)}.highlight pre,pre:not(.code-highlight-pre),.code-highlight{border:1px solid #05232b;background:#002b36;color:#93a1a1}pre span{color:#93a1a1}pre .c{color:#586e75;font-style:italic}pre .cm{color:#586e75;font-style:italic}pre .cp{color:#586e75;font-style:italic}pre .c1{color:#586e75;font-style:italic}pre .cs{color:#586e75;font-weight:bold;font-style:italic}pre .err{color:#dc322f;background:none}pre .k{color:#cb4b16}pre .o{color:#93a1a1;font-weight:bold}pre .p{color:#93a1a1}pre .ow{color:#2aa198;font-weight:bold}pre .gd{color:#93a1a1}pre .gd:after{background:#372c34}pre .gd .x{color:#93a1a1}pre .gd .x:after{background:#4d2d33}pre .ge{color:#93a1a1;font-style:italic}pre .gh{color:#586e75}pre .gi{color:#93a1a1}pre .gi:after{background:#1a412b}pre .gi .x{color:#93a1a1}pre .gi .x:after{background:#355720}pre .go{color:#839496}pre .gp{color:#2aa198}pre .gs{color:#93a1a1;font-weight:bold}pre .gu{color:#6c71c4}pre .gt{color:#dc322f}pre .kc{color:#859900;font-weight:bold}pre .kd{color:#268bd2}pre .kp{color:#cb4b16;font-weight:bold}pre .kr{color:#d33682;font-weight:bold}pre .kt{color:#2aa198}pre .n{color:#268bd2}pre .na{color:#268bd2}pre .nb{color:#859900}pre .nc{color:#d33682}pre .no{color:#b58900}pre .ni{color:#d33682}pre .nl{color:#859900}pre .ne{color:#268bd2;font-weight:bold}pre .nf{color:#268bd2;font-weight:bold}pre .nn{color:#b58900}pre .nt{color:#268bd2;font-weight:bold}pre .nx{color:#b58900}pre .bp{color:#93a1a1}pre .vc{color:#859900}pre .vg{color:#268bd2}pre .vi{color:#268bd2}pre .nv{color:#268bd2}pre .w{color:#657b83}pre .mf{color:#2aa198}pre .m{color:#2aa198}pre .mh{color:#2aa198}pre .mi{color:#2aa198}pre .mo{color:#2aa198}pre .s{color:#2aa198}pre .sb{color:#859900}pre .sc{color:#859900}pre .sd{color:#2aa198}pre .s2{color:#2aa198}pre .se{color:#dc322f}pre .sh{color:#859900}pre .si{color:#268bd2}pre .sx{color:#859900}pre .sr{color:#2aa198}pre .s1{color:#2aa198}pre .ss{color:#cb4b16}pre .il{color:#b58900}code,kbd,samp,tt{color:inherit;background-color:rgba(255,255,255,0.3);border:1px solid rgba(0,0,0,0.1);font-family:"Source Code Pro",Inconsolata-dz,Inconsolata,Menlo,Monaco,Consolas,"Liberation Mono",Courier,monospace;border-radius:3px;font-size:0.85em}code:before,code:after,kbd:before,kbd:after,samp:before,samp:after,tt:before,tt:after{content:"\00a0";letter-spacing:-0.2em}pre code{border:none;background:none;border-raidus:0;font-size:inherit}pre code:before,pre code:after{content:none}pre,pre code{font-size:13px;font-family:"Source Code Pro",Inconsolata-dz,Inconsolata,Menlo,Monaco,Consolas,"Liberation Mono",Courier,monospace}pre *,pre code *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.highlight pre,pre:not(.code-highlight-pre),.code-highlight{overflow:scroll;overflow-y:hidden;overflow-x:auto;line-height:1.45em}.highlight pre span,pre:not(.code-highlight-pre) span,.code-highlight span{font-style:normal;font-weight:normal}.code-highlight-figure{margin:1.8em 0;font-size:14px;background:none;padding:0;border:0}.code-highlight-figure *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.code-highlight-figure pre{margin-top:0;margin-bottom:0}.code-highlight-caption{position:relative;text-align:center;line-height:2em;text-shadow:rgba(255,255,255,0.8) 0 1px 0;color:#474747;font-weight:normal;margin-bottom:0;background-color:#ccc;background-image:-webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(6%, #f0f0f0), color-stop(90%, #e5e5e5), to(#e5e5e5));background-image:-webkit-linear-gradient(#fff, #f0f0f0 6%, #e5e5e5 90%, #e5e5e5);background-image:linear-gradient(#fff, #f0f0f0 6%, #e5e5e5 90%, #e5e5e5);border-top-left-radius:5px;border-top-right-radius:5px;font-family:"Helvetica Neue", Arial, "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif;border:1px solid #cbcbcb}.code-highlight-caption+.code-highlight{border-top:0}.code-highlight-caption-link{position:absolute;right:.8em;color:#666;z-index:1;text-shadow:rgba(255,255,255,0.8) 0 1px 0;padding-left:3em}.highlight pre,pre:not(.code-highlight-pre){padding:1em .8rem;border-radius:.4em;margin:1.8em 0}.code-highlight-pre{width:100%;margin-bottom:0;display:table}.code-highlight-row{display:table-row;width:100%}.code-highlight-row:before,.code-highlight-row .code-highlight-line{padding-left:1.6em;padding-right:1.6em}.code-highlight-row:first-child:before,.code-highlight-row:first-child .code-highlight-line{padding-top:0.8em}.code-highlight-row:last-child:before,.code-highlight-row:last-child .code-highlight-line{padding-bottom:0.8em}.code-highlight-row.numbered:before,.code-highlight-row.numbered .code-highlight-line{padding-left:0.8em;padding-right:0.8em}.code-highlight-row.numbered:before{display:table-cell;content:attr(data-line);min-width:1.2em;text-align:right;line-height:1.45em}.code-highlight-line{display:table-cell;width:100%;position:relative;z-index:1}.marked-line{position:relative}.marked-line .code-highlight-line:before{content:"";position:absolute;left:0;top:0;bottom:0;right:0;border-right:1px solid rgba(0,186,255,0.13)}.marked-line.unnumbered .code-highlight-line:before{border-left:3px solid rgba(0,186,255,0.5)}.marked-line.numbered:before{border-left:3px solid rgba(0,186,255,0.5)}.start-marked-line:before,.start-marked-line .code-highlight-line:before{border-top:1px solid rgba(0,186,255,0.13)}.end-marked-line:before,.end-marked-line .code-highlight-line:before{border-bottom:1px solid rgba(0,186,255,0.13)}
|
data/demo/.gitignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
_site
|
data/demo/Gemfile
DELETED
data/demo/_config.yml
DELETED
data/demo/_layouts/default.html
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
6
|
-
<title>{{ page.title }}</title>
|
7
|
-
<meta name="viewport" content="width=device-width">
|
8
|
-
{% octopress_css %}
|
9
|
-
</head>
|
10
|
-
<body>
|
11
|
-
{{ content }}
|
12
|
-
</body>
|
13
|
-
</html>
|
data/demo/_octopress.yml
DELETED
data/demo/index.html
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
title: Your New Jekyll Site
|
4
|
-
---
|
5
|
-
Hello World!
|
6
|
-
|
7
|
-
``` fooooo title:"awesome code" mark:2-3 linenos: false
|
8
|
-
puts :awesome unless cool
|
9
|
-
@sandwiches.each do |sandwich|
|
10
|
-
eat sandwich unless sandwich.include?('mayonaise')
|
11
|
-
end
|
12
|
-
```
|
13
|
-
|
14
|
-
```ruby mark:7,8 title:"Testing codefence" url:"https://github.com/octopress/codefence" link_text:"plugin link"
|
15
|
-
class Float
|
16
|
-
def number_decimal_places
|
17
|
-
self.to_s.length-2
|
18
|
-
end
|
19
|
-
|
20
|
-
def to_fraction
|
21
|
-
higher = 10**self.number_decimal_places
|
22
|
-
lower = self*higher
|
23
|
-
|
24
|
-
gcden = greatest_common_divisor(higher, lower)
|
25
|
-
|
26
|
-
return (lower/gcden).round, (higher/gcden).round
|
27
|
-
end
|
28
|
-
|
29
|
-
private
|
30
|
-
|
31
|
-
def greatest_common_divisor(a, b)
|
32
|
-
while a%b != 0
|
33
|
-
a,b = b.round,(a%b).round
|
34
|
-
end
|
35
|
-
return b
|
36
|
-
end
|
37
|
-
end
|
38
|
-
```
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
``` ruby title:"awesome code" mark:2-3
|
43
|
-
puts :awesome unless cool
|
44
|
-
@sandwiches.each do |sandwich|
|
45
|
-
eat sandwich unless sandwhich.include?('mayonaise')
|
46
|
-
end
|
47
|
-
```
|
48
|
-
|
49
|
-
``` diff
|
50
|
-
diff --git a/update/update_bins.cf b/update/update_bins.cf
|
51
|
-
index b9747b8..625416c 100755
|
52
|
-
--- a/update/update_bins.cf
|
53
|
-
+++ b/update/update_bins.cf
|
54
|
-
@@ -175,9 +175,9 @@ bundle agent cfe_internal_update_bins
|
55
|
-
comment => "Update Nova package to a newer version (package is there)",
|
56
|
-
handle => "cfe_internal_update_bins_packages_nova_update_windows_only_pkg_there",
|
57
|
-
package_policy => "update",
|
58
|
-
- package_select => ">=", # picks the newest Nova available
|
59
|
-
+ package_select => "==", # picks the newest Nova available
|
60
|
-
package_architectures => { "$(pkgarch)" },
|
61
|
-
- package_version => "9.9.9.9", # Install new Nova anyway
|
62
|
-
+ package_version => "3.5.3.0", # Install new Nova anyway
|
63
|
-
package_method => u_generic( "$(local_software_dir)" ),
|
64
|
-
ifvarclass => "nova_edition",
|
65
|
-
classes => u_if_else("bin_update_success", "bin_update_fail");
|
66
|
-
```
|
data/octopress-solarized.gemspec
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'octopress-solarized/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "octopress-solarized"
|
8
|
-
spec.version = Octopress::Solarized::VERSION
|
9
|
-
spec.authors = ["Brandon Mathis"]
|
10
|
-
spec.email = ["brandon@imathis.com"]
|
11
|
-
spec.description = %q{Ethan Schoonover's solarized theme (with tweaks) for Octopress Ink.}
|
12
|
-
spec.summary = %q{Ethan Schoonover's solarized theme (with tweaks) for Octopress Ink.}
|
13
|
-
spec.homepage = "https://github.com/octopress/solarized"
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
spec.files = `git ls-files`.split($/)
|
17
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = ["lib"]
|
20
|
-
|
21
|
-
spec.add_runtime_dependency "octopress-ink", "~> 1.0.0.rc.11"
|
22
|
-
|
23
|
-
spec.add_development_dependency "pry-debugger"
|
24
|
-
spec.add_development_dependency "autoprefixer-rails"
|
25
|
-
spec.add_development_dependency "octopress"
|
26
|
-
spec.add_development_dependency "octopress-code-highlighter"
|
27
|
-
spec.add_development_dependency "octopress-codefence"
|
28
|
-
spec.add_development_dependency "bundler", "~> 1.3"
|
29
|
-
spec.add_development_dependency "rake"
|
30
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
pre .gd:after,pre .gd .x:after,pre .gi:after,pre .gi .x:after{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;bottom:0}.code-highlight-pre{background:#002731}.code-highlight-row.numbered:before{color:#586e75;background:#073642;border-right:1px solid #00232c;-webkit-box-shadow:#083e4b -1px 0 inset;box-shadow:#083e4b -1px 0 inset;text-shadow:#021014 0 -1px}.marked-line .code-highlight-line:before{background:rgba(0,186,255,0.13)}.marked-line.numbered:before{background:rgba(0,186,255,0.13);border-right-color:rgba(0,112,153,0.13)}.highlight pre,pre:not(.code-highlight-pre),.code-highlight{border:1px solid #05232b;background:#002b36;color:#93a1a1}pre span{color:#93a1a1}pre .c{color:#586e75;font-style:italic}pre .cm{color:#586e75;font-style:italic}pre .cp{color:#586e75;font-style:italic}pre .c1{color:#586e75;font-style:italic}pre .cs{color:#586e75;font-weight:bold;font-style:italic}pre .err{color:#dc322f;background:none}pre .k{color:#cb4b16}pre .o{color:#93a1a1;font-weight:bold}pre .p{color:#93a1a1}pre .ow{color:#2aa198;font-weight:bold}pre .gd{color:#93a1a1}pre .gd:after{background:#372c34}pre .gd .x{color:#93a1a1}pre .gd .x:after{background:#4d2d33}pre .ge{color:#93a1a1;font-style:italic}pre .gh{color:#586e75}pre .gi{color:#93a1a1}pre .gi:after{background:#1a412b}pre .gi .x{color:#93a1a1}pre .gi .x:after{background:#355720}pre .go{color:#839496}pre .gp{color:#2aa198}pre .gs{color:#93a1a1;font-weight:bold}pre .gu{color:#6c71c4}pre .gt{color:#dc322f}pre .kc{color:#859900;font-weight:bold}pre .kd{color:#268bd2}pre .kp{color:#cb4b16;font-weight:bold}pre .kr{color:#d33682;font-weight:bold}pre .kt{color:#2aa198}pre .n{color:#268bd2}pre .na{color:#268bd2}pre .nb{color:#859900}pre .nc{color:#d33682}pre .no{color:#b58900}pre .ni{color:#d33682}pre .nl{color:#859900}pre .ne{color:#268bd2;font-weight:bold}pre .nf{color:#268bd2;font-weight:bold}pre .nn{color:#b58900}pre .nt{color:#268bd2;font-weight:bold}pre .nx{color:#b58900}pre .bp{color:#93a1a1}pre .vc{color:#859900}pre .vg{color:#268bd2}pre .vi{color:#268bd2}pre .nv{color:#268bd2}pre .w{color:#657b83}pre .mf{color:#2aa198}pre .m{color:#2aa198}pre .mh{color:#2aa198}pre .mi{color:#2aa198}pre .mo{color:#2aa198}pre .s{color:#2aa198}pre .sb{color:#859900}pre .sc{color:#859900}pre .sd{color:#2aa198}pre .s2{color:#2aa198}pre .se{color:#dc322f}pre .sh{color:#859900}pre .si{color:#268bd2}pre .sx{color:#859900}pre .sr{color:#2aa198}pre .s1{color:#2aa198}pre .ss{color:#cb4b16}pre .il{color:#b58900}code,kbd,samp,tt{color:inherit;background-color:rgba(255,255,255,0.3);border:1px solid rgba(0,0,0,0.1);font-family:"Source Code Pro",Inconsolata-dz,Inconsolata,Menlo,Monaco,Consolas,"Liberation Mono",Courier,monospace;border-radius:3px;font-size:0.85em}code:before,code:after,kbd:before,kbd:after,samp:before,samp:after,tt:before,tt:after{content:"\00a0";letter-spacing:-0.2em}pre code{border:none;background-color:none;border-raidus:0;font-size:inherit}pre code:before,pre code:after{content:none}pre,pre code{font-size:13px;font-family:"Source Code Pro",Inconsolata-dz,Inconsolata,Menlo,Monaco,Consolas,"Liberation Mono",Courier,monospace}pre *,pre code *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.highlight pre,pre:not(.code-highlight-pre),.code-highlight{overflow:scroll;overflow-y:hidden;overflow-x:auto;line-height:1.45em}.highlight pre span,pre:not(.code-highlight-pre) span,.code-highlight span{font-style:normal;font-weight:normal}.code-highlight-figure{margin:1.8em 0;font-size:14px;background:none;padding:0;border:0}.code-highlight-figure *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.code-highlight-figure pre{margin-top:0;margin-bottom:0}.code-highlight-caption{position:relative;text-align:center;line-height:2em;text-shadow:rgba(255,255,255,0.8) 0 1px 0;color:#474747;font-weight:normal;margin-bottom:0;background-color:#ccc;background-image:-webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(6%, #f0f0f0), color-stop(90%, #e5e5e5), to(#e5e5e5));background-image:-webkit-linear-gradient(#fff, #f0f0f0 6%, #e5e5e5 90%, #e5e5e5);background-image:linear-gradient(#fff, #f0f0f0 6%, #e5e5e5 90%, #e5e5e5);border-top-left-radius:5px;border-top-right-radius:5px;font-family:"Helvetica Neue", Arial, "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif;border:1px solid #cbcbcb}.code-highlight-caption+.code-highlight{border-top:0}.code-highlight-caption-link{position:absolute;right:.8em;color:#666;z-index:1;text-shadow:rgba(255,255,255,0.8) 0 1px 0;padding-left:3em}.highlight pre,pre:not(.code-highlight-pre){padding:1em .8rem;border-radius:.4em;margin:1.8em 0}.code-highlight-pre{width:100%;margin-bottom:0;display:table}.code-highlight-row{display:table-row;width:100%}.code-highlight-row:before,.code-highlight-row .code-highlight-line{padding-left:1.6em;padding-right:1.6em}.code-highlight-row:first-child:before,.code-highlight-row:first-child .code-highlight-line{padding-top:0.8em}.code-highlight-row:last-child:before,.code-highlight-row:last-child .code-highlight-line{padding-bottom:0.8em}.code-highlight-row.numbered:before,.code-highlight-row.numbered .code-highlight-line{padding-left:0.8em;padding-right:0.8em}.code-highlight-row.numbered:before{display:table-cell;content:attr(data-line);min-width:1.2em;text-align:right;line-height:1.45em}.code-highlight-line{display:table-cell;width:100%;position:relative;z-index:1}.marked-line{position:relative}.marked-line .code-highlight-line:before{content:"";position:absolute;left:0;top:0;bottom:0;right:0;border-right:1px solid rgba(0,186,255,0.13)}.marked-line.unnumbered .code-highlight-line:before{border-left:3px solid rgba(0,186,255,0.5)}.marked-line.numbered:before{border-left:3px solid rgba(0,186,255,0.5)}.start-marked-line:before,.start-marked-line .code-highlight-line:before{border-top:1px solid rgba(0,186,255,0.13)}.end-marked-line:before,.end-marked-line .code-highlight-line:before{border-bottom:1px solid rgba(0,186,255,0.13)}
|
@@ -1 +0,0 @@
|
|
1
|
-
pre .gd:after,pre .gd .x:after,pre .gi:after,pre .gi .x:after{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;bottom:0}.code-highlight-pre{background:#002731}.code-highlight-row.numbered:before{color:#586e75;background:#073642;border-right:1px solid #00232c;-webkit-box-shadow:#083e4b -1px 0 inset;box-shadow:#083e4b -1px 0 inset;text-shadow:#021014 0 -1px}.marked-line .code-highlight-line:before{background:rgba(0,186,255,0.13)}.marked-line.numbered:before{background:rgba(0,186,255,0.13);border-right-color:rgba(0,112,153,0.13)}.highlight pre,pre:not(.code-highlight-pre),.code-highlight{border:1px solid #05232b;background:#002b36;color:#93a1a1}pre span{color:#93a1a1}pre .c{color:#586e75;font-style:italic}pre .cm{color:#586e75;font-style:italic}pre .cp{color:#586e75;font-style:italic}pre .c1{color:#586e75;font-style:italic}pre .cs{color:#586e75;font-weight:bold;font-style:italic}pre .err{color:#dc322f;background:none}pre .k{color:#cb4b16}pre .o{color:#93a1a1;font-weight:bold}pre .p{color:#93a1a1}pre .ow{color:#2aa198;font-weight:bold}pre .gd{color:#93a1a1}pre .gd:after{background:#372c34}pre .gd .x{color:#93a1a1}pre .gd .x:after{background:#4d2d33}pre .ge{color:#93a1a1;font-style:italic}pre .gh{color:#586e75}pre .gi{color:#93a1a1}pre .gi:after{background:#1a412b}pre .gi .x{color:#93a1a1}pre .gi .x:after{background:#355720}pre .go{color:#839496}pre .gp{color:#2aa198}pre .gs{color:#93a1a1;font-weight:bold}pre .gu{color:#6c71c4}pre .gt{color:#dc322f}pre .kc{color:#859900;font-weight:bold}pre .kd{color:#268bd2}pre .kp{color:#cb4b16;font-weight:bold}pre .kr{color:#d33682;font-weight:bold}pre .kt{color:#2aa198}pre .n{color:#268bd2}pre .na{color:#268bd2}pre .nb{color:#859900}pre .nc{color:#d33682}pre .no{color:#b58900}pre .ni{color:#d33682}pre .nl{color:#859900}pre .ne{color:#268bd2;font-weight:bold}pre .nf{color:#268bd2;font-weight:bold}pre .nn{color:#b58900}pre .nt{color:#268bd2;font-weight:bold}pre .nx{color:#b58900}pre .bp{color:#93a1a1}pre .vc{color:#859900}pre .vg{color:#268bd2}pre .vi{color:#268bd2}pre .nv{color:#268bd2}pre .w{color:#657b83}pre .mf{color:#2aa198}pre .m{color:#2aa198}pre .mh{color:#2aa198}pre .mi{color:#2aa198}pre .mo{color:#2aa198}pre .s{color:#2aa198}pre .sb{color:#859900}pre .sc{color:#859900}pre .sd{color:#2aa198}pre .s2{color:#2aa198}pre .se{color:#dc322f}pre .sh{color:#859900}pre .si{color:#268bd2}pre .sx{color:#859900}pre .sr{color:#2aa198}pre .s1{color:#2aa198}pre .ss{color:#cb4b16}pre .il{color:#b58900}code,kbd,samp,tt{color:inherit;background-color:rgba(255,255,255,0.3);border:1px solid rgba(0,0,0,0.1);font-family:"Source Code Pro",Inconsolata-dz,Inconsolata,Menlo,Monaco,Consolas,"Liberation Mono",Courier,monospace;border-radius:3px;font-size:0.85em}code:before,code:after,kbd:before,kbd:after,samp:before,samp:after,tt:before,tt:after{content:"\00a0";letter-spacing:-0.2em}pre code{border:none;background-color:none;border-raidus:0;font-size:inherit}pre code:before,pre code:after{content:none}pre,pre code{font-size:13px;font-family:"Source Code Pro",Inconsolata-dz,Inconsolata,Menlo,Monaco,Consolas,"Liberation Mono",Courier,monospace}pre *,pre code *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.highlight pre,pre:not(.code-highlight-pre),.code-highlight{overflow:scroll;overflow-y:hidden;overflow-x:auto;line-height:1.45em}.highlight pre span,pre:not(.code-highlight-pre) span,.code-highlight span{font-style:normal;font-weight:normal}.code-highlight-figure{margin:1.8em 0;font-size:14px;background:none;padding:0;border:0}.code-highlight-figure *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.code-highlight-figure pre{margin-top:0;margin-bottom:0}.code-highlight-caption{position:relative;text-align:center;line-height:2em;text-shadow:rgba(255,255,255,0.8) 0 1px 0;color:#474747;font-weight:normal;margin-bottom:0;background-color:#ccc;background-image:-webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(6%, #f0f0f0), color-stop(90%, #e5e5e5), to(#e5e5e5));background-image:-webkit-linear-gradient(#fff, #f0f0f0 6%, #e5e5e5 90%, #e5e5e5);background-image:linear-gradient(#fff, #f0f0f0 6%, #e5e5e5 90%, #e5e5e5);border-top-left-radius:5px;border-top-right-radius:5px;font-family:"Helvetica Neue", Arial, "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif;border:1px solid #cbcbcb}.code-highlight-caption+.code-highlight{border-top:0}.code-highlight-caption-link{position:absolute;right:.8em;color:#666;z-index:1;text-shadow:rgba(255,255,255,0.8) 0 1px 0;padding-left:3em}.highlight pre,pre:not(.code-highlight-pre){padding:1em .8rem;border-radius:.4em;margin:1.8em 0}.code-highlight-pre{width:100%;margin-bottom:0;display:table}.code-highlight-row{display:table-row;width:100%}.code-highlight-row:before,.code-highlight-row .code-highlight-line{padding-left:1.6em;padding-right:1.6em}.code-highlight-row:first-child:before,.code-highlight-row:first-child .code-highlight-line{padding-top:0.8em}.code-highlight-row:last-child:before,.code-highlight-row:last-child .code-highlight-line{padding-bottom:0.8em}.code-highlight-row.numbered:before,.code-highlight-row.numbered .code-highlight-line{padding-left:0.8em;padding-right:0.8em}.code-highlight-row.numbered:before{display:table-cell;content:attr(data-line);min-width:1.2em;text-align:right;line-height:1.45em}.code-highlight-line{display:table-cell;width:100%;position:relative;z-index:1}.marked-line{position:relative}.marked-line .code-highlight-line:before{content:"";position:absolute;left:0;top:0;bottom:0;right:0;border-right:1px solid rgba(0,186,255,0.13)}.marked-line.unnumbered .code-highlight-line:before{border-left:3px solid rgba(0,186,255,0.5)}.marked-line.numbered:before{border-left:3px solid rgba(0,186,255,0.5)}.start-marked-line:before,.start-marked-line .code-highlight-line:before{border-top:1px solid rgba(0,186,255,0.13)}.end-marked-line:before,.end-marked-line .code-highlight-line:before{border-bottom:1px solid rgba(0,186,255,0.13)}
|
data/test/test.rb
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
require 'colorator'
|
2
|
-
has_failed = false
|
3
|
-
|
4
|
-
system('rake css_build')
|
5
|
-
|
6
|
-
diff1 = `diff ../build/solarized-dark.min.css expected/solarized-dark.min.css`
|
7
|
-
diff2 = `diff ../build/solarized-light.min.css expected/solarized-light.min.css`
|
8
|
-
|
9
|
-
abort "Failed with diff: #{diff1}" if diff1.size > 0
|
10
|
-
abort "Failed with diff: #{diff2}" if diff2.size > 0
|
11
|
-
|
12
|
-
puts "passed".green
|