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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9fafa45ca265ae7c13ca542ea9d4dd01ab5a052c
4
- data.tar.gz: be6b2e8f999070090c9c8367981897e8bd11a069
3
+ metadata.gz: 065df6ffb292cb4efbfdbeeedb604e55f945d69c
4
+ data.tar.gz: 23822bbc55ccad1a75bfa6cdbdaa1198f8aa30d4
5
5
  SHA512:
6
- metadata.gz: '03698557ded76bf19a3afdc29e262ffffabbd232fcb4da4d382a854c297893c573ef88c7b1f91cd099e53b50862fbb2a22c2b801362725a9f93a257e0631e494'
7
- data.tar.gz: dd2902766035cec343433b373e61b5d6f7f4ca4d376945fe67ba870d674c9b615baf21c3517a47dc7238685603dd8e01b389ad3ca4ef06dde7f0c8186c534762
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)
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.4)
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.1)
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) + value.length + coff
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
@@ -1,3 +1,3 @@
1
1
  module Incline
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: incline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beau Barker