expansions 0.4.35 → 0.4.37

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
  SHA256:
3
- metadata.gz: b1eb812bc08443b3690124ff06b7c3160bf53f1b5119a4729133fe0b0c7fadc3
4
- data.tar.gz: 4dd15f72d8ea0889e1d3e3527cba52f951b7a56a27bd787de5772a660e9743a7
3
+ metadata.gz: 785c760f54d3e6324bb06487bead361c7341227d123012831f751b1143bb5b60
4
+ data.tar.gz: c3d53a3ffaed2897aa5e387d9794d7bb672f652055dca75652ab8aafb0c22392
5
5
  SHA512:
6
- metadata.gz: 9faf85ebb12b2f665cda089e6de19ba745bd82a392d260e68753db1c6726edc829c6f10e590b406c04be787bad00ec46373f3d9aa23844db916a51cb88490eb1
7
- data.tar.gz: 921a5edaeb87e6e6406ca9c1c3c2c55eabc08c0886144097e4959b8cca35cab52a62db9652da70b21c9f766a1b1571955d26815d0230a5e655f929eefdc580b6
6
+ metadata.gz: 60be73d08602de69e31ec8cc6d567a8213358cc9bfd35e96a8eeb18e0f4a19c4296c56e573cb9aa0c66e92b4c177e686b1a50662af710223b5dd4e3c72423da7
7
+ data.tar.gz: dc5792aa1bd67ba4c83f67b1bf5798465c74e305334a183f19c762438f7e1d67348dbe39c3a176e2d12df6975fdb79ecdff2654ae3582a86ce7677de95a7c420
@@ -17,7 +17,7 @@ module Expansions
17
17
  end
18
18
 
19
19
  def process_template(template,binding)
20
- erb = ERB.new(template, 0, "%")
20
+ erb = ERB.new(template)
21
21
  erb.result(binding)
22
22
  end
23
23
 
@@ -14,7 +14,7 @@ module Expansions
14
14
  names = get_file_names(file_name)
15
15
  load_settings_file(names[:settings_file])
16
16
  output = names[:output_file_name]
17
- file.delete(output) if file.exists?(output)
17
+ file.delete(output) if file.exist?(output)
18
18
 
19
19
  begin
20
20
  processor.process(:input => file_name,:output => output)
@@ -1,3 +1,3 @@
1
1
  module Expansions
2
- VERSION = "0.4.35"
2
+ VERSION = "0.4.37"
3
3
  end
@@ -20,7 +20,7 @@ module Expansions
20
20
  context "and the generated file already exists" do
21
21
  let(:file_name){"some.file"}
22
22
  before (:each) do
23
- file.stub(:exists?).with("./some.file").and_return(true)
23
+ file.stub(:exist?).with("./some.file").and_return(true)
24
24
  end
25
25
 
26
26
  before (:each) do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: expansions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.35
4
+ version: 0.4.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Develop With Passion®