phcscriptcdn 3.3.3 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/phcscriptcdn/script/authors_controller.rb +14 -23
- data/app/controllers/phcscriptcdn/script/extensions_controller.rb +1 -1
- data/app/controllers/phcscriptcdn/script/licences_controller.rb +2 -2
- data/app/controllers/phcscriptcdn/script/listings_controller.rb +5 -5
- data/app/controllers/phcscriptcdn/script/urls_controller.rb +1 -1
- data/app/controllers/phcscriptcdn/script/versions_controller.rb +4 -4
- data/app/models/phcscriptcdn/script/author.rb +2 -2
- data/app/models/phcscriptcdn/script/extension.rb +4 -1
- data/app/models/phcscriptcdn/script/licence.rb +5 -0
- data/app/models/phcscriptcdn/script/listing.rb +7 -5
- data/app/models/phcscriptcdn/script/url.rb +3 -3
- data/app/models/phcscriptcdn/script/version.rb +5 -5
- data/app/views/phcscriptcdn/script/authors/_form.html.erb +3 -5
- data/app/views/phcscriptcdn/script/authors/edit.html.erb +10 -5
- data/app/views/phcscriptcdn/script/authors/index.html.erb +19 -14
- data/app/views/phcscriptcdn/script/authors/new.html.erb +10 -5
- data/app/views/phcscriptcdn/script/authors/show.html.erb +27 -0
- data/app/views/phcscriptcdn/script/extensions/_form.html.erb +2 -2
- data/app/views/phcscriptcdn/script/extensions/edit.html.erb +9 -4
- data/app/views/phcscriptcdn/script/extensions/index.html.erb +8 -3
- data/app/views/phcscriptcdn/script/extensions/new.html.erb +8 -3
- data/app/views/phcscriptcdn/script/extensions/show.html.erb +28 -0
- data/app/views/phcscriptcdn/script/licences/_form.html.erb +12 -13
- data/app/views/phcscriptcdn/script/licences/edit.html.erb +9 -4
- data/app/views/phcscriptcdn/script/licences/index.html.erb +7 -4
- data/app/views/phcscriptcdn/script/licences/new.html.erb +9 -4
- data/app/views/phcscriptcdn/script/licences/show.html.erb +27 -0
- data/app/views/phcscriptcdn/script/listings/_form.html.erb +23 -20
- data/app/views/phcscriptcdn/script/listings/edit.html.erb +9 -3
- data/app/views/phcscriptcdn/script/listings/index.html.erb +9 -7
- data/app/views/phcscriptcdn/script/listings/new.html.erb +8 -2
- data/app/views/phcscriptcdn/script/listings/show.html.erb +15 -5
- data/app/views/phcscriptcdn/script/urls/_form.html.erb +4 -6
- data/app/views/phcscriptcdn/script/urls/edit.html.erb +9 -3
- data/app/views/phcscriptcdn/script/urls/index.html.erb +7 -3
- data/app/views/phcscriptcdn/script/urls/new.html.erb +10 -4
- data/app/views/phcscriptcdn/script/urls/show.html.erb +39 -3
- data/app/views/phcscriptcdn/script/versions/_form.html.erb +2 -0
- data/app/views/phcscriptcdn/script/versions/edit.html.erb +8 -3
- data/app/views/phcscriptcdn/script/versions/index.html.erb +7 -3
- data/app/views/phcscriptcdn/script/versions/new.html.erb +9 -4
- data/app/views/phcscriptcdn/script/versions/show.html.erb +38 -3
- data/db/migrate/20160731205205_create_phcscriptcdn_script_extensions.rb +3 -0
- data/db/migrate/20160731205917_create_phcscriptcdn_script_listings.rb +6 -1
- data/db/migrate/20160731205954_create_phcscriptcdn_script_versions.rb +3 -0
- data/db/migrate/20160731210626_create_phcscriptcdn_script_urls.rb +3 -1
- data/db/migrate/20160731210723_create_phcscriptcdn_script_authors.rb +3 -2
- data/db/migrate/20160801032225_create_phcscriptcdn_script_licences.rb +4 -0
- data/lib/phcscriptcdn/version.rb +1 -1
- metadata +2 -2
@@ -1,6 +1,7 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
3
|
-
<% phc_title_tagline "
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
|
+
<% phc_title_tagline "Create a New Version" %>
|
4
|
+
<!-- Title System -->
|
4
5
|
|
5
6
|
<!-- Page Header -->
|
6
7
|
<div class="row">
|
@@ -8,25 +9,29 @@
|
|
8
9
|
|
9
10
|
<!-- Bread Crumbs -->
|
10
11
|
<ol class="breadcrumb">
|
11
|
-
<li><%= link_to "Script
|
12
|
-
<li><%= link_to "Versions Index", script_versions_path %></li>
|
12
|
+
<li><%= link_to "Script Version Index", phcscriptcdn.script_versions_path %></li>
|
13
13
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
14
|
</ol>
|
15
|
+
<!-- Bread Crumbs -->
|
15
16
|
|
16
17
|
<!-- Page Title -->
|
17
18
|
<h3 class="page-title">
|
18
19
|
<%= yield(:phc_title) %> </br>
|
19
20
|
<small><%= yield(:phc_title_tagline) %></small>
|
20
21
|
</h3>
|
22
|
+
<!-- Page Title -->
|
21
23
|
|
22
24
|
</div>
|
23
25
|
</div>
|
26
|
+
<!-- Page Header -->
|
24
27
|
|
25
28
|
<!-- Main Content -->
|
26
29
|
<div class="row">
|
27
30
|
<div class="col-lg-12">
|
28
31
|
|
32
|
+
<!-- Form Requries URL to Function Properly -->
|
29
33
|
<%= render 'form', script_version: @script_version %>
|
30
34
|
|
31
35
|
</div>
|
32
36
|
</div>
|
37
|
+
<!-- Main Content -->
|
@@ -1,4 +1,39 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
<!-- Title System -->
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
|
+
<% phc_title_tagline "Script Version Details" %>
|
4
|
+
<!-- Title System -->
|
5
|
+
|
6
|
+
<!-- Page Header -->
|
7
|
+
<div class="row">
|
8
|
+
<div class="col-lg-12">
|
9
|
+
|
10
|
+
<!-- Bread Crumbs -->
|
11
|
+
<ol class="breadcrumb">
|
12
|
+
<li><%= link_to "Script Version Index", phcscriptcdn.script_versions_path %></li>
|
13
|
+
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Bread Crumbs -->
|
16
|
+
|
17
|
+
<!-- Page Title -->
|
18
|
+
<h3 class="page-title">
|
19
|
+
<%= yield(:phc_title) %> </br>
|
20
|
+
<small><%= yield(:phc_title_tagline) %></small>
|
21
|
+
</h3>
|
22
|
+
<!-- Page Title -->
|
23
|
+
|
24
|
+
</div>
|
4
25
|
</div>
|
26
|
+
<!-- Page Header -->
|
27
|
+
|
28
|
+
<!-- Main Content -->
|
29
|
+
<div class="row">
|
30
|
+
<div class="col-lg-12">
|
31
|
+
|
32
|
+
<div class="btn-group" role="group" aria-label="version_button_group">
|
33
|
+
<%= link_to 'Edit', edit_script_version_path(@script_version), class: "btn btn-primary" %>
|
34
|
+
<%= link_to 'Destroy', script_version_path(@script_version), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
<!-- Main Content -->
|
@@ -5,12 +5,12 @@ class CreatePhcscriptcdnScriptListings < ActiveRecord::Migration[5.0]
|
|
5
5
|
|
6
6
|
t.string :scripttitle
|
7
7
|
t.text :scriptdescription
|
8
|
+
t.string :descriptionsource
|
8
9
|
|
9
10
|
t.string :scriptwebsite
|
10
11
|
t.string :scripttwitter
|
11
12
|
t.string :scriptgithub
|
12
13
|
|
13
|
-
|
14
14
|
t.date :scriptinitialrelease
|
15
15
|
t.date :scriptlastestrelease
|
16
16
|
t.date :scriptbetarelease
|
@@ -18,7 +18,12 @@ class CreatePhcscriptcdnScriptListings < ActiveRecord::Migration[5.0]
|
|
18
18
|
|
19
19
|
t.string :scriptstatus
|
20
20
|
|
21
|
+
t.string :user_id
|
22
|
+
t.string :user_name
|
23
|
+
|
21
24
|
t.references :version
|
25
|
+
t.references :licence
|
26
|
+
t.references :author
|
22
27
|
|
23
28
|
t.timestamps
|
24
29
|
|
@@ -5,12 +5,13 @@ class CreatePhcscriptcdnScriptAuthors < ActiveRecord::Migration[5.0]
|
|
5
5
|
|
6
6
|
t.string :authorfirstname
|
7
7
|
t.string :authorlastname
|
8
|
-
|
8
|
+
|
9
9
|
t.string :authorwebsite
|
10
10
|
t.string :authorgithub
|
11
11
|
t.string :authortwitter
|
12
12
|
|
13
|
-
t.
|
13
|
+
t.string :user_id
|
14
|
+
t.string :user_name
|
14
15
|
|
15
16
|
t.timestamps
|
16
17
|
|
@@ -5,6 +5,7 @@ class CreatePhcscriptcdnScriptLicences < ActiveRecord::Migration[5.0]
|
|
5
5
|
|
6
6
|
t.string :lcncname
|
7
7
|
t.string :lcncdescript
|
8
|
+
t.text :lcncdescription
|
8
9
|
|
9
10
|
t.string :lcnccomgpl
|
10
11
|
t.string :lcncarvlfsf
|
@@ -13,6 +14,9 @@ class CreatePhcscriptcdnScriptLicences < ActiveRecord::Migration[5.0]
|
|
13
14
|
t.string :lcncarvldebian
|
14
15
|
t.string :lcncarvlfedora
|
15
16
|
|
17
|
+
t.string :user_id
|
18
|
+
t.string :user_name
|
19
|
+
|
16
20
|
t.timestamps
|
17
21
|
|
18
22
|
end
|
data/lib/phcscriptcdn/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcscriptcdn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.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-02-
|
11
|
+
date: 2017-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|