opulent 1.8.2 → 1.8.3

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
  SHA1:
3
- metadata.gz: cd8db65730c87a9220e739b5863cc7b1054129f3
4
- data.tar.gz: 25c0887712f3ac678719b13487368781a2854c6b
3
+ metadata.gz: 006517e6a2952ce7ad81b79cb6a6bddc6d9a4176
4
+ data.tar.gz: 3e6eaa4a864775b99264fa51e4fca1a2d489c232
5
5
  SHA512:
6
- metadata.gz: 61534b13b508dd60b494d3e5ddf7254f86830a6c2dbd223790e59c1fcdad3a8b9c11778ae18d96cb1f07110d49750287f8a1ea597da67b39f81cdea9f160faed
7
- data.tar.gz: a37b62028da6f5dfab4064899305b0492271c53eed205773c33b34d7680cee1d3f8d46e54cdedfe2815a03c93761af5e55f20b271a367711a662df43579d1ebb
6
+ metadata.gz: 77553f55096c25468329e9a730def7490e44574f78bd1111b4069d9cae2382d04aec9f3735f2d8b87202d67a38522e47396d2ccc4e838358e5e7d4bbac8727b2
7
+ data.tar.gz: a055b4b235dd94b1d056dd3b072bc323a14f2fe06d9805461530a359a0fb4d3f08fa8e948292aeaa99e2687873408489ff985c812d9d0ddb8b48710f0ecd1591
@@ -1,4 +1,7 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.8.3 26/07/2016
4
+ - Fixed pretty printing text after inline node
5
+
3
6
  ## v1.8.2 26/07/2016
4
7
  - Added pretty print to elements inside definitions
@@ -24,11 +24,11 @@ module Opulent
24
24
 
25
25
  # If we have a text on multiple lines and the text isn't supposed to be
26
26
  # inline, indent all the lines of the text
27
- if node[@value] == :text
27
+ if node[@value] == :text
28
28
  if !inline
29
29
  value.gsub!(/^(?!$)/, indentation)
30
30
  else
31
- buffer_remove_trailing_whitespace
31
+ buffer_remove_trailing_newline
32
32
  value.strip!
33
33
  end
34
34
  else
@@ -1,4 +1,4 @@
1
1
  # @Opulent
2
2
  module Opulent
3
- VERSION = '1.8.2'
3
+ VERSION = '1.8.3'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opulent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2
4
+ version: 1.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Grozav