dslh 0.4.7 → 0.4.8

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: 384dc946f3f3d868008d2795fa6e83ca0cac2a6d
4
- data.tar.gz: aaeac51e7a989eb285890d40615d3ae984a2effb
3
+ metadata.gz: f12106563eb84dce01b3e6e786078637d180fb04
4
+ data.tar.gz: c38b882719d6c1b8a35f130224a29159eb99bcac
5
5
  SHA512:
6
- metadata.gz: 5ea3a48d2a14832c2a01412b2b116bfa85ad5883151968b714c03022e712887fd51affe41408f7f0b4190a556d573a547644b3c334fcc12360acda39c8d743a4
7
- data.tar.gz: 83e180695a786f0babe25c097dc1ecefd15fc6941bb201424dd9c1b9e9ab794d7c31687e34a86fee3eaaff768c874f31cdc8d4e043736587473dbf60596b2cb1
6
+ metadata.gz: a1dc20cfbdcf04e20e34c4f7ee0845f5621499f907eb388a6204344e9f0575448af05f459b4ab9e1ee0c43bbb163234e6c3a9161dcd180782d02b5578003b10a
7
+ data.tar.gz: 43e1e0701c2a38ee450976284709674201eac2fe1b1b7284626b4c31eb7446d452b219da42632f73c46324944dfdfbeb120b7784ae50a464aec2601895ebef10
data/lib/dslh.rb CHANGED
@@ -323,7 +323,7 @@ class Dslh
323
323
  if @options[:use_heredoc_for_multi_line] \
324
324
  and value.kind_of?(String) \
325
325
  and value.match(/\R/)
326
- value_buf.puts(' ' + "<<-EOS\n#{value}\nEOS")
326
+ value_buf.puts(' ' + "<<-'EOS'\n#{value}\nEOS")
327
327
  else
328
328
  value_buf.puts(' ' + value.inspect)
329
329
  end
data/lib/dslh/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Dslh
2
- VERSION = '0.4.7'
2
+ VERSION = '0.4.8'
3
3
  end
data/spec/dslh_spec.rb CHANGED
@@ -568,7 +568,7 @@ end
568
568
  expect(dsl).to eq(<<-EOT)
569
569
  glossary do
570
570
  title "example glossary"
571
- description <<-EOS
571
+ description <<-'EOS'
572
572
  example
573
573
  glossary
574
574
  EOS
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dslh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-01 00:00:00.000000000 Z
11
+ date: 2017-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.5.2
110
+ rubygems_version: 2.2.2
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: It define Hash as a DSL.