inferno_core 0.4.2 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- 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 +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fc53d7cfc20506e263bf358bba6d477fb6dff4b0523530bd2aef3d191283c28
|
4
|
+
data.tar.gz: aff080de4856187943390ee5478dfdd791a8962e21067be89aa7a5d40708e84c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1f8fb8df13079cc0f8f9007fb1d550ec96760fe9438bc4281115c26c1a6beb55e9e7dd826f87f6dea9d4b5c97c0546cb6090fbf2370febf5c2568c333f0fda4
|
7
|
+
data.tar.gz: 9136dc23b84c4da21bbfd0c79cddab3d16e2aa25528a88b5636f47968aa8e801b657a1daac56f211ca0fd9c567484fcea8d1556ec8a0bc9fb206aa97ee5b8822
|
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.4
|
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-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -186,14 +186,14 @@ dependencies:
|
|
186
186
|
requirements:
|
187
187
|
- - '='
|
188
188
|
- !ruby/object:Gem::Version
|
189
|
-
version: 2.0.0
|
189
|
+
version: 2.0.0
|
190
190
|
type: :runtime
|
191
191
|
prerelease: false
|
192
192
|
version_requirements: !ruby/object:Gem::Requirement
|
193
193
|
requirements:
|
194
194
|
- - '='
|
195
195
|
- !ruby/object:Gem::Version
|
196
|
-
version: 2.0.0
|
196
|
+
version: 2.0.0
|
197
197
|
- !ruby/object:Gem::Dependency
|
198
198
|
name: oj
|
199
199
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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
|