phcscriptcdnpro 1.11.4 → 1.11.5

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: 7a10bb46a3fd5e7007dd2b083d9305edabaade38
4
- data.tar.gz: c0942929fbb972841ce1c7b588d7605c252492c4
3
+ metadata.gz: 2daa814fc81805ea64893223dc33aaff10762d26
4
+ data.tar.gz: c4c44b3c86a5c79d2b22859b3f84a843693f1b03
5
5
  SHA512:
6
- metadata.gz: 03e3a4aedd61c7953a4996f2c704ad970a701043abaacecd4d8527ad9a437c863a4c0622b665bbcd5b2b77dac1a2345472764bb4921487214a8470dffc01f3da
7
- data.tar.gz: 82e0112609d4a2c968179942197fc4d565b25b79599ac8462a9912bb44eed62ac6c433dcf77c984dbf8498477cbca68b22c365909cd28c84f78aeb49daaf0156
6
+ metadata.gz: 72006d7ff2741a186c7342d5347cb5beba8dd15fb50de288df3ed5fad34c5a73badaf07f2abcb65d15fb21aaeec623832031125e6155bd178afe98aa02e5030d
7
+ data.tar.gz: a2d19ab3a829c5dc052fa8617eee17d8a6e4461692eebc1b9035081a3fe93cfa1a334db64f7cce1401c737a1d8d6ea205c04f277afcb64a40e5c2dfd16ff07ae
@@ -2,7 +2,7 @@ module Phcscriptcdnpro
2
2
  class Scriptcdn::Version < ActiveRecord::Base
3
3
 
4
4
  # Relationships
5
- belongs_to :mains, class_name: 'Scriptcdn::Main'
5
+ belongs_to :main, class_name: 'Scriptcdn::Main'
6
6
 
7
7
  end
8
8
  end
@@ -1,14 +1,18 @@
1
1
  collection @scriptcdn_mains
2
- attributes :id, :version_id, :information_id
3
- child :informations do
4
- attribute :scripttitle
5
- end
6
- child :scriptcdn_authors do
7
- attributes :authorfirstname, :authorlastname
8
- end
9
- child :scriptcdn_urls do
10
- attributes :scripturl, :scripturlext
11
- end
12
- child :scriptcdn_versions do
13
- attributes :scripturl, :scripturlext
14
- end
2
+ attributes :id, :scriptname
3
+
4
+ child(:informations) {
5
+ attribute :scripttitle, :scriptdescription, :scriptcategory, :scriptwebsite, :scripttwitter, :scriptgithub, :scriptlicence, :scriptinitialrelease, :scriptplatform, :scriptstatus
6
+ }
7
+
8
+ child(:authors) {
9
+ attributes :authorfirstname, :authorlastname, :authorwebsite, :authorgithub, :authortwitter
10
+ }
11
+
12
+ child(:urls) {
13
+ attributes :scripturl, :scripturlext
14
+ }
15
+
16
+ child(:versions) {
17
+ attributes :version
18
+ }
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "1.11.4"
2
+ VERSION = "1.11.5"
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: 1.11.4
4
+ version: 1.11.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts