incline 0.2.4 → 0.2.5
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/incline/cli/helpers/yaml.rb +1 -1
- data/lib/incline/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 065df6ffb292cb4efbfdbeeedb604e55f945d69c
|
|
4
|
+
data.tar.gz: 23822bbc55ccad1a75bfa6cdbdaa1198f8aa30d4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b84ed7084d1c1fe23e47d7ddc9db46d0488921dcff442aa5be93e96c112d744780c4eff804330e94c19bfcbf779fab8e077fd14d74b405a52197063cf1cf09da
|
|
7
|
+
data.tar.gz: 64abec92b9d281e89daf05c4f93f9a83a5c979b9a407a74380a0bef69f6a75168273f80a98c9b39d6ca8255a60c51980ed8fe66935e11d34d6f034267f1e4519
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
incline (0.2.
|
|
4
|
+
incline (0.2.5)
|
|
5
5
|
ansi (~> 1.5.0)
|
|
6
6
|
bcrypt
|
|
7
7
|
bootstrap-sass
|
|
@@ -58,7 +58,7 @@ GEM
|
|
|
58
58
|
tzinfo (~> 1.1)
|
|
59
59
|
ansi (1.5.0)
|
|
60
60
|
arel (6.0.4)
|
|
61
|
-
autoprefixer-rails (7.1.2.
|
|
61
|
+
autoprefixer-rails (7.1.2.6)
|
|
62
62
|
execjs
|
|
63
63
|
bcrypt (3.1.11)
|
|
64
64
|
bootstrap-sass (3.3.7)
|
|
@@ -76,7 +76,7 @@ GEM
|
|
|
76
76
|
concurrent-ruby (1.0.5)
|
|
77
77
|
debug_inspector (0.0.3)
|
|
78
78
|
erubis (2.7.0)
|
|
79
|
-
exception_notification (4.2.
|
|
79
|
+
exception_notification (4.2.2)
|
|
80
80
|
actionmailer (>= 4.0, < 6)
|
|
81
81
|
activesupport (>= 4.0, < 6)
|
|
82
82
|
execjs (2.7.0)
|
|
@@ -606,7 +606,7 @@ module Incline
|
|
|
606
606
|
key_len = key.last.to_s.length + 1 # add one for the colon.
|
|
607
607
|
coff = level_comment_offset(key.count) - key_len - safe_value.length
|
|
608
608
|
coff = 1 if coff < 1
|
|
609
|
-
coff_total = ((key.count - 1) * 2) +
|
|
609
|
+
coff_total = ((key.count - 1) * 2) + safe_value.length + coff
|
|
610
610
|
|
|
611
611
|
safe_value + (' ' * coff) + '# ' + comment.to_s.gsub("\r\n", "\n").gsub("\n", "\n#{' ' * coff_total}# ")
|
|
612
612
|
end
|
data/lib/incline/version.rb
CHANGED