contact_us 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -11,7 +11,7 @@ Contact Us requires the Formtastic Gem. Read more about Formtastic @ https://gi
11
11
  In your `Gemfile`, add the following dependencies:
12
12
 
13
13
  gem 'formtastic'
14
- gem 'contact_us'
14
+ gem 'contact_us', '~> 0.0.3'
15
15
 
16
16
  From `Rails.root` run:
17
17
 
@@ -1,3 +1,3 @@
1
1
  module ContactUs
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -37,7 +37,9 @@ namespace :contact_us do
37
37
  end
38
38
 
39
39
  print "Now copying view files for customization!\n"
40
-
40
+ unless File.directory?(Rails.root.join('app/views/contact_us'))
41
+ Rails.root.join('app/views/contact_us').mkdir
42
+ end
41
43
  locales_path = gem_path + "/app/views/contact_us/contact_mailer/*"
42
44
  app_path = Rails.root.join("app/views/contact_us/contact_mailer")
43
45
  unless File.directory?(app_path)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contact_us
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jeff Dutil