phcscriptcdnpro 5.7.1 → 5.7.2

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: dfb3dc32738e98f723393e88dceebcf15d69bc96
4
- data.tar.gz: 8ea7a2ab74098029941d8ceb441ca49bcefd790a
3
+ metadata.gz: c40d05c13e557ff47bca3fa19e18b4f62d52bd66
4
+ data.tar.gz: a1e0c791dd16a6f431c6d8d9261de4cf1b251de4
5
5
  SHA512:
6
- metadata.gz: 3618dd4077912fd6e12a59b579a0f6d8f9b29f23067d2526a9258e6233cd7b2dcbe837a1759a9f538a3e93d44f9adb19276fc3f95d5d4afd281f6543206e1094
7
- data.tar.gz: 9d786015ac23bd21b1fd2612d0c6fb9b907e62c981d1e66fa65b0780cc6585d58bc2755a6d16f5e8986faceca543dd4db5ba9366fc599db6fb7839ec14fb81d0
6
+ metadata.gz: 75abc671485b65d86be028e2c329918a8f3c939952547dd75bdec16b8a87f43ac0fae8eee068d93dbd3a0848d79ebfe2f0e7482f1da8899b117863e71f5c8180
7
+ data.tar.gz: a4fdbd4ff0de064790d5b31f203ed92382f818b346dc7269e56b0fe6376a36553f8a947dd7b2f7d815ba13f4030e55893d0358bf06ac3aa91de4bd6b62cd8521
@@ -67,7 +67,7 @@ module Phcscriptcdnpro
67
67
 
68
68
  # Whitelist
69
69
  def script_listing_params
70
- params.require(:script_listing).permit(:scripttitle, :scriptdescription, :scriptwebsite, :scripttwitter, :scriptgithub, :scriptinitialrelease, :scriptlastestrelease, :scriptbetarelease, :scriptstatus, :version_id, :author_id, :licence_id)
70
+ params.require(:script_listing).permit(:scripttitle, :scriptdescription, :descriptionsource, :scriptwebsite, :scripttwitter, :scriptgithub, :scriptinitialrelease, :scriptlastestrelease, :scriptbetarelease, :scriptstatus, :version_id, :author_id, :licence_id)
71
71
  end
72
72
 
73
73
  end
@@ -38,7 +38,10 @@
38
38
  <% end %>
39
39
  </li>
40
40
  </ul>
41
- <div><%= @script_listings_single.scriptdescription.html_safe %></div>
41
+ <div>
42
+ <%= @script_listings_single.scriptdescription.html_safe %>
43
+ <small>Source: <i><%= @script_listings_single.descriptionsource %></i></small>
44
+ </div>
42
45
 
43
46
  <div class="row">
44
47
  <div class="col-md-8 col-sm-8">
@@ -4,23 +4,30 @@
4
4
 
5
5
  <div class="form-group field_with_error">
6
6
  <%= f.label :scripttitle, "Script Title" %>
7
- <%= f.text_field :scripttitle, placeholder: "Script Information Title", class: "form-control" %>
7
+ <%= f.text_field :scripttitle, placeholder: "Script Title", class: "form-control" %>
8
8
  </div>
9
9
  <div class="form-group field_with_error">
10
10
  <%= f.label :scriptdescription, "Script Description" %>
11
- <%= f.text_area :scriptdescription, placeholder: "Script Information Description", class: "form-control" %>
11
+ <%= f.text_area :scriptdescription, placeholder: "Script Description", class: "form-control" %>
12
+ </div>
13
+ <div class="form-group field_with_error">
14
+ <%= f.label :descriptionsource, "Script Source" %>
15
+ <%= f.text_area :descriptionsource, placeholder: "Script Source", class: "form-control" %>
12
16
  </div>
13
17
  <div class="form-group field_with_error">
14
18
  <%= f.label :scriptwebsite, "Script Website" %>
15
- <%= f.text_field :scriptwebsite, placeholder: "Script Information Website", class: "form-control" %>
19
+ <%= f.text_field :scriptwebsite, placeholder: "Script Website", class: "form-control" %>
16
20
  </div>
21
+
22
+
23
+
17
24
  <div class="form-group field_with_error">
18
25
  <%= f.label :scripttwitter, "Script Twitter" %>
19
- <%= f.text_field :scripttwitter, placeholder: "Script Information Twitter Address", class: "form-control" %>
26
+ <%= f.text_field :scripttwitter, placeholder: "Script Twitter Address", class: "form-control" %>
20
27
  </div>
21
28
  <div class="form-group field_with_error">
22
29
  <%= f.label :scriptgithub, "Script Github" %>
23
- <%= f.text_field :scriptgithub, placeholder: "Script Information Github Address", class: "form-control" %>
30
+ <%= f.text_field :scriptgithub, placeholder: "Script Github Address", class: "form-control" %>
24
31
  </div>
25
32
  <div class="form-group field_with_error">
26
33
  <%= f.label :scriptinitialrelease, "Initial Release" %>
@@ -5,6 +5,7 @@ class CreatePhcscriptcdnproScriptListings < ActiveRecord::Migration[5.0]
5
5
 
6
6
  t.string :scripttitle
7
7
  t.text :scriptdescription
8
+ t.string :descriptionsource
8
9
 
9
10
  t.string :scriptwebsite
10
11
  t.string :scripttwitter
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "5.7.1"
2
+ VERSION = "5.7.2"
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.7.1
4
+ version: 5.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts