urbanopt-geojson 0.1.0 → 0.2.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +19 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +15 -0
- data/.github/pull_request_template.md +13 -0
- data/CONTRIBUTING.md +58 -0
- data/Gemfile +3 -3
- data/Jenkinsfile +2 -2
- data/LICENSE.md +1 -1
- data/Rakefile +1 -1
- data/doc_templates/LICENSE.md +1 -1
- data/doc_templates/copyright_erb.txt +1 -1
- data/doc_templates/copyright_js.txt +1 -1
- data/doc_templates/copyright_ruby.txt +1 -1
- data/docs/package-lock.json +2291 -2205
- data/docs/package.json +8 -1
- data/lib/change_log.rb +147 -0
- data/lib/measures/urban_geometry_creation/LICENSE.md +1 -1
- data/lib/measures/urban_geometry_creation/measure.rb +1 -3
- data/lib/measures/urban_geometry_creation/tests/shadowed_tests.rb +1 -1
- data/lib/measures/urban_geometry_creation/tests/urban_geometry_creation_test.rb +3 -7
- data/lib/measures/urban_geometry_creation_zoning/LICENSE.md +1 -1
- data/lib/measures/urban_geometry_creation_zoning/measure.rb +5 -6
- data/lib/measures/urban_geometry_creation_zoning/tests/{urban_geometry_creation_test.rb → urban_geometry_creation_zoning_test.rb} +3 -7
- data/lib/urbanopt-geojson.rb +31 -0
- data/lib/urbanopt/geojson.rb +1 -1
- data/lib/urbanopt/geojson/building.rb +90 -18
- data/lib/urbanopt/geojson/district_system.rb +1 -1
- data/lib/urbanopt/geojson/extension.rb +1 -1
- data/lib/urbanopt/geojson/feature.rb +9 -7
- data/lib/urbanopt/geojson/files/electrical_database.json +28 -0
- data/lib/urbanopt/geojson/geo_file.rb +213 -31
- data/lib/urbanopt/geojson/helper.rb +10 -8
- data/lib/urbanopt/geojson/logging.rb +1 -1
- data/lib/urbanopt/geojson/mapper_classes.rb +1 -1
- data/lib/urbanopt/geojson/model.rb +1 -1
- data/lib/urbanopt/geojson/region.rb +1 -1
- data/lib/urbanopt/geojson/schema/building_properties.json +28 -5
- data/lib/urbanopt/geojson/schema/district_system_properties.json +29 -28
- data/lib/urbanopt/geojson/schema/electrical_connector_properties.json +150 -10
- data/lib/urbanopt/geojson/schema/electrical_junction_properties.json +3 -2
- data/lib/urbanopt/geojson/schema/thermal_connector_properties.json +2 -1
- data/lib/urbanopt/geojson/update_areas.rb +1 -1
- data/lib/urbanopt/geojson/validate_geojson.rb +1 -1
- data/lib/urbanopt/geojson/version.rb +2 -2
- data/lib/urbanopt/geojson/zoning.rb +1 -1
- data/urbanopt-geojson-gem.gemspec +4 -1
- metadata +14 -8
- data/.travis.yml +0 -35
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.
|
4
|
+
version: 0.2.0.pre1
|
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:
|
13
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -88,14 +88,14 @@ dependencies:
|
|
88
88
|
requirements:
|
89
89
|
- - "~>"
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.1.
|
91
|
+
version: 0.1.5
|
92
92
|
type: :runtime
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - "~>"
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.1.
|
98
|
+
version: 0.1.5
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
100
|
name: urbanopt-core
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
@@ -119,13 +119,16 @@ executables: []
|
|
119
119
|
extensions: []
|
120
120
|
extra_rdoc_files: []
|
121
121
|
files:
|
122
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
123
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
124
|
+
- ".github/pull_request_template.md"
|
122
125
|
- ".gitignore"
|
123
126
|
- ".rakeTasks"
|
124
127
|
- ".rdoc_options"
|
125
128
|
- ".rspec"
|
126
129
|
- ".rubocop.yml"
|
127
|
-
- ".travis.yml"
|
128
130
|
- CHANGELOG.md
|
131
|
+
- CONTRIBUTING.md
|
129
132
|
- Gemfile
|
130
133
|
- Jenkinsfile
|
131
134
|
- LICENSE.md
|
@@ -166,6 +169,7 @@ files:
|
|
166
169
|
- docs/schemas/site-properties.md
|
167
170
|
- docs/schemas/thermal-connector-properties.md
|
168
171
|
- docs/schemas/thermal-junction-properties.md
|
172
|
+
- lib/change_log.rb
|
169
173
|
- lib/measures/.rubocop.yml
|
170
174
|
- lib/measures/urban_geometry_creation/LICENSE.md
|
171
175
|
- lib/measures/urban_geometry_creation/README.md
|
@@ -181,12 +185,14 @@ files:
|
|
181
185
|
- lib/measures/urban_geometry_creation_zoning/measure.rb
|
182
186
|
- lib/measures/urban_geometry_creation_zoning/measure.xml
|
183
187
|
- lib/measures/urban_geometry_creation_zoning/tests/nrel_stm_footprints.geojson
|
184
|
-
- lib/measures/urban_geometry_creation_zoning/tests/
|
188
|
+
- lib/measures/urban_geometry_creation_zoning/tests/urban_geometry_creation_zoning_test.rb
|
189
|
+
- lib/urbanopt-geojson.rb
|
185
190
|
- lib/urbanopt/geojson.rb
|
186
191
|
- lib/urbanopt/geojson/building.rb
|
187
192
|
- lib/urbanopt/geojson/district_system.rb
|
188
193
|
- lib/urbanopt/geojson/extension.rb
|
189
194
|
- lib/urbanopt/geojson/feature.rb
|
195
|
+
- lib/urbanopt/geojson/files/electrical_database.json
|
190
196
|
- lib/urbanopt/geojson/geo_file.rb
|
191
197
|
- lib/urbanopt/geojson/helper.rb
|
192
198
|
- lib/urbanopt/geojson/logging.rb
|
@@ -226,9 +232,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
226
232
|
version: '0'
|
227
233
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
228
234
|
requirements:
|
229
|
-
- - "
|
235
|
+
- - ">"
|
230
236
|
- !ruby/object:Gem::Version
|
231
|
-
version:
|
237
|
+
version: 1.3.1
|
232
238
|
requirements: []
|
233
239
|
rubyforge_project:
|
234
240
|
rubygems_version: 2.4.5.1
|
data/.travis.yml
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
---
|
2
|
-
sudo: false
|
3
|
-
language: ruby
|
4
|
-
#cache: bundler
|
5
|
-
rvm:
|
6
|
-
- 2.2.4
|
7
|
-
matrix:
|
8
|
-
include:
|
9
|
-
- env: OPENSTUDIO_VERSION=2.7.0 && OPENSTUDIO_SHA=544f363db5 && RUBYLIB=/usr/local/openstudio-2.7.0/Ruby:/usr/Ruby
|
10
|
-
before_install:
|
11
|
-
- gem install bundler -v '1.17'
|
12
|
-
- gem install bundler -v '~> 1.17'
|
13
|
-
install:
|
14
|
-
- bundle install
|
15
|
-
- bash -c 'cd docs && npm i'
|
16
|
-
before_script:
|
17
|
-
- curl -sLO https://raw.githubusercontent.com/NREL/OpenStudio-server/develop/docker/deployment/scripts/install_openstudio.sh
|
18
|
-
- chmod +x install_openstudio.sh
|
19
|
-
- sudo ./install_openstudio.sh $OPENSTUDIO_VERSION $OPENSTUDIO_SHA
|
20
|
-
- sudo ./install_openstudio.sh $OPENSTUDIO_VERSION $OPENSTUDIO_SHA
|
21
|
-
script:
|
22
|
-
- bundle exec rake
|
23
|
-
- bundle exec rake openstudio:list_measures
|
24
|
-
- bundle exec rake openstudio:update_measures
|
25
|
-
- bundle exec rake openstudio:test_with_openstudio
|
26
|
-
- bundle exec rake
|
27
|
-
- bundle exec rdoc
|
28
|
-
- bash -c 'cd docs && npm run build'
|
29
|
-
deploy:
|
30
|
-
provider: pages
|
31
|
-
local-dir: docs/.vuepress/dist
|
32
|
-
skip-cleanup: true
|
33
|
-
github-token: $GITHUB_TOKEN
|
34
|
-
on:
|
35
|
-
branch: master
|