hanna-nouveau 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/VERSION +1 -1
- data/lib/hanna-nouveau.rb +2 -8
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90fc1d5075e795e811bc3563e1f10175d191695d
|
4
|
+
data.tar.gz: 46ce6bee79f39f4074c6059140be2dec93e6fe27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 999e141beaca424c55e4cb0ce1288e75d0c9e40967d2b458eca5b319bd95862b06f3c161dc9a8681b7ffebe21d65a558e559133e89b01964da2f7a3b32fed230
|
7
|
+
data.tar.gz: 1fa28e301d10546c979f25bf86958e33f6d63eecff9983fbe94c43609c59a11a296bae4d1cd3f69f8aacb7e570009ba177532524acd7ab2144a26e3cdde380ce
|
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.2
|
data/lib/hanna-nouveau.rb
CHANGED
@@ -16,7 +16,6 @@ require 'haml'
|
|
16
16
|
require 'sass'
|
17
17
|
require 'rdoc/rdoc'
|
18
18
|
require 'rdoc/generator'
|
19
|
-
require 'parser/current'
|
20
19
|
|
21
20
|
class RDoc::Markup::ToHtml
|
22
21
|
LIST_TYPE_TO_HTML[:LABEL] = ['<table class="rdoc-list label-list"><tbody>', '</tbody></table>']
|
@@ -45,13 +44,8 @@ class RDoc::Markup::ToHtml
|
|
45
44
|
end
|
46
45
|
|
47
46
|
def parseable? text
|
48
|
-
|
49
|
-
|
50
|
-
buffer = Parser::Source::Buffer.new('(string)')
|
51
|
-
buffer.source = text
|
52
|
-
parser.parse(buffer)
|
53
|
-
true
|
54
|
-
rescue
|
47
|
+
eval("BEGIN {return true}\n#{text}")
|
48
|
+
rescue SyntaxError
|
55
49
|
false
|
56
50
|
end
|
57
51
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanna-nouveau
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Evans
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-
|
14
|
+
date: 2014-11-26 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: haml
|
@@ -41,20 +41,6 @@ dependencies:
|
|
41
41
|
- - "~>"
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '4.0'
|
44
|
-
- !ruby/object:Gem::Dependency
|
45
|
-
name: parser
|
46
|
-
requirement: !ruby/object:Gem::Requirement
|
47
|
-
requirements:
|
48
|
-
- - "~>"
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: '2.0'
|
51
|
-
type: :runtime
|
52
|
-
prerelease: false
|
53
|
-
version_requirements: !ruby/object:Gem::Requirement
|
54
|
-
requirements:
|
55
|
-
- - "~>"
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: '2.0'
|
58
44
|
description: ''
|
59
45
|
email: code@jeremyevans.net
|
60
46
|
executables: []
|