waylon-core 0.2.6 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.roxanne.yml +2 -2
- data/.rubocop.yml +20 -1
- data/.ruby-version +1 -1
- data/Gemfile.lock +78 -68
- data/Rakefile +3 -1
- data/lib/waylon/base_component.rb +5 -5
- data/lib/waylon/cache.rb +2 -2
- data/lib/waylon/config.rb +1 -1
- data/lib/waylon/core.rb +0 -1
- data/lib/waylon/logger.rb +2 -1
- data/lib/waylon/message.rb +1 -1
- data/lib/waylon/rspec/test_channel.rb +1 -1
- data/lib/waylon/rspec/test_server.rb +2 -2
- data/lib/waylon/rspec.rb +1 -2
- data/lib/waylon/skill_registry.rb +1 -1
- data/lib/waylon/skills/help.rb +1 -1
- data/lib/waylon/storage.rb +2 -2
- data/lib/waylon/version.rb +2 -2
- data/waylon-core.gemspec +9 -9
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5404f5f4a2acd74acace07f67aee9612843a5090ce8973c3d4fd5c1cd0f8895b
|
4
|
+
data.tar.gz: 7ede0703cdf8ccfd30820733e16151b5cdffedd5ed71e838a8fdfa3e82a66774
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca92e80bf34a2085cc5c5dd80c995f485e331e3f101702946beb3dfffb87f4d4b7d7d7b420ac6d436ca731a81b303da92803d7d074b389db04ea24b79cf8920b
|
7
|
+
data.tar.gz: 4b5a7285661f2a29622ef283982f7eeb44e2fd2343f12d159c9de3390ddbcc1e945e10fa97846f277b8696b861b070a9c40065fa945f723514225ecf9ace9b9e
|
data/.roxanne.yml
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,5 +1,9 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-rake
|
3
|
+
- rubocop-rspec
|
4
|
+
|
1
5
|
AllCops:
|
2
|
-
TargetRubyVersion: 3.
|
6
|
+
TargetRubyVersion: 3.2
|
3
7
|
NewCops: enable
|
4
8
|
|
5
9
|
Style/MixinUsage:
|
@@ -43,3 +47,18 @@ Metrics/BlockLength:
|
|
43
47
|
- "**/*_spec.rb"
|
44
48
|
- "*.gemspec"
|
45
49
|
- "lib/waylon/rspec/matchers/**/*.rb"
|
50
|
+
|
51
|
+
RSpec/MultipleExpectations:
|
52
|
+
Max: 6
|
53
|
+
|
54
|
+
RSpec/ExampleLength:
|
55
|
+
Max: 10
|
56
|
+
|
57
|
+
RSpec/NamedSubject:
|
58
|
+
Enabled: false
|
59
|
+
|
60
|
+
Gemspec/DevelopmentDependencies:
|
61
|
+
Enabled: false
|
62
|
+
|
63
|
+
RSpec/MessageSpies:
|
64
|
+
Enabled: false
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.2.2
|
data/Gemfile.lock
CHANGED
@@ -1,28 +1,28 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
waylon-core (0.
|
4
|
+
waylon-core (0.3.0)
|
5
5
|
addressable (~> 2.8)
|
6
|
-
faraday (~> 1.
|
6
|
+
faraday (~> 1.10)
|
7
7
|
i18n (~> 1.8)
|
8
8
|
json (~> 2.6)
|
9
9
|
moneta (~> 1.4)
|
10
|
-
puma (~>
|
10
|
+
puma (~> 6.4)
|
11
11
|
rbnacl (~> 7.1)
|
12
12
|
resque (~> 2.2)
|
13
13
|
|
14
14
|
GEM
|
15
15
|
remote: https://rubygems.org/
|
16
16
|
specs:
|
17
|
-
addressable (2.8.
|
17
|
+
addressable (2.8.5)
|
18
18
|
public_suffix (>= 2.0.2, < 6.0)
|
19
19
|
ast (2.4.2)
|
20
20
|
coderay (1.1.3)
|
21
|
-
concurrent-ruby (1.
|
22
|
-
connection_pool (2.
|
21
|
+
concurrent-ruby (1.2.2)
|
22
|
+
connection_pool (2.4.1)
|
23
23
|
diff-lcs (1.5.0)
|
24
24
|
docile (1.4.0)
|
25
|
-
faraday (1.10.
|
25
|
+
faraday (1.10.3)
|
26
26
|
faraday-em_http (~> 1.0)
|
27
27
|
faraday-em_synchrony (~> 1.0)
|
28
28
|
faraday-excon (~> 1.1)
|
@@ -45,110 +45,120 @@ GEM
|
|
45
45
|
faraday-patron (1.0.0)
|
46
46
|
faraday-rack (1.0.0)
|
47
47
|
faraday-retry (1.0.3)
|
48
|
-
ffi (1.
|
49
|
-
i18n (1.
|
48
|
+
ffi (1.16.3)
|
49
|
+
i18n (1.14.1)
|
50
50
|
concurrent-ruby (~> 1.0)
|
51
|
-
json (2.6.
|
51
|
+
json (2.6.3)
|
52
|
+
language_server-protocol (3.17.0.3)
|
52
53
|
method_source (1.0.0)
|
53
|
-
moneta (1.
|
54
|
-
mono_logger (1.1.
|
54
|
+
moneta (1.6.0)
|
55
|
+
mono_logger (1.1.2)
|
55
56
|
multi_json (1.15.0)
|
56
|
-
multipart-post (2.
|
57
|
-
mustermann (
|
57
|
+
multipart-post (2.3.0)
|
58
|
+
mustermann (3.0.0)
|
58
59
|
ruby2_keywords (~> 0.0.1)
|
59
|
-
nio4r (2.
|
60
|
-
parallel (1.
|
61
|
-
parser (3.
|
60
|
+
nio4r (2.6.1)
|
61
|
+
parallel (1.23.0)
|
62
|
+
parser (3.2.2.4)
|
62
63
|
ast (~> 2.4.1)
|
63
|
-
|
64
|
+
racc
|
65
|
+
pry (0.14.2)
|
64
66
|
coderay (~> 1.1)
|
65
67
|
method_source (~> 1.0)
|
66
|
-
public_suffix (5.0.
|
67
|
-
puma (
|
68
|
+
public_suffix (5.0.4)
|
69
|
+
puma (6.4.0)
|
68
70
|
nio4r (~> 2.0)
|
69
|
-
|
70
|
-
rack
|
71
|
-
|
71
|
+
racc (1.7.3)
|
72
|
+
rack (2.2.8)
|
73
|
+
rack-protection (3.1.0)
|
74
|
+
rack (~> 2.2, >= 2.2.4)
|
72
75
|
rainbow (3.1.1)
|
73
|
-
rake (13.0
|
76
|
+
rake (13.1.0)
|
74
77
|
rbnacl (7.1.1)
|
75
78
|
ffi
|
76
|
-
redis (5.0.
|
77
|
-
redis-client (
|
78
|
-
redis-client (0.
|
79
|
+
redis (5.0.8)
|
80
|
+
redis-client (>= 0.17.0)
|
81
|
+
redis-client (0.18.0)
|
79
82
|
connection_pool
|
80
|
-
redis-namespace (1.
|
83
|
+
redis-namespace (1.11.0)
|
81
84
|
redis (>= 4)
|
82
|
-
regexp_parser (2.
|
83
|
-
resque (2.
|
85
|
+
regexp_parser (2.8.2)
|
86
|
+
resque (2.6.0)
|
84
87
|
mono_logger (~> 1.0)
|
85
88
|
multi_json (~> 1.0)
|
86
89
|
redis-namespace (~> 1.6)
|
87
90
|
sinatra (>= 0.9.2)
|
88
|
-
rexml (3.2.
|
89
|
-
rspec (3.
|
90
|
-
rspec-core (~> 3.
|
91
|
-
rspec-expectations (~> 3.
|
92
|
-
rspec-mocks (~> 3.
|
93
|
-
rspec-core (3.
|
94
|
-
rspec-support (~> 3.
|
95
|
-
rspec-expectations (3.
|
91
|
+
rexml (3.2.6)
|
92
|
+
rspec (3.12.0)
|
93
|
+
rspec-core (~> 3.12.0)
|
94
|
+
rspec-expectations (~> 3.12.0)
|
95
|
+
rspec-mocks (~> 3.12.0)
|
96
|
+
rspec-core (3.12.2)
|
97
|
+
rspec-support (~> 3.12.0)
|
98
|
+
rspec-expectations (3.12.3)
|
96
99
|
diff-lcs (>= 1.2.0, < 2.0)
|
97
|
-
rspec-support (~> 3.
|
98
|
-
rspec-mocks (3.
|
100
|
+
rspec-support (~> 3.12.0)
|
101
|
+
rspec-mocks (3.12.6)
|
99
102
|
diff-lcs (>= 1.2.0, < 2.0)
|
100
|
-
rspec-support (~> 3.
|
101
|
-
rspec-support (3.
|
102
|
-
rubocop (1.
|
103
|
+
rspec-support (~> 3.12.0)
|
104
|
+
rspec-support (3.12.1)
|
105
|
+
rubocop (1.57.2)
|
103
106
|
json (~> 2.3)
|
107
|
+
language_server-protocol (>= 3.17.0)
|
104
108
|
parallel (~> 1.10)
|
105
|
-
parser (>= 3.
|
109
|
+
parser (>= 3.2.2.4)
|
106
110
|
rainbow (>= 2.2.2, < 4.0)
|
107
111
|
regexp_parser (>= 1.8, < 3.0)
|
108
112
|
rexml (>= 3.2.5, < 4.0)
|
109
|
-
rubocop-ast (>= 1.
|
113
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
110
114
|
ruby-progressbar (~> 1.7)
|
111
|
-
unicode-display_width (>=
|
112
|
-
rubocop-ast (1.
|
113
|
-
parser (>= 3.
|
115
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
116
|
+
rubocop-ast (1.30.0)
|
117
|
+
parser (>= 3.2.1.0)
|
118
|
+
rubocop-capybara (2.19.0)
|
119
|
+
rubocop (~> 1.41)
|
120
|
+
rubocop-factory_bot (2.24.0)
|
121
|
+
rubocop (~> 1.33)
|
114
122
|
rubocop-rake (0.6.0)
|
115
123
|
rubocop (~> 1.0)
|
116
|
-
rubocop-rspec (2.
|
117
|
-
rubocop (~> 1.
|
118
|
-
|
124
|
+
rubocop-rspec (2.25.0)
|
125
|
+
rubocop (~> 1.40)
|
126
|
+
rubocop-capybara (~> 2.17)
|
127
|
+
rubocop-factory_bot (~> 2.22)
|
128
|
+
ruby-progressbar (1.13.0)
|
119
129
|
ruby2_keywords (0.0.5)
|
120
|
-
simplecov (0.
|
130
|
+
simplecov (0.22.0)
|
121
131
|
docile (~> 1.1)
|
122
132
|
simplecov-html (~> 0.11)
|
123
133
|
simplecov_json_formatter (~> 0.1)
|
124
134
|
simplecov-html (0.12.3)
|
125
135
|
simplecov_json_formatter (0.1.4)
|
126
|
-
sinatra (
|
127
|
-
mustermann (~>
|
128
|
-
rack (~> 2.2)
|
129
|
-
rack-protection (=
|
136
|
+
sinatra (3.1.0)
|
137
|
+
mustermann (~> 3.0)
|
138
|
+
rack (~> 2.2, >= 2.2.4)
|
139
|
+
rack-protection (= 3.1.0)
|
130
140
|
tilt (~> 2.0)
|
131
|
-
tilt (2.0
|
132
|
-
unicode-display_width (2.
|
133
|
-
|
134
|
-
yard (0.9.28)
|
135
|
-
webrick (~> 1.7.0)
|
141
|
+
tilt (2.3.0)
|
142
|
+
unicode-display_width (2.5.0)
|
143
|
+
yard (0.9.34)
|
136
144
|
|
137
145
|
PLATFORMS
|
138
146
|
arm64-darwin-21
|
147
|
+
arm64-darwin-23
|
148
|
+
ruby
|
139
149
|
x86_64-linux
|
140
150
|
|
141
151
|
DEPENDENCIES
|
142
|
-
bundler (~> 2.
|
152
|
+
bundler (~> 2.4)
|
143
153
|
pry (~> 0.14)
|
144
|
-
rake (~> 13.
|
145
|
-
rspec (~> 3.
|
146
|
-
rubocop (~> 1.
|
154
|
+
rake (~> 13.1)
|
155
|
+
rspec (~> 3.12)
|
156
|
+
rubocop (~> 1.57)
|
147
157
|
rubocop-rake (~> 0.6)
|
148
|
-
rubocop-rspec (~> 2.
|
149
|
-
simplecov (~> 0.
|
158
|
+
rubocop-rspec (~> 2.25)
|
159
|
+
simplecov (~> 0.22)
|
150
160
|
waylon-core!
|
151
161
|
yard (~> 0.9, >= 0.9.27)
|
152
162
|
|
153
163
|
BUNDLED WITH
|
154
|
-
2.
|
164
|
+
2.4.19
|
data/Rakefile
CHANGED
@@ -18,9 +18,11 @@ end
|
|
18
18
|
|
19
19
|
task default: %i[spec rubocop yard]
|
20
20
|
|
21
|
+
# Allows a REPL to be started with a demo chat
|
22
|
+
desc "Start a REPL with a demo chat"
|
21
23
|
task :demo do
|
22
24
|
require "pry"
|
23
|
-
Waylon::Logger.logger =
|
25
|
+
Waylon::Logger.logger = Logger.new("/dev/null")
|
24
26
|
Waylon::Cache.storage = Moneta.new(:Cookie)
|
25
27
|
Waylon::Storage.storage = Moneta.new(:Cookie)
|
26
28
|
require "waylon/rspec/test_server"
|
@@ -30,11 +30,11 @@ module Waylon
|
|
30
30
|
cache_key = config_key_for(key)
|
31
31
|
if !Waylon::Cache.key?(cache_key) && block_given?
|
32
32
|
result = yield
|
33
|
-
Waylon::Cache.store(cache_key, result, expires:
|
33
|
+
Waylon::Cache.store(cache_key, result, expires:)
|
34
34
|
elsif !Waylon::Cache.key?(cache_key)
|
35
35
|
return nil
|
36
36
|
end
|
37
|
-
Waylon::Cache.load(cache_key, expires:
|
37
|
+
Waylon::Cache.load(cache_key, expires:)
|
38
38
|
end
|
39
39
|
|
40
40
|
# The namespace used for this component's storage
|
@@ -51,7 +51,7 @@ module Waylon
|
|
51
51
|
def config(key, default: nil, required: false, type: String)
|
52
52
|
conf = Config.instance
|
53
53
|
config_key = config_key_for(key)
|
54
|
-
conf.add_schema(config_key, default
|
54
|
+
conf.add_schema(config_key, default:, required:, type:)
|
55
55
|
end
|
56
56
|
|
57
57
|
# Provides the full Config key given a relative key
|
@@ -112,11 +112,11 @@ module Waylon
|
|
112
112
|
cache_key = self.class.config_key_for(key)
|
113
113
|
if !Waylon::Cache.key?(cache_key) && block_given?
|
114
114
|
result = yield
|
115
|
-
Waylon::Cache.store(cache_key, result, expires:
|
115
|
+
Waylon::Cache.store(cache_key, result, expires:)
|
116
116
|
elsif !Waylon::Cache.key?(cache_key)
|
117
117
|
return nil
|
118
118
|
end
|
119
|
-
Waylon::Cache.load(cache_key, expires:
|
119
|
+
Waylon::Cache.load(cache_key, expires:)
|
120
120
|
end
|
121
121
|
|
122
122
|
# A wrapper for access to a namespaced Config key
|
data/lib/waylon/cache.rb
CHANGED
@@ -25,12 +25,12 @@ module Waylon
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def self.load(key, expires: nil)
|
28
|
-
expires ? storage.load(key, expires:
|
28
|
+
expires ? storage.load(key, expires:) : storage.load(key)
|
29
29
|
end
|
30
30
|
|
31
31
|
def self.store(key, value, expires: nil)
|
32
32
|
if expires
|
33
|
-
storage.store(key, value, expires:
|
33
|
+
storage.store(key, value, expires:)
|
34
34
|
else
|
35
35
|
storage.store(key, value)
|
36
36
|
end
|
data/lib/waylon/config.rb
CHANGED
@@ -19,7 +19,7 @@ module Waylon
|
|
19
19
|
# @return [Boolean] Was the schema update successful?
|
20
20
|
def add_schema(key, default: nil, required: false, type: String)
|
21
21
|
@schema ||= {}
|
22
|
-
@schema[key] = { default
|
22
|
+
@schema[key] = { default:, required:, type: }
|
23
23
|
true
|
24
24
|
end
|
25
25
|
|
data/lib/waylon/core.rb
CHANGED
data/lib/waylon/logger.rb
CHANGED
@@ -22,6 +22,7 @@ module Waylon
|
|
22
22
|
@logger ||= json_logger
|
23
23
|
end
|
24
24
|
|
25
|
+
# @param logger [Logger] The Logger instance to use
|
25
26
|
def self.logger=(logger)
|
26
27
|
@logger = logger
|
27
28
|
end
|
@@ -34,7 +35,7 @@ module Waylon
|
|
34
35
|
json_data = JSON.dump(
|
35
36
|
ts: datetime,
|
36
37
|
severity: severity.ljust(5).to_s,
|
37
|
-
progname
|
38
|
+
progname:,
|
38
39
|
pid: Process.pid,
|
39
40
|
message: msg,
|
40
41
|
v: Waylon::Core::VERSION
|
data/lib/waylon/message.rb
CHANGED
@@ -19,7 +19,7 @@ module Waylon
|
|
19
19
|
if existing_channel
|
20
20
|
existing_channel
|
21
21
|
else
|
22
|
-
channel_details = { name
|
22
|
+
channel_details = { name:, created_at: Time.now }
|
23
23
|
TestSense.channel_list << channel_details
|
24
24
|
new(TestSense.channel_list.size - 1)
|
25
25
|
end
|
@@ -4,7 +4,7 @@ require "rspec"
|
|
4
4
|
require "rspec/expectations"
|
5
5
|
require "rspec/mocks"
|
6
6
|
|
7
|
-
major, *_unused = RSpec::Core::Version::STRING.split(
|
7
|
+
major, *_unused = RSpec::Core::Version::STRING.split(".")
|
8
8
|
abort "RSpec 3 or greater required" if major.to_i < 3
|
9
9
|
|
10
10
|
require "waylon/core"
|
@@ -101,7 +101,7 @@ def handle_input(body, from: this_user, privately: true)
|
|
101
101
|
puts 'Admin enabled! Use "exit" to go back to a normal user.'
|
102
102
|
@admin_enabled = true
|
103
103
|
elsif @admin_enabled && %w[irb pry].include?(body)
|
104
|
-
pry
|
104
|
+
pry # rubocop:disable Link/Debugger
|
105
105
|
else
|
106
106
|
message_count = Waylon::RSpec::TestSense.sent_messages.size
|
107
107
|
|
data/lib/waylon/rspec.rb
CHANGED
@@ -4,11 +4,10 @@ require "rspec"
|
|
4
4
|
require "rspec/expectations"
|
5
5
|
require "rspec/mocks"
|
6
6
|
|
7
|
-
major, *_unused = RSpec::Core::Version::STRING.split(
|
7
|
+
major, *_unused = RSpec::Core::Version::STRING.split(".")
|
8
8
|
abort "RSpec 3 or greater required" if major.to_i < 3
|
9
9
|
|
10
10
|
require "moneta"
|
11
|
-
require "set"
|
12
11
|
|
13
12
|
require "waylon/core"
|
14
13
|
require "waylon/skills/default"
|
@@ -69,7 +69,7 @@ module Waylon
|
|
69
69
|
raise Exceptions::ValidationError, "Must be a kind of Skill" unless skill_class.ancestors.include?(Skill)
|
70
70
|
|
71
71
|
@routes ||= []
|
72
|
-
@routes << Route.new(name: name.to_s, destination: skill_class, condition:
|
72
|
+
@routes << Route.new(name: name.to_s, destination: skill_class, condition:)
|
73
73
|
end
|
74
74
|
|
75
75
|
# Given a message, find a suitable skill Route for it (sorted by priority, highest first)
|
data/lib/waylon/skills/help.rb
CHANGED
@@ -126,7 +126,7 @@ module Waylon
|
|
126
126
|
else
|
127
127
|
"Help for #{skill}:"
|
128
128
|
end
|
129
|
-
{ type: "header", text: { type: "plain_text", text
|
129
|
+
{ type: "header", text: { type: "plain_text", text:, emoji: true } }
|
130
130
|
end
|
131
131
|
|
132
132
|
def build_help_block(this_route)
|
data/lib/waylon/storage.rb
CHANGED
data/lib/waylon/version.rb
CHANGED
data/waylon-core.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.description = "The core components of the Waylon bot framework for Ruby"
|
13
13
|
spec.homepage = "https://github.com/jgnagy/waylon-core"
|
14
14
|
spec.license = "MIT"
|
15
|
-
spec.required_ruby_version = "~> 3.
|
15
|
+
spec.required_ruby_version = "~> 3.2"
|
16
16
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
18
|
spec.metadata["source_code_uri"] = "https://github.com/jgnagy/waylon-core"
|
@@ -28,22 +28,22 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.require_paths = ["lib"]
|
29
29
|
|
30
30
|
spec.add_dependency "addressable", "~> 2.8"
|
31
|
-
spec.add_dependency "faraday", "~> 1.
|
31
|
+
spec.add_dependency "faraday", "~> 1.10"
|
32
32
|
spec.add_dependency "i18n", "~> 1.8"
|
33
33
|
spec.add_dependency "json", "~> 2.6"
|
34
34
|
spec.add_dependency "moneta", "~> 1.4"
|
35
|
-
spec.add_dependency "puma", "~>
|
35
|
+
spec.add_dependency "puma", "~> 6.4"
|
36
36
|
spec.add_dependency "rbnacl", "~> 7.1"
|
37
37
|
spec.add_dependency "resque", "~> 2.2"
|
38
38
|
|
39
|
-
spec.add_development_dependency "bundler", "~> 2.
|
39
|
+
spec.add_development_dependency "bundler", "~> 2.4"
|
40
40
|
spec.add_development_dependency "pry", "~> 0.14"
|
41
|
-
spec.add_development_dependency "rake", "~> 13.
|
42
|
-
spec.add_development_dependency "rspec", "~> 3.
|
43
|
-
spec.add_development_dependency "rubocop", "~> 1.
|
41
|
+
spec.add_development_dependency "rake", "~> 13.1"
|
42
|
+
spec.add_development_dependency "rspec", "~> 3.12"
|
43
|
+
spec.add_development_dependency "rubocop", "~> 1.57"
|
44
44
|
spec.add_development_dependency "rubocop-rake", "~> 0.6"
|
45
|
-
spec.add_development_dependency "rubocop-rspec", "~> 2.
|
46
|
-
spec.add_development_dependency "simplecov", "~> 0.
|
45
|
+
spec.add_development_dependency "rubocop-rspec", "~> 2.25"
|
46
|
+
spec.add_development_dependency "simplecov", "~> 0.22"
|
47
47
|
spec.add_development_dependency "yard", "~> 0.9", ">= 0.9.27"
|
48
48
|
|
49
49
|
# For more information and examples about making a new gem, checkout our
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waylon-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Gnagy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.10'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.10'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: i18n
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '6.4'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '6.4'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rbnacl
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '2.
|
131
|
+
version: '2.4'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '2.
|
138
|
+
version: '2.4'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: pry
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,42 +156,42 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: '13.
|
159
|
+
version: '13.1'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '13.
|
166
|
+
version: '13.1'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: rspec
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '3.
|
173
|
+
version: '3.12'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '3.
|
180
|
+
version: '3.12'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rubocop
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: '1.
|
187
|
+
version: '1.57'
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: '1.
|
194
|
+
version: '1.57'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: rubocop-rake
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,28 +212,28 @@ dependencies:
|
|
212
212
|
requirements:
|
213
213
|
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: '2.
|
215
|
+
version: '2.25'
|
216
216
|
type: :development
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: '2.
|
222
|
+
version: '2.25'
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: simplecov
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
227
|
- - "~>"
|
228
228
|
- !ruby/object:Gem::Version
|
229
|
-
version: '0.
|
229
|
+
version: '0.22'
|
230
230
|
type: :development
|
231
231
|
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
234
|
- - "~>"
|
235
235
|
- !ruby/object:Gem::Version
|
236
|
-
version: '0.
|
236
|
+
version: '0.22'
|
237
237
|
- !ruby/object:Gem::Dependency
|
238
238
|
name: yard
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
@@ -335,14 +335,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
335
335
|
requirements:
|
336
336
|
- - "~>"
|
337
337
|
- !ruby/object:Gem::Version
|
338
|
-
version: '3.
|
338
|
+
version: '3.2'
|
339
339
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
340
340
|
requirements:
|
341
341
|
- - ">="
|
342
342
|
- !ruby/object:Gem::Version
|
343
343
|
version: '0'
|
344
344
|
requirements: []
|
345
|
-
rubygems_version: 3.
|
345
|
+
rubygems_version: 3.4.10
|
346
346
|
signing_key:
|
347
347
|
specification_version: 4
|
348
348
|
summary: Core library for the Waylon bot framework
|