heel 3.2.1 → 4.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 +4 -4
- data/HISTORY.md +11 -0
- data/Manifest.txt +11 -19
- data/README.md +32 -25
- data/Rakefile +21 -9
- data/data/css/pico.min.css +5 -0
- data/data/css/syntax-highlighting.css +61 -0
- data/data/error.rhtml +18 -16
- data/data/lineicons/code-browser.svg +16 -0
- data/data/lineicons/file.svg +12 -0
- data/data/lineicons/folder-alt.svg +9 -0
- data/data/lineicons/html5.svg +21 -0
- data/data/lineicons/image.svg +17 -0
- data/data/lineicons/pdf.svg +18 -0
- data/data/lineicons/presentation.svg +10 -0
- data/data/lineicons/word.svg +23 -0
- data/data/lineicons/zip.svg +14 -0
- data/data/listing.rhtml +40 -30
- data/lib/heel/directory_indexer.rb +1 -1
- data/lib/heel/mime_map.rb +13 -16
- data/lib/heel/rackapp.rb +47 -28
- data/lib/heel/server.rb +7 -6
- data/lib/heel/template_vars.rb +4 -0
- data/lib/heel.rb +1 -1
- data/spec/configuration_spec.rb +10 -6
- data/spec/directory_indexer_spec.rb +14 -11
- data/spec/rackapp_spec.rb +13 -13
- data/spec/server_spec.rb +24 -24
- data/spec/template_vars_spec.rb +2 -2
- data/tasks/default.rake +24 -16
- data/tasks/this.rb +6 -3
- metadata +80 -57
- data/data/css/coderay-alpha.css +0 -120
- data/data/css/coderay-cycnus.css +0 -104
- data/data/css/coderay-murphy.css +0 -98
- data/data/css/index.css +0 -77
- data/data/famfamfam/icons/application.png +0 -0
- data/data/famfamfam/icons/compress.png +0 -0
- data/data/famfamfam/icons/error.png +0 -0
- data/data/famfamfam/icons/folder.png +0 -0
- data/data/famfamfam/icons/html.png +0 -0
- data/data/famfamfam/icons/page_excel.png +0 -0
- data/data/famfamfam/icons/page_white.png +0 -0
- data/data/famfamfam/icons/page_white_acrobat.png +0 -0
- data/data/famfamfam/icons/page_white_code.png +0 -0
- data/data/famfamfam/icons/page_white_powerpoint.png +0 -0
- data/data/famfamfam/icons/page_white_text.png +0 -0
- data/data/famfamfam/icons/picture.png +0 -0
- data/data/famfamfam/icons/xhtml.png +0 -0
- data/data/famfamfam/readme.html +0 -1495
- data/data/famfamfam/readme.txt +0 -22
data/spec/template_vars_spec.rb
CHANGED
@@ -9,7 +9,7 @@ describe Heel::TemplateVars do
|
|
9
9
|
it "exposes all its data members in a binding" do
|
10
10
|
t = Heel::TemplateVars.new( :foo => 'foo', :bar => 'bar' )
|
11
11
|
s = @template.result( t.binding_for_template )
|
12
|
-
s.must_equal( "foo && bar")
|
12
|
+
_(s).must_equal( "foo && bar")
|
13
13
|
end
|
14
14
|
|
15
15
|
it "data members may be added after instantiation" do
|
@@ -17,6 +17,6 @@ describe Heel::TemplateVars do
|
|
17
17
|
t.foo = 'foo'
|
18
18
|
t.bar = 'bar'
|
19
19
|
s = @template.result( t.binding_for_template )
|
20
|
-
s.must_equal( "foo && bar")
|
20
|
+
_(s).must_equal( "foo && bar")
|
21
21
|
end
|
22
22
|
end
|
data/tasks/default.rake
CHANGED
@@ -36,11 +36,13 @@ task :develop => "develop:default"
|
|
36
36
|
# Minitest - standard TestTask
|
37
37
|
#------------------------------------------------------------------------------
|
38
38
|
begin
|
39
|
-
require '
|
40
|
-
|
41
|
-
t.
|
42
|
-
t.libs
|
43
|
-
t.
|
39
|
+
require 'minitest/test_task'
|
40
|
+
Minitest::TestTask.create( :test) do |t|
|
41
|
+
t.libs << "lib"
|
42
|
+
t.libs << "spec"
|
43
|
+
t.libs << "test"
|
44
|
+
t.warning = true
|
45
|
+
t.test_globs = "{test,spec}/**/{test_*,*_spec}.rb"
|
44
46
|
end
|
45
47
|
|
46
48
|
task :test_requirements
|
@@ -143,14 +145,20 @@ namespace :fixme do
|
|
143
145
|
end
|
144
146
|
|
145
147
|
def local_fixme_files
|
146
|
-
This.manifest.select { |p| p =~ %r|^tasks/| }
|
148
|
+
local_files = This.manifest.select { |p| p =~ %r|^tasks/| }
|
149
|
+
local_files.concat( Dir.glob( ".semaphore/*" ) )
|
147
150
|
end
|
148
151
|
|
149
152
|
def outdated_fixme_files
|
150
153
|
local_fixme_files.select do |local|
|
151
154
|
upstream = fixme_project_path( local )
|
152
|
-
upstream.exist?
|
153
|
-
|
155
|
+
if upstream.exist? then
|
156
|
+
if File.exist?( local ) then
|
157
|
+
( Digest::SHA256.file( local ) != Digest::SHA256.file( upstream ) )
|
158
|
+
else
|
159
|
+
true
|
160
|
+
end
|
161
|
+
end
|
154
162
|
end
|
155
163
|
end
|
156
164
|
|
@@ -159,7 +167,7 @@ namespace :fixme do
|
|
159
167
|
end
|
160
168
|
|
161
169
|
desc "See if the fixme tools are outdated"
|
162
|
-
task :outdated
|
170
|
+
task :outdated do
|
163
171
|
if fixme_up_to_date? then
|
164
172
|
puts "Fixme files are up to date."
|
165
173
|
else
|
@@ -170,7 +178,7 @@ namespace :fixme do
|
|
170
178
|
end
|
171
179
|
|
172
180
|
desc "Update outdated fixme files"
|
173
|
-
task :update
|
181
|
+
task :update do
|
174
182
|
if fixme_up_to_date? then
|
175
183
|
puts "Fixme files are already up to date."
|
176
184
|
else
|
@@ -201,7 +209,7 @@ task :gemspec do
|
|
201
209
|
end
|
202
210
|
|
203
211
|
# .rbc files from ruby 2.0
|
204
|
-
CLOBBER <<
|
212
|
+
CLOBBER << "**/*.rbc"
|
205
213
|
|
206
214
|
# The standard gem packaging task, everyone has it.
|
207
215
|
require 'rubygems/package_task'
|
@@ -213,19 +221,19 @@ end
|
|
213
221
|
# Release - the steps we go through to do a final release, this is pulled from
|
214
222
|
# a compbination of mojombo's rakegem, hoe and hoe-git
|
215
223
|
#
|
216
|
-
# 1) make sure we are on the
|
224
|
+
# 1) make sure we are on the main branch
|
217
225
|
# 2) make sure there are no uncommitted items
|
218
226
|
# 3) check the manifest and make sure all looks good
|
219
227
|
# 4) build the gem
|
220
228
|
# 5) do an empty commit to have the commit message of the version
|
221
229
|
# 6) tag that commit as the version
|
222
|
-
# 7) push
|
230
|
+
# 7) push main
|
223
231
|
# 8) push the tag
|
224
232
|
# 7) pus the gem
|
225
233
|
#------------------------------------------------------------------------------
|
226
234
|
task :release_check do
|
227
|
-
unless `git branch` =~ /^\*
|
228
|
-
abort "You must be on the
|
235
|
+
unless `git branch` =~ /^\* main/
|
236
|
+
abort "You must be on the main branch to release!"
|
229
237
|
end
|
230
238
|
unless `git status` =~ /^nothing to commit/m
|
231
239
|
abort "Nope, sorry, you have unfinished business"
|
@@ -236,7 +244,7 @@ desc "Create tag v#{This.version}, build and push #{This.platform_gemspec.full_n
|
|
236
244
|
task :release => [ :release_check, 'manifest:check', :gem ] do
|
237
245
|
sh "git commit --allow-empty -a -m 'Release #{This.version}'"
|
238
246
|
sh "git tag -a -m 'v#{This.version}' v#{This.version}"
|
239
|
-
sh "git push origin
|
247
|
+
sh "git push origin main"
|
240
248
|
sh "git push origin v#{This.version}"
|
241
249
|
sh "gem push pkg/#{This.platform_gemspec.full_name}.gem"
|
242
250
|
end
|
data/tasks/this.rb
CHANGED
@@ -21,14 +21,17 @@ class ThisProject
|
|
21
21
|
# The hash of Gem::Specifications keyed' by platform
|
22
22
|
attr_accessor :gemspecs
|
23
23
|
|
24
|
+
# List of cross platforms to build the gem for
|
25
|
+
attr_accessor :cross_platforms
|
26
|
+
|
24
27
|
# Public: Initialize ThisProject
|
25
28
|
#
|
26
29
|
# Yields self
|
27
30
|
def initialize(&block)
|
28
|
-
@exclude_from_manifest = Regexp.union(/\.(git|DS_Store)/,
|
31
|
+
@exclude_from_manifest = Regexp.union(/\.(git|DS_Store|semaphore)/,
|
29
32
|
/^(doc|coverage|pkg|tmp|Gemfile(\.lock)?)/,
|
30
33
|
/^[^\/]+\.gemspec/,
|
31
|
-
/\.(swp|jar|bundle|so|rvmrc|travis.yml|byebug_history)$/,
|
34
|
+
/\.(swp|jar|bundle|so|rvmrc|travis.yml|byebug_history|fossa.yml|ruby-version)$/,
|
32
35
|
/~$/)
|
33
36
|
@gemspecs = Hash.new
|
34
37
|
yield self if block_given?
|
@@ -146,7 +149,7 @@ class ThisProject
|
|
146
149
|
spec.rdoc_options = [ "--main" , 'README.md',
|
147
150
|
"--markup", "tomdoc" ]
|
148
151
|
|
149
|
-
spec.required_ruby_version = '>= 2.
|
152
|
+
spec.required_ruby_version = '>= 2.3.0'
|
150
153
|
end
|
151
154
|
end
|
152
155
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Hinegardner
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -16,135 +16,164 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.0'
|
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: '
|
26
|
+
version: '3.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rackup
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.1'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: puma
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
47
|
+
version: '6.0'
|
34
48
|
type: :runtime
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
52
|
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
54
|
+
version: '6.0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: mime-types
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '3.
|
61
|
+
version: '3.4'
|
48
62
|
type: :runtime
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
66
|
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3.
|
68
|
+
version: '3.4'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: launchy
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
75
|
+
version: '2.5'
|
62
76
|
type: :runtime
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
80
|
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version: '2.
|
82
|
+
version: '2.5'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
84
|
+
name: rouge
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
89
|
+
version: '4.0'
|
76
90
|
type: :runtime
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
94
|
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
96
|
+
version: '4.0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: rake
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
101
|
- - "~>"
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
103
|
+
version: '13.0'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
110
|
+
version: '13.0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: minitest
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: '5.
|
117
|
+
version: '5.15'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: '5.
|
124
|
+
version: '5.15'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: minitest-junit
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '1.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '1.0'
|
111
139
|
- !ruby/object:Gem::Dependency
|
112
140
|
name: rdoc
|
113
141
|
requirement: !ruby/object:Gem::Requirement
|
114
142
|
requirements:
|
115
143
|
- - "~>"
|
116
144
|
- !ruby/object:Gem::Version
|
117
|
-
version: '6.
|
145
|
+
version: '6.5'
|
118
146
|
type: :development
|
119
147
|
prerelease: false
|
120
148
|
version_requirements: !ruby/object:Gem::Requirement
|
121
149
|
requirements:
|
122
150
|
- - "~>"
|
123
151
|
- !ruby/object:Gem::Version
|
124
|
-
version: '6.
|
152
|
+
version: '6.5'
|
125
153
|
- !ruby/object:Gem::Dependency
|
126
154
|
name: simplecov
|
127
155
|
requirement: !ruby/object:Gem::Requirement
|
128
156
|
requirements:
|
129
157
|
- - "~>"
|
130
158
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0.
|
159
|
+
version: '0.21'
|
132
160
|
type: :development
|
133
161
|
prerelease: false
|
134
162
|
version_requirements: !ruby/object:Gem::Requirement
|
135
163
|
requirements:
|
136
164
|
- - "~>"
|
137
165
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0.
|
166
|
+
version: '0.21'
|
139
167
|
description: 'Heel is a small static web server for use when you need a quick web
|
140
|
-
server for a directory. Once the server is running, heel will use (
|
141
|
-
to open your browser at the URL of your document root.
|
142
|
-
and (
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
168
|
+
server for a directory. Once the server is running, heel will use (https://rubygems.org/gems/launchy/)
|
169
|
+
to open your browser at the URL of your document root. Run it right now! `gem exec
|
170
|
+
heel` ----- Heel is built using (https://github.com/rack/rack) and (https://puma.io) %
|
171
|
+
heel Launching your browser... Puma starting in single mode... * Puma
|
172
|
+
version: 6.2.1 (ruby 3.2.2-p53) ("Speaking of Now") * Min threads: 0 * Max
|
173
|
+
threads: 5 * Environment: none * PID: 11322 * Listening on
|
174
|
+
http://0.0.0.0:4331 Use Ctrl-C to stop Or run it in the background % heel
|
175
|
+
--daemonize Launching your browser at http://0.0.0.0:4331/ % heel --kill Sending
|
176
|
+
TERM to process 3304 Done.'
|
148
177
|
email: jeremy@copiousfreetime.org
|
149
178
|
executables:
|
150
179
|
- heel
|
@@ -154,7 +183,6 @@ extra_rdoc_files:
|
|
154
183
|
- HISTORY.md
|
155
184
|
- Manifest.txt
|
156
185
|
- README.md
|
157
|
-
- data/famfamfam/readme.txt
|
158
186
|
files:
|
159
187
|
- CONTRIBUTING.md
|
160
188
|
- HISTORY.md
|
@@ -163,27 +191,19 @@ files:
|
|
163
191
|
- README.md
|
164
192
|
- Rakefile
|
165
193
|
- bin/heel
|
166
|
-
- data/css/coderay-alpha.css
|
167
|
-
- data/css/coderay-cycnus.css
|
168
|
-
- data/css/coderay-murphy.css
|
169
194
|
- data/css/error.css
|
170
|
-
- data/css/
|
195
|
+
- data/css/pico.min.css
|
196
|
+
- data/css/syntax-highlighting.css
|
171
197
|
- data/error.rhtml
|
172
|
-
- data/
|
173
|
-
- data/
|
174
|
-
- data/
|
175
|
-
- data/
|
176
|
-
- data/
|
177
|
-
- data/
|
178
|
-
- data/
|
179
|
-
- data/
|
180
|
-
- data/
|
181
|
-
- data/famfamfam/icons/page_white_powerpoint.png
|
182
|
-
- data/famfamfam/icons/page_white_text.png
|
183
|
-
- data/famfamfam/icons/picture.png
|
184
|
-
- data/famfamfam/icons/xhtml.png
|
185
|
-
- data/famfamfam/readme.html
|
186
|
-
- data/famfamfam/readme.txt
|
198
|
+
- data/lineicons/code-browser.svg
|
199
|
+
- data/lineicons/file.svg
|
200
|
+
- data/lineicons/folder-alt.svg
|
201
|
+
- data/lineicons/html5.svg
|
202
|
+
- data/lineicons/image.svg
|
203
|
+
- data/lineicons/pdf.svg
|
204
|
+
- data/lineicons/presentation.svg
|
205
|
+
- data/lineicons/word.svg
|
206
|
+
- data/lineicons/zip.svg
|
187
207
|
- data/listing.rhtml
|
188
208
|
- lib/heel.rb
|
189
209
|
- lib/heel/configuration.rb
|
@@ -206,8 +226,12 @@ files:
|
|
206
226
|
homepage: http://github.com/copiousfreetime/heel
|
207
227
|
licenses:
|
208
228
|
- BSD-3-Clause
|
209
|
-
metadata:
|
210
|
-
|
229
|
+
metadata:
|
230
|
+
bug_tracker_uri: https://github.com/copiousfreetime/heel/issues
|
231
|
+
changelog_uri: https://github.com/copiousfreetime/heel/blob/master/README.md
|
232
|
+
homepage_uri: https://github.com/copiousfreetime/heel
|
233
|
+
source_code_uri: https://github.com/copiousfreetime/heel
|
234
|
+
post_install_message:
|
211
235
|
rdoc_options:
|
212
236
|
- "--main"
|
213
237
|
- README.md
|
@@ -219,19 +243,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
219
243
|
requirements:
|
220
244
|
- - ">="
|
221
245
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
246
|
+
version: 3.0.0
|
223
247
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
224
248
|
requirements:
|
225
249
|
- - ">="
|
226
250
|
- !ruby/object:Gem::Version
|
227
251
|
version: '0'
|
228
252
|
requirements: []
|
229
|
-
|
230
|
-
|
231
|
-
signing_key:
|
253
|
+
rubygems_version: 3.5.3
|
254
|
+
signing_key:
|
232
255
|
specification_version: 4
|
233
256
|
summary: Heel is a small static web server for use when you need a quick web server
|
234
|
-
for a directory. Once the server is running, heel will use [launchy](
|
257
|
+
for a directory. Once the server is running, heel will use [launchy](https://rubygems.org/gems/launchy/)
|
235
258
|
to open your browser at the URL of your document root.
|
236
259
|
test_files:
|
237
260
|
- spec/configuration_spec.rb
|
data/data/css/coderay-alpha.css
DELETED
@@ -1,120 +0,0 @@
|
|
1
|
-
.CodeRay {
|
2
|
-
background-color: hsl(0,0%,95%);
|
3
|
-
border: 1px solid silver;
|
4
|
-
color: black;
|
5
|
-
}
|
6
|
-
.CodeRay pre {
|
7
|
-
margin: 0px;
|
8
|
-
}
|
9
|
-
|
10
|
-
span.CodeRay { white-space: pre; border: 0px; padding: 2px; }
|
11
|
-
|
12
|
-
table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px; }
|
13
|
-
table.CodeRay td { padding: 2px 4px; vertical-align: top; }
|
14
|
-
|
15
|
-
.CodeRay .line-numbers {
|
16
|
-
background-color: hsl(180,65%,90%);
|
17
|
-
color: gray;
|
18
|
-
text-align: right;
|
19
|
-
-webkit-user-select: none;
|
20
|
-
-moz-user-select: none;
|
21
|
-
user-select: none;
|
22
|
-
}
|
23
|
-
.CodeRay .line-numbers a {
|
24
|
-
background-color: hsl(180,65%,90%) !important;
|
25
|
-
color: gray !important;
|
26
|
-
text-decoration: none !important;
|
27
|
-
}
|
28
|
-
.CodeRay .line-numbers a:target { color: blue !important; }
|
29
|
-
.CodeRay .line-numbers .highlighted { color: red !important; }
|
30
|
-
.CodeRay .line-numbers .highlighted a { color: red !important; }
|
31
|
-
.CodeRay span.line-numbers { padding: 0px 4px; }
|
32
|
-
.CodeRay .line { display: block; float: left; width: 100%; }
|
33
|
-
.CodeRay .code { width: 100%; }
|
34
|
-
|
35
|
-
.CodeRay .debug { color: white !important; background: blue !important; }
|
36
|
-
|
37
|
-
.CodeRay .annotation { color:#007 }
|
38
|
-
.CodeRay .attribute-name { color:#b48 }
|
39
|
-
.CodeRay .attribute-value { color:#700 }
|
40
|
-
.CodeRay .binary { color:#509 }
|
41
|
-
.CodeRay .char .content { color:#D20 }
|
42
|
-
.CodeRay .char .delimiter { color:#710 }
|
43
|
-
.CodeRay .char { color:#D20 }
|
44
|
-
.CodeRay .class { color:#B06; font-weight:bold }
|
45
|
-
.CodeRay .class-variable { color:#369 }
|
46
|
-
.CodeRay .color { color:#0A0 }
|
47
|
-
.CodeRay .comment { color:#777 }
|
48
|
-
.CodeRay .comment .char { color:#444 }
|
49
|
-
.CodeRay .comment .delimiter { color:#444 }
|
50
|
-
.CodeRay .complex { color:#A08 }
|
51
|
-
.CodeRay .constant { color:#036; font-weight:bold }
|
52
|
-
.CodeRay .decorator { color:#B0B }
|
53
|
-
.CodeRay .definition { color:#099; font-weight:bold }
|
54
|
-
.CodeRay .delimiter { color:black }
|
55
|
-
.CodeRay .directive { color:#088; font-weight:bold }
|
56
|
-
.CodeRay .doc { color:#970 }
|
57
|
-
.CodeRay .doc-string { color:#D42; font-weight:bold }
|
58
|
-
.CodeRay .doctype { color:#34b }
|
59
|
-
.CodeRay .entity { color:#800; font-weight:bold }
|
60
|
-
.CodeRay .error { color:#F00; background-color:#FAA }
|
61
|
-
.CodeRay .escape { color:#666 }
|
62
|
-
.CodeRay .exception { color:#C00; font-weight:bold }
|
63
|
-
.CodeRay .float { color:#60E }
|
64
|
-
.CodeRay .function { color:#06B; font-weight:bold }
|
65
|
-
.CodeRay .global-variable { color:#d70 }
|
66
|
-
.CodeRay .hex { color:#02b }
|
67
|
-
.CodeRay .imaginary { color:#f00 }
|
68
|
-
.CodeRay .include { color:#B44; font-weight:bold }
|
69
|
-
.CodeRay .inline { background-color: hsla(0,0%,0%,0.07); color: black }
|
70
|
-
.CodeRay .inline-delimiter { font-weight: bold; color: #666 }
|
71
|
-
.CodeRay .instance-variable { color:#33B }
|
72
|
-
.CodeRay .integer { color:#00D }
|
73
|
-
.CodeRay .key .char { color: #60f }
|
74
|
-
.CodeRay .key .delimiter { color: #404 }
|
75
|
-
.CodeRay .key { color: #606 }
|
76
|
-
.CodeRay .keyword { color:#080; font-weight:bold }
|
77
|
-
.CodeRay .label { color:#970; font-weight:bold }
|
78
|
-
.CodeRay .local-variable { color:#963 }
|
79
|
-
.CodeRay .namespace { color:#707; font-weight:bold }
|
80
|
-
.CodeRay .octal { color:#40E }
|
81
|
-
.CodeRay .operator { }
|
82
|
-
.CodeRay .predefined { color:#369; font-weight:bold }
|
83
|
-
.CodeRay .predefined-constant { color:#069 }
|
84
|
-
.CodeRay .predefined-type { color:#0a5; font-weight:bold }
|
85
|
-
.CodeRay .preprocessor { color:#579 }
|
86
|
-
.CodeRay .pseudo-class { color:#00C; font-weight:bold }
|
87
|
-
.CodeRay .regexp .content { color:#808 }
|
88
|
-
.CodeRay .regexp .delimiter { color:#404 }
|
89
|
-
.CodeRay .regexp .modifier { color:#C2C }
|
90
|
-
.CodeRay .regexp { background-color:hsla(300,100%,50%,0.06); }
|
91
|
-
.CodeRay .reserved { color:#080; font-weight:bold }
|
92
|
-
.CodeRay .shell .content { color:#2B2 }
|
93
|
-
.CodeRay .shell .delimiter { color:#161 }
|
94
|
-
.CodeRay .shell { background-color:hsla(120,100%,50%,0.06); }
|
95
|
-
.CodeRay .string .char { color: #b0b }
|
96
|
-
.CodeRay .string .content { color: #D20 }
|
97
|
-
.CodeRay .string .delimiter { color: #710 }
|
98
|
-
.CodeRay .string .modifier { color: #E40 }
|
99
|
-
.CodeRay .string { background-color:hsla(0,100%,50%,0.05); }
|
100
|
-
.CodeRay .symbol .content { color:#A60 }
|
101
|
-
.CodeRay .symbol .delimiter { color:#630 }
|
102
|
-
.CodeRay .symbol { color:#A60 }
|
103
|
-
.CodeRay .tag { color:#070 }
|
104
|
-
.CodeRay .type { color:#339; font-weight:bold }
|
105
|
-
.CodeRay .value { color: #088; }
|
106
|
-
.CodeRay .variable { color:#037 }
|
107
|
-
|
108
|
-
.CodeRay .insert { background: hsla(120,100%,50%,0.12) }
|
109
|
-
.CodeRay .delete { background: hsla(0,100%,50%,0.12) }
|
110
|
-
.CodeRay .change { color: #bbf; background: #007; }
|
111
|
-
.CodeRay .head { color: #f8f; background: #505 }
|
112
|
-
.CodeRay .head .filename { color: white; }
|
113
|
-
|
114
|
-
.CodeRay .delete .eyecatcher { background-color: hsla(0,100%,50%,0.2); border: 1px solid hsla(0,100%,45%,0.5); margin: -1px; border-bottom: none; border-top-left-radius: 5px; border-top-right-radius: 5px; }
|
115
|
-
.CodeRay .insert .eyecatcher { background-color: hsla(120,100%,50%,0.2); border: 1px solid hsla(120,100%,25%,0.5); margin: -1px; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
|
116
|
-
|
117
|
-
.CodeRay .insert .insert { color: #0c0; background:transparent; font-weight:bold }
|
118
|
-
.CodeRay .delete .delete { color: #c00; background:transparent; font-weight:bold }
|
119
|
-
.CodeRay .change .change { color: #88f }
|
120
|
-
.CodeRay .head .head { color: #f4f }
|
data/data/css/coderay-cycnus.css
DELETED
@@ -1,104 +0,0 @@
|
|
1
|
-
.CodeRay {
|
2
|
-
background-color: #f8f8f8;
|
3
|
-
/* border: 1px solid silver;
|
4
|
-
*/ font-family: 'Courier New', 'Terminal', monospace;
|
5
|
-
color: #100;
|
6
|
-
}
|
7
|
-
.CodeRay pre { margin: 0px }
|
8
|
-
|
9
|
-
div.CodeRay { }
|
10
|
-
|
11
|
-
span.CodeRay { white-space: pre; border: 0px; padding: 2px }
|
12
|
-
|
13
|
-
table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
|
14
|
-
table.CodeRay td { padding: 2px 4px; vertical-align: top }
|
15
|
-
|
16
|
-
.CodeRay .line_numbers, .CodeRay .no {
|
17
|
-
background-color: #def;
|
18
|
-
color: gray;
|
19
|
-
text-align: right;
|
20
|
-
}
|
21
|
-
.CodeRay .line_numbers tt { font-weight: bold }
|
22
|
-
.CodeRay .no { padding: 0px 4px }
|
23
|
-
.CodeRay .code { width: 100% }
|
24
|
-
|
25
|
-
ol.CodeRay { font-size: 10pt }
|
26
|
-
ol.CodeRay li { white-space: pre }
|
27
|
-
|
28
|
-
.CodeRay .code pre { overflow: auto }
|
29
|
-
|
30
|
-
.CodeRay .af { color:#00C }
|
31
|
-
.CodeRay .an { color:#007 }
|
32
|
-
.CodeRay .av { color:#700 }
|
33
|
-
.CodeRay .aw { color:#C00 }
|
34
|
-
.CodeRay .bi { color:#509; font-weight:bold }
|
35
|
-
.CodeRay .c { color:#888 }
|
36
|
-
|
37
|
-
.CodeRay .ch { color:#04D }
|
38
|
-
.CodeRay .ch .k { color:#04D }
|
39
|
-
.CodeRay .ch .dl { color:#039 }
|
40
|
-
|
41
|
-
.CodeRay .cl { color:#B06; font-weight:bold }
|
42
|
-
.CodeRay .co { color:#036; font-weight:bold }
|
43
|
-
.CodeRay .cr { color:#0A0 }
|
44
|
-
.CodeRay .cv { color:#369 }
|
45
|
-
.CodeRay .df { color:#099; font-weight:bold }
|
46
|
-
.CodeRay .di { color:#088; font-weight:bold }
|
47
|
-
.CodeRay .dl { color:black }
|
48
|
-
.CodeRay .do { color:#970 }
|
49
|
-
.CodeRay .ds { color:#D42; font-weight:bold }
|
50
|
-
.CodeRay .e { color:#666; font-weight:bold }
|
51
|
-
.CodeRay .en { color:#800; font-weight:bold }
|
52
|
-
.CodeRay .er { color:#F00; background-color:#FAA }
|
53
|
-
.CodeRay .ex { color:#F00; font-weight:bold }
|
54
|
-
.CodeRay .fl { color:#60E; font-weight:bold }
|
55
|
-
.CodeRay .fu { color:#06B; font-weight:bold }
|
56
|
-
.CodeRay .gv { color:#d70; font-weight:bold }
|
57
|
-
.CodeRay .hx { color:#058; font-weight:bold }
|
58
|
-
.CodeRay .i { color:#00D; font-weight:bold }
|
59
|
-
.CodeRay .ic { color:#B44; font-weight:bold }
|
60
|
-
|
61
|
-
.CodeRay .il { background: #eee }
|
62
|
-
.CodeRay .il .il { background: #ddd }
|
63
|
-
.CodeRay .il .il .il { background: #ccc }
|
64
|
-
.CodeRay .il .idl { font-weight: bold; color: #888 }
|
65
|
-
|
66
|
-
.CodeRay .in { color:#B2B; font-weight:bold }
|
67
|
-
.CodeRay .iv { color:#33B }
|
68
|
-
.CodeRay .la { color:#970; font-weight:bold }
|
69
|
-
.CodeRay .lv { color:#963 }
|
70
|
-
.CodeRay .oc { color:#40E; font-weight:bold }
|
71
|
-
.CodeRay .on { color:#000; font-weight:bold }
|
72
|
-
.CodeRay .op { }
|
73
|
-
.CodeRay .pc { color:#038; font-weight:bold }
|
74
|
-
.CodeRay .pd { color:#369; font-weight:bold }
|
75
|
-
.CodeRay .pp { color:#579 }
|
76
|
-
.CodeRay .pt { color:#339; font-weight:bold }
|
77
|
-
.CodeRay .r { color:#080; font-weight:bold }
|
78
|
-
|
79
|
-
.CodeRay .rx { background-color:#fff0ff }
|
80
|
-
.CodeRay .rx .k { color:#808 }
|
81
|
-
.CodeRay .rx .dl { color:#404 }
|
82
|
-
.CodeRay .rx .mod { color:#C2C }
|
83
|
-
.CodeRay .rx .fu { color:#404; font-weight: bold }
|
84
|
-
|
85
|
-
.CodeRay .s { background-color:#fff0f0 }
|
86
|
-
.CodeRay .s .s { background-color:#ffe0e0 }
|
87
|
-
.CodeRay .s .s .s { background-color:#ffd0d0 }
|
88
|
-
.CodeRay .s .k { color:#D20 }
|
89
|
-
.CodeRay .s .dl { color:#710 }
|
90
|
-
|
91
|
-
.CodeRay .sh { background-color:#f0fff0 }
|
92
|
-
.CodeRay .sh .k { color:#2B2 }
|
93
|
-
.CodeRay .sh .dl { color:#161 }
|
94
|
-
|
95
|
-
.CodeRay .sy { color:#A60 }
|
96
|
-
.CodeRay .sy .k { color:#A60 }
|
97
|
-
.CodeRay .sy .dl { color:#630 }
|
98
|
-
|
99
|
-
.CodeRay .ta { color:#070 }
|
100
|
-
.CodeRay .tf { color:#070; font-weight:bold }
|
101
|
-
.CodeRay .ts { color:#D70; font-weight:bold }
|
102
|
-
.CodeRay .ty { color:#339; font-weight:bold }
|
103
|
-
.CodeRay .v { color:#036 }
|
104
|
-
.CodeRay .xt { color:#444 }
|