Skip to content

Commit

Permalink
point example_files Gemfile to new branches
Browse files Browse the repository at this point in the history
  • Loading branch information
vtnate committed Nov 14, 2024
1 parent 8ee628b commit f94f762
Showing 1 changed file with 56 additions and 58 deletions.
114 changes: 56 additions & 58 deletions example_files/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,72 +27,70 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']

# pin this dependency to avoid unicode_normalize error
gem 'addressable', '2.8.1'
# pin this dependency to avoid using racc dependency (which has native extensions)
gem 'parser', '3.2.2.2'

if allow_local && File.exist?('../openstudio-common-measures-gem')
gem 'openstudio-common-measures', path: '../../openstudio-common-measures-gem'
elsif allow_local
gem 'openstudio-common-measures', github: 'NREL/openstudio-common-measures-gem', branch: 'develop'
else
gem 'openstudio-common-measures', '~> 0.9.0'
end
# if allow_local && File.exist?('../openstudio-common-measures-gem')
# gem 'openstudio-common-measures', path: '../../openstudio-common-measures-gem'
# elsif allow_local
gem 'openstudio-common-measures', github: 'NREL/openstudio-common-measures-gem', branch: '0.11.0-prep'
# else
# gem 'openstudio-common-measures', '~> 0.9.0'
# end

if allow_local && File.exist?('../openstudio-model-articulation-gem')
gem 'openstudio-model-articulation', path: '../openstudio-model-articulation-gem'
elsif allow_local
gem 'openstudio-model-articulation', github: 'NREL/openstudio-model-articulation-gem', branch: 'develop'
else
gem 'openstudio-model-articulation', '~> 0.9.0'
end
# if allow_local && File.exist?('../openstudio-model-articulation-gem')
# gem 'openstudio-model-articulation', path: '../openstudio-model-articulation-gem'
# elsif allow_local
gem 'openstudio-model-articulation', github: 'NREL/openstudio-model-articulation-gem', branch: '0.11.0-prep'
# else
# gem 'openstudio-model-articulation', '~> 0.9.0'
# end

if allow_local && File.exist?('../openstudio-load-flexibility-measures-gem')
gem 'openstudio-load-flexibility-measures', path: '../openstudio-load-flexibility-measures-gem'
elsif allow_local
gem 'openstudio-load-flexibility-measures', github: 'NREL/openstudio-load-flexibility-measures-gem', branch: 'develop'
else
gem 'openstudio-load-flexibility-measures', '~> 0.8.0'
end
# if allow_local && File.exist?('../openstudio-load-flexibility-measures-gem')
# gem 'openstudio-load-flexibility-measures', path: '../openstudio-load-flexibility-measures-gem'
# elsif allow_local
gem 'openstudio-load-flexibility-measures', github: 'NREL/openstudio-load-flexibility-measures-gem', branch: '0.10.0-prep'
# else
# gem 'openstudio-load-flexibility-measures', '~> 0.8.0'
# end

if allow_local && File.exist?('../openstudio-ee-gem')
gem 'openstudio-ee', path: '../openstudio-ee-gem'
elsif allow_local
gem 'openstudio-ee', github: 'NREL/openstudio-ee-gem', branch: 'develop'
else
gem 'openstudio-ee', '~> 0.9.0'
end
# if allow_local && File.exist?('../openstudio-ee-gem')
# gem 'openstudio-ee', path: '../openstudio-ee-gem'
# elsif allow_local
gem 'openstudio-ee', github: 'NREL/openstudio-ee-gem', branch: '0.11.0-prep'
# else
# gem 'openstudio-ee', '~> 0.9.0'
# end

if allow_local && File.exist?('../openstudio-calibration-gem')
gem 'openstudio-calibration', path: '../openstudio-calibration-gem'
elsif allow_local
gem 'openstudio-calibration', github: 'NREL/openstudio-calibration-gem', branch: 'develop'
else
gem 'openstudio-calibration', '~> 0.9.0'
end
# if allow_local && File.exist?('../openstudio-calibration-gem')
# gem 'openstudio-calibration', path: '../openstudio-calibration-gem'
# elsif allow_local
gem 'openstudio-calibration', github: 'NREL/openstudio-calibration-gem', branch: '0.11.0-prep'
# else
# gem 'openstudio-calibration', '~> 0.9.0'
# end

if allow_local && File.exist?('../../openstudio-geb')
gem 'openstudio-geb', path: '../../../openstudio-geb-gem'
elsif allow_local
gem 'openstudio-geb', github: 'LBNL-ETA/openstudio-geb-gem', branch: 'master'
else
gem 'openstudio-geb', '~> 0.4.0'
end
# if allow_local && File.exist?('../../openstudio-geb')
# gem 'openstudio-geb', path: '../../../openstudio-geb-gem'
# elsif allow_local
gem 'openstudio-geb', github: 'LBNL-ETA/openstudio-geb-gem', branch: 'version0.5.0'
# else
# gem 'openstudio-geb', '~> 0.4.0'
# end

if allow_local && File.exist?('../urbanopt-geojson-gem')
gem 'urbanopt-geojson', path: '../../urbanopt-geojson-gem'
elsif allow_local
gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'develop'
else
gem 'urbanopt-geojson', '~> 0.11.2'
end
# if allow_local && File.exist?('../urbanopt-geojson-gem')
# gem 'urbanopt-geojson', path: '../../urbanopt-geojson-gem'
# elsif allow_local
gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'os39'
# else
# gem 'urbanopt-geojson', '~> 0.11.2'
# end

# NEVER put SCENARIO-GEM in this file...it will make all simulations fail due to the sqlite dependency
# gem 'urbanopt-scenario', github: 'URBANopt/urbanopt-scenario-gem', branch: 'develop'

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: 'develop'
else
gem 'urbanopt-reporting', '~> 0.10.1'
end
# 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: 'os39'
# else
# gem 'urbanopt-reporting', '~> 0.10.1'
# end

0 comments on commit f94f762

Please sign in to comment.