bucky-core 0.10.24 → 0.10.26

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: dd619a84c0de1ce0c71eaefd926916ad3a6f11bdba82938fe2f6c3b5d032320f
4
- data.tar.gz: 0d52f9202d09f51d9113f0bbd08990ea3b4aa96507f78b823068c68afcfd4655
3
+ metadata.gz: 43e1ec2b6fd1748fc34857f48dd680e02e78e1ef2d4ba288d4132987dad6500d
4
+ data.tar.gz: ff6284b8ffb546d1bc5e4130a9777dd15c606554cd8c8f980672dd148cd78943
5
5
  SHA512:
6
- metadata.gz: ba5bee620e4327959134baf64423473743235d854d7a6453e9e072014de8d74465a95cab6af519614e4e8fffb0e2a34f59bf40f89abb0d10548dd32b3b11221e
7
- data.tar.gz: 7ff5cc8c44f9c0f8d43b1e1ae703b70d658ed850449c7039f4ddd699d99dd97a4547184025aa2909b80c1a5862b1c00e8bc3ee4c2046cac6c91c88a9296bfcd2
6
+ metadata.gz: 4e798849241314a50dc71bbd582525e890677b82a995686d070cc1a5dd1a36fe48c82c298ce8984610cf102c970bd4e4409bd055996989442bb6c1c0f8f34fc6
7
+ data.tar.gz: 2278bac30c42f242d168cdd1b4cdd50bcb350ceb264f58d06ba60d01c2ae4a101d0f30b75e25f1e42c8f74e401ca1e341e1be87e0fc8be35a216bc81df767201
data/README.md CHANGED
@@ -155,7 +155,7 @@ cases:
155
155
  - proc: open page
156
156
  exec:
157
157
  operate: go
158
- url: <%= ENV['FQDN'] %>/results # Using erb notation to get environment variable
158
+ url: <%= ENV['BASE_FQDN'] %>/results # Using erb notation to get environment variable
159
159
  - proc: element click
160
160
  exec:
161
161
  operate: click
@@ -224,7 +224,7 @@ cases:
224
224
  desc: status check for detail page
225
225
  urls:
226
226
  - https://example.com/detail/1
227
- - <%= ENV['FQDN'] %>/detail/2 # Using erb notation to get environment variable
227
+ - <%= ENV['BASE_FQDN'] %>/detail/2 # Using erb notation to get environment variable
228
228
  ```
229
229
 
230
230
  # Development
data/exe/bucky CHANGED
@@ -135,6 +135,7 @@ def setup_test_cond(test_cond)
135
135
  %i[suite_name case label xlabel device].each do |k|
136
136
  test_cond[k] = test_cond[k].split(',') unless test_cond[k].nil?
137
137
  end
138
+ test_cond[:base_fqdn] = ENV['BASE_FQDN'] ||= ''
138
139
  test_cond
139
140
  end
140
141
 
@@ -15,11 +15,13 @@ module Bucky
15
15
 
16
16
  # Save job data and return job id
17
17
  # @param [Time] start_time
18
+ # @param [String] command_and_option
19
+ # @param [String] fqdn
18
20
  # @return [Fixnum] job_id
19
- def save_job_record_and_get_job_id(start_time, command_and_option)
21
+ def save_job_record_and_get_job_id(start_time, command_and_option, fqdn)
20
22
  return 0 if $debug
21
23
 
22
- job_id = @connector.con[:jobs].insert(start_time: start_time, command_and_option: command_and_option)
24
+ job_id = @connector.con[:jobs].insert(start_time: start_time, command_and_option: command_and_option, base_fqdn: fqdn)
23
25
  @connector.disconnect
24
26
  job_id
25
27
  end
@@ -93,7 +93,7 @@ module Bucky
93
93
  @re_test_count = @test_cond[:re_test_count]
94
94
  @tdo = Bucky::Core::Database::TestDataOperator.new
95
95
  @start_time = Time.now
96
- $job_id = @tdo.save_job_record_and_get_job_id(@start_time, @test_cond[:command_and_option])
96
+ $job_id = @tdo.save_job_record_and_get_job_id(@start_time, @test_cond[:command_and_option], @test_cond[:base_fqdn])
97
97
  @json_report = {
98
98
  summary: {
99
99
  cases_count: 0,
data/lib/bucky/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bucky
4
4
  module Version
5
- VERSION = '0.10.24'
5
+ VERSION = '0.10.26'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bucky-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.24
4
+ version: 0.10.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - NaotoKishino
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: exe
15
15
  cert_chain: []
16
- date: 2022-11-02 00:00:00.000000000 Z
16
+ date: 2024-10-29 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: awesome_print
@@ -479,7 +479,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
479
479
  - !ruby/object:Gem::Version
480
480
  version: '0'
481
481
  requirements: []
482
- rubygems_version: 3.0.3
482
+ rubygems_version: 3.4.1
483
483
  signing_key:
484
484
  specification_version: 4
485
485
  summary: System testing framework for web application.