filestojs 1.0.0 → 1.0.1

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/FilesToJS.rb +1 -1
  2. metadata +1 -1
data/lib/FilesToJS.rb CHANGED
@@ -21,7 +21,7 @@ class FilesToJs
21
21
  file_string = ""
22
22
  File.open("#{file_path}",'r') do |f1|
23
23
  while line = f1.gets
24
- file_string = file_string + line.gsub('\'','"').strip
24
+ file_string = file_string + line.gsub('\'',''').strip
25
25
  end
26
26
  end
27
27
  @js = @js + "#{@js_object_name}['#{file_filename}']='#{file_string}';"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filestojs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: