rails_wink 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,10 @@ module RailsWink
11
11
  description = params[:desc]
12
12
  jsobj = params[:json]
13
13
 
14
+ if email.nil? or email.empty?
15
+ email = nil
16
+ end
17
+
14
18
  @msg = 'Thanks, that should help!'
15
19
 
16
20
  if jsobj.nil?
@@ -5,7 +5,7 @@ module RailsWink
5
5
  def report(datadump, desc = '[No description provided]', from = nil)
6
6
  @datadump = datadump
7
7
  @desc = desc
8
- @from = from
8
+ @from = from || 'none@localhost'
9
9
 
10
10
  subject = ''.tap do |sub|
11
11
  sub << "#{RailsWink.config[:prefix]}: " if RailsWink.config[:prefix]
@@ -1,3 +1,3 @@
1
1
  module RailsWink
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_wink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-02 00:00:00.000000000 Z
12
+ date: 2012-06-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -73,7 +73,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
73
  version: '0'
74
74
  segments:
75
75
  - 0
76
- hash: 345681847484706726
76
+ hash: 1209929934277374387
77
77
  required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  none: false
79
79
  requirements:
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  segments:
84
84
  - 0
85
- hash: 345681847484706726
85
+ hash: 1209929934277374387
86
86
  requirements: []
87
87
  rubyforge_project:
88
88
  rubygems_version: 1.8.22