noodall-form-builder 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,9 +43,9 @@ module Noodall
43
43
  Rails.logger.debug "Defensio said: #{response.inspect}"
44
44
  return unless status == 200
45
45
 
46
- self.defensio_signature = response[:signature]
47
- self.spaminess = response[:spaminess]
48
- self.approved = (response[:spaminess] < (self.class.defensio_config['spam_threshold'] || 0.75))
46
+ self.defensio_signature = response['signature']
47
+ self.spaminess = response['spaminess']
48
+ self.approved = (response['spaminess'] < (self.class.defensio_config['spam_threshold'] || 0.75))
49
49
  end
50
50
  end
51
51
 
@@ -67,7 +67,7 @@ Rails.logger.debug "Defensio said: #{response.inspect}"
67
67
  'client' => 'Noodall Form Builder | 1.0 | Beef Ltd | hello@wearebeef.co.uk ',
68
68
  'type' => 'other',
69
69
  'platform' => 'noodall',
70
- 'content' => self.form.fields.map{|f| "#{f.name}: #{self.send(f.underscored_name) if self.respond_to?(f.underscored_name)}" },
70
+ 'content' => self.form.fields.map{|f| "#{f.name}: #{self.send(f.underscored_name) if self.respond_to?(f.underscored_name)}" }.join(' '),
71
71
  'author-email' => self.email,
72
72
  'author-name' => self.name,
73
73
  'author-ip' => self.ip
@@ -1,5 +1,5 @@
1
1
  module Noodall
2
2
  module FormBuilder
3
- VERSION = "0.0.9"
3
+ VERSION = "0.0.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noodall-form-builder
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 9
10
- version: 0.0.9
9
+ - 10
10
+ version: 0.0.10
11
11
  platform: ruby
12
12
  authors: []
13
13