inferno_core 0.4.2 → 0.4.3
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/lib/inferno/db/migrations/008_remove_timestamps.rb +9 -0
- data/lib/inferno/db/schema.rb +0 -4
- data/lib/inferno/entities/header.rb +2 -8
- data/lib/inferno/entities/message.rb +1 -5
- data/lib/inferno/repositories/headers.rb +0 -3
- data/lib/inferno/repositories/messages.rb +0 -3
- data/lib/inferno/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7eeff3e3be6b7d10c7fbd77ae32a64cf26dad18278d71f01c291e7d40727752d
|
4
|
+
data.tar.gz: 0506db9f4e60f56d76b0f43ec1dff411288d7d141df85dacc8c718cc417f24ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ac87f806f8f5df20ca88471448b81f165eb8291ab1bce028a24b0d00fb6349962e63f9157f337a4501b23cfaa0561d0a802e0c8cc4e1fa113e8afc4a76ec9e0
|
7
|
+
data.tar.gz: 41161c6b1b86caf0cdbb898bc35e98e4f23c52f162a0698bba84f69bfbea535a2ae83f1e59e7a9b6cb3a2fcf48621a3f7c9c961d2e7199f3b0bc46d5b9438117
|
data/lib/inferno/db/schema.rb
CHANGED
@@ -77,8 +77,6 @@ Sequel.migration do
|
|
77
77
|
foreign_key :result_id, :results, :type=>String, :size=>36, :null=>false, :key=>[:id]
|
78
78
|
String :type, :size=>255, :null=>false
|
79
79
|
String :message, :text=>true, :null=>false
|
80
|
-
DateTime :created_at, :null=>false
|
81
|
-
DateTime :updated_at, :null=>false
|
82
80
|
|
83
81
|
index [:id]
|
84
82
|
index [:result_id]
|
@@ -111,8 +109,6 @@ Sequel.migration do
|
|
111
109
|
String :type, :size=>255, :null=>false
|
112
110
|
String :name, :size=>255, :null=>false
|
113
111
|
String :value, :text=>true
|
114
|
-
DateTime :created_at, :null=>false
|
115
|
-
DateTime :updated_at, :null=>false
|
116
112
|
|
117
113
|
index [:id]
|
118
114
|
index [:request_id]
|
@@ -12,12 +12,8 @@ module Inferno
|
|
12
12
|
# @return [String] header value
|
13
13
|
# @!attribute type
|
14
14
|
# @return [String] request/response
|
15
|
-
# @!attribute created_at
|
16
|
-
# @return [Time]
|
17
|
-
# @!attribute updated_at
|
18
|
-
# @return [Time]
|
19
15
|
class Header < Entity
|
20
|
-
ATTRIBUTES = [:id, :request_id, :name, :type, :value
|
16
|
+
ATTRIBUTES = [:id, :request_id, :name, :type, :value].freeze
|
21
17
|
|
22
18
|
include Inferno::Entities::Attributes
|
23
19
|
|
@@ -39,9 +35,7 @@ module Inferno
|
|
39
35
|
request_id:,
|
40
36
|
type:,
|
41
37
|
name:,
|
42
|
-
value
|
43
|
-
created_at:,
|
44
|
-
updated_at:
|
38
|
+
value:
|
45
39
|
}.compact
|
46
40
|
end
|
47
41
|
end
|
@@ -14,12 +14,8 @@ module Inferno
|
|
14
14
|
# @return [String]
|
15
15
|
# @!attribute message
|
16
16
|
# @return [String]
|
17
|
-
# @!attribute created_at
|
18
|
-
# @return [Time]
|
19
|
-
# @!attribute updated_at
|
20
|
-
# @return [Time]
|
21
17
|
class Message < Entity
|
22
|
-
ATTRIBUTES = [:id, :index, :message, :result_id, :result, :type
|
18
|
+
ATTRIBUTES = [:id, :index, :message, :result_id, :result, :type].freeze
|
23
19
|
TYPES = ['error', 'warning', 'info'].freeze
|
24
20
|
|
25
21
|
include Inferno::Entities::Attributes
|
data/lib/inferno/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inferno_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen MacVicar
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-
|
13
|
+
date: 2022-11-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -556,6 +556,7 @@ files:
|
|
556
556
|
- lib/inferno/db/migrations/005_add_updated_at_index_to_results.rb
|
557
557
|
- lib/inferno/db/migrations/006_remove_unused_tables.rb
|
558
558
|
- lib/inferno/db/migrations/007_add_suite_options.rb
|
559
|
+
- lib/inferno/db/migrations/008_remove_timestamps.rb
|
559
560
|
- lib/inferno/db/schema.rb
|
560
561
|
- lib/inferno/dsl.rb
|
561
562
|
- lib/inferno/dsl/assertions.rb
|