phcscriptcdn 4.0.0 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +9 -9
- data/Rakefile +12 -11
- data/app/controllers/phcscriptcdn/application_controller.rb +10 -10
- data/app/controllers/phcscriptcdn/script/authors_controller.rb +62 -61
- data/app/controllers/phcscriptcdn/script/extensions_controller.rb +62 -60
- data/app/controllers/phcscriptcdn/script/licences_controller.rb +61 -61
- data/app/controllers/phcscriptcdn/script/listings_controller.rb +61 -61
- data/app/controllers/phcscriptcdn/script/urls_controller.rb +70 -70
- data/app/controllers/phcscriptcdn/script/versions_controller.rb +61 -61
- data/config/routes.rb +28 -28
- data/db/migrate/20160731205205_create_phcscriptcdn_script_extensions.rb +13 -13
- data/db/migrate/20160731205917_create_phcscriptcdn_script_listings.rb +32 -31
- data/db/migrate/20160731205954_create_phcscriptcdn_script_versions.rb +14 -14
- data/db/migrate/20160731210626_create_phcscriptcdn_script_urls.rb +20 -20
- data/db/migrate/20160731210723_create_phcscriptcdn_script_authors.rb +19 -19
- data/db/migrate/20160801032225_create_phcscriptcdn_script_licences.rb +23 -23
- data/lib/phcscriptcdn/engine.rb +48 -47
- data/lib/phcscriptcdn/version.rb +1 -1
- metadata +20 -38
@@ -1,18 +1,18 @@
|
|
1
1
|
class CreatePhcscriptcdnScriptExtensions < ActiveRecord::Migration[5.0]
|
2
|
-
|
2
|
+
def change
|
3
3
|
|
4
|
-
|
4
|
+
create_table :phcscriptcdn_script_extensions do |t|
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
t.string :scriptextensionname
|
7
|
+
t.text :scriptextensiondes
|
8
|
+
t.string :scriptextension
|
9
|
+
|
10
|
+
t.string :user_id
|
11
|
+
t.string :user_name
|
12
|
+
|
13
|
+
t.timestamps
|
9
14
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
t.timestamps
|
14
|
-
|
15
|
-
end
|
16
|
-
|
17
|
-
end
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
18
18
|
end
|
@@ -1,33 +1,34 @@
|
|
1
1
|
class CreatePhcscriptcdnScriptListings < ActiveRecord::Migration[5.0]
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
2
|
+
def change
|
3
|
+
|
4
|
+
create_table :phcscriptcdn_script_listings do |t|
|
5
|
+
|
6
|
+
t.string :scripttitle
|
7
|
+
t.text :scriptdescription
|
8
|
+
t.string :descriptionsource
|
9
|
+
|
10
|
+
t.string :scriptwebsite
|
11
|
+
t.string :scripttwitter
|
12
|
+
t.string :scriptgithub
|
13
|
+
|
14
|
+
t.date :scriptinitialrelease
|
15
|
+
t.date :scriptlastestrelease
|
16
|
+
t.date :scriptbetarelease
|
17
|
+
t.date :scriptlastestreleasecdn
|
18
|
+
|
19
|
+
t.string :scriptstatus
|
20
|
+
|
21
|
+
t.string :user_id
|
22
|
+
t.string :user_name
|
23
|
+
|
24
|
+
t.references :version
|
25
|
+
t.references :licence
|
26
|
+
t.references :author
|
27
|
+
|
28
|
+
t.timestamps
|
29
|
+
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
33
|
end
|
34
|
+
|
@@ -1,16 +1,16 @@
|
|
1
1
|
class CreatePhcscriptcdnScriptVersions < ActiveRecord::Migration[5.0]
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
2
|
+
def change
|
3
|
+
|
4
|
+
create_table :phcscriptcdn_script_versions do |t|
|
5
|
+
|
6
|
+
t.string :scriptversion
|
7
|
+
|
8
|
+
t.string :user_id
|
9
|
+
t.string :user_name
|
10
|
+
|
11
|
+
t.timestamps
|
12
|
+
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
16
16
|
end
|
@@ -1,22 +1,22 @@
|
|
1
1
|
class CreatePhcscriptcdnScriptUrls < ActiveRecord::Migration[5.0]
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
2
|
+
def change
|
3
|
+
|
4
|
+
create_table :phcscriptcdn_script_urls do |t|
|
5
|
+
|
6
|
+
t.string :scripturl
|
7
|
+
t.date :scripturlrelease
|
8
|
+
t.date :scripturlcdnupdate
|
9
|
+
|
10
|
+
t.references :listing
|
11
|
+
t.references :version
|
12
|
+
t.references :extension
|
13
|
+
|
14
|
+
t.string :user_id
|
15
|
+
t.string :user_name
|
16
|
+
|
17
|
+
t.timestamps
|
18
|
+
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
22
|
end
|
@@ -1,21 +1,21 @@
|
|
1
1
|
class CreatePhcscriptcdnScriptAuthors < ActiveRecord::Migration[5.0]
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
2
|
+
def change
|
3
|
+
|
4
|
+
create_table :phcscriptcdn_script_authors do |t|
|
5
|
+
|
6
|
+
t.string :authorfirstname
|
7
|
+
t.string :authorlastname
|
8
|
+
|
9
|
+
t.string :authorwebsite
|
10
|
+
t.string :authorgithub
|
11
|
+
t.string :authortwitter
|
12
|
+
|
13
|
+
t.string :user_id
|
14
|
+
t.string :user_name
|
15
|
+
|
16
|
+
t.timestamps
|
17
|
+
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
21
|
end
|
@@ -1,25 +1,25 @@
|
|
1
1
|
class CreatePhcscriptcdnScriptLicences < ActiveRecord::Migration[5.0]
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
2
|
+
def change
|
3
|
+
|
4
|
+
create_table :phcscriptcdn_script_licences do |t|
|
5
|
+
|
6
|
+
t.string :lcncname
|
7
|
+
t.string :lcncdescript
|
8
|
+
t.text :lcncdescription
|
9
|
+
|
10
|
+
t.string :lcnccomgpl
|
11
|
+
t.string :lcncarvlfsf
|
12
|
+
t.string :lcncarvlosi
|
13
|
+
t.string :lcncarvlcopyfree
|
14
|
+
t.string :lcncarvldebian
|
15
|
+
t.string :lcncarvlfedora
|
16
|
+
|
17
|
+
t.string :user_id
|
18
|
+
t.string :user_name
|
19
|
+
|
20
|
+
t.timestamps
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
25
|
end
|
data/lib/phcscriptcdn/engine.rb
CHANGED
@@ -1,51 +1,52 @@
|
|
1
1
|
module Phcscriptcdn
|
2
|
-
|
2
|
+
class Engine < ::Rails::Engine
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
# Main Dependencies
|
5
|
+
require 'rails'
|
6
|
+
require 'pg'
|
7
|
+
require 'paper_trail'
|
8
|
+
|
9
|
+
# PHCEngines & Theme Dependencies
|
10
|
+
require 'phcnotifi'
|
11
|
+
require 'phctitleseo'
|
12
|
+
require 'phcadmin3'
|
13
|
+
|
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
|
30
|
+
isolate_namespace Phcscriptcdn
|
31
|
+
|
32
|
+
# Testing Generator
|
33
|
+
config.generators do |g|
|
34
|
+
g.test_framework :rspec,
|
35
|
+
fixtures: true,
|
36
|
+
view_specs: false,
|
37
|
+
helper_specs: false,
|
38
|
+
routing_specs: false,
|
39
|
+
controller_specs: true,
|
40
|
+
request_specs: false
|
41
|
+
g.fixture_replacement :factory_girl, dir: "spec/factories"
|
42
|
+
end
|
43
|
+
|
44
|
+
# Load Requried Helper Files
|
45
|
+
config.to_prepare do
|
46
|
+
Phcnotifi::ApplicationController.helper(ApplicationHelper)
|
47
|
+
Phctitleseo::ApplicationController.helper(ApplicationHelper)
|
48
|
+
end
|
8
49
|
|
9
|
-
|
10
|
-
|
11
|
-
require 'phctitleseo'
|
12
|
-
require 'phcadmin3'
|
50
|
+
end
|
51
|
+
end
|
13
52
|
|
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
|
30
|
-
isolate_namespace Phcscriptcdn
|
31
|
-
|
32
|
-
# Testing Generator
|
33
|
-
config.generators do |g|
|
34
|
-
g.test_framework :rspec,
|
35
|
-
fixtures: true,
|
36
|
-
view_specs: false,
|
37
|
-
helper_specs: false,
|
38
|
-
routing_specs: false,
|
39
|
-
controller_specs: true,
|
40
|
-
request_specs: false
|
41
|
-
g.fixture_replacement :factory_girl, dir: "spec/factories"
|
42
|
-
end
|
43
|
-
|
44
|
-
# Load Requried Helper Files
|
45
|
-
config.to_prepare do
|
46
|
-
Phcnotifi::ApplicationController.helper(ApplicationHelper)
|
47
|
-
Phctitleseo::ApplicationController.helper(ApplicationHelper)
|
48
|
-
end
|
49
|
-
|
50
|
-
end
|
51
|
-
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.
|
4
|
+
version: 4.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: 2017-02-
|
11
|
+
date: 2017-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -70,60 +70,42 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '1.
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 1.3.2
|
73
|
+
version: '1.4'
|
77
74
|
type: :runtime
|
78
75
|
prerelease: false
|
79
76
|
version_requirements: !ruby/object:Gem::Requirement
|
80
77
|
requirements:
|
81
78
|
- - "~>"
|
82
79
|
- !ruby/object:Gem::Version
|
83
|
-
version: '1.
|
84
|
-
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: 1.3.2
|
80
|
+
version: '1.4'
|
87
81
|
- !ruby/object:Gem::Dependency
|
88
82
|
name: phctitleseo
|
89
83
|
requirement: !ruby/object:Gem::Requirement
|
90
84
|
requirements:
|
91
85
|
- - "~>"
|
92
86
|
- !ruby/object:Gem::Version
|
93
|
-
version: '
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 3.6.2
|
87
|
+
version: '4.1'
|
97
88
|
type: :runtime
|
98
89
|
prerelease: false
|
99
90
|
version_requirements: !ruby/object:Gem::Requirement
|
100
91
|
requirements:
|
101
92
|
- - "~>"
|
102
93
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
104
|
-
- - ">="
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: 3.6.2
|
94
|
+
version: '4.1'
|
107
95
|
- !ruby/object:Gem::Dependency
|
108
96
|
name: phcnotifi
|
109
97
|
requirement: !ruby/object:Gem::Requirement
|
110
98
|
requirements:
|
111
99
|
- - "~>"
|
112
100
|
- !ruby/object:Gem::Version
|
113
|
-
version: '3.
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: 3.6.2
|
101
|
+
version: '3.7'
|
117
102
|
type: :runtime
|
118
103
|
prerelease: false
|
119
104
|
version_requirements: !ruby/object:Gem::Requirement
|
120
105
|
requirements:
|
121
106
|
- - "~>"
|
122
107
|
- !ruby/object:Gem::Version
|
123
|
-
version: '3.
|
124
|
-
- - ">="
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
version: 3.6.2
|
108
|
+
version: '3.7'
|
127
109
|
- !ruby/object:Gem::Dependency
|
128
110
|
name: jquery-rails
|
129
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -422,14 +404,20 @@ dependencies:
|
|
422
404
|
requirements:
|
423
405
|
- - "~>"
|
424
406
|
- !ruby/object:Gem::Version
|
425
|
-
version: '2.
|
407
|
+
version: '2.12'
|
408
|
+
- - ">="
|
409
|
+
- !ruby/object:Gem::Version
|
410
|
+
version: 2.12.1
|
426
411
|
type: :development
|
427
412
|
prerelease: false
|
428
413
|
version_requirements: !ruby/object:Gem::Requirement
|
429
414
|
requirements:
|
430
415
|
- - "~>"
|
431
416
|
- !ruby/object:Gem::Version
|
432
|
-
version: '2.
|
417
|
+
version: '2.12'
|
418
|
+
- - ">="
|
419
|
+
- !ruby/object:Gem::Version
|
420
|
+
version: 2.12.1
|
433
421
|
- !ruby/object:Gem::Dependency
|
434
422
|
name: byebug
|
435
423
|
requirement: !ruby/object:Gem::Requirement
|
@@ -536,21 +524,15 @@ dependencies:
|
|
536
524
|
requirements:
|
537
525
|
- - "~>"
|
538
526
|
- !ruby/object:Gem::Version
|
539
|
-
version: '3.
|
540
|
-
- - ">="
|
541
|
-
- !ruby/object:Gem::Version
|
542
|
-
version: 3.0.7
|
527
|
+
version: '3.1'
|
543
528
|
type: :development
|
544
529
|
prerelease: false
|
545
530
|
version_requirements: !ruby/object:Gem::Requirement
|
546
531
|
requirements:
|
547
532
|
- - "~>"
|
548
533
|
- !ruby/object:Gem::Version
|
549
|
-
version: '3.
|
550
|
-
|
551
|
-
- !ruby/object:Gem::Version
|
552
|
-
version: 3.0.7
|
553
|
-
description: PHCScriptCDN(3) rails script management engine for website script CDN
|
534
|
+
version: '3.1'
|
535
|
+
description: PHCScriptCDN(4) rails script management engine for website script CDN
|
554
536
|
listings.
|
555
537
|
email:
|
556
538
|
- info@phcnetworks.net
|
@@ -644,7 +626,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
644
626
|
version: '0'
|
645
627
|
requirements: []
|
646
628
|
rubyforge_project:
|
647
|
-
rubygems_version: 2.
|
629
|
+
rubygems_version: 2.6.8
|
648
630
|
signing_key:
|
649
631
|
specification_version: 4
|
650
632
|
summary: PHCScriptCDN - Rails Script CDN Engine
|