phcscriptcdn 1.0.3 → 1.1.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: 66f16724f699c8a41ee50aa283469bfa42335b77
4
- data.tar.gz: fe187f625dcc4f0fb6840383c9e46e5c16a112b4
3
+ metadata.gz: fead76c320acd1e508ebace6b02c3d71516a42b5
4
+ data.tar.gz: 70ffd4f5e6ef9b70479e5014b504a5f50ffec9d0
5
5
  SHA512:
6
- metadata.gz: 9f51baad8331efa02c391cb16ce99812d3019ddf28c9150be3907dd080caf39929e0621c3579178e63b255f2323948db079e84fa15d70506aac7bba4a9d2c491
7
- data.tar.gz: bf9e19865dbb065b1a62f35a202653725b5f2a622bb97cdb96a3de28523e92bc39f02034bac3b2e2e8a209a4c164536ac23861b245381a55a2fe628c5fddc190
6
+ metadata.gz: c36baa36f1e13ae93b14c216a6082db7eedba1b4f424d4a8c86e703f96fdfca5b7c10d920faf847f05fb545fa07afa5c4287fdd524e0f2fbd375ae638f14c50a
7
+ data.tar.gz: 45c202420e52446bea90a28d425cfad2074f6e453a1f8e528c5d11fa25110cfc910b5eff5b66d14d5560c9ca58e5d3e92b8fc50b60e440da85216bdbf443a57d
data/README.md CHANGED
@@ -4,22 +4,22 @@
4
4
  [![Gem Version](https://badge.fury.io/rb/phcscriptcdn.svg)](https://badge.fury.io/rb/phcscriptcdn)
5
5
 
6
6
  ### PHCScript CDN (Script Listing Engine) Documentation
7
- PHCScript CDN is listing software to manage script CDN website directories.
7
+ PHCScriptCDN(1) script listing software to manage your online script CDN.
8
8
 
9
- - Script listing description and title.
10
- - Script version and url packs to generate listings.
9
+ - Main script title and description.
10
+ - Script versions and script urls.
11
11
 
12
- #### Step 1 - Add PHC-Script CDN to your gemfile
12
+ #### Step 1 - Add PHCScriptCDN Engine to your gemfile
13
13
 
14
14
  gem 'phcscriptcdn', '~> 1.0', '>= 1.0.2'
15
- bundle exec install
15
+ bundle install
16
16
 
17
- #### Step 2 - Add database migration files
17
+ #### Step 2 - Add Database Migration Files
18
18
 
19
- rake railties:install:migrations
20
- rake db:migrate
19
+ rake phcscriptcdn:install:migrations
20
+ rake db:migrate
21
21
 
22
- #### Step 3 - Mount PHC-Script CDN in your Routes File
22
+ #### Step 3 - Mount PHCScriptCDN in your Routes File
23
23
  Mount the Engine in your Routes File (App must have Root route)
24
24
 
25
25
  mount Phcscriptcdn::Engine, :at => '/'
@@ -30,7 +30,7 @@ Generate views for customization and app integration.
30
30
  rails generate phcscriptcdn:views
31
31
 
32
32
  #### Step 5 - Recompile Assets
33
- PHCPress UI requires bootstrap and fontawesome to operate.
33
+ PHCScriptCDN UI requires bootstrap and fontawesome to operate.
34
34
 
35
35
  rake assets:clobber
36
36
  rake assets:precompile
@@ -3,10 +3,10 @@ require_dependency "phcscriptcdn/application_controller"
3
3
  module Phcscriptcdn
4
4
  class Scriptcdn::ScriptsController < ApplicationController
5
5
 
6
- # Filters and Security
6
+ # Filters & Security
7
7
  before_action :set_scriptcdn_scriptversion, only: [:show, :edit, :update, :destroy]
8
8
 
9
- # ScriptCDN Index
9
+ # Script CDN Index
10
10
  def index
11
11
  @scriptcdn_scripts = Scriptcdn::Script.all
12
12
  end
@@ -24,7 +24,7 @@ module Phcscriptcdn
24
24
  def edit
25
25
  end
26
26
 
27
- # POST Script
27
+ # Create Script
28
28
  def create
29
29
  @scriptcdn_script = Scriptcdn::Script.new(scriptcdn_script_params)
30
30
 
@@ -2,6 +2,7 @@ require_dependency "phcscriptcdn/application_controller"
2
2
 
3
3
  module Phcscriptcdn
4
4
  class Scriptcdn::ScripturlsController < ApplicationController
5
+
5
6
  # Filters and Security
6
7
  before_action :set_scriptcdn_scripturl, only: [:show, :edit, :update, :destroy]
7
8
 
@@ -73,7 +74,7 @@ module Phcscriptcdn
73
74
  end
74
75
 
75
76
  private
76
-
77
+
77
78
  # Callback
78
79
  def set_scriptcdn_scripturl
79
80
  @scriptcdn_scripturl = Scriptcdn::Scripturl.find(params[:id])
@@ -3,7 +3,7 @@ require_dependency "phcscriptcdn/application_controller"
3
3
  module Phcscriptcdn
4
4
  class Scriptcdn::ScriptversionsController < ApplicationController
5
5
 
6
- # Filters and Security
6
+ # Security & Action Filters
7
7
  before_action :set_scriptcdn_scriptversion, only: [:edit, :update, :destroy]
8
8
 
9
9
  # Script Version Index
@@ -0,0 +1,8 @@
1
+ <%= render 'phcnotifi/notifications' %>
2
+
3
+ <% @scriptcdn_scripts.each do |scriptcdn_script| %>
4
+ <div>
5
+ <div><%= scriptcdn_script.scrptname %></div>
6
+ <div><%= scriptcdn_script.scrptdescription %></div>
7
+ </div>
8
+ <% end %>
@@ -0,0 +1,16 @@
1
+ <%= render 'phcnotifi/notifications' %>
2
+
3
+ <p>
4
+ <strong>Script Name:</strong>
5
+ <%= @scriptcdn_script.scrptname %>
6
+ </p>
7
+
8
+ <p>
9
+ <strong>Script Description:</strong>
10
+ <%= @scriptcdn_script.scrptdescription %>
11
+ </p>
12
+
13
+ <p>
14
+ <strong>Script Version:</strong>
15
+ <%= @scriptcdn_script.scriptversion_id %>
16
+ </p>
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdn
2
- VERSION = "1.0.3"
2
+ VERSION = "1.1.0"
3
3
  end
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: 1.0.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-26 00:00:00.000000000 Z
11
+ date: 2016-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -99,85 +99,85 @@ dependencies:
99
99
  - !ruby/object:Gem::Version
100
100
  version: 4.1.1
101
101
  - !ruby/object:Gem::Dependency
102
- name: bootstrap-sass
102
+ name: jquery-ui-rails
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - "~>"
106
106
  - !ruby/object:Gem::Version
107
- version: '3.3'
107
+ version: '5.0'
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 3.3.6
110
+ version: 5.0.5
111
111
  type: :runtime
112
112
  prerelease: false
113
113
  version_requirements: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '3.3'
117
+ version: '5.0'
118
118
  - - ">="
119
119
  - !ruby/object:Gem::Version
120
- version: 3.3.6
120
+ version: 5.0.5
121
121
  - !ruby/object:Gem::Dependency
122
- name: font-awesome-rails
122
+ name: bootstrap-sass
123
123
  requirement: !ruby/object:Gem::Requirement
124
124
  requirements:
125
125
  - - "~>"
126
126
  - !ruby/object:Gem::Version
127
- version: '4.6'
127
+ version: '3.3'
128
128
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
- version: 4.6.1.0
130
+ version: 3.3.6
131
131
  type: :runtime
132
132
  prerelease: false
133
133
  version_requirements: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: '4.6'
137
+ version: '3.3'
138
138
  - - ">="
139
139
  - !ruby/object:Gem::Version
140
- version: 4.6.1.0
140
+ version: 3.3.6
141
141
  - !ruby/object:Gem::Dependency
142
- name: sass-rails
142
+ name: font-awesome-rails
143
143
  requirement: !ruby/object:Gem::Requirement
144
144
  requirements:
145
145
  - - "~>"
146
146
  - !ruby/object:Gem::Version
147
- version: '5.0'
147
+ version: '4.6'
148
148
  - - ">="
149
149
  - !ruby/object:Gem::Version
150
- version: 5.0.4
150
+ version: 4.6.1.0
151
151
  type: :runtime
152
152
  prerelease: false
153
153
  version_requirements: !ruby/object:Gem::Requirement
154
154
  requirements:
155
155
  - - "~>"
156
156
  - !ruby/object:Gem::Version
157
- version: '5.0'
157
+ version: '4.6'
158
158
  - - ">="
159
159
  - !ruby/object:Gem::Version
160
- version: 5.0.4
160
+ version: 4.6.1.0
161
161
  - !ruby/object:Gem::Dependency
162
- name: gravtastic
162
+ name: sass-rails
163
163
  requirement: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - "~>"
166
166
  - !ruby/object:Gem::Version
167
- version: '3.2'
167
+ version: '5.0'
168
168
  - - ">="
169
169
  - !ruby/object:Gem::Version
170
- version: 3.2.6
170
+ version: 5.0.4
171
171
  type: :runtime
172
172
  prerelease: false
173
173
  version_requirements: !ruby/object:Gem::Requirement
174
174
  requirements:
175
175
  - - "~>"
176
176
  - !ruby/object:Gem::Version
177
- version: '3.2'
177
+ version: '5.0'
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
- version: 3.2.6
180
+ version: 5.0.4
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: oj
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -362,10 +362,10 @@ dependencies:
362
362
  - - "~>"
363
363
  - !ruby/object:Gem::Version
364
364
  version: '2.53'
365
- description: PHCScriptCDN is script listing software to manage PHCNetworks script
366
- CDN listings.
365
+ description: PHCScriptCDN(1) script listing software to manage your online script
366
+ CDN.
367
367
  email:
368
- - bradley.j.potts@gmail.com
368
+ - developers@phcnetworks.net
369
369
  executables: []
370
370
  extensions: []
371
371
  extra_rdoc_files: []
@@ -398,8 +398,10 @@ files:
398
398
  - app/views/phcscriptcdn/scriptcdn/scripts/_form.html.erb
399
399
  - app/views/phcscriptcdn/scriptcdn/scripts/edit.html.erb
400
400
  - app/views/phcscriptcdn/scriptcdn/scripts/index.html.erb
401
+ - app/views/phcscriptcdn/scriptcdn/scripts/index_scriptlist.html.erb
401
402
  - app/views/phcscriptcdn/scriptcdn/scripts/new.html.erb
402
403
  - app/views/phcscriptcdn/scriptcdn/scripts/show.html.erb
404
+ - app/views/phcscriptcdn/scriptcdn/scripts/show_scriptlisting.html.erb
403
405
  - app/views/phcscriptcdn/scriptcdn/scripturls/_form.html.erb
404
406
  - app/views/phcscriptcdn/scriptcdn/scripturls/_formpatch.html.erb
405
407
  - app/views/phcscriptcdn/scriptcdn/scripturls/edit.html.erb
@@ -419,7 +421,7 @@ files:
419
421
  - lib/phcscriptcdn/engine.rb
420
422
  - lib/phcscriptcdn/version.rb
421
423
  - lib/tasks/phcscriptcdn_tasks.rake
422
- homepage: https://www.phcnetworks.net/script-cdn
424
+ homepage: https://www.phcnetworks.net/
423
425
  licenses:
424
426
  - GPL-3.0
425
427
  metadata: {}
@@ -442,5 +444,5 @@ rubyforge_project:
442
444
  rubygems_version: 2.5.1
443
445
  signing_key:
444
446
  specification_version: 4
445
- summary: ScriptCDN Listing Engine.
447
+ summary: ScriptCDN Listing Engine
446
448
  test_files: []