-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add ability to add gemfiles to analysis #81
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# gems in this file are packaged into openstudio.exe | ||
# gems listed here should not have binary components | ||
# gems listed here must be able to read resource files from the embedded files location | ||
# need to adjust hard coded paths in embedded_help.rb when adding new gems | ||
source 'http://rubygems.org' | ||
ruby "~> 2.7.0" | ||
|
||
# Specify gem's dependencies in openstudio-gems.gemspec, this is what consumers of the gem will read | ||
gemspec | ||
|
||
# Specify specific gem source/location (e.g. github branch) for running bundle in this directory | ||
# This is needed if the version of the gem you want to use is not on rubygems | ||
|
||
# Bug in addressable to 2.8.1 and patched version has an issue https://github.com/NREL/OpenStudio/issues/4870 | ||
gem 'addressable', '= 2.8.1' | ||
|
||
gem 'openstudio-extension', '= 0.7.1' | ||
gem 'openstudio-workflow', '= 2.3.1' | ||
gem 'openstudio-standards', '= 0.4.0' | ||
gem 'tbd', :github => 'rd2/tbd', :ref => 'v3.2.2' | ||
gem 'openstudio_measure_tester', '= 0.3.2' | ||
gem 'urbanopt-reporting', '~> 0.9.1' | ||
|
||
group :native_ext do | ||
gem 'pycall', '= 1.2.1', :github => 'NREL/pycall.rb', :ref => '5d60b274ac646cdb422a436aad98b40ef8b902b8' | ||
gem 'jaro_winkler', '= 1.5.4', :github => 'jmarrec/jaro_winkler', :ref => 'f1ca425fdef06603e5c65b09c5b681f805e1e297' | ||
gem 'sqlite3', :github => 'jmarrec/sqlite3-ruby', :ref => 'MSVC_support' | ||
# You need ragel available (version 6.x, eg `ragel_installer/6.10@bincrafters/stable` from conan) | ||
gem 'oga', '3.2' | ||
# gem 'cbor', '0.5.9.6' # Cbor will require a ton of patching, so disabling it in favor of msgpack (cbor is a fork of msgpack anyways) | ||
gem 'msgpack', '1.4.2' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
$static = true | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'openstudio-gems' | ||
spec.version = '3.6.0' | ||
spec.authors = ['Nicholas Long', 'Dan Macumber', 'Katherine Fleming'] | ||
spec.email = ['nicholas.long@nrel.gov', 'daniel.macumber@nrel.gov', 'katherine.fleming@nrel.gov'] | ||
|
||
spec.summary = 'Build openstudio-gems for OpenStudio CLI and coordinate dependencies for OpenStudio Extension Gems' | ||
spec.description = 'Build openstudio-gems for OpenStudio CLI and coordinate dependencies for OpenStudio Extension Gems' | ||
spec.homepage = 'https://openstudio.net' | ||
|
||
spec.files = [] | ||
spec.bindir = '' | ||
spec.executables = [] | ||
spec.require_paths = ['lib'] | ||
|
||
# gem version is specified in gemspec, gem source/location (e.g. github branch) can be specified in Gemfile | ||
# runtime dependency versions can be loosened while in development on branches if needed | ||
# runtime dependency versions should be specified as exact versions when merged to master or develop | ||
spec.add_dependency 'openstudio-extension', '0.7.1' | ||
spec.add_dependency 'openstudio-workflow', '2.3.1' | ||
spec.add_dependency 'openstudio_measure_tester', '~> 0.3.2' | ||
|
||
spec.add_dependency 'parallel', '1.19.1' | ||
|
||
# 20200324 TJC json native is enabled for all platforms and is included when building ruby | ||
#spec.add_dependency 'json_pure', '2.2' | ||
|
||
# development dependencies need not be specified so strictly | ||
# these will not be enforced by consumers of this spec | ||
# bundle version is parsed by build_openstudio_gems.rb, specify all three numbers | ||
spec.add_development_dependency 'bundler', '>= 2.1.0' | ||
spec.add_development_dependency 'rake', '~> 13.0' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can test this in the server custom gem files test