autogen_rspec 0.0.2 → 1.0.0

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/autogen_rspec.rb +5 -4
  2. metadata +1 -1
data/lib/autogen_rspec.rb CHANGED
@@ -1,7 +1,9 @@
1
- module AutogenRspec
2
-
3
- def self.log_test
1
+ class ApplicationController < ActionController::Base
2
+ after_filter :log_test
3
+
4
+ def log_test
4
5
  begin
6
+ puts "in log file"
5
7
  f = File.open('tmp/request/test.rb','a')
6
8
  temp = ''
7
9
 
@@ -39,5 +41,4 @@ module AutogenRspec
39
41
  f.write("\n\n#{str}")
40
42
  f.fsync
41
43
  end
42
-
43
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autogen_rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 1.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: