lesstile 1.0.1 → 1.1.0
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.
- data/Gemfile.lock +11 -13
- data/History.txt +4 -0
- data/lesstile.gemspec +2 -2
- data/lib/lesstile.rb +1 -1
- metadata +41 -53
data/Gemfile.lock
CHANGED
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
lesstile (1.0.
|
|
4
|
+
lesstile (1.0.1)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: http://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
diff-lcs (1.1.
|
|
10
|
-
rspec (2.0
|
|
11
|
-
rspec-core (~> 2.0
|
|
12
|
-
rspec-expectations (~> 2.0
|
|
13
|
-
rspec-mocks (~> 2.0
|
|
14
|
-
rspec-core (2.0
|
|
15
|
-
rspec-expectations (2.
|
|
16
|
-
diff-lcs (
|
|
17
|
-
rspec-mocks (2.0
|
|
18
|
-
rspec-core (~> 2.0.1)
|
|
19
|
-
rspec-expectations (~> 2.0.1)
|
|
9
|
+
diff-lcs (1.1.3)
|
|
10
|
+
rspec (2.11.0)
|
|
11
|
+
rspec-core (~> 2.11.0)
|
|
12
|
+
rspec-expectations (~> 2.11.0)
|
|
13
|
+
rspec-mocks (~> 2.11.0)
|
|
14
|
+
rspec-core (2.11.0)
|
|
15
|
+
rspec-expectations (2.11.1)
|
|
16
|
+
diff-lcs (~> 1.1.3)
|
|
17
|
+
rspec-mocks (2.11.0)
|
|
20
18
|
|
|
21
19
|
PLATFORMS
|
|
22
20
|
ruby
|
|
23
21
|
|
|
24
22
|
DEPENDENCIES
|
|
25
23
|
lesstile!
|
|
26
|
-
rspec (~> 2.
|
|
24
|
+
rspec (~> 2.11)
|
data/History.txt
CHANGED
data/lesstile.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{lesstile}
|
|
5
|
-
s.version = "1.0
|
|
5
|
+
s.version = "1.1.0"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Xavier Shay"]
|
|
@@ -36,7 +36,7 @@ Integrates with CodeRay for sexy syntax highlighting.
|
|
|
36
36
|
s.test_files = [
|
|
37
37
|
"spec/lesstile_spec.rb"
|
|
38
38
|
]
|
|
39
|
-
s.add_development_dependency 'rspec', '~> 2.
|
|
39
|
+
s.add_development_dependency 'rspec', '~> 2.11'
|
|
40
40
|
|
|
41
41
|
if s.respond_to? :specification_version then
|
|
42
42
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
data/lib/lesstile.rb
CHANGED
|
@@ -75,6 +75,6 @@ class Lesstile
|
|
|
75
75
|
|
|
76
76
|
# A formatter that syntax highlights code using CodeRay
|
|
77
77
|
CodeRayFormatter = lambda {|code, lang|
|
|
78
|
-
CodeRay.scan(CGI::unescapeHTML(code), lang).
|
|
78
|
+
CodeRay.scan(CGI::unescapeHTML(code), lang).div(:line_numbers => :table)
|
|
79
79
|
}
|
|
80
80
|
end
|
metadata
CHANGED
|
@@ -1,50 +1,44 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lesstile
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
- 1
|
|
7
|
-
- 0
|
|
8
|
-
- 1
|
|
9
|
-
version: 1.0.1
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.1.0
|
|
5
|
+
prerelease:
|
|
10
6
|
platform: ruby
|
|
11
|
-
authors:
|
|
7
|
+
authors:
|
|
12
8
|
- Xavier Shay
|
|
13
9
|
autorequire:
|
|
14
10
|
bindir: bin
|
|
15
11
|
cert_chain: []
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
dependencies:
|
|
20
|
-
- !ruby/object:Gem::Dependency
|
|
12
|
+
date: 2010-09-15 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
21
15
|
name: rspec
|
|
22
|
-
|
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
16
|
+
requirement: &2152795940 !ruby/object:Gem::Requirement
|
|
24
17
|
none: false
|
|
25
|
-
requirements:
|
|
18
|
+
requirements:
|
|
26
19
|
- - ~>
|
|
27
|
-
- !ruby/object:Gem::Version
|
|
28
|
-
|
|
29
|
-
- 2
|
|
30
|
-
- 0
|
|
31
|
-
- 1
|
|
32
|
-
version: 2.0.1
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: '2.11'
|
|
33
22
|
type: :development
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: *2152795940
|
|
25
|
+
description: ! 'Converts text formatted with an exceedingly simple markup language
|
|
26
|
+
into valid HTML (iron clad guarantee!) - perfect for comments on your blog. Textile
|
|
27
|
+
isn''t good for this because not only does it do too much (do commenters really
|
|
28
|
+
need subscript?), but it can also output invalid HTML (try a <b> tag over multiple
|
|
29
|
+
lines...). Whitelisting HTML is another option, but you still need some sort of
|
|
30
|
+
parsing if you want syntax highlighting.
|
|
31
|
+
|
|
32
|
+
|
|
38
33
|
Integrates with CodeRay for sexy syntax highlighting.
|
|
39
34
|
|
|
35
|
+
'
|
|
40
36
|
email: contact@rhnh.net
|
|
41
37
|
executables: []
|
|
42
|
-
|
|
43
38
|
extensions: []
|
|
44
|
-
|
|
45
|
-
extra_rdoc_files:
|
|
39
|
+
extra_rdoc_files:
|
|
46
40
|
- README.rdoc
|
|
47
|
-
files:
|
|
41
|
+
files:
|
|
48
42
|
- Gemfile
|
|
49
43
|
- Gemfile.lock
|
|
50
44
|
- lesstile.gemspec
|
|
@@ -56,37 +50,31 @@ files:
|
|
|
56
50
|
- lib/lesstile.rb
|
|
57
51
|
- spec/lesstile_spec.rb
|
|
58
52
|
- .gemtest
|
|
59
|
-
has_rdoc: true
|
|
60
53
|
homepage: http://github.com/xaviershay/lesstile
|
|
61
54
|
licenses: []
|
|
62
|
-
|
|
63
55
|
post_install_message:
|
|
64
|
-
rdoc_options:
|
|
56
|
+
rdoc_options:
|
|
65
57
|
- --charset=UTF-8
|
|
66
|
-
require_paths:
|
|
58
|
+
require_paths:
|
|
67
59
|
- lib
|
|
68
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
60
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
69
61
|
none: false
|
|
70
|
-
requirements:
|
|
71
|
-
- -
|
|
72
|
-
- !ruby/object:Gem::Version
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
version: "0"
|
|
76
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
|
+
requirements:
|
|
63
|
+
- - ! '>='
|
|
64
|
+
- !ruby/object:Gem::Version
|
|
65
|
+
version: '0'
|
|
66
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
67
|
none: false
|
|
78
|
-
requirements:
|
|
79
|
-
- -
|
|
80
|
-
- !ruby/object:Gem::Version
|
|
81
|
-
|
|
82
|
-
- 0
|
|
83
|
-
version: "0"
|
|
68
|
+
requirements:
|
|
69
|
+
- - ! '>='
|
|
70
|
+
- !ruby/object:Gem::Version
|
|
71
|
+
version: '0'
|
|
84
72
|
requirements: []
|
|
85
|
-
|
|
86
73
|
rubyforge_project:
|
|
87
|
-
rubygems_version: 1.
|
|
74
|
+
rubygems_version: 1.8.6
|
|
88
75
|
signing_key:
|
|
89
76
|
specification_version: 3
|
|
90
|
-
summary: Format text using an exceedingly simple markup language - perfect for comments
|
|
91
|
-
|
|
77
|
+
summary: Format text using an exceedingly simple markup language - perfect for comments
|
|
78
|
+
on your blog
|
|
79
|
+
test_files:
|
|
92
80
|
- spec/lesstile_spec.rb
|