contact_form 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.rdoc +16 -0
- data/Rakefile +3 -9
- data/app/controllers/contact_form/forms_controller.rb +1 -1
- data/app/models/contact_form/form.rb +2 -14
- data/{script → bin}/rails +2 -2
- data/lib/contact_form/version.rb +1 -1
- data/lib/generators/contact_form/views/views_generator.rb +0 -0
- data/test/contact_form_test.rb +7 -0
- data/test/dummy/README.rdoc +15 -248
- data/test/dummy/Rakefile +1 -2
- data/test/dummy/app/assets/javascripts/application.js +4 -6
- data/test/dummy/app/controllers/application_controller.rb +3 -1
- data/test/dummy/app/views/layouts/application.html.erb +3 -3
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +1 -1
- data/test/dummy/config/application.rb +1 -38
- data/test/dummy/config/boot.rb +4 -9
- data/test/dummy/config/environment.rb +3 -3
- data/test/dummy/config/environments/development.rb +11 -19
- data/test/dummy/config/environments/production.rb +40 -27
- data/test/dummy/config/environments/test.rb +13 -14
- data/test/dummy/config/initializers/backtrace_silencers.rb +1 -1
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +6 -5
- data/test/dummy/config/initializers/secret_token.rb +7 -2
- data/test/dummy/config/initializers/session_store.rb +0 -5
- data/test/dummy/config/initializers/wrap_parameters.rb +6 -6
- data/test/dummy/{app/mailers/.gitkeep → db/development.sqlite3} +0 -0
- data/test/dummy/log/development.log +7140 -0
- data/test/dummy/public/404.html +43 -11
- data/test/dummy/public/422.html +43 -11
- data/test/dummy/public/500.html +43 -11
- data/test/dummy/tmp/cache/assets/B72/200/sprockets%2F100112045070b21989507834140b407e +0 -0
- data/test/dummy/tmp/cache/assets/C07/C20/sprockets%2F23f96a9a98364940682f7b0049593617 +0 -0
- data/test/dummy/tmp/cache/assets/C40/750/sprockets%2F932b4853154e1de413ea430160293d90 +0 -0
- data/test/dummy/tmp/cache/assets/C6E/B90/sprockets%2Fff7154913f353684d2c0d99757e49449 +0 -0
- data/test/dummy/tmp/cache/assets/C8D/960/sprockets%2F80704bcb99159699d05d23c5b8c51359 +0 -0
- data/test/dummy/tmp/cache/assets/C96/710/sprockets%2F84d7f0851597279bdb83ec03a4258868 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CE5/B20/sprockets%2F0414f9654b3526ded26bf229ff3a3991 +0 -0
- data/test/dummy/tmp/cache/assets/D0E/A10/sprockets%2F3dbd2904b612348b5f6bee880328a45f +0 -0
- data/test/dummy/tmp/cache/assets/D15/FA0/sprockets%2F7d2d7e4cd23102fd713798357ba6fe27 +0 -0
- data/test/dummy/tmp/cache/assets/D1B/270/sprockets%2F5e9eca4683e21a08467e309e58a85b5d +0 -0
- data/test/dummy/tmp/cache/assets/D1C/790/sprockets%2F435c4e591f70a09989abf87fa2e4237b +0 -0
- data/test/dummy/tmp/cache/assets/D1F/550/sprockets%2F48da9671da988a1246f97e47bb4ad453 +0 -0
- data/test/dummy/tmp/cache/assets/D22/570/sprockets%2F9d8fa6e74f0837d640d4a62fcf877503 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D35/CA0/sprockets%2Fbb633d31764aa9b172924df6d20af8e0 +0 -0
- data/test/dummy/tmp/cache/assets/D42/210/sprockets%2Fdbc251ff7ce5267f0c1ea2901890847f +0 -0
- data/test/dummy/tmp/cache/assets/D44/060/sprockets%2F83bb16519b63c22122ecd7e97c9d7b5f +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/870/sprockets%2Fc3f537585e0ada8e57c4dde292264d97 +0 -0
- data/test/dummy/tmp/cache/assets/D51/540/sprockets%2Fb54d1b014e60d760443aa2291dfeea0b +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D63/0B0/sprockets%2Fd721704cb7e2deb7f7217060db5d0b6e +0 -0
- data/test/dummy/tmp/cache/assets/D7F/230/sprockets%2Fe4c1b1e021f34b0e7ec335faaa34d225 +0 -0
- data/test/dummy/tmp/cache/assets/D84/960/sprockets%2F6c852e7dafc3627924fd803e29eef92e +0 -0
- data/test/dummy/tmp/cache/assets/D89/9A0/sprockets%2F78e59ee27f6a6bec54fe5fe61c271469 +0 -0
- data/test/dummy/tmp/cache/assets/D98/480/sprockets%2F4d543d040c82919aab83a096fdefab3f +0 -0
- data/test/dummy/tmp/cache/assets/D99/F00/sprockets%2Fa0e37f8fddbc2870208e4af3ba04e963 +0 -0
- data/test/dummy/tmp/cache/assets/D9D/140/sprockets%2F9aca53f75e5e31b7dce037720f46fbd2 +0 -0
- data/test/dummy/tmp/cache/assets/DAF/1B0/sprockets%2F22cc8a9bf92bf50c51ff4dd1cd886789 +0 -0
- data/test/dummy/tmp/cache/assets/DB3/0D0/sprockets%2F49bccc1cbb34101b079419bbf0cb64bc +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/DDD/1E0/sprockets%2Ff5e71d28c8c9d3fe9149383dacbbba95 +0 -0
- data/test/dummy/tmp/cache/assets/DE1/D90/sprockets%2F5d9fc6c6f778db9a07f4290dbd3edf52 +0 -0
- data/test/dummy/tmp/cache/assets/DE5/260/sprockets%2Fa232edb1ad6f0fd06124b927fc2a5cda +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E1E/FD0/sprockets%2F75dbbffde194fb11db1d41c72be20eb5 +0 -0
- data/test/dummy/tmp/cache/assets/E29/290/sprockets%2Fd5b201f028958ced9cd25dccaceac58b +0 -0
- data/test/dummy/tmp/cache/assets/E67/2C0/sprockets%2F0fb09b733aea46e9addfa87942eeffbf +0 -0
- data/test/dummy/tmp/cache/assets/E96/650/sprockets%2Fdef5bdd5ccfea9f38a0daf0bd8939f24 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +170 -50
- data/.gitignore +0 -7
- data/Gemfile +0 -17
- data/Gemfile.lock +0 -100
- data/contact_form-0.0.1.gem +0 -0
- data/contact_form.gemspec +0 -26
- data/test/dummy/app/models/.gitkeep +0 -0
- data/test/dummy/lib/assets/.gitkeep +0 -0
- data/test/dummy/log/.gitkeep +0 -0
- data/test/dummy/script/rails +0 -6
data/.gitignore
DELETED
data/Gemfile
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
source "http://rubygems.org"
|
2
|
-
|
3
|
-
# Declare your gem's dependencies in contact_form.gemspec.
|
4
|
-
# Bundler will treat runtime dependencies like base dependencies, and
|
5
|
-
# development dependencies will be added by default to the :development group.
|
6
|
-
gemspec
|
7
|
-
|
8
|
-
# jquery-rails is used by the dummy application
|
9
|
-
gem "jquery-rails"
|
10
|
-
|
11
|
-
# Declare any dependencies that are still in development here instead of in
|
12
|
-
# your gemspec. These might include edge Rails or gems from your path or
|
13
|
-
# Git. Remember to move these dependencies to your gemspec before releasing
|
14
|
-
# your gem to rubygems.org.
|
15
|
-
|
16
|
-
# To use debugger
|
17
|
-
# gem 'debugger'
|
data/Gemfile.lock
DELETED
@@ -1,100 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
contact_form (0.0.1)
|
5
|
-
i18n
|
6
|
-
jquery-rails
|
7
|
-
mail
|
8
|
-
rails (~> 3.2.8)
|
9
|
-
|
10
|
-
GEM
|
11
|
-
remote: http://rubygems.org/
|
12
|
-
specs:
|
13
|
-
actionmailer (3.2.8)
|
14
|
-
actionpack (= 3.2.8)
|
15
|
-
mail (~> 2.4.4)
|
16
|
-
actionpack (3.2.8)
|
17
|
-
activemodel (= 3.2.8)
|
18
|
-
activesupport (= 3.2.8)
|
19
|
-
builder (~> 3.0.0)
|
20
|
-
erubis (~> 2.7.0)
|
21
|
-
journey (~> 1.0.4)
|
22
|
-
rack (~> 1.4.0)
|
23
|
-
rack-cache (~> 1.2)
|
24
|
-
rack-test (~> 0.6.1)
|
25
|
-
sprockets (~> 2.1.3)
|
26
|
-
activemodel (3.2.8)
|
27
|
-
activesupport (= 3.2.8)
|
28
|
-
builder (~> 3.0.0)
|
29
|
-
activerecord (3.2.8)
|
30
|
-
activemodel (= 3.2.8)
|
31
|
-
activesupport (= 3.2.8)
|
32
|
-
arel (~> 3.0.2)
|
33
|
-
tzinfo (~> 0.3.29)
|
34
|
-
activeresource (3.2.8)
|
35
|
-
activemodel (= 3.2.8)
|
36
|
-
activesupport (= 3.2.8)
|
37
|
-
activesupport (3.2.8)
|
38
|
-
i18n (~> 0.6)
|
39
|
-
multi_json (~> 1.0)
|
40
|
-
arel (3.0.2)
|
41
|
-
builder (3.0.0)
|
42
|
-
erubis (2.7.0)
|
43
|
-
hike (1.2.1)
|
44
|
-
i18n (0.6.0)
|
45
|
-
journey (1.0.4)
|
46
|
-
jquery-rails (2.1.1)
|
47
|
-
railties (>= 3.1.0, < 5.0)
|
48
|
-
thor (~> 0.14)
|
49
|
-
json (1.7.5)
|
50
|
-
mail (2.4.4)
|
51
|
-
i18n (>= 0.4.0)
|
52
|
-
mime-types (~> 1.16)
|
53
|
-
treetop (~> 1.4.8)
|
54
|
-
mime-types (1.19)
|
55
|
-
multi_json (1.3.6)
|
56
|
-
polyglot (0.3.3)
|
57
|
-
rack (1.4.1)
|
58
|
-
rack-cache (1.2)
|
59
|
-
rack (>= 0.4)
|
60
|
-
rack-ssl (1.3.2)
|
61
|
-
rack
|
62
|
-
rack-test (0.6.1)
|
63
|
-
rack (>= 1.0)
|
64
|
-
rails (3.2.8)
|
65
|
-
actionmailer (= 3.2.8)
|
66
|
-
actionpack (= 3.2.8)
|
67
|
-
activerecord (= 3.2.8)
|
68
|
-
activeresource (= 3.2.8)
|
69
|
-
activesupport (= 3.2.8)
|
70
|
-
bundler (~> 1.0)
|
71
|
-
railties (= 3.2.8)
|
72
|
-
railties (3.2.8)
|
73
|
-
actionpack (= 3.2.8)
|
74
|
-
activesupport (= 3.2.8)
|
75
|
-
rack-ssl (~> 1.3.2)
|
76
|
-
rake (>= 0.8.7)
|
77
|
-
rdoc (~> 3.4)
|
78
|
-
thor (>= 0.14.6, < 2.0)
|
79
|
-
rake (0.9.2.2)
|
80
|
-
rdoc (3.12)
|
81
|
-
json (~> 1.4)
|
82
|
-
sprockets (2.1.3)
|
83
|
-
hike (~> 1.2)
|
84
|
-
rack (~> 1.0)
|
85
|
-
tilt (~> 1.1, != 1.3.0)
|
86
|
-
sqlite3 (1.3.6)
|
87
|
-
thor (0.16.0)
|
88
|
-
tilt (1.3.3)
|
89
|
-
treetop (1.4.10)
|
90
|
-
polyglot
|
91
|
-
polyglot (>= 0.3.1)
|
92
|
-
tzinfo (0.3.33)
|
93
|
-
|
94
|
-
PLATFORMS
|
95
|
-
ruby
|
96
|
-
|
97
|
-
DEPENDENCIES
|
98
|
-
contact_form!
|
99
|
-
jquery-rails
|
100
|
-
sqlite3
|
data/contact_form-0.0.1.gem
DELETED
Binary file
|
data/contact_form.gemspec
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
$:.push File.expand_path("../lib", __FILE__)
|
2
|
-
|
3
|
-
# Maintain your gem's version:
|
4
|
-
require "contact_form/version"
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = "contact_form"
|
8
|
-
s.version = ContactForm::VERSION
|
9
|
-
s.platform = Gem::Platform::RUBY
|
10
|
-
s.authors = ["Matthias Frick"]
|
11
|
-
s.email = ["matthias@frick-web.at"]
|
12
|
-
s.homepage = "https://github.com/mattherick/contact_form"
|
13
|
-
s.description = "A simple contact form for a contact page."
|
14
|
-
s.summary = "contact_form-#{s.version}"
|
15
|
-
s.rubyforge_project = "contact_form"
|
16
|
-
|
17
|
-
s.add_dependency "rails", "~> 3.2.8"
|
18
|
-
s.add_dependency "jquery-rails"
|
19
|
-
s.add_dependency "i18n"
|
20
|
-
s.add_dependency "mail"
|
21
|
-
s.add_development_dependency "sqlite3"
|
22
|
-
|
23
|
-
s.files = `git ls-files`.split("\n")
|
24
|
-
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
25
|
-
s.require_path = 'lib'
|
26
|
-
end
|
File without changes
|
File without changes
|
data/test/dummy/log/.gitkeep
DELETED
File without changes
|
data/test/dummy/script/rails
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
-
|
4
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
-
require File.expand_path('../../config/boot', __FILE__)
|
6
|
-
require 'rails/commands'
|