double_doc 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/double_doc/doc_extractor.rb +2 -2
- data/lib/double_doc/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5032d2fd6f44516e443f546b9e1d432c518eb417
|
4
|
+
data.tar.gz: 91cb3102308715eeabfb8c6bc7d9f50fbb72352c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 750bb1e6959477403d3fbd61bae54bfff261f88d91c59ffd7d5bd36068f56a7dcb254ced9cbedd8da1b27ed033a3e6e66391bce8544651e64411c86e8ee29e53
|
7
|
+
data.tar.gz: 8e8eea220c54c6aa147e9044f7c306967358b11ceb1fa98c7507bd60d0240b23b544a1be2fab0df9e30b75957515e1d183678d3d8420de2abff6041f96a3e25b
|
@@ -1,8 +1,8 @@
|
|
1
1
|
module DoubleDoc
|
2
2
|
class DocExtractor
|
3
3
|
TYPES = {
|
4
|
-
'rb' => /(^\s*|\s+)##\s?(?<documentation_line
|
5
|
-
'js' => %r{(^\s*|\s+)///\s?(?<documentation_line
|
4
|
+
'rb' => /(^\s*|\s+)##\s?(?<documentation_line>.*)$/,
|
5
|
+
'js' => %r{(^\s*|\s+)///\s?(?<documentation_line>.*)$}
|
6
6
|
}.freeze
|
7
7
|
|
8
8
|
def self.extract(source, options = {})
|
data/lib/double_doc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: double_doc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mick Staugaard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
162
|
version: '0'
|
163
163
|
requirements: []
|
164
164
|
rubyforge_project:
|
165
|
-
rubygems_version: 2.6.
|
165
|
+
rubygems_version: 2.6.10
|
166
166
|
signing_key:
|
167
167
|
specification_version: 4
|
168
168
|
summary: Documentation right where you want it
|