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 CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{murdoc}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Mark Abramov"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
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: 960483362667149107
169
+ hash: -1860456984422582036
170
170
  segments:
171
171
  - 0
172
172
  version: "0"