urbanopt-reopt 0.7.0 → 0.8.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/Gemfile +1 -3
- data/LICENSE.md +1 -13
- data/Rakefile +1 -1
- data/developer_nrel_key.rb +1 -1
- data/doc_templates/LICENSE.md +17 -17
- data/doc_templates/copyright_erb.txt +2 -2
- data/doc_templates/copyright_js.txt +2 -2
- data/doc_templates/copyright_ruby.txt +2 -2
- data/docs/package-lock.json +6040 -4675
- data/lib/urbanopt/reopt/extension.rb +6 -16
- data/lib/urbanopt/reopt/feature_report_adapter.rb +23 -19
- data/lib/urbanopt/reopt/reopt_lite_api.rb +6 -16
- data/lib/urbanopt/reopt/reopt_logger.rb +6 -16
- data/lib/urbanopt/reopt/reopt_post_processor.rb +22 -19
- data/lib/urbanopt/reopt/reopt_schema/reopt_output_schema.json +6 -1
- data/lib/urbanopt/reopt/scenario/reopt_scenario_csv.rb +7 -17
- data/lib/urbanopt/reopt/scenario_report_adapter.rb +51 -21
- data/lib/urbanopt/reopt/utilities.rb +30 -0
- data/lib/urbanopt/reopt/version.rb +7 -17
- data/lib/urbanopt/reopt.rb +6 -16
- data/lib/urbanopt/reopt_scenario.rb +6 -16
- data/lib/urbanopt-reopt.rb +6 -16
- data/urbanopt-reopt.gemspec +1 -2
- metadata +4 -18
| @@ -1,31 +1,21 @@ | |
| 1 1 | 
             
            # *********************************************************************************
         | 
| 2 | 
            -
            # URBANopt™, Copyright (c) 2019- | 
| 2 | 
            +
            # URBANopt™, Copyright (c) 2019-2022, Alliance for Sustainable Energy, LLC, and other
         | 
| 3 3 | 
             
            # contributors. All rights reserved.
         | 
| 4 | 
            -
             | 
| 4 | 
            +
            #
         | 
| 5 5 | 
             
            # Redistribution and use in source and binary forms, with or without modification,
         | 
| 6 6 | 
             
            # are permitted provided that the following conditions are met:
         | 
| 7 | 
            -
             | 
| 7 | 
            +
            #
         | 
| 8 8 | 
             
            # Redistributions of source code must retain the above copyright notice, this list
         | 
| 9 9 | 
             
            # of conditions and the following disclaimer.
         | 
| 10 | 
            -
             | 
| 10 | 
            +
            #
         | 
| 11 11 | 
             
            # Redistributions in binary form must reproduce the above copyright notice, this
         | 
| 12 12 | 
             
            # list of conditions and the following disclaimer in the documentation and/or other
         | 
| 13 13 | 
             
            # materials provided with the distribution.
         | 
| 14 | 
            -
             | 
| 14 | 
            +
            #
         | 
| 15 15 | 
             
            # Neither the name of the copyright holder nor the names of its contributors may be
         | 
| 16 16 | 
             
            # used to endorse or promote products derived from this software without specific
         | 
| 17 17 | 
             
            # prior written permission.
         | 
| 18 | 
            -
             | 
| 19 | 
            -
            # Redistribution of this software, without modification, must refer to the software
         | 
| 20 | 
            -
            # by the same designation. Redistribution of a modified version of this software
         | 
| 21 | 
            -
            # (i) may not refer to the modified version by the same designation, or by any
         | 
| 22 | 
            -
            # confusingly similar designation, and (ii) must refer to the underlying software
         | 
| 23 | 
            -
            # originally provided by Alliance as “URBANopt”. Except to comply with the foregoing,
         | 
| 24 | 
            -
            # the term “URBANopt”, or any confusingly similar designation may not be used to
         | 
| 25 | 
            -
            # refer to any modified version of this software or any modified version of the
         | 
| 26 | 
            -
            # underlying software originally provided by Alliance without the prior written
         | 
| 27 | 
            -
            # consent of Alliance.
         | 
| 28 | 
            -
             | 
| 18 | 
            +
            #
         | 
| 29 19 | 
             
            # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
         | 
| 30 20 | 
             
            # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
         | 
| 31 21 | 
             
            # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
         | 
    
        data/lib/urbanopt-reopt.rb
    CHANGED
    
    | @@ -1,31 +1,21 @@ | |
| 1 1 | 
             
            # *********************************************************************************
         | 
| 2 | 
            -
            # URBANopt™, Copyright (c) 2019- | 
| 2 | 
            +
            # URBANopt™, Copyright (c) 2019-2022, Alliance for Sustainable Energy, LLC, and other
         | 
| 3 3 | 
             
            # contributors. All rights reserved.
         | 
| 4 | 
            -
             | 
| 4 | 
            +
            #
         | 
| 5 5 | 
             
            # Redistribution and use in source and binary forms, with or without modification,
         | 
| 6 6 | 
             
            # are permitted provided that the following conditions are met:
         | 
| 7 | 
            -
             | 
| 7 | 
            +
            #
         | 
| 8 8 | 
             
            # Redistributions of source code must retain the above copyright notice, this list
         | 
| 9 9 | 
             
            # of conditions and the following disclaimer.
         | 
| 10 | 
            -
             | 
| 10 | 
            +
            #
         | 
| 11 11 | 
             
            # Redistributions in binary form must reproduce the above copyright notice, this
         | 
| 12 12 | 
             
            # list of conditions and the following disclaimer in the documentation and/or other
         | 
| 13 13 | 
             
            # materials provided with the distribution.
         | 
| 14 | 
            -
             | 
| 14 | 
            +
            #
         | 
| 15 15 | 
             
            # Neither the name of the copyright holder nor the names of its contributors may be
         | 
| 16 16 | 
             
            # used to endorse or promote products derived from this software without specific
         | 
| 17 17 | 
             
            # prior written permission.
         | 
| 18 | 
            -
             | 
| 19 | 
            -
            # Redistribution of this software, without modification, must refer to the software
         | 
| 20 | 
            -
            # by the same designation. Redistribution of a modified version of this software
         | 
| 21 | 
            -
            # (i) may not refer to the modified version by the same designation, or by any
         | 
| 22 | 
            -
            # confusingly similar designation, and (ii) must refer to the underlying software
         | 
| 23 | 
            -
            # originally provided by Alliance as “URBANopt”. Except to comply with the foregoing,
         | 
| 24 | 
            -
            # the term “URBANopt”, or any confusingly similar designation may not be used to
         | 
| 25 | 
            -
            # refer to any modified version of this software or any modified version of the
         | 
| 26 | 
            -
            # underlying software originally provided by Alliance without the prior written
         | 
| 27 | 
            -
            # consent of Alliance.
         | 
| 28 | 
            -
             | 
| 18 | 
            +
            #
         | 
| 29 19 | 
             
            # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
         | 
| 30 20 | 
             
            # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
         | 
| 31 21 | 
             
            # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
         | 
    
        data/urbanopt-reopt.gemspec
    CHANGED
    
    | @@ -26,10 +26,9 @@ Gem::Specification.new do |spec| | |
| 26 26 |  | 
| 27 27 | 
             
              spec.add_development_dependency 'bundler', '>= 2.1.0'
         | 
| 28 28 | 
             
              spec.add_development_dependency 'rake', '~> 13.0'
         | 
| 29 | 
            -
              spec.add_development_dependency 'rdoc', '~> 4.3.0'
         | 
| 30 29 | 
             
              spec.add_development_dependency 'rspec', '~> 3.9'
         | 
| 31 30 |  | 
| 32 31 | 
             
              spec.add_dependency 'certified', '~> 1'
         | 
| 33 32 | 
             
              spec.add_dependency 'json_pure', '~> 2'
         | 
| 34 | 
            -
              spec.add_dependency 'urbanopt-scenario', '~> 0. | 
| 33 | 
            +
              spec.add_dependency 'urbanopt-scenario', '~> 0.8.0'
         | 
| 35 34 | 
             
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: urbanopt-reopt
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.8.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - ''
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2022-05-14 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: bundler
         | 
| @@ -38,20 +38,6 @@ dependencies: | |
| 38 38 | 
             
                - - "~>"
         | 
| 39 39 | 
             
                  - !ruby/object:Gem::Version
         | 
| 40 40 | 
             
                    version: '13.0'
         | 
| 41 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 42 | 
            -
              name: rdoc
         | 
| 43 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 44 | 
            -
                requirements:
         | 
| 45 | 
            -
                - - "~>"
         | 
| 46 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 47 | 
            -
                    version: 4.3.0
         | 
| 48 | 
            -
              type: :development
         | 
| 49 | 
            -
              prerelease: false
         | 
| 50 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 51 | 
            -
                requirements:
         | 
| 52 | 
            -
                - - "~>"
         | 
| 53 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 54 | 
            -
                    version: 4.3.0
         | 
| 55 41 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 56 42 | 
             
              name: rspec
         | 
| 57 43 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -100,14 +86,14 @@ dependencies: | |
| 100 86 | 
             
                requirements:
         | 
| 101 87 | 
             
                - - "~>"
         | 
| 102 88 | 
             
                  - !ruby/object:Gem::Version
         | 
| 103 | 
            -
                    version: 0. | 
| 89 | 
            +
                    version: 0.8.0
         | 
| 104 90 | 
             
              type: :runtime
         | 
| 105 91 | 
             
              prerelease: false
         | 
| 106 92 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 107 93 | 
             
                requirements:
         | 
| 108 94 | 
             
                - - "~>"
         | 
| 109 95 | 
             
                  - !ruby/object:Gem::Version
         | 
| 110 | 
            -
                    version: 0. | 
| 96 | 
            +
                    version: 0.8.0
         | 
| 111 97 | 
             
            description: Classes and measures for utilizing the REopt Lite API within OpenStudio
         | 
| 112 98 | 
             
              workflows.
         | 
| 113 99 | 
             
            email:
         |