phcscriptcdnpro 5.1.6 → 5.1.7
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/script/author.rb +1 -1
- data/app/models/phcscriptcdnpro/script/extension.rb +3 -1
- data/app/models/phcscriptcdnpro/script/licence.rb +1 -1
- data/app/models/phcscriptcdnpro/script/listing.rb +5 -5
- data/app/models/phcscriptcdnpro/script/url.rb +3 -3
- data/app/models/phcscriptcdnpro/script/version.rb +5 -5
- 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: 231b95d2cee7fb5fa56d23c6ef489b8539bed5e1
|
4
|
+
data.tar.gz: ca7714dd7e1dcf22e26800d62363ba259af08d0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7db60dceda02be6125fc9bb200335406ed2402a7f590641c169f6636a07761e52e03fb3b6fa5a85e96b723f481e6ada0c70589fc065c2de9ada1e94b232540b
|
7
|
+
data.tar.gz: 0c1b98c0e3c9de7e9cbb534ac2efb2e5aa30f3f9131ce2e980ca66c532552e9ac95bf8536736c018162dba19c56baa2b4dd1482233655111ade03e8deb3dc971
|
@@ -3,16 +3,16 @@ module Phcscriptcdnpro
|
|
3
3
|
|
4
4
|
# Relationships
|
5
5
|
|
6
|
-
# URL Nested
|
7
|
-
|
6
|
+
# Attach to URL (Nested)
|
7
|
+
belongs_to :url, class_name: 'Phcscriptcdnpro::Script::Url'
|
8
8
|
|
9
|
-
# Attach to Author
|
9
|
+
# Attach to Author (None Nested)
|
10
10
|
belongs_to :author, class_name: 'Phcscriptcdnpro::Script::Author'
|
11
11
|
|
12
|
-
# Attach to Version
|
12
|
+
# Attach to Version (None Nested)
|
13
13
|
belongs_to :version, class_name: 'Phcscriptcdnpro::Script::Version'
|
14
14
|
|
15
|
-
# Attach to Licence
|
15
|
+
# Attach to Licence (None Nested)
|
16
16
|
belongs_to :licence, class_name: 'Phcscriptcdnpro::Script::Licence'
|
17
17
|
|
18
18
|
end
|
@@ -3,13 +3,13 @@ module Phcscriptcdnpro
|
|
3
3
|
|
4
4
|
# Relationships
|
5
5
|
|
6
|
-
# Attach to Listings
|
6
|
+
# Attach to Listings (Nested)
|
7
7
|
belongs_to :listing, class_name: 'Phcscriptcdnpro::Script::Listing'
|
8
8
|
|
9
|
-
# Attach to Version
|
9
|
+
# Attach to Version (None Nested)
|
10
10
|
belongs_to :version, class_name: 'Phcscriptcdnpro::Script::Version'
|
11
11
|
|
12
|
-
# Attach to
|
12
|
+
# Attach to Extension (None Nested)
|
13
13
|
belongs_to :extension, class_name: 'Phcscriptcdnpro::Script::Extension'
|
14
14
|
|
15
15
|
end
|
@@ -1,13 +1,13 @@
|
|
1
1
|
module Phcscriptcdnpro
|
2
2
|
class Script::Version < ApplicationRecord
|
3
3
|
|
4
|
-
#Relationships
|
4
|
+
# Relationships
|
5
5
|
|
6
|
-
#
|
7
|
-
has_many :urls, class_name: 'Phcscriptcdnpro::Script::Url'
|
8
|
-
|
9
|
-
# Listing Un-Nested
|
6
|
+
# Attach to Listing (None Nested)
|
10
7
|
has_many :listings, class_name: 'Phcscriptcdnpro::Script::Listing'
|
11
8
|
|
9
|
+
# Attach to URL (None Nested)
|
10
|
+
has_many :urls, class_name: 'Phcscriptcdnpro::Script::Url'
|
11
|
+
|
12
12
|
end
|
13
13
|
end
|