urbanopt-core 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a5657501199d0f7775ac90e6cfa51d4bacc1d3a8dc334d307401dc51dc32285
4
- data.tar.gz: bb5426dd5c7389d823bdba965283eaa88540efdbfbc6d73600d743d9f2c9c4a7
3
+ metadata.gz: 8398dcedab8c028e9ace6a0acb556c4fb1f1df520e5778a2e6855e483b00a6b9
4
+ data.tar.gz: 60c34a89c67ed34ecdad8bbfc81f33de7b4d9aef3fda844888ba46d2bdecd0ed
5
5
  SHA512:
6
- metadata.gz: 5936b3eb0c08de1a01f07ea7b58c80b846bfd4297ad05f81cdba7f9ef810a24804b83c14dd20e3a1ac5463ce87fd5bb516eb4b318a072d842706714294cf6bec
7
- data.tar.gz: 5417f522c72d17d5245fff0b82cbb6bdcc2f775fa23e11fe96923f5a19261514f13ba6c7697cf669af50201c1ea6226c57523d45ded90b6e1fae51d8d3e95724
6
+ metadata.gz: 8debb86d08d67e8c0f0458e29efaf3e10d77e4ac1336345145f419139081c9e05ece2d4420105189b637041ec2fffa632e0f6d802f80cc63fcaf4ee0091ff5ca
7
+ data.tar.gz: e43c9f4adde84a20efbc03757ee08cf34e964495f35c5166f10c142c55e94208731ee85d47d9498d834755534c4ec29692d61bfbddbaccf86b29caab85109616
@@ -0,0 +1,40 @@
1
+ name: nightly_build
2
+
3
+ on:
4
+ # push:
5
+ schedule:
6
+ # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
7
+ # 5 am UTC (11pm MDT the day before) every weekday night in MDT
8
+ - cron: '25 5 * * 2-6'
9
+
10
+ # Cancels an existing job (of the same workflow) if it is still running
11
+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
12
+ # concurrency:
13
+ # group: ${{ github.workflow }}-${{ github.ref }}
14
+ # cancel-in-progress: true
15
+
16
+ env:
17
+ # This env var should enforce develop branch of all dependencies
18
+ FAVOR_LOCAL_GEMS: true
19
+ GEM_DEVELOPER_KEY: ${{ secrets.GEM_DEVELOPER_KEY }}
20
+
21
+ jobs:
22
+ weeknight-tests:
23
+ # Pinned to `ubuntu-20.04`. When ubuntu-latest adopts 22.04 it would break for us since 22 only supports Ruby 3.1
24
+ # https://github.com/ruby/setup-ruby#supported-platforms
25
+ runs-on: ubuntu-20.04
26
+ container:
27
+ image: docker://nrel/openstudio:3.4.0
28
+ steps:
29
+ - name: Checkout code
30
+ uses: actions/checkout@v3
31
+ - name: Update gems
32
+ run: bundle update
33
+ - name: Run Rspec
34
+ run: bundle exec rspec
35
+ # coveralls action docs: https://github.com/marketplace/actions/coveralls-github-action
36
+ - name: Coveralls
37
+ uses: coverallsapp/github-action@master
38
+ with:
39
+ github-token: ${{ secrets.GITHUB_TOKEN }}
40
+ path-to-lcov: "./coverage/lcov/urbanopt-core-gem.lcov"
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # URBANopt Core Gem
2
2
 
3
+ ## Version 0.9.0
4
+ Date Range: 04/22/22 - 12/12/22
5
+
6
+ - Update dependencies for OpenStudio 3.5.0
7
+
3
8
  ## Version 0.8.0
4
9
  Date Range: 11/23/21 - 04/21/22
5
10
 
data/Gemfile CHANGED
@@ -11,8 +11,8 @@ gemspec
11
11
  # checkout the latest version (develop) from github.
12
12
  allow_local = ENV['FAVOR_LOCAL_GEMS']
13
13
 
14
- if allow_local && File.exist?('../OpenStudio-extension-gem')
15
- gem 'openstudio-extension', path: '../OpenStudio-extension-gem'
16
- elsif allow_local
17
- gem 'openstudio-extension', github: 'NREL/OpenStudio-extension-gem', branch: 'develop'
18
- end
14
+ # if allow_local && File.exist?('../OpenStudio-extension-gem')
15
+ # gem 'openstudio-extension', path: '../OpenStudio-extension-gem'
16
+ # elsif allow_local
17
+ # gem 'openstudio-extension', github: 'NREL/OpenStudio-extension-gem', branch: 'develop'
18
+ # end
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # URBANopt Core
2
2
 
3
+ [![Coverage Status](https://coveralls.io/repos/github/urbanopt/urbanopt-core-gem/badge.svg?branch=develop)](https://coveralls.io/github/urbanopt/urbanopt-core-gem?branch=develop)
4
+
3
5
  URBANopt<sup>TM</sup> core libraries and measures.
4
6
 
5
7
  ## Installation
@@ -40,6 +40,6 @@
40
40
 
41
41
  module URBANopt
42
42
  module Core
43
- VERSION = '0.8.0'.freeze
43
+ VERSION = '0.9.0'.freeze
44
44
  end
45
45
  end
@@ -24,6 +24,8 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency 'bundler', '>= 2.1.0'
25
25
  spec.add_development_dependency 'rake', '~> 13.0'
26
26
  spec.add_development_dependency 'rspec', '~> 3.9'
27
+ spec.add_development_dependency 'simplecov', '~> 0.18.2'
28
+ spec.add_development_dependency 'simplecov-lcov', '~> 0.8.0'
27
29
 
28
- spec.add_dependency 'openstudio-extension', '~> 0.5.1'
30
+ spec.add_dependency 'openstudio-extension', '~> 0.6.0'
29
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urbanopt-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Macumber
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-05-02 00:00:00.000000000 Z
12
+ date: 2022-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -53,20 +53,48 @@ dependencies:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '3.9'
56
+ - !ruby/object:Gem::Dependency
57
+ name: simplecov
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: 0.18.2
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: 0.18.2
70
+ - !ruby/object:Gem::Dependency
71
+ name: simplecov-lcov
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: 0.8.0
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: 0.8.0
56
84
  - !ruby/object:Gem::Dependency
57
85
  name: openstudio-extension
58
86
  requirement: !ruby/object:Gem::Requirement
59
87
  requirements:
60
88
  - - "~>"
61
89
  - !ruby/object:Gem::Version
62
- version: 0.5.1
90
+ version: 0.6.0
63
91
  type: :runtime
64
92
  prerelease: false
65
93
  version_requirements: !ruby/object:Gem::Requirement
66
94
  requirements:
67
95
  - - "~>"
68
96
  - !ruby/object:Gem::Version
69
- version: 0.5.1
97
+ version: 0.6.0
70
98
  description: URBANopt core library and measures
71
99
  email:
72
100
  - nicholas.long@nrel.gov
@@ -74,6 +102,7 @@ executables: []
74
102
  extensions: []
75
103
  extra_rdoc_files: []
76
104
  files:
105
+ - ".github/workflows/nightly_build.yml"
77
106
  - ".gitignore"
78
107
  - ".rspec"
79
108
  - ".rubocop.yml"