foreman_hosts 1.0.5 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +1 -117
- data/app/assets/javascripts/application.js +2 -0
- data/app/assets/javascripts/jquery.battatech.excelexport.js +180 -0
- data/app/controllers/foreman_hosts/syhostmodeldetails_controller.rb +83 -0
- data/app/controllers/foreman_hosts/syhostmodels_controller.rb +83 -0
- data/app/models/foreman_hosts/syhostmodel.rb +8 -0
- data/app/models/foreman_hosts/syhostmodeldetail.rb +5 -0
- data/app/views/foreman_hosts/hosts/report_index.html.erb +188 -3
- data/app/views/foreman_hosts/syhostmodeldetails/_form.html.erb +29 -0
- data/app/views/foreman_hosts/syhostmodeldetails/_list.html.erb +43 -0
- data/app/views/foreman_hosts/syhostmodeldetails/_sygroup.html.erb +3 -0
- data/app/views/foreman_hosts/syhostmodeldetails/_sygroup_td.html.erb +7 -0
- data/app/views/foreman_hosts/syhostmodeldetails/create.js.erb +2 -0
- data/app/views/foreman_hosts/syhostmodeldetails/destroy.js.erb +1 -0
- data/app/views/foreman_hosts/syhostmodeldetails/edit.html.erb +1 -0
- data/app/views/foreman_hosts/syhostmodeldetails/edit.js.erb +3 -0
- data/app/views/foreman_hosts/syhostmodeldetails/index.html.erb +5 -0
- data/app/views/foreman_hosts/syhostmodeldetails/new.html.erb +1 -0
- data/app/views/foreman_hosts/syhostmodeldetails/new.js.erb +3 -0
- data/app/views/foreman_hosts/syhostmodeldetails/show.html.erb +28 -0
- data/app/views/foreman_hosts/syhostmodeldetails/update.js.erb +3 -0
- data/app/views/foreman_hosts/syhostmodels/_form.html.erb +30 -0
- data/app/views/foreman_hosts/syhostmodels/_list.html.erb +41 -0
- data/app/views/foreman_hosts/syhostmodels/_report.html.erb +258 -0
- data/app/views/foreman_hosts/syhostmodels/_sub.html.erb +37 -0
- data/app/views/foreman_hosts/syhostmodels/edit.html.erb +1 -0
- data/app/views/foreman_hosts/syhostmodels/index.html.erb +5 -0
- data/app/views/foreman_hosts/syhostmodels/new.html.erb +1 -0
- data/app/views/foreman_hosts/syhostmodels/show.html.erb +72 -0
- data/config/routes.rb +6 -3
- data/db/migrate/20151015022411_create_syhostmodels.rb +10 -0
- data/db/migrate/20151015050239_create_syhostmodeldetails.rb +13 -0
- data/lib/foreman_hosts/engine.rb +9 -10
- data/lib/foreman_hosts/version.rb +1 -1
- metadata +47 -3
- data/app/models/concerns/foreman_hosts/host_extensions.rb +0 -19
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: foreman_hosts
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.0 | 
| 4 | 
            +
              version: 1.1.0
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -9,8 +9,24 @@ authors: | |
| 9 9 | 
             
            autorequire: 
         | 
| 10 10 | 
             
            bindir: bin
         | 
| 11 11 | 
             
            cert_chain: []
         | 
| 12 | 
            -
            date: 2015-10- | 
| 12 | 
            +
            date: 2015-10-15 00:00:00.000000000 Z
         | 
| 13 13 | 
             
            dependencies:
         | 
| 14 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 15 | 
            +
              name: nested_form
         | 
| 16 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 17 | 
            +
                none: false
         | 
| 18 | 
            +
                requirements:
         | 
| 19 | 
            +
                - - ! '>='
         | 
| 20 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 21 | 
            +
                    version: '0'
         | 
| 22 | 
            +
              type: :runtime
         | 
| 23 | 
            +
              prerelease: false
         | 
| 24 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 25 | 
            +
                none: false
         | 
| 26 | 
            +
                requirements:
         | 
| 27 | 
            +
                - - ! '>='
         | 
| 28 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            +
                    version: '0'
         | 
| 14 30 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 31 | 
             
              name: rubocop
         | 
| 16 32 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -51,17 +67,45 @@ extensions: [] | |
| 51 67 | 
             
            extra_rdoc_files: []
         | 
| 52 68 | 
             
            files:
         | 
| 53 69 | 
             
            - app/views/dashboard/_foreman_hosts_widget.html.erb
         | 
| 70 | 
            +
            - app/views/foreman_hosts/syhostmodeldetails/edit.html.erb
         | 
| 71 | 
            +
            - app/views/foreman_hosts/syhostmodeldetails/destroy.js.erb
         | 
| 72 | 
            +
            - app/views/foreman_hosts/syhostmodeldetails/create.js.erb
         | 
| 73 | 
            +
            - app/views/foreman_hosts/syhostmodeldetails/new.html.erb
         | 
| 74 | 
            +
            - app/views/foreman_hosts/syhostmodeldetails/update.js.erb
         | 
| 75 | 
            +
            - app/views/foreman_hosts/syhostmodeldetails/new.js.erb
         | 
| 76 | 
            +
            - app/views/foreman_hosts/syhostmodeldetails/_sygroup_td.html.erb
         | 
| 77 | 
            +
            - app/views/foreman_hosts/syhostmodeldetails/show.html.erb
         | 
| 78 | 
            +
            - app/views/foreman_hosts/syhostmodeldetails/index.html.erb
         | 
| 79 | 
            +
            - app/views/foreman_hosts/syhostmodeldetails/_list.html.erb
         | 
| 80 | 
            +
            - app/views/foreman_hosts/syhostmodeldetails/_form.html.erb
         | 
| 81 | 
            +
            - app/views/foreman_hosts/syhostmodeldetails/edit.js.erb
         | 
| 82 | 
            +
            - app/views/foreman_hosts/syhostmodeldetails/_sygroup.html.erb
         | 
| 54 83 | 
             
            - app/views/foreman_hosts/layouts/layouts/new_layout.html.erb
         | 
| 55 84 | 
             
            - app/views/foreman_hosts/layouts/new_layout.html.erb
         | 
| 85 | 
            +
            - app/views/foreman_hosts/syhostmodels/edit.html.erb
         | 
| 86 | 
            +
            - app/views/foreman_hosts/syhostmodels/new.html.erb
         | 
| 87 | 
            +
            - app/views/foreman_hosts/syhostmodels/_report.html.erb
         | 
| 88 | 
            +
            - app/views/foreman_hosts/syhostmodels/show.html.erb
         | 
| 89 | 
            +
            - app/views/foreman_hosts/syhostmodels/index.html.erb
         | 
| 90 | 
            +
            - app/views/foreman_hosts/syhostmodels/_list.html.erb
         | 
| 91 | 
            +
            - app/views/foreman_hosts/syhostmodels/_form.html.erb
         | 
| 92 | 
            +
            - app/views/foreman_hosts/syhostmodels/_sub.html.erb
         | 
| 56 93 | 
             
            - app/views/foreman_hosts/hosts/export.xlsx.axlsx
         | 
| 57 94 | 
             
            - app/views/foreman_hosts/hosts/report_index.html.erb
         | 
| 58 95 | 
             
            - app/views/foreman_hosts/hosts/hosts/new_action.html.erb
         | 
| 96 | 
            +
            - app/assets/javascripts/jquery.battatech.excelexport.js
         | 
| 97 | 
            +
            - app/assets/javascripts/application.js
         | 
| 59 98 | 
             
            - app/overrides/dashboard/index/sample_override.html.erb.deface
         | 
| 99 | 
            +
            - app/controllers/foreman_hosts/syhostmodeldetails_controller.rb
         | 
| 100 | 
            +
            - app/controllers/foreman_hosts/syhostmodels_controller.rb
         | 
| 60 101 | 
             
            - app/controllers/foreman_hosts/hosts_controller.rb
         | 
| 61 102 | 
             
            - app/helpers/concerns/foreman_hosts/hosts_helper_extensions.rb
         | 
| 62 | 
            -
            - app/models/ | 
| 103 | 
            +
            - app/models/foreman_hosts/syhostmodeldetail.rb
         | 
| 104 | 
            +
            - app/models/foreman_hosts/syhostmodel.rb
         | 
| 63 105 | 
             
            - bin/foreman-hosts
         | 
| 64 106 | 
             
            - config/routes.rb
         | 
| 107 | 
            +
            - db/migrate/20151015022411_create_syhostmodels.rb
         | 
| 108 | 
            +
            - db/migrate/20151015050239_create_syhostmodeldetails.rb
         | 
| 65 109 | 
             
            - lib/tasks/foreman_hosts_tasks.rake
         | 
| 66 110 | 
             
            - lib/foreman_hosts.rb
         | 
| 67 111 | 
             
            - lib/foreman_hosts/version.rb
         | 
| @@ -1,19 +0,0 @@ | |
| 1 | 
            -
            module ForemanHosts
         | 
| 2 | 
            -
              module HostExtensions
         | 
| 3 | 
            -
                extend ActiveSupport::Concern
         | 
| 4 | 
            -
             | 
| 5 | 
            -
                included do
         | 
| 6 | 
            -
                  # execute callbacks
         | 
| 7 | 
            -
                end
         | 
| 8 | 
            -
             | 
| 9 | 
            -
                # create or overwrite instance methods...
         | 
| 10 | 
            -
                def instance_method_name
         | 
| 11 | 
            -
                end
         | 
| 12 | 
            -
             | 
| 13 | 
            -
                module ClassMethods
         | 
| 14 | 
            -
                  # create or overwrite class methods...
         | 
| 15 | 
            -
                  def class_method_name
         | 
| 16 | 
            -
                  end
         | 
| 17 | 
            -
                end
         | 
| 18 | 
            -
              end
         | 
| 19 | 
            -
            end
         |