kryptonite 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/PUBLIC_VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  major: 0
2
2
  minor: 0
3
- patch: 2
3
+ patch: 3
4
4
  build:
@@ -17,7 +17,6 @@ module Kryptonite
17
17
  before_filter :authorise
18
18
  before_filter :set_time_zone
19
19
  before_filter :get_uploaded_file
20
- after_filter :destroy_uploaded_file
21
20
 
22
21
  ActionView::Base.field_error_proc = proc { |input, instance| "<span class='formError'>#{input}</span>".html_safe }
23
22
 
@@ -48,12 +47,6 @@ module Kryptonite
48
47
  #filename = "#{Rails.root.to_s}/tmp/#{tempname}"
49
48
  end
50
49
  end
51
-
52
- def destroy_uploaded_file
53
- if params.has_key?(:qqfile)
54
- File.unlink("#{Rails.root.to_s}/tmp/#{@tempname}")
55
- end
56
- end
57
50
 
58
51
  def authorise
59
52
  unless current_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kryptonite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-04-11 00:00:00.000000000 Z
13
+ date: 2012-04-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: kryptonite