murdoc 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/murdoc/annotator.rb +2 -2
- data/murdoc.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/lib/murdoc/annotator.rb
CHANGED
@@ -24,8 +24,8 @@ module Murdoc
|
|
24
24
|
# `source_type` is one of supported source types (currently `[:ruby, :javascript]`)
|
25
25
|
def initialize(source, source_type, options = {})
|
26
26
|
self.source_type = source_type
|
27
|
-
self.source = source
|
28
27
|
self.options = self.class.default_options.merge(options)
|
28
|
+
self.source = source
|
29
29
|
end
|
30
30
|
|
31
31
|
|
@@ -108,7 +108,7 @@ module Murdoc
|
|
108
108
|
comment_lines.delete_at(-1) while comment_lines.size > 0 && comment_lines[-1].empty?
|
109
109
|
|
110
110
|
# writing a new paragraph
|
111
|
-
@paragraphs << Paragraph.new(source_lines.join("\n"), comment_lines.join("\n"), starting_line, source_type)
|
111
|
+
@paragraphs << Paragraph.new(source_lines.join("\n"), comment_lines.join("\n"), starting_line, source_type, options)
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|
data/murdoc.gemspec
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 3
|
9
|
+
version: 0.1.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Mark Abramov
|
@@ -166,7 +166,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
166
166
|
requirements:
|
167
167
|
- - ">="
|
168
168
|
- !ruby/object:Gem::Version
|
169
|
-
hash:
|
169
|
+
hash: -1860456984422582036
|
170
170
|
segments:
|
171
171
|
- 0
|
172
172
|
version: "0"
|