Skip to content

NREL/openstudio-metadata-gem

Repository files navigation

Openstudio Metadata Gem

This gem produces semantic data representations for OpenStudio models

Installation

Add this line to your application's Gemfile:

gem 'openstudio-metadata'

And then execute:

$ bundle

Or install it yourself as:

$ gem install 'openstudio-metadata'

Usage

Find documentation at https://www.rubydoc.info/gems/openstudio-metadata

Note

This Gem requires OpenStudio@3.0 or greater

Developing

Environment Setup

  1. Install ruby with rbenv

     $ rbenv install 2.5.5
    

    check compatability matrix for which ruby version is supported by your version of OpenStudio

  2. Set project project to use specific ruby version:

     $ rbenv local 2.5.5
    
  3. Install required gems with bundle

     $ bundle install
    

Contributing

  1. Create branch
  2. Work on feature, add tests
  3. Make sure tests are passing: bundle exec rspec
  4. Add commits
  5. Run bundle exec rake rubocop:auto_correct
  6. Commit and push
  7. Add PR to feature

Releasing

  1. Update change log
  2. Update version in /lib/openstudio/openstudio-metadata/version.rb
  3. Run bundle exec rake rubocop:auto_correct
  4. Merge develop down to master and confirm tests pass
  5. Release via github
  6. run rake release from master

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages