ytrbium 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aabc5530ddbcd3cae0b859d2baa6c586cbae9fbf612283000b612a539192a9b8
4
- data.tar.gz: 8cbb49822eaaef6a8d8192246af559c7ff57cb5c76deb5dff277710b693ea6cd
3
+ metadata.gz: cb8fa91361738a4485b88701a0e9b3f306086c946ad1adbd6f3b26d26148b9b8
4
+ data.tar.gz: db5f172a904b54a5b321ba6b426a849b3fac42a28d2431a7ad5097fbfe5ccd9a
5
5
  SHA512:
6
- metadata.gz: 38006ac729bfec894dfc0a8fea232140674a6969266ad0426f93fe623a8b31afafbc0fa696c45d3e236f1c6e17795d483eb2bf5cad5ce6711590766a278c03d2
7
- data.tar.gz: 4553f66c8f4507d355a8f16876710426e8212a0020fe46099218e5f8b1aed01646be2754c29c245b2c237fa4c0c0186fd882c1fc0e983f42a9a077fd4fae1b38
6
+ metadata.gz: ef0ad50c7e86064d63270b711d881354a8dbeb49dc54af374d91475c066dc72305151740e8f21f286471e9fa5a33ec869d78d172ed3a6842625bb42f2c102cc3
7
+ data.tar.gz: cfcd6e66ed63332028e81748e6465811fdab7d83745a2144250ce5f0e014b7db574cd3266e7b525ef9cd2abcc599ae9c02cf565e0b7cba8078ee4d201794c96b
@@ -12,7 +12,7 @@ class Ytrbium::String < ::String
12
12
  @last_newline = str.rindex("\n")
13
13
  @indent = 0
14
14
  end
15
- if @indent == 0 && self[@last_newline..] =~ /\n([- ]+)\Z/m
15
+ if @indent == 0 && self[@last_newline..-1] =~ /\n([- ]+)\Z/m
16
16
  @indent = $1.length
17
17
  end
18
18
  end
@@ -1,3 +1,3 @@
1
1
  module Ytrbium
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ytrbium
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sieger
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-23 00:00:00.000000000 Z
11
+ date: 2021-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -75,7 +75,7 @@ metadata:
75
75
  homepage_uri: https://github.com/nicksieger/ytrbium
76
76
  source_code_uri: https://github.com/nicksieger/ytrbium
77
77
  changelog_uri: https://github.com/nicksieger/ytrbium/blob/main/CHANGELOG.md
78
- post_install_message:
78
+ post_install_message:
79
79
  rdoc_options: []
80
80
  require_paths:
81
81
  - lib
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubygems_version: 3.0.3
94
- signing_key:
94
+ signing_key:
95
95
  specification_version: 4
96
96
  summary: Simple YAML+ERB templating in Ruby
97
97
  test_files: []