phcscriptcdnpro 1.5.8 → 1.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/phcscriptcdnpro/scriptcdn/author.rb +1 -1
- data/app/models/phcscriptcdnpro/scriptcdn/main.rb +3 -3
- data/app/models/phcscriptcdnpro/scriptcdn/url.rb +2 -2
- data/app/models/phcscriptcdnpro/scriptcdn/version.rb +2 -2
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6de3ecdde0639d796d304d4acc40ec32bec9a52f
|
4
|
+
data.tar.gz: b305003f6e5fcf4a105f0027cd16ae48909a662a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eec403690d015707f9ca29ac34a672851dc4ff3ad316f7d543a73e3f29ae7caffab8d29ebe30cb51cd60abeeee420191c2dfb82c63eaa1fabbff3df17efae25e
|
7
|
+
data.tar.gz: 8dd2a5df01244b81962d911d823e9e3e7eddbec3d670df3d21f6ec454688f5c8298b3e0c185a57753f568013c97f01db382aa3546b64f0528c48a069ec855716
|
@@ -2,9 +2,9 @@ module Phcscriptcdnpro
|
|
2
2
|
class Scriptcdn::Main < ActiveRecord::Base
|
3
3
|
|
4
4
|
# Relationships
|
5
|
-
has_many :versions, class_name: '
|
6
|
-
has_many :urls, class_name: '
|
7
|
-
has_many :authors, class_name: '
|
5
|
+
has_many :versions, class_name: 'Scriptcdn::Version'
|
6
|
+
has_many :urls, class_name: 'Scriptcdn::Url'
|
7
|
+
has_many :authors, class_name: 'Scriptcdn::Author'
|
8
8
|
|
9
9
|
# Validation for Form Fields
|
10
10
|
validates :scriptname,
|
@@ -2,8 +2,8 @@ module Phcscriptcdnpro
|
|
2
2
|
class Scriptcdn::Url < ActiveRecord::Base
|
3
3
|
|
4
4
|
# Relationships
|
5
|
-
has_many :versions, class_name: '
|
6
|
-
belongs_to :main, class_name: '
|
5
|
+
has_many :versions, class_name: 'Scriptcdn::Version'
|
6
|
+
belongs_to :main, class_name: 'Scriptcdn::Main'
|
7
7
|
|
8
8
|
end
|
9
9
|
end
|
@@ -2,8 +2,8 @@ module Phcscriptcdnpro
|
|
2
2
|
class Scriptcdn::Version < ActiveRecord::Base
|
3
3
|
|
4
4
|
# Relationships
|
5
|
-
has_many :urls, class_name: '
|
6
|
-
has_many :mains, class_name: '
|
5
|
+
has_many :urls, class_name: 'Scriptcdn::Url'
|
6
|
+
has_many :mains, class_name: 'Scriptcdn::Main'
|
7
7
|
|
8
8
|
end
|
9
9
|
end
|