exceptional_synchrony 1.4.1 → 1.4.3.pre.1
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.
- checksums.yaml +4 -4
- data/.github/workflows/pipeline.yml +20 -0
- data/CHANGELOG.md +10 -0
- data/Gemfile.lock +32 -30
- data/exceptional_synchrony.gemspec +1 -1
- data/lib/exceptional_synchrony/faraday_monkey_patch.rb +3 -3
- data/lib/exceptional_synchrony/version.rb +1 -1
- metadata +6 -7
- data/.jenkins/Jenkinsfile +0 -58
- data/.jenkins/ruby_build_pod.yml +0 -19
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 01ce79ad009763be1c735152c3dcd41cc2af81bbcdf1703c7a85721f853429f4
|
|
4
|
+
data.tar.gz: 87dc365bc069a7ad9c87f525f6073680197ceac5813f9fe969957d7b8a26739d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 669488116ce7850992f9253e57743c56e9d653f766a761596a81b21df7fa170273031436f666e9acfe713b6ebb302c81d769e445341cd2b04f4f3802d0b24080
|
|
7
|
+
data.tar.gz: 838506468966774877cc5620b5e2623bea18ed102bbb9fbbfa98ed28293d914ce37b2916e8735c813ed3163f9c93e6bb8c93f8880355a435720a3582a49a687b
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Pipeline
|
|
3
|
+
on: [push]
|
|
4
|
+
jobs:
|
|
5
|
+
tests:
|
|
6
|
+
name: Unit Tests
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
strategy:
|
|
9
|
+
fail-fast: false
|
|
10
|
+
matrix:
|
|
11
|
+
ruby: [2.6.5]
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v2
|
|
14
|
+
- uses: ruby/setup-ruby@v1
|
|
15
|
+
with:
|
|
16
|
+
ruby-version: ${{ matrix.ruby }}
|
|
17
|
+
bundler: 1.17.3
|
|
18
|
+
bundler-cache: true
|
|
19
|
+
- name: Unit tests
|
|
20
|
+
run: bundle exec rake
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,14 @@ Note: This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0
|
|
|
6
6
|
|
|
7
7
|
All notable changes to this project will be documented in this file.
|
|
8
8
|
|
|
9
|
+
## [1.4.3] - Unreleased
|
|
10
|
+
### Changed
|
|
11
|
+
- Update exception_handling to 2.10
|
|
12
|
+
|
|
13
|
+
## [1.4.2] - 2021-03-10
|
|
14
|
+
### Fixed
|
|
15
|
+
- Additional symbol reference fixes in FaradayAdapterPatch_v1
|
|
16
|
+
|
|
9
17
|
## [1.4.1] - 2021-03-09
|
|
10
18
|
### Fixed
|
|
11
19
|
- FaradayAdapterPatch_v1 name typo
|
|
@@ -33,6 +41,8 @@ All notable changes to this project will be documented in this file.
|
|
|
33
41
|
## [1.1.1] - 2020-05-03
|
|
34
42
|
- Replace hobo_support with invoca_utils
|
|
35
43
|
|
|
44
|
+
[1.4.3]: https://github.com/Invoca/exceptional_synchrony/compare/v1.4.2...v1.4.3
|
|
45
|
+
[1.4.2]: https://github.com/Invoca/exceptional_synchrony/compare/v1.4.1...v1.4.2
|
|
36
46
|
[1.4.1]: https://github.com/Invoca/exceptional_synchrony/compare/v1.4.0...v1.4.1
|
|
37
47
|
[1.4.0]: https://github.com/Invoca/exceptional_synchrony/compare/v1.3.0...v1.4.0
|
|
38
48
|
[1.3.0]: https://github.com/Invoca/exceptional_synchrony/compare/v1.2.0...v1.3.0
|
data/Gemfile.lock
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
exceptional_synchrony (1.4.1)
|
|
4
|
+
exceptional_synchrony (1.4.3.pre.1)
|
|
5
5
|
em-http-request
|
|
6
6
|
em-synchrony
|
|
7
7
|
eventmachine
|
|
8
|
-
exception_handling (~> 2.
|
|
8
|
+
exception_handling (~> 2.10)
|
|
9
9
|
invoca-utils (~> 0.3)
|
|
10
10
|
|
|
11
11
|
GEM
|
|
12
12
|
remote: https://rubygems.org/
|
|
13
13
|
specs:
|
|
14
|
-
actionmailer (6.1.
|
|
15
|
-
actionpack (= 6.1.
|
|
16
|
-
actionview (= 6.1.
|
|
17
|
-
activejob (= 6.1.
|
|
18
|
-
activesupport (= 6.1.
|
|
14
|
+
actionmailer (6.1.5)
|
|
15
|
+
actionpack (= 6.1.5)
|
|
16
|
+
actionview (= 6.1.5)
|
|
17
|
+
activejob (= 6.1.5)
|
|
18
|
+
activesupport (= 6.1.5)
|
|
19
19
|
mail (~> 2.5, >= 2.5.4)
|
|
20
20
|
rails-dom-testing (~> 2.0)
|
|
21
|
-
actionpack (6.1.
|
|
22
|
-
actionview (= 6.1.
|
|
23
|
-
activesupport (= 6.1.
|
|
21
|
+
actionpack (6.1.5)
|
|
22
|
+
actionview (= 6.1.5)
|
|
23
|
+
activesupport (= 6.1.5)
|
|
24
24
|
rack (~> 2.0, >= 2.0.9)
|
|
25
25
|
rack-test (>= 0.6.3)
|
|
26
26
|
rails-dom-testing (~> 2.0)
|
|
27
27
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
28
|
-
actionview (6.1.
|
|
29
|
-
activesupport (= 6.1.
|
|
28
|
+
actionview (6.1.5)
|
|
29
|
+
activesupport (= 6.1.5)
|
|
30
30
|
builder (~> 3.1)
|
|
31
31
|
erubi (~> 1.4)
|
|
32
32
|
rails-dom-testing (~> 2.0)
|
|
33
33
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
34
|
-
activejob (6.1.
|
|
35
|
-
activesupport (= 6.1.
|
|
34
|
+
activejob (6.1.5)
|
|
35
|
+
activesupport (= 6.1.5)
|
|
36
36
|
globalid (>= 0.3.6)
|
|
37
|
-
activesupport (6.1.
|
|
37
|
+
activesupport (6.1.5)
|
|
38
38
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
39
39
|
i18n (>= 1.6, < 2)
|
|
40
40
|
minitest (>= 5.1)
|
|
@@ -45,7 +45,7 @@ GEM
|
|
|
45
45
|
ansi (1.5.0)
|
|
46
46
|
builder (3.2.4)
|
|
47
47
|
coderay (1.1.2)
|
|
48
|
-
concurrent-ruby (1.1.
|
|
48
|
+
concurrent-ruby (1.1.9)
|
|
49
49
|
contextual_logger (0.11.0)
|
|
50
50
|
activesupport
|
|
51
51
|
json
|
|
@@ -66,49 +66,51 @@ GEM
|
|
|
66
66
|
erubi (1.10.0)
|
|
67
67
|
escalate (0.3.0)
|
|
68
68
|
eventmachine (1.2.7)
|
|
69
|
-
exception_handling (2.
|
|
69
|
+
exception_handling (2.10.0)
|
|
70
70
|
actionmailer (>= 4.2, < 7.0)
|
|
71
71
|
actionpack (>= 4.2, < 7.0)
|
|
72
72
|
activesupport (>= 4.2, < 7.0)
|
|
73
73
|
contextual_logger (~> 0.7)
|
|
74
|
-
escalate (~> 0.
|
|
74
|
+
escalate (~> 0.3)
|
|
75
75
|
eventmachine (~> 1.0)
|
|
76
76
|
invoca-utils (~> 0.3)
|
|
77
|
-
globalid (0.
|
|
78
|
-
activesupport (>=
|
|
77
|
+
globalid (1.0.0)
|
|
78
|
+
activesupport (>= 5.0)
|
|
79
79
|
hashdiff (1.0.1)
|
|
80
|
-
http_parser.rb (0.
|
|
81
|
-
i18n (1.
|
|
80
|
+
http_parser.rb (0.8.0)
|
|
81
|
+
i18n (1.10.0)
|
|
82
82
|
concurrent-ruby (~> 1.0)
|
|
83
83
|
invoca-utils (0.4.1)
|
|
84
|
-
json (2.
|
|
85
|
-
loofah (2.
|
|
84
|
+
json (2.6.1)
|
|
85
|
+
loofah (2.15.0)
|
|
86
86
|
crass (~> 1.0.2)
|
|
87
87
|
nokogiri (>= 1.5.9)
|
|
88
88
|
mail (2.7.1)
|
|
89
89
|
mini_mime (>= 0.1.1)
|
|
90
90
|
method_source (1.0.0)
|
|
91
|
-
mini_mime (1.
|
|
92
|
-
|
|
91
|
+
mini_mime (1.1.2)
|
|
92
|
+
mini_portile2 (2.8.0)
|
|
93
|
+
minitest (5.15.0)
|
|
93
94
|
minitest-reporters (1.4.2)
|
|
94
95
|
ansi
|
|
95
96
|
builder
|
|
96
97
|
minitest (>= 5.0)
|
|
97
98
|
ruby-progressbar
|
|
98
|
-
nokogiri (1.
|
|
99
|
+
nokogiri (1.13.3)
|
|
100
|
+
mini_portile2 (~> 2.8.0)
|
|
99
101
|
racc (~> 1.4)
|
|
100
102
|
pry (0.13.1)
|
|
101
103
|
coderay (~> 1.1)
|
|
102
104
|
method_source (~> 1.0)
|
|
103
105
|
public_suffix (4.0.4)
|
|
104
|
-
racc (1.
|
|
106
|
+
racc (1.6.0)
|
|
105
107
|
rack (2.2.3)
|
|
106
108
|
rack-test (1.1.0)
|
|
107
109
|
rack (>= 1.0, < 3)
|
|
108
110
|
rails-dom-testing (2.0.3)
|
|
109
111
|
activesupport (>= 4.2.0)
|
|
110
112
|
nokogiri (>= 1.6)
|
|
111
|
-
rails-html-sanitizer (1.
|
|
113
|
+
rails-html-sanitizer (1.4.2)
|
|
112
114
|
loofah (~> 2.3)
|
|
113
115
|
rake (13.0.1)
|
|
114
116
|
rr (1.2.1)
|
|
@@ -121,7 +123,7 @@ GEM
|
|
|
121
123
|
addressable (>= 2.3.6)
|
|
122
124
|
crack (>= 0.3.2)
|
|
123
125
|
hashdiff
|
|
124
|
-
zeitwerk (2.4
|
|
126
|
+
zeitwerk (2.5.4)
|
|
125
127
|
|
|
126
128
|
PLATFORMS
|
|
127
129
|
ruby
|
|
@@ -19,6 +19,6 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
spec.add_dependency 'em-synchrony'
|
|
20
20
|
spec.add_dependency 'em-http-request'
|
|
21
21
|
spec.add_dependency 'eventmachine'
|
|
22
|
-
spec.add_dependency 'exception_handling', '~> 2.
|
|
22
|
+
spec.add_dependency 'exception_handling', '~> 2.10'
|
|
23
23
|
spec.add_dependency 'invoca-utils', '~> 0.3'
|
|
24
24
|
end
|
|
@@ -25,8 +25,8 @@ begin
|
|
|
25
25
|
# Patch built relative to faraday v1.3.0 although the ruby2_keywords prefix
|
|
26
26
|
# was dropped from the adapter method definition to simplify this code
|
|
27
27
|
module FaradayAdapterPatch_v1
|
|
28
|
-
def adapter(klass = NO_ARGUMENT, *args, &block)
|
|
29
|
-
return @adapter if klass == NO_ARGUMENT
|
|
28
|
+
def adapter(klass = Faraday::RackBuilder::NO_ARGUMENT, *args, &block)
|
|
29
|
+
return @adapter if klass == Faraday::RackBuilder::NO_ARGUMENT
|
|
30
30
|
|
|
31
31
|
klass = Faraday::Adapter.lookup_middleware(klass) if klass.is_a?(Symbol)
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ begin
|
|
|
36
36
|
end
|
|
37
37
|
# END PATCH
|
|
38
38
|
|
|
39
|
-
@adapter =
|
|
39
|
+
@adapter = Faraday::RackBuilder::Handler.new(klass, *args, &block)
|
|
40
40
|
end
|
|
41
41
|
end
|
|
42
42
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: exceptional_synchrony
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.1
|
|
4
|
+
version: 1.4.3.pre.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Invoca
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '2.
|
|
61
|
+
version: '2.10'
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '2.
|
|
68
|
+
version: '2.10'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: invoca-utils
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -87,9 +87,8 @@ extensions: []
|
|
|
87
87
|
extra_rdoc_files: []
|
|
88
88
|
files:
|
|
89
89
|
- ".dependabot/config.yml"
|
|
90
|
+
- ".github/workflows/pipeline.yml"
|
|
90
91
|
- ".gitignore"
|
|
91
|
-
- ".jenkins/Jenkinsfile"
|
|
92
|
-
- ".jenkins/ruby_build_pod.yml"
|
|
93
92
|
- ".ruby-gemset"
|
|
94
93
|
- ".ruby-version"
|
|
95
94
|
- CHANGELOG.md
|
|
@@ -127,9 +126,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
127
126
|
version: '0'
|
|
128
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
128
|
requirements:
|
|
130
|
-
- - "
|
|
129
|
+
- - ">"
|
|
131
130
|
- !ruby/object:Gem::Version
|
|
132
|
-
version:
|
|
131
|
+
version: 1.3.1
|
|
133
132
|
requirements: []
|
|
134
133
|
rubygems_version: 3.0.3
|
|
135
134
|
signing_key:
|
data/.jenkins/Jenkinsfile
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/groovy
|
|
2
|
-
@Library('jenkins-pipeline@v0.4.5')
|
|
3
|
-
import com.invoca.docker.*;
|
|
4
|
-
pipeline {
|
|
5
|
-
agent {
|
|
6
|
-
kubernetes {
|
|
7
|
-
defaultContainer "ruby"
|
|
8
|
-
yamlFile ".jenkins/ruby_build_pod.yml"
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
environment {
|
|
13
|
-
GITHUB_TOKEN = credentials('github_token')
|
|
14
|
-
GITHUB_KEY = credentials('github_key')
|
|
15
|
-
BUNDLE_GEM__FURY__IO = credentials('gemfury_deploy_token')
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
stages {
|
|
19
|
-
stage('Setup') {
|
|
20
|
-
steps {
|
|
21
|
-
updateGitHubStatus('clean-build', 'pending', 'Unit tests.')
|
|
22
|
-
script {
|
|
23
|
-
sh '''
|
|
24
|
-
# get SSH setup inside the container
|
|
25
|
-
eval `ssh-agent -s`
|
|
26
|
-
echo "$GITHUB_KEY" | ssh-add -
|
|
27
|
-
mkdir -p /root/.ssh
|
|
28
|
-
ssh-keyscan -t rsa github.com > /root/.ssh/known_hosts
|
|
29
|
-
bundle install
|
|
30
|
-
''' }
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
stage('Unit Test') {
|
|
34
|
-
steps {
|
|
35
|
-
script {
|
|
36
|
-
sh 'bundle exec rake'
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
post {
|
|
40
|
-
always { junit '*/reports/*.xml' }
|
|
41
|
-
success { updateGitHubStatus('clean-build', 'success', 'Unit tests.') }
|
|
42
|
-
failure { updateGitHubStatus('clean-build', 'failure', 'Unit tests.') }
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
void updateGitHubStatus(String context, String status, String description) {
|
|
49
|
-
gitHubStatus([
|
|
50
|
-
repoSlug: 'Invoca/exceptional_synchrony',
|
|
51
|
-
sha: env.GIT_COMMIT,
|
|
52
|
-
description: description,
|
|
53
|
-
context: context,
|
|
54
|
-
targetURL: env.RUN_DISPLAY_URL,
|
|
55
|
-
token: env.GITHUB_TOKEN,
|
|
56
|
-
status: status
|
|
57
|
-
])
|
|
58
|
-
}
|
data/.jenkins/ruby_build_pod.yml
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
apiVersion: v1
|
|
3
|
-
kind: Pod
|
|
4
|
-
metadata:
|
|
5
|
-
labels:
|
|
6
|
-
jenkins/exceptional-synchrony: 'true'
|
|
7
|
-
namespace: jenkins
|
|
8
|
-
name: exceptional-synchrony
|
|
9
|
-
spec:
|
|
10
|
-
containers:
|
|
11
|
-
- name: ruby
|
|
12
|
-
image: ruby:2.6.5
|
|
13
|
-
tty: true
|
|
14
|
-
resources:
|
|
15
|
-
requests:
|
|
16
|
-
memory: "100Mi"
|
|
17
|
-
command:
|
|
18
|
-
- cat
|
|
19
|
-
|