rp 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/rp.rb +3 -3
  2. data/lib/rp/version.rb +1 -1
  3. metadata +1 -1
data/lib/rp.rb CHANGED
@@ -7,7 +7,7 @@ module Rp
7
7
 
8
8
  INDENT_SIZE = 2
9
9
  INDENT = " " * INDENT_SIZE
10
- CODE_MARK = "--"
10
+ CODE_MARK = "-"
11
11
  CODE_MARK_SIZE = CODE_MARK.size
12
12
 
13
13
  def indent(line)
@@ -77,8 +77,8 @@ module Rp
77
77
 
78
78
  if l[0...CODE_MARK_SIZE] == CODE_MARK
79
79
  l = INDENT*i << l[CODE_MARK_SIZE..-1].lstrip
80
- elsif l[0..1] == "=="
81
- l = INDENT*i << "self." << l
80
+ elsif l[0] == "="
81
+ l = INDENT*i << "self.=" << l
82
82
  else
83
83
  l = class_and_id l, i
84
84
  end
@@ -1,3 +1,3 @@
1
1
  module Rp
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: