contact_us 0.3.0 → 0.4.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +31 -16
- data/app/controllers/contact_us/contacts_controller.rb +13 -1
- data/app/views/contact_us/contacts/new.html.erb +36 -6
- data/app/views/contact_us/contacts/new_formtastic.html.erb +8 -0
- data/app/views/contact_us/contacts/new_simple_form.html.erb +8 -0
- data/config/locales/contact_us.de.yml +5 -1
- data/config/locales/contact_us.en.yml +5 -1
- data/config/locales/contact_us.es.yml +5 -1
- data/config/locales/contact_us.it.yml +5 -1
- data/config/locales/contact_us.pt-BR.yml +5 -1
- data/config/locales/contact_us.zh.yml +5 -1
- data/lib/contact_us/version.rb +1 -1
- data/lib/contact_us.rb +3 -0
- data/lib/templates/contact_us.rb +5 -0
- data/spec/dummy/config/locales/contact_us.de.yml +5 -1
- data/spec/dummy/config/locales/contact_us.es.yml +5 -1
- data/spec/dummy/config/locales/contact_us.it.yml +5 -1
- data/spec/dummy/config/locales/contact_us.pt-BR.yml +5 -1
- data/spec/dummy/config/locales/contact_us.zh.yml +5 -1
- data/spec/dummy/log/test.log +4983 -0
- data/spec/integration/contact_us_lint_spec.rb +1 -1
- metadata +25 -10
@@ -22,7 +22,7 @@ describe 'Contact Us page' do
|
|
22
22
|
page.should have_selector "textarea#contact_us_contact_message"
|
23
23
|
page.should_not have_selector "input#contact_us_contact_name"
|
24
24
|
page.should_not have_selector "input#contact_us_contact_subject"
|
25
|
-
page.should have_selector "input
|
25
|
+
page.should have_selector "input.submit"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contact_us
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.0.beta
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jeff Dutil
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05
|
12
|
+
date: 2012-06-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capybara
|
@@ -99,7 +99,7 @@ dependencies:
|
|
99
99
|
- - ! '>='
|
100
100
|
- !ruby/object:Gem::Version
|
101
101
|
version: 2.1.0
|
102
|
-
type: :
|
102
|
+
type: :development
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
@@ -107,6 +107,22 @@ dependencies:
|
|
107
107
|
- - ! '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: 2.1.0
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: simple_form
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
110
126
|
- !ruby/object:Gem::Dependency
|
111
127
|
name: rails
|
112
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,6 +158,8 @@ files:
|
|
142
158
|
- app/views/contact_us/contact_mailer/contact_email.html.erb
|
143
159
|
- app/views/contact_us/contact_mailer/contact_email.text.plain.erb
|
144
160
|
- app/views/contact_us/contacts/new.html.erb
|
161
|
+
- app/views/contact_us/contacts/new_formtastic.html.erb
|
162
|
+
- app/views/contact_us/contacts/new_simple_form.html.erb
|
145
163
|
- config/locales/contact_us.de.yml
|
146
164
|
- config/locales/contact_us.en.yml
|
147
165
|
- config/locales/contact_us.es.yml
|
@@ -213,16 +231,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
213
231
|
version: '0'
|
214
232
|
segments:
|
215
233
|
- 0
|
216
|
-
hash:
|
234
|
+
hash: -2120348152043544289
|
217
235
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
218
236
|
none: false
|
219
237
|
requirements:
|
220
|
-
- - ! '
|
238
|
+
- - ! '>'
|
221
239
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
223
|
-
segments:
|
224
|
-
- 0
|
225
|
-
hash: 1292808974934354164
|
240
|
+
version: 1.3.1
|
226
241
|
requirements: []
|
227
242
|
rubyforge_project: contact_us
|
228
243
|
rubygems_version: 1.8.19
|