phcscriptcdnpro 1.9.1 → 1.9.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: 3dea7d27d441a1d63ddb0e5525b4e006149ebc4a
4
- data.tar.gz: a3d6cdcf5f5d910c954fa7bfeab5efc5c9fab34b
3
+ metadata.gz: 63089235a598bf4b4270e6b8e0eda179878c323e
4
+ data.tar.gz: 811d6f166efc542ee0f3e399bda18f621ea2fab8
5
5
  SHA512:
6
- metadata.gz: 09db53a83bd9a07acb7db31eb15393fe5cc0b30e2360c1eb18196b44048cc8964bf2513f047fa227f7e7d7cfe8a73d3dccebba0bf25f88f21fba02c6fdbf1e1a
7
- data.tar.gz: 9cc1e50012d7613e3243cb2c3a8a5e173b383f43f27b439ca7e83bf2787ce746de11057dfadfb0c68a599550a7d65ea65f36c692dc8c07e6fbaed1a2a7144a5a
6
+ metadata.gz: 0fdd590e4b75265bba3fe547e8dc390fe05a82b22dce1517564ff80bb026bf19b91998b49b3291d8a49079a3b95182c8fe4eec21f379101c8049a414f8bcecef
7
+ data.tar.gz: 0271c47e34804c11fb86842f2f0079d9264b080b96fb9ffa8336ee6b5b48b24807bbce9fe0575a1a496880731e85fe75b1707fbda5e887072867521115e5a9c1
@@ -78,7 +78,7 @@ module Phcscriptcdnpro
78
78
 
79
79
  # Whitelist
80
80
  def scriptcdn_url_params
81
- params.require(:scriptcdn_url).permit(:scripturl, :main_id)
81
+ params.require(:scriptcdn_url).permit(:scripturl, :scripturlext, :main_id)
82
82
  end
83
83
 
84
84
  end
@@ -32,7 +32,7 @@
32
32
 
33
33
  <p>
34
34
  <strong>Scriptinitialrelease:</strong>
35
- <%= @scriptcdn_information.scriptinitialrelease %>
35
+ <%= @scriptcdn_information.scriptinitialrelease.parse(date) %>
36
36
  </p>
37
37
 
38
38
  <p>
@@ -6,6 +6,10 @@
6
6
  <%= f.label :scripturl, "Script URL" %>
7
7
  <%= f.text_field :scripturl, placeholder: "Script Name", class: "form-control" %>
8
8
  </div>
9
+ <div class="form-group field_with_error">
10
+ <%= f.label :scripturlext, "Script Extention" %>
11
+ <%= f.select( :scripturlext, [['.css','css'],['.js','js'],['.html','html'],['.scss','scss']], {}, {class: "form-control form-control"}) %>
12
+ </div>
9
13
  <div class="form-group field_with_error">
10
14
  <%= f.submit class: "btn blue-hoki" %>
11
15
  </div>
@@ -6,6 +6,10 @@
6
6
  <%= f.label :scripturl, "Script URL" %>
7
7
  <%= f.text_field :scripturl, placeholder: "Script Name", class: "form-control" %>
8
8
  </div>
9
+ <div class="form-group field_with_error">
10
+ <%= f.label :scripturlext, "Script Extention" %>
11
+ <%= f.select( :scripturlext, [['.css','css'],['.js','js'],['.html','html'],['.scss','scss']], {}, {class: "form-control form-control"}) %>
12
+ </div>
9
13
  <div class="form-group field_with_error">
10
14
  <%= f.submit class: "btn blue-hoki" %>
11
15
  </div>
@@ -4,6 +4,7 @@ class CreatePhcscriptcdnproScriptcdnUrls < ActiveRecord::Migration
4
4
  create_table :phcscriptcdnpro_scriptcdn_urls do |t|
5
5
 
6
6
  t.string :scripturl
7
+ t.string :scripturltype
7
8
 
8
9
  t.references :main, index: true
9
10
  t.references :version, index: true
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "1.9.1"
2
+ VERSION = "1.9.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcscriptcdnpro
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-22 00:00:00.000000000 Z
11
+ date: 2016-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails