rugments 1.0.0.beta2 → 1.0.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rugments/formatters/html.rb +0 -6
- data/lib/rugments/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c426331caaac507ddeaeeb9bf7ab7506c26ed603
|
4
|
+
data.tar.gz: c61b6d361c6b6fcec416ef8a148dbbfb692b08d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da2dfc7449f5e9f07cb748772b5eef33b99e7fe6a0e7165ae8da8f50d984d59b1ea17bffe6fa43edf396a7342bbcaa37254c3a634f8f8bfaa31d1ac5903ec2b2
|
7
|
+
data.tar.gz: 3f7c2b041cfe52bf4a353e24a69199e50d68ff0418f5ecb36fa29f5f7bfaf8616aa8feeab347ff6d5baeb8bdaf1addca928e6b04edc5943513c23bc93b53c877
|
@@ -77,12 +77,6 @@ module Rugments
|
|
77
77
|
|
78
78
|
numbers = (@linenostart..num_lines + @linenostart - 1).to_a
|
79
79
|
|
80
|
-
# Add an extra line for non-newline-terminated strings.
|
81
|
-
unless last_val[-1] == "\n"
|
82
|
-
num_lines += 1
|
83
|
-
formatted << span(Token::Tokens::Text::Whitespace, "\n")
|
84
|
-
end
|
85
|
-
|
86
80
|
{ numbers: numbers, code: formatted }
|
87
81
|
end
|
88
82
|
|
data/lib/rugments/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rugments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeanine Adkisson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-01-
|
12
|
+
date: 2015-01-15 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Rugments aims to a be a simple,easy-to-extend drop-in replacement for
|
15
15
|
pygments.
|
@@ -142,8 +142,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: 1.3.1
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.
|
145
|
+
rubygems_version: 2.4.5
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: A pure-ruby colorizer based on pygments
|
149
149
|
test_files: []
|
150
|
+
has_rdoc:
|