openstudio_measure_tester 0.1.7 → 0.2.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
- SHA1:
3
- metadata.gz: 873523e54e5442f1468b7398b0dff3e773fbe280
4
- data.tar.gz: 04e7b34c93d47e3af0554718bfaf52a8b97e4bb4
2
+ SHA256:
3
+ metadata.gz: 0da19a77118095eef44c4e967688a5168fc95fd9ce86c93cbb5f9b7e1377c1c3
4
+ data.tar.gz: 18550c876ea20bb2f3324a9ebd517f858d039b1dedd491139360016852aa0177
5
5
  SHA512:
6
- metadata.gz: 34d5ee8f5ee06c1c06cca5768e280cc0bead1fae7e3bbb85410e7c5d5256bc3bf1dd681a8cae61ee1ea7b1d258d37652fbe28113b5557967d5db136b958cdf0a
7
- data.tar.gz: b11fef30aed043abec4a4ea1931620ad8249df59e490870e17f8c13df7bbd5910203f7197b969ac51fcca48ded5dfd3e7263d860757c6c76749f1e7f2b08a870
6
+ metadata.gz: a57f5ec4e23d885192fb2a66405ab704ac77e5c09bac3ff330309395738622d74d675eac9e875485e6c8a4979dab9075bcffb41b00d43624229fc4964f2e7e86
7
+ data.tar.gz: f9dd42f7805f79e88837a16857d91455b3dd0a06451e2dd11a1fceda9590b57254526d100d4bbef99ae1bcecace4cb7268d8857b91cabb378ef3c440ee118329
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # Version 0.2.0
2
+
3
+ * Remove support for Ruby 2.2.4. Use Ruby 2.5.5.
4
+ * Remove NREL's fork of simplecov
5
+ * Update copyrights
6
+ * Remove travis and leverage NREL's Jenkins CI
7
+
1
8
  # Version 0.1.7
2
9
 
3
10
  * Support running measure tester in the directory of the measure.rb with OpenStudio CLI (e.g. `openstudio measure -r .`)
data/Gemfile CHANGED
@@ -4,5 +4,3 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  # Specify your gem's dependencies in openstudio_measure_tester.gemspec
6
6
  gemspec
7
-
8
- gem 'simplecov', github: 'NREL/simplecov'
data/Jenkinsfile ADDED
@@ -0,0 +1,10 @@
1
+ //Jenkins pipelines are stored in shared libaries. Please see: https://github.com/NREL/cbci_jenkins_libs
2
+
3
+ @Library('cbci_shared_libs') _
4
+
5
+ // Build for PR to develop branch only.
6
+ if ((env.CHANGE_ID) && (env.CHANGE_TARGET) ) { // check if set
7
+
8
+ openstudio_measure_tester_gem()
9
+
10
+ }
data/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without modification, are permitted provided
4
4
  that the following conditions are met:
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  ########################################################################################################################
2
- # OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
4
+ # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
3
5
  #
4
6
  # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
5
7
  # following conditions are met:
@@ -34,7 +36,7 @@ require 'minitest'
34
36
  require 'simplecov'
35
37
 
36
38
  begin
37
- require 'git'
39
+ require 'git'
38
40
  rescue LoadError => error
39
41
  puts 'Could not load git, will not be able to report git information'
40
42
  end
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  ########################################################################################################################
2
- # OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
4
+ # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
3
5
  #
4
6
  # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
5
7
  # following conditions are met:
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  ########################################################################################################################
2
- # OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
4
+ # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
3
5
  #
4
6
  # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
5
7
  # following conditions are met:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'erb'
2
4
  module OpenStudioMeasureTester
3
5
  class Dashboard
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  ########################################################################################################################
2
- # OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
4
+ # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
3
5
  #
4
6
  # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
5
7
  # following conditions are met:
@@ -87,10 +89,10 @@ module OpenStudioMeasureTester
87
89
  mhash[:measure_failures] = 0
88
90
  mhash[:measure_skipped] = 0
89
91
  mhash[:issues] = {
90
- errors: [],
91
- failures: [],
92
- skipped: [],
93
- compatibility_error: json_data[:compatible] ? 0 : 1
92
+ errors: [],
93
+ failures: [],
94
+ skipped: [],
95
+ compatibility_error: json_data[:compatible] ? 0 : 1
94
96
  }
95
97
 
96
98
  # find the report XML - if it exists
@@ -127,7 +129,7 @@ module OpenStudioMeasureTester
127
129
  @total_failures += mhash[:measure_failures]
128
130
  @total_skipped += mhash[:measure_skipped]
129
131
  @total_compatibility_errors += mhash[:measure_compatibility_errors]
130
- @total_loaded = @total_loaded && mhash[:loaded]
132
+ @total_loaded &&= mhash[:loaded]
131
133
  @total_load_errors.concat(mhash[:load_errors])
132
134
  end
133
135
 
@@ -147,7 +149,7 @@ module OpenStudioMeasureTester
147
149
  @summary[:total_loaded] = @total_loaded
148
150
  @summary[:total_load_errors] = @total_load_errors
149
151
  @summary[:by_measure] = @measure_results
150
-
152
+
151
153
  # pp @summary
152
154
 
153
155
  FileUtils.mkdir "#{@path_to_results}/" unless Dir.exist? "#{@path_to_results}/"
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  ########################################################################################################################
2
- # OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
4
+ # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
3
5
  #
4
6
  # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
5
7
  # following conditions are met:
@@ -236,7 +238,7 @@ module OpenStudioMeasureTester
236
238
  def run_regex_checks(measure_dir)
237
239
  def check(data, check)
238
240
  if check[:check_type] == :if_exists
239
- if data =~ check[:regex]
241
+ if data.match?(check[:regex])
240
242
  log_message(check[:message], check[:type], check[:severity])
241
243
  end
242
244
  elsif check[:check_type] == :if_missing
@@ -273,11 +275,11 @@ module OpenStudioMeasureTester
273
275
  clean_name = name
274
276
 
275
277
  # Check for parenthetical names
276
- if clean_name =~ /\(.+?\)/
278
+ if clean_name.match?(/\(.+?\)/)
277
279
  log_message("#{name_type} '#{name}' appears to have units. Set units in the setUnits method.", severity)
278
280
  end
279
281
 
280
- if clean_name =~ /\?|\.|\#/
282
+ if clean_name.match?(/\?|\.|\#/)
281
283
  log_message("#{name_type} '#{name}' cannot contain ?#.[] characters.", :syntax, severity)
282
284
  end
283
285
 
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  ########################################################################################################################
2
- # OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
4
+ # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
3
5
  #
4
6
  # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
5
7
  # following conditions are met:
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  ########################################################################################################################
2
- # OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
4
+ # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
3
5
  #
4
6
  # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
5
7
  # following conditions are met:
@@ -69,7 +71,7 @@ module OpenStudioMeasureTester
69
71
  desc 'Run RuboCop Auto Correct on Measures'
70
72
  task :auto_correct do
71
73
  # original_dir is the location where Rakefile exists, Dir.pwd is where the rake task was called.
72
- runner = OpenStudioMeasureTester::Runner.new(Rake.application.original_dir, Dir.pwd)
74
+ runner = OpenStudioMeasureTester::Runner.new(Rake.application.original_dir)
73
75
 
74
76
  exit runner.run_rubocop(false, true)
75
77
  end
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  ########################################################################################################################
2
- # OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
4
+ # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
3
5
  #
4
6
  # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
5
7
  # following conditions are met:
@@ -65,7 +67,7 @@ module OpenStudioMeasureTester
65
67
  end
66
68
 
67
69
  def parse_results
68
- Dir[File.join(@path_to_results,'rubocop-results.xml')].each do |file|
70
+ Dir[File.join(@path_to_results, 'rubocop-results.xml')].each do |file|
69
71
  puts "Parsing Rubocop report #{file}"
70
72
 
71
73
  measure_names = []
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module OpenStudioMeasureTester
2
4
  # The runner is the workhorse that executes the tests. This class does not invoke Rake and can be run
3
5
  # as a library method or as a CLI call
@@ -196,73 +198,70 @@ module OpenStudioMeasureTester
196
198
  num_tests = 0
197
199
  openstudio_version = OpenStudio::VersionString.new(OpenStudio.openStudioVersion)
198
200
  Dir["#{@base_dir}/**/*_Test.rb", "#{@base_dir}/**/*_test.rb"].uniq.each do |file|
199
-
201
+ file = File.expand_path(file)
202
+ measure_dir = File.expand_path(File.join(File.dirname(file), '..'))
203
+
204
+ # check measure xml
205
+ compatible = {
206
+ compatible: true,
207
+ message: '',
208
+ openstudio_version: openstudio_version.str,
209
+ measure_min_version: 'None',
210
+ measure_max_version: 'None',
211
+ loaded: false,
212
+ load_errors: []
213
+ }
200
214
  begin
201
- file = File.expand_path(file)
202
- measure_dir = File.expand_path(File.join(File.dirname(file), '..'))
203
-
204
- # check measure xml
205
- compatible = {
206
- compatible: true,
207
- message: '',
208
- openstudio_version: openstudio_version.str,
209
- measure_min_version: 'None',
210
- measure_max_version: 'None',
211
- loaded: false,
212
- load_errors: []
213
- }
214
- begin
215
- measure = OpenStudio::BCLMeasure.new(measure_dir)
216
- compatible[:measure_name] = measure.className
217
- measure.files.each do |f|
218
- if f.fileName == 'measure.rb'
219
- if !f.minCompatibleVersion.empty?
220
- min_version = f.minCompatibleVersion.get
221
- compatible[:measure_min_version] = min_version.str
222
- if openstudio_version < min_version
223
- compatible[:compatible] = false
224
- compatible[:message] = "OpenStudio Version #{openstudio_version.str} < Min Version #{min_version.str}"
225
- end
215
+ measure = OpenStudio::BCLMeasure.new(measure_dir)
216
+ compatible[:measure_name] = measure.className
217
+ measure.files.each do |f|
218
+ if f.fileName == 'measure.rb'
219
+ if !f.minCompatibleVersion.empty?
220
+ min_version = f.minCompatibleVersion.get
221
+ compatible[:measure_min_version] = min_version.str
222
+ if openstudio_version < min_version
223
+ compatible[:compatible] = false
224
+ compatible[:message] = "OpenStudio Version #{openstudio_version.str} < Min Version #{min_version.str}"
226
225
  end
227
- if !f.maxCompatibleVersion.empty?
228
- max_version = f.maxCompatibleVersion.get
229
- compatible[:measure_max_version] = max_version.str
230
- if openstudio_version > max_version
231
- compatible[:compatible] = false
232
- compatible[:message] = "OpenStudio Version #{openstudio_version.str} > Max Version #{max_version.str}"
233
- end
226
+ end
227
+ if !f.maxCompatibleVersion.empty?
228
+ max_version = f.maxCompatibleVersion.get
229
+ compatible[:measure_max_version] = max_version.str
230
+ if openstudio_version > max_version
231
+ compatible[:compatible] = false
232
+ compatible[:message] = "OpenStudio Version #{openstudio_version.str} > Max Version #{max_version.str}"
234
233
  end
235
234
  end
236
235
  end
237
- rescue StandardError => exception
238
- compatible[:compatible] = false
239
- compatible[:message] = exception.message
240
236
  end
237
+ rescue StandardError => exception
238
+ compatible[:compatible] = false
239
+ compatible[:message] = exception.message
240
+ end
241
241
 
242
- if !compatible[:compatible]
243
- puts "Measure not compatible: #{measure_dir}, #{compatible[:message]}"
244
- next
245
- end
242
+ if !compatible[:compatible]
243
+ puts "Measure not compatible: #{measure_dir}, #{compatible[:message]}"
244
+ next
245
+ end
246
246
 
247
- # load test
248
- puts "Loading file for testing: #{file}"
249
- begin
250
- load file
251
- compatible[:loaded] = true
252
- num_tests += 1
253
- rescue StandardError, LoadError => exception
254
- compatible[:load_errors] << exception.message
255
- end
256
-
257
- ensure
258
- # Write out the compatibility
259
- # write out to a file that the measure is not applicable
260
- os_compatible_file = "#{@base_dir}/test_results/minitest/compatibility/#{compatible[:measure_name]}.json"
261
- puts os_compatible_file
262
- FileUtils.mkdir_p File.dirname(os_compatible_file) unless Dir.exists? File.dirname(os_compatible_file)
263
- File.open(os_compatible_file, 'w') do |f|
264
- f << JSON.pretty_generate(compatible)
265
- end
247
+ # load test
248
+ puts "Loading file for testing: #{file}"
249
+ begin
250
+ load file
251
+ compatible[:loaded] = true
252
+ num_tests += 1
253
+ rescue StandardError, LoadError => exception
254
+ compatible[:load_errors] << exception.message
255
+ end
256
+
257
+ ensure
258
+ # Write out the compatibility
259
+ # write out to a file that the measure is not applicable
260
+ os_compatible_file = "#{@base_dir}/test_results/minitest/compatibility/#{compatible[:measure_name]}.json"
261
+ puts os_compatible_file
262
+ FileUtils.mkdir_p File.dirname(os_compatible_file) unless Dir.exist? File.dirname(os_compatible_file)
263
+ File.open(os_compatible_file, 'w') do |f|
264
+ f << JSON.pretty_generate(compatible)
266
265
  end
267
266
  end
268
267
 
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  ########################################################################################################################
2
- # OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
4
+ # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
3
5
  #
4
6
  # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
5
7
  # following conditions are met:
@@ -27,5 +29,5 @@
27
29
  ########################################################################################################################
28
30
 
29
31
  module OpenStudioMeasureTester
30
- VERSION = '0.1.7'.freeze
32
+ VERSION = '0.2.0'
31
33
  end
@@ -3,36 +3,46 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
  require 'openstudio_measure_tester/version'
4
4
 
5
5
  Gem::Specification.new do |spec|
6
- spec.name = 'openstudio_measure_tester'
7
- spec.version = OpenStudioMeasureTester::VERSION
8
- spec.authors = ['Nicholas Long', 'Katherine Fleming', 'Daniel Macumber', 'Robert Guglielmetti']
9
- spec.email = ['nicholas.long@nrel.gov']
6
+ spec.name = 'openstudio_measure_tester'
7
+ spec.version = OpenStudioMeasureTester::VERSION
8
+ spec.authors = ['Nicholas Long', 'Katherine Fleming', 'Daniel Macumber', 'Robert Guglielmetti']
9
+ spec.email = ['nicholas.long@nrel.gov']
10
10
 
11
- spec.summary = 'Testing framework for OpenStudio measures'
12
- spec.description = 'Testing framework for OpenStudio measures'
13
- spec.homepage = 'https://openstudio.nrel.gov'
11
+ spec.homepage = 'https://openstudio.nrel.gov'
12
+ spec.summary = 'Testing framework for OpenStudio measures'
13
+ spec.description = 'Testing framework for OpenStudio measures'
14
+ spec.metadata = {
15
+ 'bug_tracker_uri' => 'https://github.com/NREL/OpenStudio-measure-tester-gem/issues',
16
+ 'changelog_uri' => 'https://github.com/NREL/OpenStudio-measure-tester-gem/blob/develop/CHANGELOG.md',
17
+ #'documentation_uri' => 'https://www.rubydoc.info/gems/openstudio_measure_tester/#{gem.version}',
18
+ 'source_code_uri' => "https://github.com/NREL/OpenStudio-measure-tester-gem/tree/v#{spec.version}"
19
+ }
14
20
 
15
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
21
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
16
22
  f.match(%r{^(test|spec|features)/})
17
23
  end
18
- spec.bindir = 'exe'
19
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
+ spec.bindir = 'exe'
25
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
26
  spec.require_paths = ['lib']
21
27
 
22
- spec.add_development_dependency 'bundler', '~> 1.16'
23
- spec.add_development_dependency 'rspec', '3.7.0'
28
+ spec.required_ruby_version = '>= 2.5'
24
29
 
25
- if /^2\.2/.match(RUBY_VERSION)
30
+ if /^2\.5/.match(RUBY_VERSION)
31
+ spec.add_dependency 'rubocop', '0.54.0'
32
+ elsif /^2\.2/.match(RUBY_VERSION)
26
33
  spec.add_dependency 'rubocop', '0.54.0'
27
34
  elsif /^2\.0/.match(RUBY_VERSION)
28
- spec.add_dependency 'rainbow', '2.2.2'
35
+ spec.add_dependency 'rainbow', '2.2.2'
29
36
  spec.add_dependency 'rubocop', '0.50.0'
30
37
  end
31
-
32
- spec.add_dependency 'git', '1.3.0'
38
+
39
+ spec.add_dependency 'git', '1.6.0'
33
40
  spec.add_dependency 'minitest', '5.4.3'
34
41
  spec.add_dependency 'minitest-reporters', '1.2.0'
35
42
  spec.add_dependency 'rake', '12.3.1'
36
43
  spec.add_dependency 'rubocop-checkstyle_formatter', '0.4'
37
- spec.add_dependency 'simplecov', '0.16.1'
44
+ spec.add_dependency 'simplecov', '0.18.1'
45
+
46
+ spec.add_development_dependency 'bundler', '~> 2.1'
47
+ spec.add_development_dependency 'rspec', '~> 3.9'
38
48
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstudio_measure_tester
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Long
@@ -11,36 +11,8 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2018-12-12 00:00:00.000000000 Z
14
+ date: 2020-02-12 00:00:00.000000000 Z
15
15
  dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: bundler
18
- requirement: !ruby/object:Gem::Requirement
19
- requirements:
20
- - - "~>"
21
- - !ruby/object:Gem::Version
22
- version: '1.16'
23
- type: :development
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '1.16'
30
- - !ruby/object:Gem::Dependency
31
- name: rspec
32
- requirement: !ruby/object:Gem::Requirement
33
- requirements:
34
- - - '='
35
- - !ruby/object:Gem::Version
36
- version: 3.7.0
37
- type: :development
38
- prerelease: false
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - '='
42
- - !ruby/object:Gem::Version
43
- version: 3.7.0
44
16
  - !ruby/object:Gem::Dependency
45
17
  name: rubocop
46
18
  requirement: !ruby/object:Gem::Requirement
@@ -61,14 +33,14 @@ dependencies:
61
33
  requirements:
62
34
  - - '='
63
35
  - !ruby/object:Gem::Version
64
- version: 1.3.0
36
+ version: 1.6.0
65
37
  type: :runtime
66
38
  prerelease: false
67
39
  version_requirements: !ruby/object:Gem::Requirement
68
40
  requirements:
69
41
  - - '='
70
42
  - !ruby/object:Gem::Version
71
- version: 1.3.0
43
+ version: 1.6.0
72
44
  - !ruby/object:Gem::Dependency
73
45
  name: minitest
74
46
  requirement: !ruby/object:Gem::Requirement
@@ -131,14 +103,42 @@ dependencies:
131
103
  requirements:
132
104
  - - '='
133
105
  - !ruby/object:Gem::Version
134
- version: 0.16.1
106
+ version: 0.18.1
135
107
  type: :runtime
136
108
  prerelease: false
137
109
  version_requirements: !ruby/object:Gem::Requirement
138
110
  requirements:
139
111
  - - '='
140
112
  - !ruby/object:Gem::Version
141
- version: 0.16.1
113
+ version: 0.18.1
114
+ - !ruby/object:Gem::Dependency
115
+ name: bundler
116
+ requirement: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - "~>"
119
+ - !ruby/object:Gem::Version
120
+ version: '2.1'
121
+ type: :development
122
+ prerelease: false
123
+ version_requirements: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - "~>"
126
+ - !ruby/object:Gem::Version
127
+ version: '2.1'
128
+ - !ruby/object:Gem::Dependency
129
+ name: rspec
130
+ requirement: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - "~>"
133
+ - !ruby/object:Gem::Version
134
+ version: '3.9'
135
+ type: :development
136
+ prerelease: false
137
+ version_requirements: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - "~>"
140
+ - !ruby/object:Gem::Version
141
+ version: '3.9'
142
142
  description: Testing framework for OpenStudio measures
143
143
  email:
144
144
  - nicholas.long@nrel.gov
@@ -150,9 +150,9 @@ files:
150
150
  - ".rspec"
151
151
  - ".rubocop-http---s3-amazonaws-com-openstudio-resources-styles-rubocop-yml"
152
152
  - ".rubocop.yml"
153
- - ".travis.yml"
154
153
  - CHANGELOG.md
155
154
  - Gemfile
155
+ - Jenkinsfile
156
156
  - LICENSE.md
157
157
  - README.md
158
158
  - Rakefile
@@ -184,7 +184,10 @@ files:
184
184
  - openstudio_measure_tester.gemspec
185
185
  homepage: https://openstudio.nrel.gov
186
186
  licenses: []
187
- metadata: {}
187
+ metadata:
188
+ bug_tracker_uri: https://github.com/NREL/OpenStudio-measure-tester-gem/issues
189
+ changelog_uri: https://github.com/NREL/OpenStudio-measure-tester-gem/blob/develop/CHANGELOG.md
190
+ source_code_uri: https://github.com/NREL/OpenStudio-measure-tester-gem/tree/v0.2.0
188
191
  post_install_message:
189
192
  rdoc_options: []
190
193
  require_paths:
@@ -193,7 +196,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
193
196
  requirements:
194
197
  - - ">="
195
198
  - !ruby/object:Gem::Version
196
- version: '0'
199
+ version: '2.5'
197
200
  required_rubygems_version: !ruby/object:Gem::Requirement
198
201
  requirements:
199
202
  - - ">="
@@ -201,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
204
  version: '0'
202
205
  requirements: []
203
206
  rubyforge_project:
204
- rubygems_version: 2.4.5.1
207
+ rubygems_version: 2.7.6.2
205
208
  signing_key:
206
209
  specification_version: 4
207
210
  summary: Testing framework for OpenStudio measures
data/.travis.yml DELETED
@@ -1,15 +0,0 @@
1
- sudo: true
2
- language: ruby
3
- rvm:
4
- - 2.2.4
5
- matrix:
6
- include:
7
- - env: OPENSTUDIO_VERSION=2.4.0 && OPENSTUDIO_SHA=f58a3e1808 && RUBYLIB=/usr/Ruby
8
- - env: OPENSTUDIO_VERSION=2.5.1 && OPENSTUDIO_SHA=4f268e2854 && RUBYLIB=/usr/Ruby
9
- before_install: gem install bundler -v 1.16.2
10
- before_script:
11
- - curl -sLO https://raw.githubusercontent.com/NREL/OpenStudio-server/develop/docker/deployment/scripts/install_openstudio.sh
12
- - chmod +x install_openstudio.sh
13
- - sudo ./install_openstudio.sh $OPENSTUDIO_VERSION $OPENSTUDIO_SHA
14
- script:
15
- - bundle exec rake