exceptional_synchrony 1.4.1 → 1.4.3.pre.1

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: 5c1805d12af62c0dac803b64eadb0e7b21efa614f5c10600d75280649a7d2a0e
4
- data.tar.gz: 89f0a7ededf02acc4f84df65df03880af40edc4e41d0f930244262067ab10961
3
+ metadata.gz: 01ce79ad009763be1c735152c3dcd41cc2af81bbcdf1703c7a85721f853429f4
4
+ data.tar.gz: 87dc365bc069a7ad9c87f525f6073680197ceac5813f9fe969957d7b8a26739d
5
5
  SHA512:
6
- metadata.gz: cab5a438cdef3a5e1682912e500b79eff2d11992e351070064b167df9125d305429a26f153dc2aa33923695970584b06da731b7220c50b230e3e4a202a49ce99
7
- data.tar.gz: 18fca7c2d477146a3886b66abb32a2c43d5125f220c45f8d71c47f4ed4d2d28f8fbf98257cb396033a8223e9e26ea8d35ae110e2d7e88ffe0a17d148a9a594bc
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.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.3)
15
- actionpack (= 6.1.3)
16
- actionview (= 6.1.3)
17
- activejob (= 6.1.3)
18
- activesupport (= 6.1.3)
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.3)
22
- actionview (= 6.1.3)
23
- activesupport (= 6.1.3)
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.3)
29
- activesupport (= 6.1.3)
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.3)
35
- activesupport (= 6.1.3)
34
+ activejob (6.1.5)
35
+ activesupport (= 6.1.5)
36
36
  globalid (>= 0.3.6)
37
- activesupport (6.1.3)
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.8)
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.9.0)
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.2)
74
+ escalate (~> 0.3)
75
75
  eventmachine (~> 1.0)
76
76
  invoca-utils (~> 0.3)
77
- globalid (0.4.2)
78
- activesupport (>= 4.2.0)
77
+ globalid (1.0.0)
78
+ activesupport (>= 5.0)
79
79
  hashdiff (1.0.1)
80
- http_parser.rb (0.6.0)
81
- i18n (1.8.9)
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.5.1)
85
- loofah (2.9.0)
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.0.2)
92
- minitest (5.14.0)
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.11.1-x86_64-darwin)
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.5.2)
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.3.0)
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.2)
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.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 = self.class::Handler.new(klass, *args, &block)
39
+ @adapter = Faraday::RackBuilder::Handler.new(klass, *args, &block)
40
40
  end
41
41
  end
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module ExceptionalSynchrony
2
- VERSION = '1.4.1'
2
+ VERSION = '1.4.3.pre.1'
3
3
  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.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.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: '0'
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
- }
@@ -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
-