sztupy-shaml 0.3.1 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/shaml.rb +6 -2
  2. metadata +1 -1
data/lib/shaml.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'zip/zip'
3
3
 
4
- SHAML_VERSION="0.3.1"
4
+ SHAML_VERSION="0.3.5"
5
5
 
6
6
  TEMPLATEDIR = File.join(File.dirname(__FILE__),"templates")
7
7
 
@@ -112,7 +112,11 @@ else
112
112
  File.open(infname,"rb") do |infile|
113
113
  File.open(outfname,"wb+") do |outfile|
114
114
  puts "Writing #{outfname}"
115
- outfile.write infile.read.gsub("WebBase",name);
115
+ if infname=~/\.dll/ then
116
+ outfile.write infile.read
117
+ else
118
+ outfile.write infile.read.gsub("WebBase",name);
119
+ end
116
120
  end
117
121
  end
118
122
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sztupy-shaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zsolt Sz. Sztupak