bcl 0.6.1 → 0.7.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: 889eac96a388f104d76ee80dc7406ec047b535e106498425418d7e121b94416d
4
- data.tar.gz: ae5eba1617aabbe3245975a03d0733afccb5381182071e4a146780b26ad77196
3
+ metadata.gz: 4073198c37e54e15c0465cf53849145a45e4f32e7037bbcd7832427f7d66afbb
4
+ data.tar.gz: 88c9cf9fbc81084c3b65d06db4546c71f7f26782b2a201149e0be8ee19ce4ecf
5
5
  SHA512:
6
- metadata.gz: 71b0d4004fc2a0dfc20fff6e912adf194262bba8c2b6ba517d264d6700744c25142a036220131de1f19636e8c5fd4702d55a5fd641b8877843aa124178101c68
7
- data.tar.gz: 4e4e7e94b3851f5a5be2a6dfbcd32c929149ce6e8c5251cfeef143d30546073d093f996d32af4b5949bae48523c87ea1f91b701f9eebf4b8af1e109408d31300
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.6.1
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2008-2019, Alliance for Sustainable Energy.
1
+ Copyright (c) 2008-2021, Alliance for Sustainable Energy.
2
2
  All rights reserved.
3
3
 
4
4
  NOTICE
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 = '>= 2.5.0'
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.2.2'
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-2019, Alliance for Sustainable Energy.
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-2019, Alliance for Sustainable Energy.
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-2019, Alliance for Sustainable Energy.
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-2019, Alliance for Sustainable Energy.
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/*.json'
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-2019, Alliance for Sustainable Energy.
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-2019, Alliance for Sustainable Energy.
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-2019, Alliance for Sustainable Energy.
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.6.1'.freeze
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.6.1
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: 2020-05-09 00:00:00.000000000 Z
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.2.2
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.2.2
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.5.0
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
- rubyforge_project:
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