noodall-form-builder 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  class FormMailer < ActionMailer::Base
2
- default :from => "from@example.com"
2
+ default :from => Noodall::FormBuilder.noreply_address
3
3
 
4
4
  def form_response(form, response)
5
5
  @form = form
@@ -1,5 +1,11 @@
1
1
  module Noodall
2
2
  module FormBuilder
3
+ class << self
4
+ attr_accessor :noreply_address
5
+ end
6
+
7
+ noreply_address = 'noreply@example.com'
8
+
3
9
  class Engine < Rails::Engine
4
10
  initializer "set menu" do |app|
5
11
  Noodall::UI.menu_items['Forms'] = :noodall_admin_forms_path
@@ -1,5 +1,5 @@
1
1
  module Noodall
2
2
  module FormBuilder
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
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: 31
5
- prerelease: false
4
+ hash: 29
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors: []
13
13
 
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-24 00:00:00 +00:00
18
+ date: 2011-03-16 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -30,10 +30,10 @@ dependencies:
30
30
  - 0
31
31
  - 0
32
32
  version: 1.0.0
33
- type: :development
34
33
  name: bundler
35
34
  prerelease: false
36
35
  version_requirements: *id001
36
+ type: :development
37
37
  - !ruby/object:Gem::Dependency
38
38
  requirement: &id002 !ruby/object:Gem::Requirement
39
39
  none: false
@@ -44,10 +44,10 @@ dependencies:
44
44
  segments:
45
45
  - 0
46
46
  version: "0"
47
- type: :runtime
48
47
  name: fastercsv
49
48
  prerelease: false
50
49
  version_requirements: *id002
50
+ type: :runtime
51
51
  description: Functionality for building custom forms
52
52
  email: []
53
53
 
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  requirements: []
204
204
 
205
205
  rubyforge_project:
206
- rubygems_version: 1.3.7
206
+ rubygems_version: 1.4.1
207
207
  signing_key:
208
208
  specification_version: 3
209
209
  summary: Noodall Form Builder