phcscriptcdnpro 5.8.4 → 5.8.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +5 -6
  4. data/Rakefile +11 -14
  5. data/app/controllers/phcscriptcdnpro/application_controller.rb +48 -46
  6. data/app/controllers/phcscriptcdnpro/frontend/listings_controller.rb +4 -2
  7. data/app/controllers/phcscriptcdnpro/script/authors_controller.rb +70 -70
  8. data/app/controllers/phcscriptcdnpro/script/extensions_controller.rb +70 -70
  9. data/app/controllers/phcscriptcdnpro/script/licences_controller.rb +70 -70
  10. data/app/controllers/phcscriptcdnpro/script/listings_controller.rb +70 -70
  11. data/app/controllers/phcscriptcdnpro/script/urls_controller.rb +79 -79
  12. data/app/controllers/phcscriptcdnpro/script/versions_controller.rb +71 -69
  13. data/app/helpers/phcscriptcdnpro/application_helper.rb +9 -10
  14. data/app/jobs/phcscriptcdnpro/application_job.rb +2 -3
  15. data/app/mailers/phcscriptcdnpro/application_mailer.rb +4 -4
  16. data/app/models/phcscriptcdnpro/application_record.rb +3 -3
  17. data/app/models/phcscriptcdnpro/frontend.rb +2 -0
  18. data/app/models/phcscriptcdnpro/frontend/listing.rb +1 -2
  19. data/app/models/phcscriptcdnpro/script.rb +5 -5
  20. data/app/models/phcscriptcdnpro/script/author.rb +5 -5
  21. data/app/models/phcscriptcdnpro/script/extension.rb +6 -6
  22. data/app/models/phcscriptcdnpro/script/licence.rb +5 -5
  23. data/app/models/phcscriptcdnpro/script/listing.rb +13 -11
  24. data/app/models/phcscriptcdnpro/script/url.rb +9 -9
  25. data/app/models/phcscriptcdnpro/script/version.rb +7 -7
  26. data/app/views/layouts/phcscriptcdnpro/application.html.erb +6 -7
  27. data/app/views/layouts/phcscriptcdnpro/components/backend/footer/_footer.html.erb +1 -1
  28. data/app/views/layouts/phcscriptcdnpro/components/backend/navigation/_top_bar.html.erb +0 -1
  29. data/app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_left_sidebar.html.erb +1 -2
  30. data/app/views/layouts/phcscriptcdnpro/frontend.html.erb +14 -16
  31. data/app/views/phcscriptcdnpro/frontend/listings/index.html.erb +30 -30
  32. data/app/views/phcscriptcdnpro/frontend/listings/show.html.erb +12 -12
  33. data/app/views/phcscriptcdnpro/script/authors/_form.html.erb +6 -0
  34. data/app/views/phcscriptcdnpro/script/authors/edit.html.erb +6 -7
  35. data/app/views/phcscriptcdnpro/script/authors/index.html.erb +19 -23
  36. data/app/views/phcscriptcdnpro/script/authors/new.html.erb +6 -7
  37. data/app/views/phcscriptcdnpro/script/authors/show.html.erb +6 -6
  38. data/app/views/phcscriptcdnpro/script/extensions/_form.html.erb +6 -0
  39. data/app/views/phcscriptcdnpro/script/extensions/edit.html.erb +8 -9
  40. data/app/views/phcscriptcdnpro/script/extensions/index.html.erb +6 -8
  41. data/app/views/phcscriptcdnpro/script/extensions/new.html.erb +8 -9
  42. data/app/views/phcscriptcdnpro/script/extensions/show.html.erb +7 -9
  43. data/app/views/phcscriptcdnpro/script/licences/_form.html.erb +7 -0
  44. data/app/views/phcscriptcdnpro/script/licences/edit.html.erb +6 -7
  45. data/app/views/phcscriptcdnpro/script/licences/index.html.erb +10 -12
  46. data/app/views/phcscriptcdnpro/script/licences/new.html.erb +6 -7
  47. data/app/views/phcscriptcdnpro/script/licences/show.html.erb +5 -7
  48. data/app/views/phcscriptcdnpro/script/listings/_form.html.erb +7 -1
  49. data/app/views/phcscriptcdnpro/script/listings/edit.html.erb +15 -0
  50. data/app/views/phcscriptcdnpro/script/listings/index.html.erb +14 -4
  51. data/app/views/phcscriptcdnpro/script/listings/new.html.erb +15 -0
  52. data/app/views/phcscriptcdnpro/script/listings/show.html.erb +14 -0
  53. data/app/views/phcscriptcdnpro/script/urls/_form.html.erb +6 -0
  54. data/app/views/phcscriptcdnpro/script/urls/edit.html.erb +17 -6
  55. data/app/views/phcscriptcdnpro/script/urls/index.html.erb +14 -7
  56. data/app/views/phcscriptcdnpro/script/urls/new.html.erb +17 -7
  57. data/app/views/phcscriptcdnpro/script/urls/show.html.erb +14 -10
  58. data/app/views/phcscriptcdnpro/script/versions/_form.html.erb +7 -0
  59. data/app/views/phcscriptcdnpro/script/versions/edit.html.erb +12 -8
  60. data/app/views/phcscriptcdnpro/script/versions/index.html.erb +11 -5
  61. data/app/views/phcscriptcdnpro/script/versions/new.html.erb +12 -8
  62. data/app/views/phcscriptcdnpro/script/versions/show.html.erb +11 -6
  63. data/config/routes.rb +21 -26
  64. data/db/migrate/20160821183652_create_phcscriptcdnpro_script_listings.rb +23 -23
  65. data/db/migrate/20160821183714_create_phcscriptcdnpro_script_authors.rb +17 -17
  66. data/db/migrate/20160821183735_create_phcscriptcdnpro_script_extensions.rb +12 -12
  67. data/db/migrate/20160821183805_create_phcscriptcdnpro_script_licences.rb +18 -18
  68. data/db/migrate/20160821183830_create_phcscriptcdnpro_script_urls.rb +16 -16
  69. data/db/migrate/20160821183946_create_phcscriptcdnpro_script_versions.rb +10 -10
  70. data/lib/phcscriptcdnpro/engine.rb +62 -61
  71. data/lib/phcscriptcdnpro/version.rb +1 -1
  72. metadata +2 -2
@@ -1,18 +1,18 @@
1
1
  class CreatePhcscriptcdnproScriptVersions < ActiveRecord::Migration[5.0]
2
- def change
2
+ def change
3
3
 
4
- create_table :phcscriptcdnpro_script_versions do |t|
4
+ create_table :phcscriptcdnpro_script_versions do |t|
5
5
 
6
- t.string :scriptversion
6
+ t.string :scriptversion
7
7
 
8
- t.string :user_id
9
- t.string :user_name
10
- t.string :membership_id
11
- t.string :oganization_id
8
+ t.string :user_id
9
+ t.string :user_name
10
+ t.string :membership_id
11
+ t.string :oganization_id
12
12
 
13
- t.timestamps
13
+ t.timestamps
14
14
 
15
- end
15
+ end
16
16
 
17
- end
17
+ end
18
18
  end
@@ -1,65 +1,66 @@
1
1
  module Phcscriptcdnpro
2
- class Engine < ::Rails::Engine
2
+ class Engine < ::Rails::Engine
3
3
 
4
- # Main Dependencies
5
- require 'authrocket'
6
- require 'paper_trail'
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
- # 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
63
-
64
- end
64
+ end
65
65
  end
66
+
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "5.8.4"
2
+ VERSION = "5.8.5"
3
3
  end
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
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-13 00:00:00.000000000 Z
11
+ date: 2017-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails