inferno_core 0.4.2.pre → 0.4.3

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: 9fa218e80f581250c48a4e58a01e43dae405b1837cfed83c3b74a2188efb82b5
4
- data.tar.gz: bd49dd4ac0f929a758d1092eb8d057098794bc20ea58bbd02a42b9df9dad09e7
3
+ metadata.gz: 7eeff3e3be6b7d10c7fbd77ae32a64cf26dad18278d71f01c291e7d40727752d
4
+ data.tar.gz: 0506db9f4e60f56d76b0f43ec1dff411288d7d141df85dacc8c718cc417f24ed
5
5
  SHA512:
6
- metadata.gz: c43aea06f89864220e50b06c5454bd0844ceb1585cc305ed130e67cf6c7c50ea1bed30437296477af23b7a292bfe8653f044c4ef9d57c394082e1f24d79ab3ea
7
- data.tar.gz: 17195648ae9914f3a140d829ec99558efb2c5762b80cc65a1cae97922c94a59ffa021b6255ca38581cc124ebad20e76ac28b2f8c88abd8104972d934ba6d19e5
6
+ metadata.gz: 0ac87f806f8f5df20ca88471448b81f165eb8291ab1bce028a24b0d00fb6349962e63f9157f337a4501b23cfaa0561d0a802e0c8cc4e1fa113e8afc4a76ec9e0
7
+ data.tar.gz: 41161c6b1b86caf0cdbb898bc35e98e4f23c52f162a0698bba84f69bfbea535a2ae83f1e59e7a9b6cb3a2fcf48621a3f7c9c961d2e7199f3b0bc46d5b9438117
@@ -0,0 +1,9 @@
1
+ Sequel.migration do
2
+ change do
3
+ drop_column :headers, :created_at
4
+ drop_column :headers, :updated_at
5
+
6
+ drop_column :messages, :created_at
7
+ drop_column :messages, :updated_at
8
+ end
9
+ end
@@ -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, :created_at, :updated_at].freeze
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, :created_at, :updated_at].freeze
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