inferno_core 0.4.8 → 0.4.10

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.
@@ -13,6 +13,17 @@ object-assign
13
13
 
14
14
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
15
15
 
16
+ /**
17
+ * @remix-run/router v1.3.2
18
+ *
19
+ * Copyright (c) Remix Software Inc.
20
+ *
21
+ * This source code is licensed under the MIT license found in the
22
+ * LICENSE.md file in the root directory of this source tree.
23
+ *
24
+ * @license MIT
25
+ */
26
+
16
27
  /**
17
28
  * A better abstraction over CSS.
18
29
  *
@@ -21,6 +32,28 @@ object-assign
21
32
  * @license MIT
22
33
  */
23
34
 
35
+ /**
36
+ * React Router DOM v6.8.1
37
+ *
38
+ * Copyright (c) Remix Software Inc.
39
+ *
40
+ * This source code is licensed under the MIT license found in the
41
+ * LICENSE.md file in the root directory of this source tree.
42
+ *
43
+ * @license MIT
44
+ */
45
+
46
+ /**
47
+ * React Router v6.8.1
48
+ *
49
+ * Copyright (c) Remix Software Inc.
50
+ *
51
+ * This source code is licensed under the MIT license found in the
52
+ * LICENSE.md file in the root directory of this source tree.
53
+ *
54
+ * @license MIT
55
+ */
56
+
24
57
  /** @license MUI v5.3.0
25
58
  *
26
59
  * This source code is licensed under the MIT license found in the
@@ -1,3 +1,4 @@
1
+ require 'base62-rb'
1
2
  require_relative 'repository'
2
3
  require_relative '../utils/preset_processor'
3
4
 
@@ -72,7 +73,7 @@ module Inferno
72
73
  one_to_many :test_runs, class: 'Inferno::Repositories::TestRuns::Model', key: :test_session_id
73
74
 
74
75
  def before_create
75
- self.id = SecureRandom.uuid
76
+ self.id = Base62.encode(SecureRandom.random_number(2**64))
76
77
  time = Time.now
77
78
  self.created_at ||= time
78
79
  self.updated_at ||= time
@@ -1,4 +1,4 @@
1
1
  module Inferno
2
2
  # Standard patterns for gem versions: https://guides.rubygems.org/patterns/
3
- VERSION = '0.4.8'.freeze
3
+ VERSION = '0.4.10'.freeze
4
4
  end
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.8
4
+ version: 0.4.10
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: 2023-01-24 00:00:00.000000000 Z
13
+ date: 2023-03-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -26,6 +26,20 @@ dependencies:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: '6.1'
29
+ - !ruby/object:Gem::Dependency
30
+ name: base62-rb
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '='
34
+ - !ruby/object:Gem::Version
35
+ version: 0.3.1
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - '='
41
+ - !ruby/object:Gem::Version
42
+ version: 0.3.1
29
43
  - !ruby/object:Gem::Dependency
30
44
  name: blueprinter
31
45
  requirement: !ruby/object:Gem::Requirement
@@ -529,6 +543,7 @@ files:
529
543
  - lib/inferno/apps/web/controllers/test_runs/destroy.rb
530
544
  - lib/inferno/apps/web/controllers/test_runs/results/index.rb
531
545
  - lib/inferno/apps/web/controllers/test_runs/show.rb
546
+ - lib/inferno/apps/web/controllers/test_sessions/client_show.rb
532
547
  - lib/inferno/apps/web/controllers/test_sessions/create.rb
533
548
  - lib/inferno/apps/web/controllers/test_sessions/last_test_run.rb
534
549
  - lib/inferno/apps/web/controllers/test_sessions/results/index.rb