bamboolab_contact_form 0.0.18 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/bamboolab_contact_form +4 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b91250993d9a06a42ddd3f812631744f7ca419c9
4
- data.tar.gz: da080bce8aaf0b964d11ef6cd6cf2fe09a6fd951
3
+ metadata.gz: dd239654b8f106bc48d4c581cfca626d9c188bfb
4
+ data.tar.gz: 772973aba23a76a0c5ef638b96a32ce9ece2391a
5
5
  SHA512:
6
- metadata.gz: f9e8fafbfd99c8e14ea2b97a66e9ded763110408bfa3496fe214d47161d70f3baaaf9d4b5636396013577859f141e9128f7507af63c8f5f01dc0beced0df8993
7
- data.tar.gz: 86431857ef318fc2fd5c74a050b696f4e605aaaece98647129789dc29380b47ee2ccb4f398837e6ffe38f7a81b59bfb17240426940aa864ad17844c9273098cb
6
+ metadata.gz: 0a96f13b69f2843eeb5f05f7a78b2abc736347dcbc2f3d19cb654befff525394646d037768e3084d318fe803020c9025c792cfc3f0681c26d73682fc22e22980
7
+ data.tar.gz: 00f2fc99831cd6ff63223ce1d6211c770aa806065791831018aa6aa848f980ce9d484592d5e8875992c783e4280d945165c3c27872739151dd4e534f8054c2a2
@@ -25,6 +25,10 @@ require 'bamboolab_contact_form'
25
25
  form = Bamboolab_contact_form.new(name, fields, mailer)
26
26
 
27
27
  if save == "destroy"
28
+ system("rails destroy controller #{name}s")
29
+ system("rails destroy model #{name}")
30
+ system("rails destroy mailer #{name}s")
31
+ else
28
32
  system("rails generate controller #{name}s")
29
33
 
30
34
  unless save
@@ -52,9 +56,4 @@ if save == "destroy"
52
56
  system("rails generate mailer #{name}s") unless mailer_arg=="nil"
53
57
  form.mailer unless mailer_arg=="nil"
54
58
  form.notice
55
- else
56
- system("rails destroy controller #{name}s")
57
- system("rails destroy model #{name}")
58
- system("rails destroy mailer #{name}s")
59
-
60
59
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bamboolab_contact_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mislav Kvesić