waylon 0.1.3 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.roxanne.yml +4 -0
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/Gemfile +0 -2
- data/Gemfile.lock +44 -45
- data/LICENSE.txt +1 -1
- data/exe/waylon +22 -0
- data/lib/waylon.rb +8 -0
- data/scripts/release.sh +7 -0
- data/scripts/test.sh +5 -0
- data/waylon.gemspec +7 -4
- metadata +25 -21
- data/lib/waylon/version.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2272e3d11a388f773685ddf9e7ea6d770af067f568b77e09b3a9bb44641a0819
|
4
|
+
data.tar.gz: 8d3c9dbd3c84646565152fd1f041c66f4721e2f9dda8ae44ed6aa556328cbb36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d324f0222ee9c35ef38e2ac7089880bc74f5ceca4863fb793cfdcc9ff991a991113711bdc88bbfd24c1ebff6cee9ce4e5f29c5e96fabc849d05c37501e2fdba8
|
7
|
+
data.tar.gz: 19783c30f627a27937fc2a58f70464c83846dbab7d1f3035921a424422074ca9f85d9c4b0835baa0abafcc8045418b147630c162d1e50b6210fa3d8fc5aa227b
|
data/.roxanne.yml
CHANGED
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.2
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
waylon (0.1.
|
5
|
-
|
4
|
+
waylon (0.1.7)
|
5
|
+
rake (~> 13.0)
|
6
|
+
waylon-core
|
6
7
|
|
7
8
|
GEM
|
8
9
|
remote: https://rubygems.org/
|
@@ -10,10 +11,10 @@ GEM
|
|
10
11
|
addressable (2.8.0)
|
11
12
|
public_suffix (>= 2.0.2, < 5.0)
|
12
13
|
ast (2.4.2)
|
13
|
-
concurrent-ruby (1.1.
|
14
|
+
concurrent-ruby (1.1.10)
|
14
15
|
diff-lcs (1.5.0)
|
15
16
|
docile (1.4.0)
|
16
|
-
faraday (1.
|
17
|
+
faraday (1.10.0)
|
17
18
|
faraday-em_http (~> 1.0)
|
18
19
|
faraday-em_synchrony (~> 1.0)
|
19
20
|
faraday-excon (~> 1.1)
|
@@ -29,72 +30,71 @@ GEM
|
|
29
30
|
faraday-em_synchrony (1.0.0)
|
30
31
|
faraday-excon (1.1.0)
|
31
32
|
faraday-httpclient (1.0.1)
|
32
|
-
faraday-multipart (1.0.
|
33
|
-
multipart-post (
|
33
|
+
faraday-multipart (1.0.4)
|
34
|
+
multipart-post (~> 2)
|
34
35
|
faraday-net_http (1.0.1)
|
35
36
|
faraday-net_http_persistent (1.2.0)
|
36
37
|
faraday-patron (1.0.0)
|
37
38
|
faraday-rack (1.0.0)
|
38
39
|
faraday-retry (1.0.3)
|
39
|
-
i18n (1.
|
40
|
+
i18n (1.10.0)
|
40
41
|
concurrent-ruby (~> 1.0)
|
41
|
-
json (2.6.
|
42
|
-
moneta (1.
|
42
|
+
json (2.6.2)
|
43
|
+
moneta (1.5.1)
|
43
44
|
mono_logger (1.1.1)
|
44
45
|
multi_json (1.15.0)
|
45
|
-
multipart-post (2.
|
46
|
+
multipart-post (2.2.0)
|
46
47
|
mustermann (1.1.1)
|
47
48
|
ruby2_keywords (~> 0.0.1)
|
48
49
|
nio4r (2.5.8)
|
49
|
-
parallel (1.
|
50
|
-
parser (3.1.
|
50
|
+
parallel (1.22.1)
|
51
|
+
parser (3.1.2.0)
|
51
52
|
ast (~> 2.4.1)
|
52
|
-
public_suffix (4.0.
|
53
|
-
puma (5.6.
|
53
|
+
public_suffix (4.0.7)
|
54
|
+
puma (5.6.4)
|
54
55
|
nio4r (~> 2.0)
|
55
|
-
rack (2.2.3)
|
56
|
-
rack-protection (2.
|
56
|
+
rack (2.2.3.1)
|
57
|
+
rack-protection (2.2.0)
|
57
58
|
rack
|
58
59
|
rainbow (3.1.1)
|
59
60
|
rake (13.0.6)
|
60
61
|
redis (4.6.0)
|
61
|
-
redis-namespace (1.8.
|
62
|
+
redis-namespace (1.8.2)
|
62
63
|
redis (>= 3.0.4)
|
63
|
-
regexp_parser (2.
|
64
|
-
resque (2.2.
|
64
|
+
regexp_parser (2.5.0)
|
65
|
+
resque (2.2.1)
|
65
66
|
mono_logger (~> 1.0)
|
66
67
|
multi_json (~> 1.0)
|
67
68
|
redis-namespace (~> 1.6)
|
68
69
|
sinatra (>= 0.9.2)
|
69
|
-
vegas (~> 0.1.2)
|
70
70
|
rexml (3.2.5)
|
71
|
-
rspec (3.
|
72
|
-
rspec-core (~> 3.
|
73
|
-
rspec-expectations (~> 3.
|
74
|
-
rspec-mocks (~> 3.
|
75
|
-
rspec-core (3.
|
76
|
-
rspec-support (~> 3.
|
77
|
-
rspec-expectations (3.
|
71
|
+
rspec (3.11.0)
|
72
|
+
rspec-core (~> 3.11.0)
|
73
|
+
rspec-expectations (~> 3.11.0)
|
74
|
+
rspec-mocks (~> 3.11.0)
|
75
|
+
rspec-core (3.11.0)
|
76
|
+
rspec-support (~> 3.11.0)
|
77
|
+
rspec-expectations (3.11.0)
|
78
78
|
diff-lcs (>= 1.2.0, < 2.0)
|
79
|
-
rspec-support (~> 3.
|
80
|
-
rspec-mocks (3.
|
79
|
+
rspec-support (~> 3.11.0)
|
80
|
+
rspec-mocks (3.11.1)
|
81
81
|
diff-lcs (>= 1.2.0, < 2.0)
|
82
|
-
rspec-support (~> 3.
|
83
|
-
rspec-support (3.
|
84
|
-
rubocop (1.
|
82
|
+
rspec-support (~> 3.11.0)
|
83
|
+
rspec-support (3.11.0)
|
84
|
+
rubocop (1.30.1)
|
85
85
|
parallel (~> 1.10)
|
86
86
|
parser (>= 3.1.0.0)
|
87
87
|
rainbow (>= 2.2.2, < 4.0)
|
88
88
|
regexp_parser (>= 1.8, < 3.0)
|
89
|
-
rexml
|
90
|
-
rubocop-ast (>= 1.
|
89
|
+
rexml (>= 3.2.5, < 4.0)
|
90
|
+
rubocop-ast (>= 1.18.0, < 2.0)
|
91
91
|
ruby-progressbar (~> 1.7)
|
92
92
|
unicode-display_width (>= 1.4.0, < 3.0)
|
93
|
-
rubocop-ast (1.
|
94
|
-
parser (>= 3.
|
93
|
+
rubocop-ast (1.18.0)
|
94
|
+
parser (>= 3.1.1.0)
|
95
95
|
rubocop-rake (0.6.0)
|
96
96
|
rubocop (~> 1.0)
|
97
|
-
rubocop-rspec (2.
|
97
|
+
rubocop-rspec (2.11.1)
|
98
98
|
rubocop (~> 1.19)
|
99
99
|
ruby-progressbar (1.11.0)
|
100
100
|
ruby2_keywords (0.0.5)
|
@@ -103,17 +103,15 @@ GEM
|
|
103
103
|
simplecov-html (~> 0.11)
|
104
104
|
simplecov_json_formatter (~> 0.1)
|
105
105
|
simplecov-html (0.12.3)
|
106
|
-
simplecov_json_formatter (0.1.
|
107
|
-
sinatra (2.
|
106
|
+
simplecov_json_formatter (0.1.4)
|
107
|
+
sinatra (2.2.0)
|
108
108
|
mustermann (~> 1.0)
|
109
109
|
rack (~> 2.2)
|
110
|
-
rack-protection (= 2.
|
110
|
+
rack-protection (= 2.2.0)
|
111
111
|
tilt (~> 2.0)
|
112
112
|
tilt (2.0.10)
|
113
113
|
unicode-display_width (2.1.0)
|
114
|
-
|
115
|
-
rack (>= 1.0.0)
|
116
|
-
waylon-core (0.1.3)
|
114
|
+
waylon-core (0.1.5)
|
117
115
|
addressable (~> 2.8)
|
118
116
|
faraday (~> 1.8)
|
119
117
|
i18n (~> 1.8)
|
@@ -122,11 +120,12 @@ GEM
|
|
122
120
|
puma (~> 5.5)
|
123
121
|
resque (~> 2.2)
|
124
122
|
webrick (1.7.0)
|
125
|
-
yard (0.9.
|
123
|
+
yard (0.9.28)
|
126
124
|
webrick (~> 1.7.0)
|
127
125
|
|
128
126
|
PLATFORMS
|
129
127
|
arm64-darwin-21
|
128
|
+
x86_64-linux
|
130
129
|
|
131
130
|
DEPENDENCIES
|
132
131
|
bundler (~> 2.3)
|
@@ -140,4 +139,4 @@ DEPENDENCIES
|
|
140
139
|
yard (~> 0.9, >= 0.9.27)
|
141
140
|
|
142
141
|
BUNDLED WITH
|
143
|
-
2.3.
|
142
|
+
2.3.10
|
data/LICENSE.txt
CHANGED
data/exe/waylon
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require "waylon/core"
|
5
|
+
|
6
|
+
logger = Logger.new($stdout)
|
7
|
+
logger.level = Logger::INFO
|
8
|
+
action = ARGV[0]
|
9
|
+
|
10
|
+
case action
|
11
|
+
when "worker"
|
12
|
+
logger.info "Starting Worker..."
|
13
|
+
ENV["INTERVAL"] ||= "0.5"
|
14
|
+
ENV["QUEUE"] ||= "actions"
|
15
|
+
exec "bundle exec rake resque:work"
|
16
|
+
when "web"
|
17
|
+
logger.info "Starting Web..."
|
18
|
+
exec "bundle exec puma"
|
19
|
+
else
|
20
|
+
logger.fatal "Unknown action: #{action}"
|
21
|
+
exit 1
|
22
|
+
end
|
data/lib/waylon.rb
ADDED
data/scripts/release.sh
ADDED
data/scripts/test.sh
ADDED
data/waylon.gemspec
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
module Waylon
|
4
|
+
# Update this to match the desired Waylon::Core::VERSION to release
|
5
|
+
VERSION = "0.1.7"
|
6
|
+
end
|
4
7
|
|
5
8
|
Gem::Specification.new do |spec|
|
6
9
|
spec.name = "waylon"
|
@@ -12,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
12
15
|
spec.description = "Wrapper gem to ease the installation of the Waylon Bot Framework"
|
13
16
|
spec.homepage = "https://github.com/jgnagy/waylon"
|
14
17
|
spec.license = "MIT"
|
15
|
-
spec.required_ruby_version = "~> 3.
|
18
|
+
spec.required_ruby_version = "~> 3.1"
|
16
19
|
|
17
20
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
21
|
spec.metadata["source_code_uri"] = "https://github.com/jgnagy/waylon"
|
@@ -27,10 +30,10 @@ Gem::Specification.new do |spec|
|
|
27
30
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
28
31
|
spec.require_paths = ["lib"]
|
29
32
|
|
30
|
-
spec.add_dependency "
|
33
|
+
spec.add_dependency "rake", "~> 13.0"
|
34
|
+
spec.add_dependency "waylon-core"
|
31
35
|
|
32
36
|
spec.add_development_dependency "bundler", "~> 2.3"
|
33
|
-
spec.add_development_dependency "rake", "~> 13.0"
|
34
37
|
spec.add_development_dependency "rspec", "~> 3.10"
|
35
38
|
spec.add_development_dependency "rubocop", "~> 1.23"
|
36
39
|
spec.add_development_dependency "rubocop-rake", "~> 0.6"
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waylon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Gnagy
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
19
|
+
version: '13.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0
|
26
|
+
version: '13.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: waylon-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
-
type: :
|
33
|
+
version: '0'
|
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: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2.3'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '2.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,7 +145,8 @@ dependencies:
|
|
145
145
|
description: Wrapper gem to ease the installation of the Waylon Bot Framework
|
146
146
|
email:
|
147
147
|
- jonathan@therubyist.org
|
148
|
-
executables:
|
148
|
+
executables:
|
149
|
+
- waylon
|
149
150
|
extensions: []
|
150
151
|
extra_rdoc_files: []
|
151
152
|
files:
|
@@ -161,7 +162,10 @@ files:
|
|
161
162
|
- README.md
|
162
163
|
- Rakefile
|
163
164
|
- bin/setup
|
164
|
-
-
|
165
|
+
- exe/waylon
|
166
|
+
- lib/waylon.rb
|
167
|
+
- scripts/release.sh
|
168
|
+
- scripts/test.sh
|
165
169
|
- waylon.gemspec
|
166
170
|
homepage: https://github.com/jgnagy/waylon
|
167
171
|
licenses:
|
@@ -170,7 +174,7 @@ metadata:
|
|
170
174
|
homepage_uri: https://github.com/jgnagy/waylon
|
171
175
|
source_code_uri: https://github.com/jgnagy/waylon
|
172
176
|
changelog_uri: https://github.com/jgnagy/waylon/blob/main/CHANGELOG.md
|
173
|
-
post_install_message:
|
177
|
+
post_install_message:
|
174
178
|
rdoc_options: []
|
175
179
|
require_paths:
|
176
180
|
- lib
|
@@ -178,15 +182,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
178
182
|
requirements:
|
179
183
|
- - "~>"
|
180
184
|
- !ruby/object:Gem::Version
|
181
|
-
version: '3.
|
185
|
+
version: '3.1'
|
182
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
183
187
|
requirements:
|
184
188
|
- - ">="
|
185
189
|
- !ruby/object:Gem::Version
|
186
190
|
version: '0'
|
187
191
|
requirements: []
|
188
|
-
rubygems_version: 3.3.
|
189
|
-
signing_key:
|
192
|
+
rubygems_version: 3.3.7
|
193
|
+
signing_key:
|
190
194
|
specification_version: 4
|
191
195
|
summary: Wrapper gem for the Waylon Bot Framework
|
192
196
|
test_files: []
|