Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release version 0.12.0 #272

Merged
merged 1 commit into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/nightly_ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name: Scenario-gem CI

on:
workflow_dispatch:
# push:
schedule:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# URBANopt Scenario Gem

## Version 0.12.0
Date Range: 01/10/24 - 05/06/24
* Use new version of reporting-gem by @vtnate in https://github.com/urbanopt/urbanopt-scenario-gem/pull/271

**Full Changelog**: https://github.com/urbanopt/urbanopt-scenario-gem/compare/v0.11.0...v0.12.0

## Version 0.11.0
Date Range: 07/06/23 - 01/10/24

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
# if allow_local && File.exist?('../urbanopt-reporting-gem')
# gem 'urbanopt-reporting', path: '../urbanopt-reporting-gem'
# elsif allow_local
# gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'dependency-patch'
# gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'develop'
# end

# if allow_local && File.exist?('../openstudio-load-flexibility-measures-gem')
Expand Down
2 changes: 1 addition & 1 deletion lib/urbanopt/scenario/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

module URBANopt
module Scenario
VERSION = '0.11.0'.freeze
VERSION = '0.12.0'.freeze
end
end
2 changes: 1 addition & 1 deletion spec/urbanopt/urbanopt_scenario_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
expect(data['scenario_report']['program']['maximum_roof_height_ft']).to eq(data['feature_reports'].map { |h| h['program']['maximum_roof_height_ft'] }.max) if data['scenario_report']['program']['maximum_roof_height_ft']
expect(data['scenario_report']['program']['maximum_number_of_stories']).to eq(data['feature_reports'].map { |h| h['program']['maximum_number_of_stories'] }.max) if data['scenario_report']['program']['maximum_number_of_stories']
expect(data['scenario_report']['program']['maximum_number_of_stories_above_ground']).to eq(data['feature_reports'].map { |h| h['program']['maximum_number_of_stories_above_ground'] }.max) if data['scenario_report']['program']['maximum_number_of_stories_above_ground']
expect(data['scenario_report']['program']['parking_area_sqft']).to eq(data['feature_reports'].map { |h| h['program']['parking_area_sqft'] }.reduce(:+)) if data['scenario_report']['program']['parking_area_sqft'] && data['scenario_report']['program']['parking_area_sqft']
expect(data['scenario_report']['program']['parking_area_sqft']).to eq(data['feature_reports'].map { |h| h['program']['parking_area_sqft'] }.reduce(:+)) if data['scenario_report']['program']['parking_area_sqft']
expect(data['scenario_report']['program']['number_of_parking_spaces']).to eq(data['feature_reports'].map { |h| h['program']['number_of_parking_spaces'] }.reduce(:+)) if data['scenario_report']['program']['number_of_parking_spaces']
expect(data['scenario_report']['program']['number_of_parking_spaces_charging']).to eq(data['feature_reports'].map { |h| h['program']['number_of_parking_spaces_charging'] }.reduce(:+)) if data['scenario_report']['program']['number_of_parking_spaces_charging']
expect(data['scenario_report']['program']['parking_footprint_area_sqft']).to eq(data['feature_reports'].map { |h| h['program']['parking_footprint_area_sqft'] }.reduce(:+)) if data['scenario_report']['program']['parking_footprint_area_sqft']
Expand Down
2 changes: 1 addition & 1 deletion urbanopt-scenario-gem.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'simplecov-lcov', '~> 0.8.0'
spec.add_runtime_dependency 'sqlite3', '~> 1.6.0'
spec.add_runtime_dependency 'urbanopt-core', '~> 0.11.0'
spec.add_runtime_dependency 'urbanopt-reporting', '~> 0.9.1'
spec.add_runtime_dependency 'urbanopt-reporting', '~> 0.10.0'
end