urbanopt-geojson 0.8.1 → 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: 4106ba555afeedb72ee9af421850a0d26226136d64b85c60143fe9cffdab2848
4
- data.tar.gz: dda42f59468fa27eb9e532f4a2e35bd0fa397ce5d929bdcda0a49f26bd701461
3
+ metadata.gz: 30e104fe33b245c1bacb612ea141b41b0c4c77af709c6aa4706871147762f7cc
4
+ data.tar.gz: 184e4ce248ce2e48737f704900b8a6c5a465fa9a40cd9bbe8b145995e88b41eb
5
5
  SHA512:
6
- metadata.gz: 70855197e712c96b458553b469840ac6607e1d60dc255b6558470b5fc4225f5561d33b0043972e158b00625c1e257883595c3b327762d9b3cb7e747ec5d33ef5
7
- data.tar.gz: 125d45fe2a4ca9641145a2625870b50bf23ef6b2e876e10e4e655adcd1c68692eaed87dd03976b7b2f7ab44c10fa671b9576d9184fd13be9b3d213053b028c19
6
+ metadata.gz: 0bb55712e955a22039c094464900d73dbbc373d9844acabefce42d17eaa68ac0a0e3413cad83d7bed104078b4700003815d3585322738d955753cd802b80165f
7
+ data.tar.gz: eb3aca916a67f9fc4983837507f10dc1a0f63723da3afc93c6f86ba43d7bdf9f4630d34cd31569fea836b979d8201ed62a8f926393410d3ba4743273363f97ca
@@ -0,0 +1,42 @@
1
+
2
+ name: nightly_build
3
+
4
+ on:
5
+ # push:
6
+ schedule:
7
+ # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
8
+ # 5 am UTC (11pm MDT the day before) every weekday night in MDT
9
+ - cron: '21 5 * * 2-6'
10
+
11
+ # Cancels an existing job (of the same workflow) if it is still running
12
+ # 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
13
+ # concurrency:
14
+ # group: ${{ github.workflow }}-${{ github.ref }}
15
+ # cancel-in-progress: true
16
+
17
+ env:
18
+ # This env var should enforce develop branch of all dependencies
19
+ FAVOR_LOCAL_GEMS: true
20
+ GEM_DEVELOPER_KEY: ${{ secrets.GEM_DEVELOPER_KEY }}
21
+
22
+ jobs:
23
+ weeknight-tests:
24
+ # Pinned to `ubuntu-20.04`. When ubuntu-latest adopts 22.04 it would break for us since 22 only supports Ruby 3.1
25
+ # https://github.com/ruby/setup-ruby#supported-platforms
26
+ runs-on: ubuntu-20.04
27
+ container:
28
+ image: docker://nrel/openstudio:3.4.0
29
+ steps:
30
+ - name: Checkout code
31
+ uses: actions/checkout@v3
32
+ - name: Update gems
33
+ run: |
34
+ bundle update
35
+ - name: Run Rspec
36
+ run: bundle exec rspec
37
+ # coveralls action docs: https://github.com/marketplace/actions/coveralls-github-action
38
+ - name: Coveralls
39
+ uses: coverallsapp/github-action@master
40
+ with:
41
+ github-token: ${{ secrets.GITHUB_TOKEN }}
42
+ path-to-lcov: "./coverage/lcov/urbanopt-geojson-gem.lcov"
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # URBANopt GeoJSON Gem
2
2
 
3
+ ## Version 0.9.0
4
+ Date Range: 06/28/22 - 12/5/22
5
+
6
+ - Updating dependencies for OpenStudio 3.5.0
7
+ - Fixed [#235]( https://github.com/urbanopt/urbanopt-geojson-gem/issues/235 ), Code coverage reporting
8
+
3
9
  ## Version 0.8.1
4
10
  Date Range: 05/11/22 - 06/27/22
5
11
 
data/Gemfile CHANGED
@@ -11,14 +11,14 @@ 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
19
19
 
20
- if allow_local && File.exist?('../urbanopt-core-gem')
21
- gem 'urbanopt-core', path: '../urbanopt-core-gem'
22
- elsif allow_local
23
- gem 'urbanopt-core', github: 'URBANopt/urbanopt-core-gem', branch: 'develop'
24
- end
20
+ # if allow_local && File.exist?('../urbanopt-core-gem')
21
+ # gem 'urbanopt-core', path: '../urbanopt-core-gem'
22
+ # elsif allow_local
23
+ # gem 'urbanopt-core', github: 'URBANopt/urbanopt-core-gem', branch: 'develop'
24
+ # end
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # URBANopt GeoJSON Gem
2
2
 
3
+ [![Coverage Status](https://coveralls.io/repos/github/urbanopt/urbanopt-geojson-gem/badge.svg?branch=github-action-coveralls)](https://coveralls.io/github/urbanopt/urbanopt-geojson-gem?branch=github-action-coveralls)
4
+
3
5
  Library and measures to translate URBANopt™ GeoJSON format to OpenStudio. See the [developer documentation](https://urbanopt.github.io/urbanopt-geojson-gem/) for more details.
4
6
 
5
7
  ## Installation
@@ -12168,9 +12168,9 @@
12168
12168
  }
12169
12169
  },
12170
12170
  "node_modules/terser": {
12171
- "version": "4.8.0",
12172
- "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz",
12173
- "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==",
12171
+ "version": "4.8.1",
12172
+ "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.1.tgz",
12173
+ "integrity": "sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw==",
12174
12174
  "dependencies": {
12175
12175
  "commander": "^2.20.0",
12176
12176
  "source-map": "~0.6.1",
@@ -23695,9 +23695,9 @@
23695
23695
  "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg=="
23696
23696
  },
23697
23697
  "terser": {
23698
- "version": "4.8.0",
23699
- "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz",
23700
- "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==",
23698
+ "version": "4.8.1",
23699
+ "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.1.tgz",
23700
+ "integrity": "sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw==",
23701
23701
  "requires": {
23702
23702
  "commander": "^2.20.0",
23703
23703
  "source-map": "~0.6.1",
@@ -40,6 +40,6 @@
40
40
 
41
41
  module URBANopt
42
42
  module GeoJSON
43
- VERSION = '0.8.1'.freeze
43
+ VERSION = '0.9.0'.freeze
44
44
  end
45
45
  end
@@ -1,4 +1,3 @@
1
-
2
1
  lib = File.expand_path('lib', __dir__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require 'urbanopt/geojson/version'
@@ -28,7 +27,9 @@ Gem::Specification.new do |spec|
28
27
  spec.add_development_dependency 'bundler', '>= 2.1.0'
29
28
  spec.add_development_dependency 'rake', '~> 13.0'
30
29
  spec.add_development_dependency 'rspec', '~> 3.9'
30
+ spec.add_development_dependency 'simplecov', '~> 0.18.2'
31
+ spec.add_development_dependency 'simplecov-lcov', '~> 0.8.0'
31
32
 
32
33
  spec.add_runtime_dependency 'json-schema', '~> 2.8'
33
- spec.add_runtime_dependency 'urbanopt-core', '~> 0.8.0'
34
+ spec.add_runtime_dependency 'urbanopt-core', '~> 0.9.0'
34
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urbanopt-geojson
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanushree Charan
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2022-06-27 00:00:00.000000000 Z
13
+ date: 2022-12-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -54,6 +54,34 @@ dependencies:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
56
  version: '3.9'
57
+ - !ruby/object:Gem::Dependency
58
+ name: simplecov
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: 0.18.2
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: 0.18.2
71
+ - !ruby/object:Gem::Dependency
72
+ name: simplecov-lcov
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: 0.8.0
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - "~>"
83
+ - !ruby/object:Gem::Version
84
+ version: 0.8.0
57
85
  - !ruby/object:Gem::Dependency
58
86
  name: json-schema
59
87
  requirement: !ruby/object:Gem::Requirement
@@ -74,14 +102,14 @@ dependencies:
74
102
  requirements:
75
103
  - - "~>"
76
104
  - !ruby/object:Gem::Version
77
- version: 0.8.0
105
+ version: 0.9.0
78
106
  type: :runtime
79
107
  prerelease: false
80
108
  version_requirements: !ruby/object:Gem::Requirement
81
109
  requirements:
82
110
  - - "~>"
83
111
  - !ruby/object:Gem::Version
84
- version: 0.8.0
112
+ version: 0.9.0
85
113
  description: Library and measures to translate URBANopt GeoJSON format to OpenStudio
86
114
  email:
87
115
  - tanushree.charan@nrel.gov
@@ -94,6 +122,7 @@ files:
94
122
  - ".github/ISSUE_TEMPLATE/bug_report.md"
95
123
  - ".github/ISSUE_TEMPLATE/feature_request.md"
96
124
  - ".github/pull_request_template.md"
125
+ - ".github/workflows/nightly_build.yml"
97
126
  - ".gitignore"
98
127
  - ".rakeTasks"
99
128
  - ".rdoc_options"