phcscriptcdn 2.0.4 → 3.0.0.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -3
- data/app/assets/javascripts/phcscriptcdn/script/licences.js +2 -0
- data/app/assets/stylesheets/phcscriptcdn/_custom.scss +9 -0
- data/app/assets/stylesheets/phcscriptcdn/application.scss +14 -15
- data/app/controllers/phcscriptcdn/script/authors_controller.rb +74 -0
- data/app/controllers/phcscriptcdn/script/extensions_controller.rb +65 -0
- data/app/controllers/phcscriptcdn/script/licences_controller.rb +65 -0
- data/app/controllers/phcscriptcdn/script/listings_controller.rb +65 -0
- data/app/controllers/phcscriptcdn/script/urls_controller.rb +75 -0
- data/app/controllers/phcscriptcdn/script/versions_controller.rb +65 -0
- data/app/helpers/phcscriptcdn/application_helper.rb +2 -2
- data/app/helpers/phcscriptcdn/script/licences_helper.rb +4 -0
- data/app/models/phcscriptcdn/script/author.rb +10 -0
- data/app/models/phcscriptcdn/script/extension.rb +4 -0
- data/app/models/phcscriptcdn/script/licence.rb +4 -0
- data/app/models/phcscriptcdn/script/listing.rb +13 -0
- data/app/models/phcscriptcdn/script/url.rb +10 -0
- data/app/models/phcscriptcdn/script/version.rb +5 -0
- data/app/models/phcscriptcdn/{scriptcdn.rb → script.rb} +2 -2
- data/app/views/layouts/phcscriptcdn/application.html.erb +3 -5
- data/app/views/phcscriptcdn/{scriptcdn → script}/authors/_form.html.erb +14 -12
- data/app/views/phcscriptcdn/script/authors/edit.html.erb +32 -0
- data/app/views/phcscriptcdn/script/authors/index.html.erb +55 -0
- data/app/views/phcscriptcdn/script/authors/new.html.erb +32 -0
- data/app/views/phcscriptcdn/script/authors/show.html.erb +4 -0
- data/app/views/phcscriptcdn/script/extensions/_form.html.erb +22 -0
- data/app/views/phcscriptcdn/script/extensions/edit.html.erb +32 -0
- data/app/views/phcscriptcdn/script/extensions/index.html.erb +49 -0
- data/app/views/phcscriptcdn/script/extensions/new.html.erb +32 -0
- data/app/views/phcscriptcdn/script/extensions/show.html.erb +4 -0
- data/app/views/phcscriptcdn/script/licences/_form.html.erb +42 -0
- data/app/views/phcscriptcdn/script/licences/edit.html.erb +32 -0
- data/app/views/phcscriptcdn/script/licences/index.html.erb +59 -0
- data/app/views/phcscriptcdn/script/licences/new.html.erb +32 -0
- data/app/views/phcscriptcdn/script/licences/show.html.erb +4 -0
- data/app/views/phcscriptcdn/{scriptcdn/informations → script/listings}/_form.html.erb +15 -10
- data/app/views/phcscriptcdn/script/listings/edit.html.erb +31 -0
- data/app/views/phcscriptcdn/script/listings/index.html.erb +54 -0
- data/app/views/phcscriptcdn/script/listings/new.html.erb +31 -0
- data/app/views/phcscriptcdn/script/listings/show.html.erb +27 -0
- data/app/views/phcscriptcdn/script/urls/_form.html.erb +12 -0
- data/app/views/phcscriptcdn/script/urls/edit.html.erb +32 -0
- data/app/views/phcscriptcdn/script/urls/index.html.erb +47 -0
- data/app/views/phcscriptcdn/script/urls/new.html.erb +32 -0
- data/app/views/phcscriptcdn/script/urls/show.html.erb +4 -0
- data/app/views/phcscriptcdn/script/versions/_form.html.erb +12 -0
- data/app/views/phcscriptcdn/script/versions/edit.html.erb +32 -0
- data/app/views/phcscriptcdn/script/versions/index.html.erb +47 -0
- data/app/views/phcscriptcdn/script/versions/new.html.erb +32 -0
- data/app/views/phcscriptcdn/script/versions/show.html.erb +4 -0
- data/config/routes.rb +13 -14
- data/db/migrate/20160731205205_create_phcscriptcdn_script_extensions.rb +15 -0
- data/db/migrate/20160731205917_create_phcscriptcdn_script_listings.rb +26 -0
- data/db/migrate/20160731205954_create_phcscriptcdn_script_versions.rb +13 -0
- data/db/migrate/20160731210626_create_phcscriptcdn_script_urls.rb +16 -0
- data/db/migrate/20160731210723_create_phcscriptcdn_script_authors.rb +20 -0
- data/db/migrate/20160801032225_create_phcscriptcdn_script_licences.rb +21 -0
- data/lib/phcscriptcdn/version.rb +1 -1
- metadata +172 -74
- data/app/controllers/phcscriptcdn/scriptcdn/authors_controller.rb +0 -69
- data/app/controllers/phcscriptcdn/scriptcdn/informations_controller.rb +0 -69
- data/app/controllers/phcscriptcdn/scriptcdn/mains_controller.rb +0 -62
- data/app/controllers/phcscriptcdn/scriptcdn/urls_controller.rb +0 -84
- data/app/controllers/phcscriptcdn/scriptcdn/versions_controller.rb +0 -69
- data/app/models/phcscriptcdn/scriptcdn/author.rb +0 -8
- data/app/models/phcscriptcdn/scriptcdn/information.rb +0 -8
- data/app/models/phcscriptcdn/scriptcdn/main.rb +0 -11
- data/app/models/phcscriptcdn/scriptcdn/url.rb +0 -8
- data/app/models/phcscriptcdn/scriptcdn/version.rb +0 -8
- data/app/views/phcscriptcdn/scriptcdn/authors/_formpatch.html.erb +0 -29
- data/app/views/phcscriptcdn/scriptcdn/authors/edit.html.erb +0 -3
- data/app/views/phcscriptcdn/scriptcdn/authors/index.html.erb +0 -23
- data/app/views/phcscriptcdn/scriptcdn/authors/new.html.erb +0 -3
- data/app/views/phcscriptcdn/scriptcdn/informations/_formpatch.html.erb +0 -49
- data/app/views/phcscriptcdn/scriptcdn/informations/edit.html.erb +0 -3
- data/app/views/phcscriptcdn/scriptcdn/informations/index.html.erb +0 -26
- data/app/views/phcscriptcdn/scriptcdn/informations/new.html.erb +0 -3
- data/app/views/phcscriptcdn/scriptcdn/informations/show.html.erb +0 -58
- data/app/views/phcscriptcdn/scriptcdn/mains/_form.html.erb +0 -13
- data/app/views/phcscriptcdn/scriptcdn/mains/edit.html.erb +0 -3
- data/app/views/phcscriptcdn/scriptcdn/mains/index.html.erb +0 -19
- data/app/views/phcscriptcdn/scriptcdn/mains/new.html.erb +0 -3
- data/app/views/phcscriptcdn/scriptcdn/urls/_form.html.erb +0 -17
- data/app/views/phcscriptcdn/scriptcdn/urls/_formpatch.html.erb +0 -17
- data/app/views/phcscriptcdn/scriptcdn/urls/edit.html.erb +0 -3
- data/app/views/phcscriptcdn/scriptcdn/urls/index.html.erb +0 -21
- data/app/views/phcscriptcdn/scriptcdn/urls/new.html.erb +0 -3
- data/app/views/phcscriptcdn/scriptcdn/versions/_form.html.erb +0 -13
- data/app/views/phcscriptcdn/scriptcdn/versions/_formpatch.html.erb +0 -13
- data/app/views/phcscriptcdn/scriptcdn/versions/edit.html.erb +0 -3
- data/app/views/phcscriptcdn/scriptcdn/versions/index.html.erb +0 -20
- data/app/views/phcscriptcdn/scriptcdn/versions/new.html.erb +0 -3
- data/db/migrate/20160704004828_create_phcscriptcdn_scriptcdn_authors.rb +0 -20
- data/db/migrate/20160704005455_create_phcscriptcdn_scriptcdn_information.rb +0 -27
- data/db/migrate/20160704011123_create_phcscriptcdn_scriptcdn_urls.rb +0 -19
- data/db/migrate/20160704011452_create_phcscriptcdn_scriptcdn_versions.rb +0 -15
- data/db/migrate/20160704011727_create_phcscriptcdn_scriptcdn_mains.rb +0 -11
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: 3.0.0.pre.beta
|
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-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '5.0'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 5.0.0
|
22
|
+
version: 5.0.0.1
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,81 +29,95 @@ dependencies:
|
|
29
29
|
version: '5.0'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 5.0.0
|
32
|
+
version: 5.0.0.1
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
34
|
+
name: paper_trail
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 3.0.5
|
39
|
+
version: '5.2'
|
43
40
|
type: :runtime
|
44
41
|
prerelease: false
|
45
42
|
version_requirements: !ruby/object:Gem::Requirement
|
46
43
|
requirements:
|
47
44
|
- - "~>"
|
48
45
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
50
|
-
|
46
|
+
version: '5.2'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: pg
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
51
52
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
53
|
+
version: 0.18.4
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.18.4
|
53
61
|
- !ruby/object:Gem::Dependency
|
54
|
-
name:
|
62
|
+
name: phctitleseo
|
55
63
|
requirement: !ruby/object:Gem::Requirement
|
56
64
|
requirements:
|
57
65
|
- - "~>"
|
58
66
|
- !ruby/object:Gem::Version
|
59
|
-
version: '3.
|
67
|
+
version: '3.3'
|
60
68
|
- - ">="
|
61
69
|
- !ruby/object:Gem::Version
|
62
|
-
version: 3.
|
70
|
+
version: 3.3.2
|
63
71
|
type: :runtime
|
64
72
|
prerelease: false
|
65
73
|
version_requirements: !ruby/object:Gem::Requirement
|
66
74
|
requirements:
|
67
75
|
- - "~>"
|
68
76
|
- !ruby/object:Gem::Version
|
69
|
-
version: '3.
|
77
|
+
version: '3.3'
|
70
78
|
- - ">="
|
71
79
|
- !ruby/object:Gem::Version
|
72
|
-
version: 3.
|
80
|
+
version: 3.3.2
|
73
81
|
- !ruby/object:Gem::Dependency
|
74
|
-
name:
|
82
|
+
name: phcnotifi
|
75
83
|
requirement: !ruby/object:Gem::Requirement
|
76
84
|
requirements:
|
77
85
|
- - "~>"
|
78
86
|
- !ruby/object:Gem::Version
|
79
|
-
version:
|
87
|
+
version: '3.3'
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 3.3.2
|
80
91
|
type: :runtime
|
81
92
|
prerelease: false
|
82
93
|
version_requirements: !ruby/object:Gem::Requirement
|
83
94
|
requirements:
|
84
95
|
- - "~>"
|
85
96
|
- !ruby/object:Gem::Version
|
86
|
-
version:
|
97
|
+
version: '3.3'
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 3.3.2
|
87
101
|
- !ruby/object:Gem::Dependency
|
88
102
|
name: jquery-rails
|
89
103
|
requirement: !ruby/object:Gem::Requirement
|
90
104
|
requirements:
|
91
105
|
- - "~>"
|
92
106
|
- !ruby/object:Gem::Version
|
93
|
-
version: '4.
|
107
|
+
version: '4.2'
|
94
108
|
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: 4.
|
110
|
+
version: 4.2.1
|
97
111
|
type: :runtime
|
98
112
|
prerelease: false
|
99
113
|
version_requirements: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: '4.
|
117
|
+
version: '4.2'
|
104
118
|
- - ">="
|
105
119
|
- !ruby/object:Gem::Version
|
106
|
-
version: 4.
|
120
|
+
version: 4.2.1
|
107
121
|
- !ruby/object:Gem::Dependency
|
108
122
|
name: jquery-ui-rails
|
109
123
|
requirement: !ruby/object:Gem::Requirement
|
@@ -133,7 +147,7 @@ dependencies:
|
|
133
147
|
version: '3.3'
|
134
148
|
- - ">="
|
135
149
|
- !ruby/object:Gem::Version
|
136
|
-
version: 3.3.
|
150
|
+
version: 3.3.7
|
137
151
|
type: :runtime
|
138
152
|
prerelease: false
|
139
153
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -143,7 +157,7 @@ dependencies:
|
|
143
157
|
version: '3.3'
|
144
158
|
- - ">="
|
145
159
|
- !ruby/object:Gem::Version
|
146
|
-
version: 3.3.
|
160
|
+
version: 3.3.7
|
147
161
|
- !ruby/object:Gem::Dependency
|
148
162
|
name: font-awesome-rails
|
149
163
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,7 +187,7 @@ dependencies:
|
|
173
187
|
version: '5.0'
|
174
188
|
- - ">="
|
175
189
|
- !ruby/object:Gem::Version
|
176
|
-
version: 5.0.
|
190
|
+
version: 5.0.6
|
177
191
|
type: :runtime
|
178
192
|
prerelease: false
|
179
193
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -183,7 +197,7 @@ dependencies:
|
|
183
197
|
version: '5.0'
|
184
198
|
- - ">="
|
185
199
|
- !ruby/object:Gem::Version
|
186
|
-
version: 5.0.
|
200
|
+
version: 5.0.6
|
187
201
|
- !ruby/object:Gem::Dependency
|
188
202
|
name: country_select
|
189
203
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,6 +218,80 @@ dependencies:
|
|
204
218
|
- - ">="
|
205
219
|
- !ruby/object:Gem::Version
|
206
220
|
version: 2.5.2
|
221
|
+
- !ruby/object:Gem::Dependency
|
222
|
+
name: gravtastic
|
223
|
+
requirement: !ruby/object:Gem::Requirement
|
224
|
+
requirements:
|
225
|
+
- - "~>"
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: '3.2'
|
228
|
+
- - ">="
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: 3.2.6
|
231
|
+
type: :runtime
|
232
|
+
prerelease: false
|
233
|
+
version_requirements: !ruby/object:Gem::Requirement
|
234
|
+
requirements:
|
235
|
+
- - "~>"
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '3.2'
|
238
|
+
- - ">="
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: 3.2.6
|
241
|
+
- !ruby/object:Gem::Dependency
|
242
|
+
name: oj
|
243
|
+
requirement: !ruby/object:Gem::Requirement
|
244
|
+
requirements:
|
245
|
+
- - "~>"
|
246
|
+
- !ruby/object:Gem::Version
|
247
|
+
version: '2.17'
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: 2.17.1
|
251
|
+
type: :runtime
|
252
|
+
prerelease: false
|
253
|
+
version_requirements: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - "~>"
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '2.17'
|
258
|
+
- - ">="
|
259
|
+
- !ruby/object:Gem::Version
|
260
|
+
version: 2.17.1
|
261
|
+
- !ruby/object:Gem::Dependency
|
262
|
+
name: rabl
|
263
|
+
requirement: !ruby/object:Gem::Requirement
|
264
|
+
requirements:
|
265
|
+
- - "~>"
|
266
|
+
- !ruby/object:Gem::Version
|
267
|
+
version: 0.13.0
|
268
|
+
type: :runtime
|
269
|
+
prerelease: false
|
270
|
+
version_requirements: !ruby/object:Gem::Requirement
|
271
|
+
requirements:
|
272
|
+
- - "~>"
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
version: 0.13.0
|
275
|
+
- !ruby/object:Gem::Dependency
|
276
|
+
name: multi_json
|
277
|
+
requirement: !ruby/object:Gem::Requirement
|
278
|
+
requirements:
|
279
|
+
- - "~>"
|
280
|
+
- !ruby/object:Gem::Version
|
281
|
+
version: '1.12'
|
282
|
+
- - ">="
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: 1.12.1
|
285
|
+
type: :runtime
|
286
|
+
prerelease: false
|
287
|
+
version_requirements: !ruby/object:Gem::Requirement
|
288
|
+
requirements:
|
289
|
+
- - "~>"
|
290
|
+
- !ruby/object:Gem::Version
|
291
|
+
version: '1.12'
|
292
|
+
- - ">="
|
293
|
+
- !ruby/object:Gem::Version
|
294
|
+
version: 1.12.1
|
207
295
|
- !ruby/object:Gem::Dependency
|
208
296
|
name: rspec-rails
|
209
297
|
requirement: !ruby/object:Gem::Requirement
|
@@ -327,7 +415,7 @@ dependencies:
|
|
327
415
|
version: '1.6'
|
328
416
|
- - ">="
|
329
417
|
- !ruby/object:Gem::Version
|
330
|
-
version: 1.6.
|
418
|
+
version: 1.6.6
|
331
419
|
type: :development
|
332
420
|
prerelease: false
|
333
421
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -337,7 +425,7 @@ dependencies:
|
|
337
425
|
version: '1.6'
|
338
426
|
- - ">="
|
339
427
|
- !ruby/object:Gem::Version
|
340
|
-
version: 1.6.
|
428
|
+
version: 1.6.6
|
341
429
|
- !ruby/object:Gem::Dependency
|
342
430
|
name: launchy
|
343
431
|
requirement: !ruby/object:Gem::Requirement
|
@@ -378,7 +466,7 @@ dependencies:
|
|
378
466
|
- - ">="
|
379
467
|
- !ruby/object:Gem::Version
|
380
468
|
version: 2.53.4
|
381
|
-
description: PHCScriptCDN(
|
469
|
+
description: PHCScriptCDN(3) script listing software to manage your online script
|
382
470
|
CDN.
|
383
471
|
email:
|
384
472
|
- developers@phcnetworks.net
|
@@ -391,56 +479,66 @@ files:
|
|
391
479
|
- Rakefile
|
392
480
|
- app/assets/config/phcscriptcdn_manifest.js
|
393
481
|
- app/assets/javascripts/phcscriptcdn/application.js
|
482
|
+
- app/assets/javascripts/phcscriptcdn/script/licences.js
|
394
483
|
- app/assets/stylesheets/phcscriptcdn/_custom.scss
|
395
484
|
- app/assets/stylesheets/phcscriptcdn/application.scss
|
396
485
|
- app/controllers/phcscriptcdn/application_controller.rb
|
397
|
-
- app/controllers/phcscriptcdn/
|
398
|
-
- app/controllers/phcscriptcdn/
|
399
|
-
- app/controllers/phcscriptcdn/
|
400
|
-
- app/controllers/phcscriptcdn/
|
401
|
-
- app/controllers/phcscriptcdn/
|
486
|
+
- app/controllers/phcscriptcdn/script/authors_controller.rb
|
487
|
+
- app/controllers/phcscriptcdn/script/extensions_controller.rb
|
488
|
+
- app/controllers/phcscriptcdn/script/licences_controller.rb
|
489
|
+
- app/controllers/phcscriptcdn/script/listings_controller.rb
|
490
|
+
- app/controllers/phcscriptcdn/script/urls_controller.rb
|
491
|
+
- app/controllers/phcscriptcdn/script/versions_controller.rb
|
402
492
|
- app/helpers/phcscriptcdn/application_helper.rb
|
493
|
+
- app/helpers/phcscriptcdn/script/licences_helper.rb
|
403
494
|
- app/jobs/phcscriptcdn/application_job.rb
|
404
495
|
- app/models/phcscriptcdn/application_record.rb
|
405
|
-
- app/models/phcscriptcdn/
|
406
|
-
- app/models/phcscriptcdn/
|
407
|
-
- app/models/phcscriptcdn/
|
408
|
-
- app/models/phcscriptcdn/
|
409
|
-
- app/models/phcscriptcdn/
|
410
|
-
- app/models/phcscriptcdn/
|
496
|
+
- app/models/phcscriptcdn/script.rb
|
497
|
+
- app/models/phcscriptcdn/script/author.rb
|
498
|
+
- app/models/phcscriptcdn/script/extension.rb
|
499
|
+
- app/models/phcscriptcdn/script/licence.rb
|
500
|
+
- app/models/phcscriptcdn/script/listing.rb
|
501
|
+
- app/models/phcscriptcdn/script/url.rb
|
502
|
+
- app/models/phcscriptcdn/script/version.rb
|
411
503
|
- app/views/layouts/phcscriptcdn/application.html.erb
|
412
504
|
- app/views/layouts/phcscriptcdn/frontend.html.erb
|
413
|
-
- app/views/phcscriptcdn/
|
414
|
-
- app/views/phcscriptcdn/
|
415
|
-
- app/views/phcscriptcdn/
|
416
|
-
- app/views/phcscriptcdn/
|
417
|
-
- app/views/phcscriptcdn/
|
418
|
-
- app/views/phcscriptcdn/
|
419
|
-
- app/views/phcscriptcdn/
|
420
|
-
- app/views/phcscriptcdn/
|
421
|
-
- app/views/phcscriptcdn/
|
422
|
-
- app/views/phcscriptcdn/
|
423
|
-
- app/views/phcscriptcdn/
|
424
|
-
- app/views/phcscriptcdn/
|
425
|
-
- app/views/phcscriptcdn/
|
426
|
-
- app/views/phcscriptcdn/
|
427
|
-
- app/views/phcscriptcdn/
|
428
|
-
- app/views/phcscriptcdn/
|
429
|
-
- app/views/phcscriptcdn/
|
430
|
-
- app/views/phcscriptcdn/
|
431
|
-
- app/views/phcscriptcdn/
|
432
|
-
- app/views/phcscriptcdn/
|
433
|
-
- app/views/phcscriptcdn/
|
434
|
-
- app/views/phcscriptcdn/
|
435
|
-
- app/views/phcscriptcdn/
|
436
|
-
- app/views/phcscriptcdn/
|
437
|
-
- app/views/phcscriptcdn/
|
505
|
+
- app/views/phcscriptcdn/script/authors/_form.html.erb
|
506
|
+
- app/views/phcscriptcdn/script/authors/edit.html.erb
|
507
|
+
- app/views/phcscriptcdn/script/authors/index.html.erb
|
508
|
+
- app/views/phcscriptcdn/script/authors/new.html.erb
|
509
|
+
- app/views/phcscriptcdn/script/authors/show.html.erb
|
510
|
+
- app/views/phcscriptcdn/script/extensions/_form.html.erb
|
511
|
+
- app/views/phcscriptcdn/script/extensions/edit.html.erb
|
512
|
+
- app/views/phcscriptcdn/script/extensions/index.html.erb
|
513
|
+
- app/views/phcscriptcdn/script/extensions/new.html.erb
|
514
|
+
- app/views/phcscriptcdn/script/extensions/show.html.erb
|
515
|
+
- app/views/phcscriptcdn/script/licences/_form.html.erb
|
516
|
+
- app/views/phcscriptcdn/script/licences/edit.html.erb
|
517
|
+
- app/views/phcscriptcdn/script/licences/index.html.erb
|
518
|
+
- app/views/phcscriptcdn/script/licences/new.html.erb
|
519
|
+
- app/views/phcscriptcdn/script/licences/show.html.erb
|
520
|
+
- app/views/phcscriptcdn/script/listings/_form.html.erb
|
521
|
+
- app/views/phcscriptcdn/script/listings/edit.html.erb
|
522
|
+
- app/views/phcscriptcdn/script/listings/index.html.erb
|
523
|
+
- app/views/phcscriptcdn/script/listings/new.html.erb
|
524
|
+
- app/views/phcscriptcdn/script/listings/show.html.erb
|
525
|
+
- app/views/phcscriptcdn/script/urls/_form.html.erb
|
526
|
+
- app/views/phcscriptcdn/script/urls/edit.html.erb
|
527
|
+
- app/views/phcscriptcdn/script/urls/index.html.erb
|
528
|
+
- app/views/phcscriptcdn/script/urls/new.html.erb
|
529
|
+
- app/views/phcscriptcdn/script/urls/show.html.erb
|
530
|
+
- app/views/phcscriptcdn/script/versions/_form.html.erb
|
531
|
+
- app/views/phcscriptcdn/script/versions/edit.html.erb
|
532
|
+
- app/views/phcscriptcdn/script/versions/index.html.erb
|
533
|
+
- app/views/phcscriptcdn/script/versions/new.html.erb
|
534
|
+
- app/views/phcscriptcdn/script/versions/show.html.erb
|
438
535
|
- config/routes.rb
|
439
|
-
- db/migrate/
|
440
|
-
- db/migrate/
|
441
|
-
- db/migrate/
|
442
|
-
- db/migrate/
|
443
|
-
- db/migrate/
|
536
|
+
- db/migrate/20160731205205_create_phcscriptcdn_script_extensions.rb
|
537
|
+
- db/migrate/20160731205917_create_phcscriptcdn_script_listings.rb
|
538
|
+
- db/migrate/20160731205954_create_phcscriptcdn_script_versions.rb
|
539
|
+
- db/migrate/20160731210626_create_phcscriptcdn_script_urls.rb
|
540
|
+
- db/migrate/20160731210723_create_phcscriptcdn_script_authors.rb
|
541
|
+
- db/migrate/20160801032225_create_phcscriptcdn_script_licences.rb
|
444
542
|
- lib/phcscriptcdn.rb
|
445
543
|
- lib/phcscriptcdn/engine.rb
|
446
544
|
- lib/phcscriptcdn/version.rb
|
@@ -460,9 +558,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
460
558
|
version: '0'
|
461
559
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
462
560
|
requirements:
|
463
|
-
- - "
|
561
|
+
- - ">"
|
464
562
|
- !ruby/object:Gem::Version
|
465
|
-
version:
|
563
|
+
version: 1.3.1
|
466
564
|
requirements: []
|
467
565
|
rubyforge_project:
|
468
566
|
rubygems_version: 2.5.1
|
@@ -1,69 +0,0 @@
|
|
1
|
-
require_dependency "phcscriptcdn/application_controller"
|
2
|
-
|
3
|
-
module Phcscriptcdn
|
4
|
-
class Scriptcdn::AuthorsController < ApplicationController
|
5
|
-
|
6
|
-
# Security & Action Filters
|
7
|
-
layout '/layouts/phcscriptcdn/application.html.erb'
|
8
|
-
before_action :set_scriptcdn_author, only: [:edit, :update, :destroy]
|
9
|
-
|
10
|
-
# Author Index
|
11
|
-
def index
|
12
|
-
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
13
|
-
@scriptcdn_authors = scriptcdn_main.authors
|
14
|
-
end
|
15
|
-
|
16
|
-
# New Author
|
17
|
-
def new
|
18
|
-
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
19
|
-
@scriptcdn_author = scriptcdn_main.authors.build
|
20
|
-
end
|
21
|
-
|
22
|
-
# Edit Author
|
23
|
-
def edit
|
24
|
-
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
25
|
-
@scriptcdn_author = scriptcdn_main.authors.find(params[:id])
|
26
|
-
end
|
27
|
-
|
28
|
-
# POST Author
|
29
|
-
def create
|
30
|
-
@scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
31
|
-
@scriptcdn_author = @scriptcdn_main.authors.create(scriptcdn_author_params)
|
32
|
-
if @scriptcdn_author.save
|
33
|
-
redirect_to scriptcdn_main_authors_path, notice: 'Author was successfully created.'
|
34
|
-
else
|
35
|
-
render :new
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
# PATCH/PUT Author
|
40
|
-
def update
|
41
|
-
if @scriptcdn_author.update(scriptcdn_author_params)
|
42
|
-
redirect_to scriptcdn_main_authors_path, notice: 'Author was successfully updated.'
|
43
|
-
else
|
44
|
-
render :edit
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
# DELETE Author
|
49
|
-
def destroy
|
50
|
-
@scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
51
|
-
@scriptcdn_author = @scriptcdn_main.authors.find(params[:id])
|
52
|
-
@scriptcdn_author.destroy
|
53
|
-
redirect_to scriptcdn_main_authors_path, notice: 'Author was successfully destroyed.'
|
54
|
-
end
|
55
|
-
|
56
|
-
private
|
57
|
-
|
58
|
-
# Common Callbacks
|
59
|
-
def set_scriptcdn_author
|
60
|
-
@scriptcdn_author = Scriptcdn::Author.find(params[:id])
|
61
|
-
end
|
62
|
-
|
63
|
-
# Whitelist
|
64
|
-
def scriptcdn_author_params
|
65
|
-
params.require(:scriptcdn_author).permit(:authorfirstname, :authorlastname, :authorwebsite, :authorgithub, :authortwitter, :main_id)
|
66
|
-
end
|
67
|
-
|
68
|
-
end
|
69
|
-
end
|
@@ -1,69 +0,0 @@
|
|
1
|
-
require_dependency "phcscriptcdn/application_controller"
|
2
|
-
|
3
|
-
module Phcscriptcdn
|
4
|
-
class Scriptcdn::InformationsController < ApplicationController
|
5
|
-
|
6
|
-
# Security & Action Filters
|
7
|
-
layout '/layouts/phcscriptcdn/application.html.erb'
|
8
|
-
before_action :set_scriptcdn_information, only: [:edit, :update, :destroy]
|
9
|
-
|
10
|
-
# Script Information Index
|
11
|
-
def index
|
12
|
-
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
13
|
-
@scriptcdn_informations = scriptcdn_main.informations
|
14
|
-
end
|
15
|
-
|
16
|
-
# New Script Information
|
17
|
-
def new
|
18
|
-
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
19
|
-
@scriptcdn_information = scriptcdn_main.informations.build
|
20
|
-
end
|
21
|
-
|
22
|
-
# Edit Script Information
|
23
|
-
def edit
|
24
|
-
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
25
|
-
@scriptcdn_information = scriptcdn_main.informations.find(params[:id])
|
26
|
-
end
|
27
|
-
|
28
|
-
# POST Script Information
|
29
|
-
def create
|
30
|
-
@scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
31
|
-
@scriptcdn_information = @scriptcdn_main.informations.create(scriptcdn_information_params)
|
32
|
-
if @scriptcdn_information.save
|
33
|
-
redirect_to scriptcdn_main_informations_path, notice: 'Script information was successfully created.'
|
34
|
-
else
|
35
|
-
render :new
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
# PATCH/PUT Script Information
|
40
|
-
def update
|
41
|
-
if @scriptcdn_information.update(scriptcdn_information_params)
|
42
|
-
redirect_to scriptcdn_main_informations_path, notice: 'Script information was successfully updated.'
|
43
|
-
else
|
44
|
-
render :edit
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
# DELETE Script Information
|
49
|
-
def destroy
|
50
|
-
@scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
51
|
-
@scriptcdn_information = @scriptcdn_main.informations.find(params[:id])
|
52
|
-
@scriptcdn_information.destroy
|
53
|
-
redirect_to scriptcdn_main_informations_path, notice: 'Script information was successfully destroyed.'
|
54
|
-
end
|
55
|
-
|
56
|
-
private
|
57
|
-
|
58
|
-
# Common Callbacks
|
59
|
-
def set_scriptcdn_information
|
60
|
-
@scriptcdn_information = Scriptcdn::Information.find(params[:id])
|
61
|
-
end
|
62
|
-
|
63
|
-
# Whitelist
|
64
|
-
def scriptcdn_information_params
|
65
|
-
params.require(:scriptcdn_information).permit(:scripttitle, :scriptdescription, :scriptcategory, :scriptwebsite, :scripttwitter, :scriptgithub, :scriptinitialrelease, :scriptlicence, :scriptplatform, :scriptstatus, :main_id)
|
66
|
-
end
|
67
|
-
|
68
|
-
end
|
69
|
-
end
|
@@ -1,62 +0,0 @@
|
|
1
|
-
require_dependency "phcscriptcdn/application_controller"
|
2
|
-
|
3
|
-
module Phcscriptcdn
|
4
|
-
class Scriptcdn::MainsController < ApplicationController
|
5
|
-
|
6
|
-
# Security & Action Filters
|
7
|
-
layout '/layouts/phcscriptcdn/application.html.erb'
|
8
|
-
before_action :set_scriptcdn_main, only: [:edit, :update, :destroy]
|
9
|
-
|
10
|
-
# Script CDN Backend Index
|
11
|
-
def index
|
12
|
-
@scriptcdn_mains = Scriptcdn::Main.all
|
13
|
-
end
|
14
|
-
|
15
|
-
# New Script Listing
|
16
|
-
def new
|
17
|
-
@scriptcdn_main = Scriptcdn::Main.new
|
18
|
-
end
|
19
|
-
|
20
|
-
# Edit Script Listing
|
21
|
-
def edit
|
22
|
-
end
|
23
|
-
|
24
|
-
# POST Script CDN
|
25
|
-
def create
|
26
|
-
@scriptcdn_main = Scriptcdn::Main.new(scriptcdn_main_params)
|
27
|
-
if @scriptcdn_main.save
|
28
|
-
redirect_to scriptcdn_mains_path, notice: 'Script was successfully created.'
|
29
|
-
else
|
30
|
-
render :new
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
# PATCH/PUT Script
|
35
|
-
def update
|
36
|
-
if @scriptcdn_main.update(scriptcdn_main_params)
|
37
|
-
redirect_to scriptcdn_mains_path, notice: 'Script was successfully updated.'
|
38
|
-
else
|
39
|
-
render :edit
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
# DELETE Script
|
44
|
-
def destroy
|
45
|
-
@scriptcdn_main.destroy
|
46
|
-
redirect_to scriptcdn_mains_path, notice: 'Main was successfully destroyed.'
|
47
|
-
end
|
48
|
-
|
49
|
-
private
|
50
|
-
|
51
|
-
# Common Callbacks
|
52
|
-
def set_scriptcdn_main
|
53
|
-
@scriptcdn_main = Scriptcdn::Main.find(params[:id])
|
54
|
-
end
|
55
|
-
|
56
|
-
# Whitelist
|
57
|
-
def scriptcdn_main_params
|
58
|
-
params.require(:scriptcdn_main).permit(:scriptname)
|
59
|
-
end
|
60
|
-
|
61
|
-
end
|
62
|
-
end
|
@@ -1,84 +0,0 @@
|
|
1
|
-
require_dependency "phcscriptcdn/application_controller"
|
2
|
-
|
3
|
-
module Phcscriptcdn
|
4
|
-
class Scriptcdn::UrlsController < ApplicationController
|
5
|
-
|
6
|
-
# Security & Action Filters
|
7
|
-
layout '/layouts/phcscriptcdn/application.html.erb'
|
8
|
-
before_action :set_scriptcdn_url, only: [:edit, :update, :destroy]
|
9
|
-
|
10
|
-
# Index for Script URL
|
11
|
-
def index
|
12
|
-
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
13
|
-
@scriptcdn_urls = scriptcdn_main.urls
|
14
|
-
end
|
15
|
-
|
16
|
-
# New Script URL
|
17
|
-
def new
|
18
|
-
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
19
|
-
@scriptcdn_url = scriptcdn_main.urls.build
|
20
|
-
respond_to do |format|
|
21
|
-
format.html # new.html.erb
|
22
|
-
format.xml { render :xml => @scriptcdn_main }
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
# Edit Script URL
|
27
|
-
def edit
|
28
|
-
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
29
|
-
@scriptcdn_url = scriptcdn_main.urls.find(params[:id])
|
30
|
-
end
|
31
|
-
|
32
|
-
# POST Script URL
|
33
|
-
def create
|
34
|
-
@scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
35
|
-
@scriptcdn_url = @scriptcdn_main.urls.create(scriptcdn_url_params)
|
36
|
-
respond_to do |format|
|
37
|
-
if @scriptcdn_url.save
|
38
|
-
format.html { redirect_to scriptcdn_main_urls_path, notice: 'Script URL was Successfully Created.' }
|
39
|
-
format.json { render action: 'show', status: :created, location: @scriptcdn_url }
|
40
|
-
else
|
41
|
-
format.html { render action: 'new' }
|
42
|
-
format.json { render json: @scriptcdn_url.errors, status: :unprocessable_entity }
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
# PATCH/PUT Script URL
|
48
|
-
def update
|
49
|
-
respond_to do |format|
|
50
|
-
if @scriptcdn_url.update(scriptcdn_url_params)
|
51
|
-
format.html { redirect_to scriptcdn_main_urls_path, notice: 'Script URL was Successfully Updated.' }
|
52
|
-
format.json { head :no_content }
|
53
|
-
else
|
54
|
-
format.html { render action: 'edit' }
|
55
|
-
format.json { render json: @scriptcdn_url.errors, status: :unprocessable_entity }
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
# Delete Script URL
|
61
|
-
def destroy
|
62
|
-
@scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
63
|
-
@scriptcdn_url = @scriptcdn_main.urls.find(params[:id])
|
64
|
-
@scriptcdn_url.destroy
|
65
|
-
respond_to do |format|
|
66
|
-
format.html { redirect_to scriptcdn_main_urls_path, notice: 'Script URL was Successfully Deleted.' }
|
67
|
-
format.json { head :no_content }
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
private
|
72
|
-
|
73
|
-
# Common Callbacks
|
74
|
-
def set_scriptcdn_url
|
75
|
-
@scriptcdn_url = Scriptcdn::Url.find(params[:id])
|
76
|
-
end
|
77
|
-
|
78
|
-
# Whitelist
|
79
|
-
def scriptcdn_url_params
|
80
|
-
params.require(:scriptcdn_url).permit(:scripturl, :scripturlext, :main_id)
|
81
|
-
end
|
82
|
-
|
83
|
-
end
|
84
|
-
end
|