bastard 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bastard.gemspec +1 -1
- data/lib/bastard.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/bastard.gemspec
CHANGED
data/lib/bastard.rb
CHANGED
@@ -30,7 +30,7 @@ Clarity::Server.module_eval do
|
|
30
30
|
STDERR.puts "Checking file: #{file}\n"
|
31
31
|
if File.exists?(file)
|
32
32
|
STDERR.puts "Transmitting file: #{file}\n"
|
33
|
-
return respond_with(200, file, :content_type => "text/plain")
|
33
|
+
return respond_with(200, File.read(file), :content_type => "text/plain")
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bastard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Morten Primdahl
|