opulent 1.6.1 → 1.6.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
  SHA1:
3
- metadata.gz: 998ce5f7d4ae2cdee6ef6b864f7588073365daeb
4
- data.tar.gz: 21396a0eb929da8e0e2bd89f905aaf2148e3ceaf
3
+ metadata.gz: 4d758a429a90aab4b943410bbb954b971f85c9a3
4
+ data.tar.gz: c9c89220aa3f00c3b9ddc007029c2fc413fba917
5
5
  SHA512:
6
- metadata.gz: 27adfa265ca7367225d87fc2db25fd02789f911aeee80e28161e656394a4d5dc4a33bf485663f82651266a6d39868994df58a6d6f60970da2bc63d3f5f2068e1
7
- data.tar.gz: 3bf760d854f5a4b240cd70003860cb206ee430953ef5afdf6afcc5b5a3c5a576b5208f0d22143bd72bd68ae3ce9e2493ac9418b423fc0aab2ecda3e123520abf
6
+ metadata.gz: 5f008cdeea38b4421f7d65c3256781d25c184fa492821b0a9b7c92d6d7ce384c1750e189daa9033510ac8be7e42514c8bdbbe25f89eb9d12fdf3b65d0dd1a208
7
+ data.tar.gz: 9637a8d9741ae1ec2ae980c0b68975c469afc9d92a706576e2089d28430697e2150ee94e457fa137aa62e1ad3c315fff404a50315a837a0f6d3bdcff712ae87b
@@ -20,15 +20,15 @@ module Opulent
20
20
  # Get text node type
21
21
  type = accept(:print) ? :print : :text
22
22
 
23
- # Check if the text or print node is escaped or unescaped
24
- escaped = accept(:unescaped_value) ? false : true
25
-
26
23
  # Get leading whitespace
27
24
  leading_whitespace = accept(:leading_whitespace)
28
25
 
29
26
  # Get trailing whitespace
30
27
  trailing_whitespace = accept(:trailing_whitespace)
31
28
 
29
+ # Check if the text or print node is escaped or unescaped
30
+ escaped = accept(:unescaped_value) ? false : true
31
+
32
32
  # Get text value
33
33
  value = accept :line_feed
34
34
  value = value[1..-1] if value[0] == '\\'
@@ -1,4 +1,4 @@
1
1
  # @Opulent
2
2
  module Opulent
3
- VERSION = '1.6.1'
3
+ VERSION = '1.6.2'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opulent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Grozav
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-07 00:00:00.000000000 Z
11
+ date: 2015-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler