phcscriptcdnpro 5.8.4 → 5.8.5
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 +5 -6
- data/Rakefile +11 -14
- data/app/controllers/phcscriptcdnpro/application_controller.rb +48 -46
- data/app/controllers/phcscriptcdnpro/frontend/listings_controller.rb +4 -2
- data/app/controllers/phcscriptcdnpro/script/authors_controller.rb +70 -70
- data/app/controllers/phcscriptcdnpro/script/extensions_controller.rb +70 -70
- data/app/controllers/phcscriptcdnpro/script/licences_controller.rb +70 -70
- data/app/controllers/phcscriptcdnpro/script/listings_controller.rb +70 -70
- data/app/controllers/phcscriptcdnpro/script/urls_controller.rb +79 -79
- data/app/controllers/phcscriptcdnpro/script/versions_controller.rb +71 -69
- data/app/helpers/phcscriptcdnpro/application_helper.rb +9 -10
- data/app/jobs/phcscriptcdnpro/application_job.rb +2 -3
- data/app/mailers/phcscriptcdnpro/application_mailer.rb +4 -4
- data/app/models/phcscriptcdnpro/application_record.rb +3 -3
- data/app/models/phcscriptcdnpro/frontend.rb +2 -0
- data/app/models/phcscriptcdnpro/frontend/listing.rb +1 -2
- data/app/models/phcscriptcdnpro/script.rb +5 -5
- data/app/models/phcscriptcdnpro/script/author.rb +5 -5
- data/app/models/phcscriptcdnpro/script/extension.rb +6 -6
- data/app/models/phcscriptcdnpro/script/licence.rb +5 -5
- data/app/models/phcscriptcdnpro/script/listing.rb +13 -11
- data/app/models/phcscriptcdnpro/script/url.rb +9 -9
- data/app/models/phcscriptcdnpro/script/version.rb +7 -7
- data/app/views/layouts/phcscriptcdnpro/application.html.erb +6 -7
- data/app/views/layouts/phcscriptcdnpro/components/backend/footer/_footer.html.erb +1 -1
- data/app/views/layouts/phcscriptcdnpro/components/backend/navigation/_top_bar.html.erb +0 -1
- data/app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_left_sidebar.html.erb +1 -2
- data/app/views/layouts/phcscriptcdnpro/frontend.html.erb +14 -16
- data/app/views/phcscriptcdnpro/frontend/listings/index.html.erb +30 -30
- data/app/views/phcscriptcdnpro/frontend/listings/show.html.erb +12 -12
- data/app/views/phcscriptcdnpro/script/authors/_form.html.erb +6 -0
- data/app/views/phcscriptcdnpro/script/authors/edit.html.erb +6 -7
- data/app/views/phcscriptcdnpro/script/authors/index.html.erb +19 -23
- data/app/views/phcscriptcdnpro/script/authors/new.html.erb +6 -7
- data/app/views/phcscriptcdnpro/script/authors/show.html.erb +6 -6
- data/app/views/phcscriptcdnpro/script/extensions/_form.html.erb +6 -0
- data/app/views/phcscriptcdnpro/script/extensions/edit.html.erb +8 -9
- data/app/views/phcscriptcdnpro/script/extensions/index.html.erb +6 -8
- data/app/views/phcscriptcdnpro/script/extensions/new.html.erb +8 -9
- data/app/views/phcscriptcdnpro/script/extensions/show.html.erb +7 -9
- data/app/views/phcscriptcdnpro/script/licences/_form.html.erb +7 -0
- data/app/views/phcscriptcdnpro/script/licences/edit.html.erb +6 -7
- data/app/views/phcscriptcdnpro/script/licences/index.html.erb +10 -12
- data/app/views/phcscriptcdnpro/script/licences/new.html.erb +6 -7
- data/app/views/phcscriptcdnpro/script/licences/show.html.erb +5 -7
- data/app/views/phcscriptcdnpro/script/listings/_form.html.erb +7 -1
- data/app/views/phcscriptcdnpro/script/listings/edit.html.erb +15 -0
- data/app/views/phcscriptcdnpro/script/listings/index.html.erb +14 -4
- data/app/views/phcscriptcdnpro/script/listings/new.html.erb +15 -0
- data/app/views/phcscriptcdnpro/script/listings/show.html.erb +14 -0
- data/app/views/phcscriptcdnpro/script/urls/_form.html.erb +6 -0
- data/app/views/phcscriptcdnpro/script/urls/edit.html.erb +17 -6
- data/app/views/phcscriptcdnpro/script/urls/index.html.erb +14 -7
- data/app/views/phcscriptcdnpro/script/urls/new.html.erb +17 -7
- data/app/views/phcscriptcdnpro/script/urls/show.html.erb +14 -10
- data/app/views/phcscriptcdnpro/script/versions/_form.html.erb +7 -0
- data/app/views/phcscriptcdnpro/script/versions/edit.html.erb +12 -8
- data/app/views/phcscriptcdnpro/script/versions/index.html.erb +11 -5
- data/app/views/phcscriptcdnpro/script/versions/new.html.erb +12 -8
- data/app/views/phcscriptcdnpro/script/versions/show.html.erb +11 -6
- data/config/routes.rb +21 -26
- data/db/migrate/20160821183652_create_phcscriptcdnpro_script_listings.rb +23 -23
- data/db/migrate/20160821183714_create_phcscriptcdnpro_script_authors.rb +17 -17
- data/db/migrate/20160821183735_create_phcscriptcdnpro_script_extensions.rb +12 -12
- data/db/migrate/20160821183805_create_phcscriptcdnpro_script_licences.rb +18 -18
- data/db/migrate/20160821183830_create_phcscriptcdnpro_script_urls.rb +16 -16
- data/db/migrate/20160821183946_create_phcscriptcdnpro_script_versions.rb +10 -10
- data/lib/phcscriptcdnpro/engine.rb +62 -61
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +2 -2
@@ -1,18 +1,18 @@
|
|
1
1
|
class CreatePhcscriptcdnproScriptVersions < ActiveRecord::Migration[5.0]
|
2
|
-
|
2
|
+
def change
|
3
3
|
|
4
|
-
|
4
|
+
create_table :phcscriptcdnpro_script_versions do |t|
|
5
5
|
|
6
|
-
|
6
|
+
t.string :scriptversion
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
t.string :user_id
|
9
|
+
t.string :user_name
|
10
|
+
t.string :membership_id
|
11
|
+
t.string :oganization_id
|
12
12
|
|
13
|
-
|
13
|
+
t.timestamps
|
14
14
|
|
15
|
-
|
15
|
+
end
|
16
16
|
|
17
|
-
|
17
|
+
end
|
18
18
|
end
|
@@ -1,65 +1,66 @@
|
|
1
1
|
module Phcscriptcdnpro
|
2
|
-
|
2
|
+
class Engine < ::Rails::Engine
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
# Main Dependencies
|
5
|
+
require 'authrocket'
|
6
|
+
require 'paper_trail'
|
7
|
+
|
8
|
+
# PHCThemes & PHCHelpers
|
9
|
+
require 'phcnotifi'
|
10
|
+
require 'phctitleseo'
|
11
|
+
require 'phctheme1'
|
12
|
+
require 'phcadmin2'
|
13
|
+
|
14
|
+
# PHCEngines
|
15
|
+
require 'phcpresspro'
|
16
|
+
require 'phcaccountspro'
|
17
|
+
|
18
|
+
# UI & Frontend Dependencies
|
19
|
+
require 'jquery-rails'
|
20
|
+
require 'jquery-ui-rails'
|
21
|
+
require 'sass-rails'
|
22
|
+
require 'bootstrap-sass'
|
23
|
+
require 'font-awesome-rails'
|
24
|
+
require 'country_select'
|
25
|
+
require 'gravtastic'
|
26
|
+
|
27
|
+
# API Dependencies
|
28
|
+
require 'rabl'
|
29
|
+
require 'oj'
|
30
|
+
require 'multi_json'
|
31
|
+
require 'responders'
|
32
|
+
|
33
|
+
# WYSIWYG Editor Dependencies
|
34
|
+
require 'summernote-rails'
|
35
|
+
require 'codemirror-rails'
|
36
|
+
|
37
|
+
# Upload & Media Dependencies
|
38
|
+
require 'carrierwave'
|
39
|
+
require 'cloudinary'
|
40
|
+
|
41
|
+
# Isolate Namespace
|
42
|
+
isolate_namespace Phcscriptcdnpro
|
43
|
+
|
44
|
+
# Testing Generator
|
45
|
+
config.generators do |g|
|
46
|
+
g.test_framework :rspec,
|
47
|
+
fixtures: true,
|
48
|
+
view_specs: false,
|
49
|
+
helper_specs: false,
|
50
|
+
routing_specs: false,
|
51
|
+
controller_specs: true,
|
52
|
+
request_specs: false
|
53
|
+
g.fixture_replacement :factory_girl, dir: "spec/factories"
|
54
|
+
end
|
55
|
+
|
56
|
+
# Load Requried Helper Files
|
57
|
+
config.to_prepare do
|
58
|
+
ApplicationController.helper(ApplicationHelper)
|
59
|
+
Phcaccountspro::ApplicationController.helper(ApplicationHelper)
|
60
|
+
Phcnotifi::ApplicationController.helper(ApplicationHelper)
|
61
|
+
Phctitleseo::ApplicationController.helper(ApplicationHelper)
|
62
|
+
end
|
7
63
|
|
8
|
-
|
9
|
-
require 'phcnotifi'
|
10
|
-
require 'phctitleseo'
|
11
|
-
require 'phctheme1'
|
12
|
-
require 'phcadmin2'
|
13
|
-
|
14
|
-
# PHCEngines
|
15
|
-
require 'phcpresspro'
|
16
|
-
require 'phcaccountspro'
|
17
|
-
|
18
|
-
# UI & Frontend Dependencies
|
19
|
-
require 'jquery-rails'
|
20
|
-
require 'jquery-ui-rails'
|
21
|
-
require 'sass-rails'
|
22
|
-
require 'bootstrap-sass'
|
23
|
-
require 'font-awesome-rails'
|
24
|
-
require 'country_select'
|
25
|
-
require 'gravtastic'
|
26
|
-
|
27
|
-
# API Dependencies
|
28
|
-
require 'rabl'
|
29
|
-
require 'oj'
|
30
|
-
require 'multi_json'
|
31
|
-
require 'responders'
|
32
|
-
|
33
|
-
# WYSIWYG Editor Dependencies
|
34
|
-
require 'summernote-rails'
|
35
|
-
require 'codemirror-rails'
|
36
|
-
|
37
|
-
# Upload & Media Dependencies
|
38
|
-
require 'carrierwave'
|
39
|
-
require 'cloudinary'
|
40
|
-
|
41
|
-
# Isolate Namespace
|
42
|
-
isolate_namespace Phcscriptcdnpro
|
43
|
-
|
44
|
-
# Testing Generator
|
45
|
-
config.generators do |g|
|
46
|
-
g.test_framework :rspec,
|
47
|
-
fixtures: true,
|
48
|
-
view_specs: false,
|
49
|
-
helper_specs: false,
|
50
|
-
routing_specs: false,
|
51
|
-
controller_specs: true,
|
52
|
-
request_specs: false
|
53
|
-
g.fixture_replacement :factory_girl, dir: "spec/factories"
|
54
|
-
end
|
55
|
-
|
56
|
-
# Load Requried Helper Files
|
57
|
-
config.to_prepare do
|
58
|
-
ApplicationController.helper(ApplicationHelper)
|
59
|
-
Phcaccountspro::ApplicationController.helper(ApplicationHelper)
|
60
|
-
Phcnotifi::ApplicationController.helper(ApplicationHelper)
|
61
|
-
Phctitleseo::ApplicationController.helper(ApplicationHelper)
|
62
|
-
end
|
63
|
-
|
64
|
-
end
|
64
|
+
end
|
65
65
|
end
|
66
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcscriptcdnpro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.8.
|
4
|
+
version: 5.8.5
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|