phcscriptcdnpro 16.1.0 → 17.0.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: 949da145558a99e4f52d1b244eab775b3c317db3
4
- data.tar.gz: e1350b88cd4d2ab8c3bb3d987c126cf3bfc8c288
3
+ metadata.gz: fe541cd3c49f4b5c6d9475097ab6f154456773a5
4
+ data.tar.gz: 2eed18f74ae5b5d5ba5ea7fbf98c46cacd68bba6
5
5
  SHA512:
6
- metadata.gz: 8fc67e5bc2a2eebcad0ebe0dd913af1b4c78a451eeafc974446c685132c7a893aa7471da60975f6aa1eda6a31e99f0f73b9c45b452f2378e7930c78f8b2c68cd
7
- data.tar.gz: 8d99db64eebeb206beb9e3fd5192ba0377e56bc7ef96b95caabe1d7c71ad5b2340def1f44ec934a2f42a658f4100c8ef21b7539923874afa7797b433e7e67b12
6
+ metadata.gz: a607c88f802cb67e7840b8ff186a5a4523a7f160e5297a4a105890e8083de1fdb3906f7ad03a0f180ac8185ea3254ee8e12e375757477b5b4c0f31c02d8091d5
7
+ data.tar.gz: 2b3b5faeaf7eef3304344cc9f2477a03d2c9afd39153873850837ea0663f05fb3410e64f6394c6e662724b976329f7cc077557f5c296ee9000cd840fbd6fc667
@@ -5,29 +5,23 @@ module Phcscriptcdnpro
5
5
  extend FriendlyId
6
6
 
7
7
  # Add Paper Trail
8
- has_paper_trail :class_name => 'Phcscriptcdnpro::UrlVersions'
8
+ has_paper_trail :class_name => 'Phcscriptcdn::ScriptversionVersions'
9
9
 
10
10
  # Relationships
11
- has_many :listings, class_name: 'Phcscriptcdnpro::Script::Listing'
12
- has_many :urls, class_name: 'Phcscriptcdnpro::Script::Url'
11
+ has_many :listings, class_name: 'Phcscriptcdn::Script::Listing'
12
+ has_many :urls, class_name: 'Phcscriptcdn::Script::Url'
13
13
 
14
14
  # Validation for Form Fields
15
- validates :scripturl,
16
- presence: true
17
-
18
- validates :scripturlrelease,
19
- presence: true
20
-
21
- validates :scripturlcdnupdate,
22
- presence: true
15
+ validates :scriptversion,
16
+ presence: true
23
17
 
24
18
  # Clean URL Define
25
- friendly_id :phcscriptcdnpro_url_slug, use: [:slugged, :finders]
19
+ friendly_id :phcscriptcdn_version_slug, use: [:slugged, :finders]
26
20
 
27
21
  # Define for Multiple Records
28
- def phcscriptcdnpro_url_slug
22
+ def phcscriptcdn_version_slug
29
23
  [
30
- [:scripturl]
24
+ [:scriptversion]
31
25
  ]
32
26
  end
33
27
 
@@ -4,5 +4,5 @@
4
4
  <% end %>
5
5
  </div>
6
6
  <div>
7
- &copy; 2012-<%= Time.now.year %> - v16.1.0 - RELEASED - 07-02-<%= Date.today.year %>
7
+ &copy; 2012-<%= Time.now.year %> - v17.0.0 - RELEASED - 07-02-<%= Date.today.year %>
8
8
  </div>
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "16.1.0"
2
+ VERSION = "17.0.0"
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: 16.1.0
4
+ version: 17.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-02 00:00:00.000000000 Z
11
+ date: 2017-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails