bcl 0.6.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -2
- data/License.txt +1 -1
- data/bcl.gemspec +2 -2
- data/lib/bcl.rb +19 -0
- data/lib/bcl/base_xml.rb +1 -1
- data/lib/bcl/component.rb +1 -1
- data/lib/bcl/component_from_spreadsheet.rb +1 -1
- data/lib/bcl/component_methods.rb +2 -3
- data/lib/bcl/core_ext.rb +1 -1
- data/lib/bcl/tar_ball.rb +1 -1
- data/lib/bcl/version.rb +2 -2
- metadata +7 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4073198c37e54e15c0465cf53849145a45e4f32e7037bbcd7832427f7d66afbb
|
|
4
|
+
data.tar.gz: 88c9cf9fbc81084c3b65d06db4546c71f7f26782b2a201149e0be8ee19ce4ecf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 20fd7f2591c9fbe6cf7372d3f03dbb3023f54e51da5faff2cb2cb15e34a757451c2773678f8fb0add969b43ea3ab0c2e6c2770a585e8f981103a9d3ad34ed476
|
|
7
|
+
data.tar.gz: 685bd62bee9ffab69be8da4e84dda1508ba46f6e9c3a8348a62264203a606f48c7f5b5dc95ebed7b2cca73acd27f0caec66c81c57b4542cf5db20cb3af27983d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## Version 0.
|
|
3
|
+
## Version 0.7.0
|
|
4
|
+
* Support Ruby > 2.7
|
|
5
|
+
* Minimum version of OpenStudio Measure Tester Gem to 0.3.0
|
|
6
|
+
* Update copyrights
|
|
4
7
|
|
|
8
|
+
## Version 0.6.1
|
|
5
9
|
* Remove dependency for winole (`require 'win32ole'`). This affects the reading of the component spreadsheets and the
|
|
6
10
|
the master taxomony.
|
|
7
11
|
* Use new rubocop (v3) from s3 openstudio-resources
|
|
8
12
|
|
|
9
13
|
## Version 0.6.0
|
|
10
|
-
|
|
11
14
|
* Support Ruby > 2.5
|
|
12
15
|
* Update dependencies
|
|
13
16
|
|
data/License.txt
CHANGED
data/bcl.gemspec
CHANGED
|
@@ -22,14 +22,14 @@ Gem::Specification.new do |spec|
|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
23
23
|
spec.require_paths = ['lib']
|
|
24
24
|
|
|
25
|
-
spec.required_ruby_version = '
|
|
25
|
+
spec.required_ruby_version = '~> 2.7.0'
|
|
26
26
|
|
|
27
27
|
spec.add_dependency 'builder', '3.2.4'
|
|
28
28
|
spec.add_dependency 'faraday', '~> 1.0.1'
|
|
29
29
|
spec.add_dependency 'minitar', '~> 0.9'
|
|
30
30
|
# Measure tester is not used in this project, but this will force dependencies to match versions
|
|
31
31
|
# requested by OpenStudio.
|
|
32
|
-
spec.add_dependency 'openstudio_measure_tester', '~> 0.
|
|
32
|
+
spec.add_dependency 'openstudio_measure_tester', '~> 0.3.0'
|
|
33
33
|
spec.add_dependency 'rexml', '3.2.4'
|
|
34
34
|
spec.add_dependency 'rubyzip', '~> 2.3.0'
|
|
35
35
|
spec.add_dependency 'spreadsheet', '1.2.6'
|
data/lib/bcl.rb
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
######################################################################
|
|
2
|
+
# Copyright (c) 2008-2021, Alliance for Sustainable Energy.
|
|
3
|
+
# All rights reserved.
|
|
4
|
+
#
|
|
5
|
+
# This library is free software; you can redistribute it and/or
|
|
6
|
+
# modify it under the terms of the GNU Lesser General Public
|
|
7
|
+
# License as published by the Free Software Foundation; either
|
|
8
|
+
# version 2.1 of the License, or (at your option) any later version.
|
|
9
|
+
#
|
|
10
|
+
# This library is distributed in the hope that it will be useful,
|
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
13
|
+
# Lesser General Public License for more details.
|
|
14
|
+
#
|
|
15
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
16
|
+
# License along with this library; if not, write to the Free Software
|
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
18
|
+
######################################################################
|
|
19
|
+
|
|
1
20
|
require 'pathname'
|
|
2
21
|
require 'base64'
|
|
3
22
|
|
data/lib/bcl/base_xml.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
######################################################################
|
|
2
|
-
# Copyright (c) 2008-
|
|
2
|
+
# Copyright (c) 2008-2021, Alliance for Sustainable Energy.
|
|
3
3
|
# All rights reserved.
|
|
4
4
|
#
|
|
5
5
|
# This library is free software; you can redistribute it and/or
|
data/lib/bcl/component.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
######################################################################
|
|
2
|
-
# Copyright (c) 2008-
|
|
2
|
+
# Copyright (c) 2008-2021, Alliance for Sustainable Energy.
|
|
3
3
|
# All rights reserved.
|
|
4
4
|
#
|
|
5
5
|
# This library is free software; you can redistribute it and/or
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
######################################################################
|
|
2
|
-
# Copyright (c) 2008-
|
|
2
|
+
# Copyright (c) 2008-2021, Alliance for Sustainable Energy.
|
|
3
3
|
# All rights reserved.
|
|
4
4
|
#
|
|
5
5
|
# This library is free software; you can redistribute it and/or
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
######################################################################
|
|
2
|
-
# Copyright (c) 2008-
|
|
2
|
+
# Copyright (c) 2008-2021, Alliance for Sustainable Energy.
|
|
3
3
|
# All rights reserved.
|
|
4
4
|
#
|
|
5
5
|
# This library is free software; you can redistribute it and/or
|
|
@@ -432,7 +432,7 @@ module BCL
|
|
|
432
432
|
end
|
|
433
433
|
|
|
434
434
|
def search_by_uuid(uuid, vid = nil)
|
|
435
|
-
full_url = '/api/search
|
|
435
|
+
full_url = '/api/search.json'
|
|
436
436
|
action = nil
|
|
437
437
|
|
|
438
438
|
# add api_version
|
|
@@ -443,7 +443,6 @@ module BCL
|
|
|
443
443
|
|
|
444
444
|
# uuid
|
|
445
445
|
full_url += "&fq[]=ss_uuid:#{uuid}"
|
|
446
|
-
# puts "search url: #{full_url}"
|
|
447
446
|
|
|
448
447
|
res = @http.get(full_url)
|
|
449
448
|
res = JSON.parse res.body
|
data/lib/bcl/core_ext.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
######################################################################
|
|
2
|
-
# Copyright (c) 2008-
|
|
2
|
+
# Copyright (c) 2008-2021, Alliance for Sustainable Energy.
|
|
3
3
|
# All rights reserved.
|
|
4
4
|
#
|
|
5
5
|
# This library is free software; you can redistribute it and/or
|
data/lib/bcl/tar_ball.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
######################################################################
|
|
2
|
-
# Copyright (c) 2008-
|
|
2
|
+
# Copyright (c) 2008-2021, Alliance for Sustainable Energy.
|
|
3
3
|
# All rights reserved.
|
|
4
4
|
#
|
|
5
5
|
# This library is free software; you can redistribute it and/or
|
data/lib/bcl/version.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
######################################################################
|
|
2
|
-
# Copyright (c) 2008-
|
|
2
|
+
# Copyright (c) 2008-2021, Alliance for Sustainable Energy.
|
|
3
3
|
# All rights reserved.
|
|
4
4
|
#
|
|
5
5
|
# This library is free software; you can redistribute it and/or
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
######################################################################
|
|
19
19
|
|
|
20
20
|
module BCL
|
|
21
|
-
VERSION = '0.
|
|
21
|
+
VERSION = '0.7.0'.freeze
|
|
22
22
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bcl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Macumber
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: exe
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date:
|
|
14
|
+
date: 2021-02-15 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: builder
|
|
@@ -61,14 +61,14 @@ dependencies:
|
|
|
61
61
|
requirements:
|
|
62
62
|
- - "~>"
|
|
63
63
|
- !ruby/object:Gem::Version
|
|
64
|
-
version: 0.
|
|
64
|
+
version: 0.3.0
|
|
65
65
|
type: :runtime
|
|
66
66
|
prerelease: false
|
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
|
69
69
|
- - "~>"
|
|
70
70
|
- !ruby/object:Gem::Version
|
|
71
|
-
version: 0.
|
|
71
|
+
version: 0.3.0
|
|
72
72
|
- !ruby/object:Gem::Dependency
|
|
73
73
|
name: rexml
|
|
74
74
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -195,17 +195,16 @@ require_paths:
|
|
|
195
195
|
- lib
|
|
196
196
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
197
197
|
requirements:
|
|
198
|
-
- - "
|
|
198
|
+
- - "~>"
|
|
199
199
|
- !ruby/object:Gem::Version
|
|
200
|
-
version: 2.
|
|
200
|
+
version: 2.7.0
|
|
201
201
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
202
|
requirements:
|
|
203
203
|
- - ">="
|
|
204
204
|
- !ruby/object:Gem::Version
|
|
205
205
|
version: '0'
|
|
206
206
|
requirements: []
|
|
207
|
-
|
|
208
|
-
rubygems_version: 2.7.6.2
|
|
207
|
+
rubygems_version: 3.1.4
|
|
209
208
|
signing_key:
|
|
210
209
|
specification_version: 4
|
|
211
210
|
summary: Classes for creating component XML files and manageing measures for the BCL
|