phcscriptcdn 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/phcscriptcdn/application.js +0 -12
- data/app/assets/stylesheets/phcscriptcdn/application.scss +1 -17
- data/app/helpers/phcscriptcdn/application_helper.rb +1 -0
- data/app/jobs/phcscriptcdn/application_job.rb +1 -0
- data/app/models/phcscriptcdn/application_record.rb +2 -0
- data/app/models/phcscriptcdn/script.rb +2 -0
- data/app/models/phcscriptcdn/script/licence.rb +1 -0
- data/app/views/layouts/phcscriptcdn/application.html.erb +2 -1
- data/app/views/layouts/phcscriptcdn/frontend.html.erb +2 -1
- data/app/views/phcscriptcdn/script/authors/_form.html.erb +1 -0
- data/lib/phcscriptcdn/engine.rb +25 -11
- data/lib/phcscriptcdn/version.rb +2 -2
- metadata +100 -8
- data/app/assets/javascripts/phcscriptcdn/script/licences.js +0 -2
- data/app/helpers/phcscriptcdn/script/licences_helper.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b767f9e10a5f749f8f5ba9cd8efaa153f8622e8
|
4
|
+
data.tar.gz: 87319cd79e2f0a75ade6f9b6816c030e7a03320f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 757addc67c281c816c4d7633442594eed2d8200fb72d41fb0c4d11baac93c29730bfbf327010d78905614ca924e2b00cbd85cd3bd1f70d954409f493d3d72cd7
|
7
|
+
data.tar.gz: c68d969bf95d37ef0baf79dcd3be163bb06c2573d3991d0d16ed757ca1d9561cab735d74a9db6176ef829870580607e3e382cf6db189c6fb185f6e3f64aae81d
|
@@ -1,15 +1,3 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
9
|
-
//
|
10
|
-
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
-
// about supported directives.
|
12
|
-
//
|
13
1
|
//= require jquery
|
14
2
|
//= require jquery_ujs
|
15
3
|
//= require bootstrap-sprockets
|
@@ -1,22 +1,6 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
-
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
-
* It is generally better to create a new file per style scope.
|
12
|
-
*
|
13
|
-
*= require_tree .
|
14
|
-
*= require_self
|
15
|
-
*/
|
16
|
-
|
17
1
|
// Bootstrap & Font Awesome
|
18
2
|
@import "bootstrap-sprockets";
|
19
3
|
@import "bootstrap";
|
20
4
|
@import "font-awesome";
|
21
5
|
|
22
|
-
@import "custom";
|
6
|
+
@import "custom";
|
@@ -1,8 +1,9 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
|
+
|
3
4
|
<head>
|
4
5
|
|
5
|
-
<title>PHCScriptCDN - Script Listing
|
6
|
+
<title>PHCScriptCDN - Script Listing Manager</title>
|
6
7
|
|
7
8
|
<%= stylesheet_link_tag "phcscriptcdn/application", media: "all" %>
|
8
9
|
<%= javascript_include_tag "phcscriptcdn/application" %>
|
@@ -1,8 +1,9 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
|
+
|
3
4
|
<head>
|
4
5
|
|
5
|
-
<title>PHCScriptCDN - Script Listing
|
6
|
+
<title>PHCScriptCDN - Script Listing Manager</title>
|
6
7
|
|
7
8
|
<%= stylesheet_link_tag "phcscriptcdn/application", media: "all" %>
|
8
9
|
<%= javascript_include_tag "phcscriptcdn/application" %>
|
data/lib/phcscriptcdn/engine.rb
CHANGED
@@ -1,17 +1,32 @@
|
|
1
1
|
module Phcscriptcdn
|
2
2
|
class Engine < ::Rails::Engine
|
3
|
-
|
4
|
-
# Load UI Dependecies
|
5
|
-
require 'jquery-rails'
|
6
|
-
require 'sass-rails'
|
7
|
-
require 'bootstrap-sass'
|
8
|
-
require 'font-awesome-rails'
|
9
3
|
|
10
|
-
#
|
4
|
+
# Main Dependencies
|
5
|
+
require 'rails'
|
6
|
+
require 'pg'
|
7
|
+
require 'paper_trail'
|
8
|
+
|
9
|
+
# PHCEngines & Theme Dependencies
|
11
10
|
require 'phcnotifi'
|
12
11
|
require 'phctitleseo'
|
12
|
+
require 'phcadmin3'
|
13
13
|
|
14
|
-
#
|
14
|
+
# UI & Frontend Dependencies
|
15
|
+
require 'jquery-rails'
|
16
|
+
require 'jquery-ui-rails'
|
17
|
+
require 'sass-rails'
|
18
|
+
require 'bootstrap-sass'
|
19
|
+
require 'font-awesome-rails'
|
20
|
+
require 'country_select'
|
21
|
+
require 'gravtastic'
|
22
|
+
|
23
|
+
# API Dependencies
|
24
|
+
require 'rabl'
|
25
|
+
require 'oj'
|
26
|
+
require 'multi_json'
|
27
|
+
require 'responders'
|
28
|
+
|
29
|
+
# Isolate Namespace
|
15
30
|
isolate_namespace Phcscriptcdn
|
16
31
|
|
17
32
|
# Testing Generator
|
@@ -25,10 +40,9 @@ module Phcscriptcdn
|
|
25
40
|
request_specs: false
|
26
41
|
g.fixture_replacement :factory_girl, dir: "spec/factories"
|
27
42
|
end
|
28
|
-
|
29
|
-
# Load Helper Files
|
43
|
+
|
44
|
+
# Load Requried Helper Files
|
30
45
|
config.to_prepare do
|
31
|
-
ApplicationController.helper(ApplicationHelper)
|
32
46
|
Phcnotifi::ApplicationController.helper(ApplicationHelper)
|
33
47
|
Phctitleseo::ApplicationController.helper(ApplicationHelper)
|
34
48
|
end
|
data/lib/phcscriptcdn/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Phcscriptcdn
|
2
|
-
VERSION = "3.1.
|
3
|
-
end
|
2
|
+
VERSION = "3.1.1"
|
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: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -70,14 +70,14 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: 0.6.
|
73
|
+
version: 0.6.1
|
74
74
|
type: :runtime
|
75
75
|
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: 0.6.
|
80
|
+
version: 0.6.1
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: phctitleseo
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,6 +85,9 @@ dependencies:
|
|
85
85
|
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '3.4'
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 3.4.1
|
88
91
|
type: :runtime
|
89
92
|
prerelease: false
|
90
93
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -92,6 +95,9 @@ dependencies:
|
|
92
95
|
- - "~>"
|
93
96
|
- !ruby/object:Gem::Version
|
94
97
|
version: '3.4'
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 3.4.1
|
95
101
|
- !ruby/object:Gem::Dependency
|
96
102
|
name: phcnotifi
|
97
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,6 +105,9 @@ dependencies:
|
|
99
105
|
- - "~>"
|
100
106
|
- !ruby/object:Gem::Version
|
101
107
|
version: '3.4'
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.4.1
|
102
111
|
type: :runtime
|
103
112
|
prerelease: false
|
104
113
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -106,6 +115,9 @@ dependencies:
|
|
106
115
|
- - "~>"
|
107
116
|
- !ruby/object:Gem::Version
|
108
117
|
version: '3.4'
|
118
|
+
- - ">="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: 3.4.1
|
109
121
|
- !ruby/object:Gem::Dependency
|
110
122
|
name: jquery-rails
|
111
123
|
requirement: !ruby/object:Gem::Requirement
|
@@ -133,6 +145,9 @@ dependencies:
|
|
133
145
|
- - "~>"
|
134
146
|
- !ruby/object:Gem::Version
|
135
147
|
version: '6.0'
|
148
|
+
- - ">="
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: 6.0.1
|
136
151
|
type: :runtime
|
137
152
|
prerelease: false
|
138
153
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -140,6 +155,9 @@ dependencies:
|
|
140
155
|
- - "~>"
|
141
156
|
- !ruby/object:Gem::Version
|
142
157
|
version: '6.0'
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: 6.0.1
|
143
161
|
- !ruby/object:Gem::Dependency
|
144
162
|
name: bootstrap-sass
|
145
163
|
requirement: !ruby/object:Gem::Requirement
|
@@ -276,6 +294,82 @@ dependencies:
|
|
276
294
|
- - ">="
|
277
295
|
- !ruby/object:Gem::Version
|
278
296
|
version: 1.12.1
|
297
|
+
- !ruby/object:Gem::Dependency
|
298
|
+
name: responders
|
299
|
+
requirement: !ruby/object:Gem::Requirement
|
300
|
+
requirements:
|
301
|
+
- - "~>"
|
302
|
+
- !ruby/object:Gem::Version
|
303
|
+
version: '2.3'
|
304
|
+
type: :runtime
|
305
|
+
prerelease: false
|
306
|
+
version_requirements: !ruby/object:Gem::Requirement
|
307
|
+
requirements:
|
308
|
+
- - "~>"
|
309
|
+
- !ruby/object:Gem::Version
|
310
|
+
version: '2.3'
|
311
|
+
- !ruby/object:Gem::Dependency
|
312
|
+
name: summernote-rails
|
313
|
+
requirement: !ruby/object:Gem::Requirement
|
314
|
+
requirements:
|
315
|
+
- - "~>"
|
316
|
+
- !ruby/object:Gem::Version
|
317
|
+
version: 0.8.2.0
|
318
|
+
type: :runtime
|
319
|
+
prerelease: false
|
320
|
+
version_requirements: !ruby/object:Gem::Requirement
|
321
|
+
requirements:
|
322
|
+
- - "~>"
|
323
|
+
- !ruby/object:Gem::Version
|
324
|
+
version: 0.8.2.0
|
325
|
+
- !ruby/object:Gem::Dependency
|
326
|
+
name: codemirror-rails
|
327
|
+
requirement: !ruby/object:Gem::Requirement
|
328
|
+
requirements:
|
329
|
+
- - "~>"
|
330
|
+
- !ruby/object:Gem::Version
|
331
|
+
version: '5.16'
|
332
|
+
type: :runtime
|
333
|
+
prerelease: false
|
334
|
+
version_requirements: !ruby/object:Gem::Requirement
|
335
|
+
requirements:
|
336
|
+
- - "~>"
|
337
|
+
- !ruby/object:Gem::Version
|
338
|
+
version: '5.16'
|
339
|
+
- !ruby/object:Gem::Dependency
|
340
|
+
name: carrierwave
|
341
|
+
requirement: !ruby/object:Gem::Requirement
|
342
|
+
requirements:
|
343
|
+
- - "~>"
|
344
|
+
- !ruby/object:Gem::Version
|
345
|
+
version: 0.11.2
|
346
|
+
type: :runtime
|
347
|
+
prerelease: false
|
348
|
+
version_requirements: !ruby/object:Gem::Requirement
|
349
|
+
requirements:
|
350
|
+
- - "~>"
|
351
|
+
- !ruby/object:Gem::Version
|
352
|
+
version: 0.11.2
|
353
|
+
- !ruby/object:Gem::Dependency
|
354
|
+
name: cloudinary
|
355
|
+
requirement: !ruby/object:Gem::Requirement
|
356
|
+
requirements:
|
357
|
+
- - "~>"
|
358
|
+
- !ruby/object:Gem::Version
|
359
|
+
version: '1.2'
|
360
|
+
- - ">="
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: 1.2.4
|
363
|
+
type: :runtime
|
364
|
+
prerelease: false
|
365
|
+
version_requirements: !ruby/object:Gem::Requirement
|
366
|
+
requirements:
|
367
|
+
- - "~>"
|
368
|
+
- !ruby/object:Gem::Version
|
369
|
+
version: '1.2'
|
370
|
+
- - ">="
|
371
|
+
- !ruby/object:Gem::Version
|
372
|
+
version: 1.2.4
|
279
373
|
- !ruby/object:Gem::Dependency
|
280
374
|
name: rspec-rails
|
281
375
|
requirement: !ruby/object:Gem::Requirement
|
@@ -319,7 +413,7 @@ dependencies:
|
|
319
413
|
version: '2.10'
|
320
414
|
- - ">="
|
321
415
|
- !ruby/object:Gem::Version
|
322
|
-
version: 2.10.
|
416
|
+
version: 2.10.2
|
323
417
|
type: :development
|
324
418
|
prerelease: false
|
325
419
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -329,7 +423,7 @@ dependencies:
|
|
329
423
|
version: '2.10'
|
330
424
|
- - ">="
|
331
425
|
- !ruby/object:Gem::Version
|
332
|
-
version: 2.10.
|
426
|
+
version: 2.10.2
|
333
427
|
- !ruby/object:Gem::Dependency
|
334
428
|
name: byebug
|
335
429
|
requirement: !ruby/object:Gem::Requirement
|
@@ -463,7 +557,6 @@ files:
|
|
463
557
|
- Rakefile
|
464
558
|
- app/assets/config/phcscriptcdn_manifest.js
|
465
559
|
- app/assets/javascripts/phcscriptcdn/application.js
|
466
|
-
- app/assets/javascripts/phcscriptcdn/script/licences.js
|
467
560
|
- app/assets/stylesheets/phcscriptcdn/_custom.scss
|
468
561
|
- app/assets/stylesheets/phcscriptcdn/application.scss
|
469
562
|
- app/controllers/phcscriptcdn/application_controller.rb
|
@@ -474,7 +567,6 @@ files:
|
|
474
567
|
- app/controllers/phcscriptcdn/script/urls_controller.rb
|
475
568
|
- app/controllers/phcscriptcdn/script/versions_controller.rb
|
476
569
|
- app/helpers/phcscriptcdn/application_helper.rb
|
477
|
-
- app/helpers/phcscriptcdn/script/licences_helper.rb
|
478
570
|
- app/jobs/phcscriptcdn/application_job.rb
|
479
571
|
- app/models/phcscriptcdn/application_record.rb
|
480
572
|
- app/models/phcscriptcdn/script.rb
|