phcscriptcdnpro 5.2.3 → 5.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a4a1f599dffb14055427af0bcc0f6cecd647856
4
- data.tar.gz: c424979a2317230da9359afb39477bda296cf645
3
+ metadata.gz: dc922f84f78058c0ba4913695a5e71c31ef06819
4
+ data.tar.gz: 28f62ae128005f2e618a39c125f0b5d094b20fd2
5
5
  SHA512:
6
- metadata.gz: 7a4482e7065924a383e2cdab4c22403638f87d3bdf71ca6785654bff145c4245d29c2731b4a0b60cf68e3ab76b9971dbc8ed3062a2d8d09954618852db5d7558
7
- data.tar.gz: d5888f93f6e4a5def19f2f27a225ca3e7d567a4232e408b46a04bd0857380ce5b5ead3cef6e95d670780e06f93014cf0a266979834c94c1e23ff386b126012ba
6
+ metadata.gz: 13c9521bb7a7888fdcda3e82dd9df16fc795872ccc4658047b95e1a512a08b84c70eee7f011aee9cc4c254737aec1d88061b328895ed4eb91541525a1f504920
7
+ data.tar.gz: 1e8a5e6dce158666656f3bb0a214d77131f672557951db5876bb9197e2b5b02dda38c4cce138566c1a6cf50dc9988b01391843fd53a6533f7d33aed0d06618ad
@@ -59,7 +59,7 @@ module Phcscriptcdnpro
59
59
 
60
60
  # Whitelist
61
61
  def script_listing_params
62
- params.require(:script_listing).permit(:scripttitle, :scriptdescription, :scriptwebsite, :scripttwitter, :scriptgithub, :scriptinitialrelease, :scriptlastestrelease, :scriptbetarelease, :scriptstatus, :version_id)
62
+ params.require(:script_listing).permit(:scripttitle, :scriptdescription, :scriptwebsite, :scripttwitter, :scriptgithub, :scriptinitialrelease, :scriptlastestrelease, :scriptbetarelease, :scriptstatus, :version_id, :author_id, :licence_id)
63
63
  end
64
64
 
65
65
  end
@@ -43,12 +43,12 @@
43
43
  <%= collection_select(:script_listing, :licence_id, Phcscriptcdnpro::Script::Licence.order('lcncname'), :id, :lcncname, {}, {class: "form-control"}) %>
44
44
  </div>
45
45
  <div class="form-group field_with_errors">
46
- <label>Script Licence</label>
46
+ <label>Script Author</label>
47
47
  <%= collection_select(:script_listing, :author_id, Phcscriptcdnpro::Script::Author.order('authorfirstname'), :id, :authorfirstname, {}, {class: "form-control"}) %>
48
48
  </div>
49
49
  <div class="form-group field_with_error">
50
50
  <%= f.label :scriptstatus, "Script Status" %>
51
- <%= f.select( :scriptstatus, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control form-control"}) %>
51
+ <%= f.select( :scriptstatus, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control"}) %>
52
52
  </div>
53
53
 
54
54
  <div class="form-group field_with_error">
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "5.2.3"
2
+ VERSION = "5.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcscriptcdnpro
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.3
4
+ version: 5.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts