ears 0.11.1 → 0.11.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5b2a2c4de31a20aa629cb7b7ae7a5c6e25208939e352e4bb49100a6f8edcfc1
4
- data.tar.gz: d45e78a7922c5ec18d3fa67aed15b4125281235fe1df34131e3698163a234617
3
+ metadata.gz: 288afca56e18d5cd8add5e50155a37d243daf862079893c2e2aa54728b5ce6dc
4
+ data.tar.gz: 7e961cf4efaf97fd72c79a8ff8fd49f2536decc6728a1f8d8ddb176b42de5ff3
5
5
  SHA512:
6
- metadata.gz: 0ff0a50540f11484caa4b9c7f13b4bb5f6734f3c9505e7ea715e3429fbca41cb40392ba4788e0ca7390e550899ab79cb3fdecdb0a8d1d4b042493f56f3f833d8
7
- data.tar.gz: d7618d2cb3b43ccf168136b7a40e6b4ca82b40569cbf64dcbaf485135f1977d76b4a78b40f811f63cb47f4781353d871889957cf26333097a85520c31bf0dca8
6
+ metadata.gz: afee5b7d9069bfda962b20776cbb38e0d9b0a416461cb9a41a7eae3c3aa1531d6e29dedebcd7210d1295b17ff9b1bce17fcf0d91bc516d3ff302f067f2f23461
7
+ data.tar.gz: f595da01d69259e73d497aef6dee354d202d6bb413fb4e4dba240b1060fc6794352f4f43c16f6bc12f53ef553bbdce025bff5867ecfc2d6c770cdc73169fc09c
data/.rubocop.yml CHANGED
@@ -64,7 +64,9 @@ Metrics/ModuleLength:
64
64
  - 'spec/**/*.rb'
65
65
  - 'test/**/*.rb'
66
66
 
67
- require: rubocop-rspec
67
+ require:
68
+ - rubocop-rspec
69
+ - rubocop-rake
68
70
 
69
71
  RSpec/DescribedClass:
70
72
  Enabled: false
data/.tool-versions CHANGED
@@ -1,2 +1,2 @@
1
- ruby 3.2.2
2
- nodejs 20.2.0
1
+ ruby 2.7.7
2
+ nodejs 20.6.1
data/.yardopts ADDED
@@ -0,0 +1,5 @@
1
+ --readme README.md
2
+ --title 'Ears Documentation'
3
+ --charset utf-8
4
+ --markup markdown
5
+ 'lib/**/*.rb' - 'README.md' 'LICENSE.txt' 'CHANGELOG.md'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.2 (2023-10-25)
4
+
5
+ - Add documentation generation via yard
6
+
3
7
  ## 0.11.1 (2023-09-08)
4
8
 
5
9
  - Bugfix: trapped signals INT and TERM now calls correctly previous set signal handler
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ears (0.11.1)
4
+ ears (0.11.2)
5
5
  bunny (~> 2.22.0)
6
6
  multi_json
7
7
 
@@ -10,33 +10,35 @@ GEM
10
10
  specs:
11
11
  amq-protocol (2.3.2)
12
12
  ast (2.4.2)
13
+ base64 (0.1.1)
13
14
  bunny (2.22.0)
14
15
  amq-protocol (~> 2.3, >= 2.3.1)
15
16
  sorted_set (~> 1, >= 1.0.2)
16
17
  diff-lcs (1.5.0)
17
- haml (6.1.1)
18
+ haml (6.1.2)
18
19
  temple (>= 0.8.2)
19
20
  thor
20
21
  tilt
21
22
  json (2.6.3)
23
+ language_server-protocol (3.17.0.3)
22
24
  multi_json (1.15.0)
23
25
  parallel (1.23.0)
24
26
  parser (3.2.2.3)
25
27
  ast (~> 2.4.1)
26
28
  racc
27
- prettier (3.2.2)
28
- syntax_tree (>= 2.7.1)
29
- syntax_tree-haml (>= 1.1.0)
29
+ prettier (4.0.2)
30
+ syntax_tree (>= 4.0.1)
31
+ syntax_tree-haml (>= 2.0.0)
30
32
  syntax_tree-rbs (>= 0.2.0)
31
33
  prettier_print (1.2.1)
32
- racc (1.7.0)
34
+ racc (1.7.1)
33
35
  rainbow (3.1.1)
34
36
  rake (13.0.6)
35
- rbs (3.1.0)
37
+ rbs (3.1.3)
36
38
  rbtree (0.4.6)
37
39
  redcarpet (3.6.0)
38
- regexp_parser (2.8.0)
39
- rexml (3.2.5)
40
+ regexp_parser (2.8.1)
41
+ rexml (3.2.6)
40
42
  rspec (3.12.0)
41
43
  rspec-core (~> 3.12.0)
42
44
  rspec-expectations (~> 3.12.0)
@@ -46,29 +48,31 @@ GEM
46
48
  rspec-expectations (3.12.3)
47
49
  diff-lcs (>= 1.2.0, < 2.0)
48
50
  rspec-support (~> 3.12.0)
49
- rspec-mocks (3.12.5)
51
+ rspec-mocks (3.12.6)
50
52
  diff-lcs (>= 1.2.0, < 2.0)
51
53
  rspec-support (~> 3.12.0)
52
- rspec-support (3.12.0)
53
- rubocop (1.52.0)
54
+ rspec-support (3.12.1)
55
+ rubocop (1.56.3)
56
+ base64 (~> 0.1.1)
54
57
  json (~> 2.3)
58
+ language_server-protocol (>= 3.17.0)
55
59
  parallel (~> 1.10)
56
- parser (>= 3.2.0.0)
60
+ parser (>= 3.2.2.3)
57
61
  rainbow (>= 2.2.2, < 4.0)
58
62
  regexp_parser (>= 1.8, < 3.0)
59
63
  rexml (>= 3.2.5, < 4.0)
60
- rubocop-ast (>= 1.28.0, < 2.0)
64
+ rubocop-ast (>= 1.28.1, < 2.0)
61
65
  ruby-progressbar (~> 1.7)
62
66
  unicode-display_width (>= 2.4.0, < 3.0)
63
67
  rubocop-ast (1.29.0)
64
68
  parser (>= 3.2.1.0)
65
69
  rubocop-capybara (2.18.0)
66
70
  rubocop (~> 1.41)
67
- rubocop-factory_bot (2.23.1)
71
+ rubocop-factory_bot (2.24.0)
68
72
  rubocop (~> 1.33)
69
73
  rubocop-rake (0.6.0)
70
74
  rubocop (~> 1.0)
71
- rubocop-rspec (2.22.0)
75
+ rubocop-rspec (2.24.0)
72
76
  rubocop (~> 1.33)
73
77
  rubocop-capybara (~> 2.17)
74
78
  rubocop-factory_bot (~> 2.22)
@@ -89,7 +93,7 @@ GEM
89
93
  syntax_tree (>= 2.0.1)
90
94
  temple (0.10.2)
91
95
  thor (1.2.2)
92
- tilt (2.2.0)
96
+ tilt (2.3.0)
93
97
  unicode-display_width (2.4.2)
94
98
  yard (0.9.34)
95
99
 
@@ -114,4 +118,4 @@ DEPENDENCIES
114
118
  yard
115
119
 
116
120
  BUNDLED WITH
117
- 2.4.13
121
+ 2.4.7
data/Rakefile CHANGED
@@ -1,9 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rake/clean'
1
4
  require 'bundler/gem_tasks'
2
5
  require 'rspec/core/rake_task'
3
6
  require 'yard'
4
7
 
5
- RSpec::Core::RakeTask.new(:spec)
8
+ CLEAN << '.yardoc'
9
+ CLOBBER << 'doc'
6
10
 
7
- YARD::Rake::YardocTask.new { |t| t.files = ['lib/**/*.rb'] }
11
+ RSpec::Core::RakeTask.new(:spec)
12
+ YARD::Rake::YardocTask.new { |t| t.stats_options = %w[--list-undoc] }
8
13
 
9
14
  task default: :spec
data/lib/ears/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ears
2
- VERSION = '0.11.1'
2
+ VERSION = '0.11.2'
3
3
  end
data/package-lock.json CHANGED
@@ -6,39 +6,39 @@
6
6
  "": {
7
7
  "name": "ears",
8
8
  "devDependencies": {
9
- "@invisionag/prettier-config": "^2.1.1",
10
- "@prettier/plugin-ruby": "^3.2.2",
11
- "prettier": "^2.8.8"
9
+ "@invisionag/prettier-config": "^2.1.2",
10
+ "@prettier/plugin-ruby": "^4.0.2",
11
+ "prettier": "^3.0.3"
12
12
  }
13
13
  },
14
14
  "node_modules/@invisionag/prettier-config": {
15
- "version": "2.1.1",
16
- "resolved": "https://registry.npmjs.org/@invisionag/prettier-config/-/prettier-config-2.1.1.tgz",
17
- "integrity": "sha512-JWdjOFpM9eaLLvoA2nLjnOy6nzK/3wM4I+uejvXLQul1cD8ygIh5H088okFa05q5ikbzExSbSgaDTCFH70ytyA==",
15
+ "version": "2.1.2",
16
+ "resolved": "https://registry.npmjs.org/@invisionag/prettier-config/-/prettier-config-2.1.2.tgz",
17
+ "integrity": "sha512-/h9r5ZjI3bSvq6G5aJyXjfH5bxbxJku/TWMMV5jEFBPTwvL8s7//lrb/0gN44MJKU2toITw9dP08JvjKsFMqhQ==",
18
18
  "dev": true,
19
19
  "peerDependencies": {
20
20
  "prettier": ">=2.0.0"
21
21
  }
22
22
  },
23
23
  "node_modules/@prettier/plugin-ruby": {
24
- "version": "3.2.2",
25
- "resolved": "https://registry.npmjs.org/@prettier/plugin-ruby/-/plugin-ruby-3.2.2.tgz",
26
- "integrity": "sha512-Vc7jVE39Fgswl517ET4kPtpnoRWE6XTi1Sivd84rZyomYnHYUmvUsEeoOf6tVhzTuIXE5XVQB1YCG2hulrwR3Q==",
24
+ "version": "4.0.2",
25
+ "resolved": "https://registry.npmjs.org/@prettier/plugin-ruby/-/plugin-ruby-4.0.2.tgz",
26
+ "integrity": "sha512-TOGsMoOLF0BLwRozqtTB/w7HpDHotDSBPfLsMBpCjlMONLSoCWBF1NhZQjiioyLim7tCltzFrCqZp11WcrPOzA==",
27
27
  "dev": true,
28
- "dependencies": {
29
- "prettier": ">=2.3.0"
28
+ "peerDependencies": {
29
+ "prettier": "^3.0.0"
30
30
  }
31
31
  },
32
32
  "node_modules/prettier": {
33
- "version": "2.8.8",
34
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz",
35
- "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
33
+ "version": "3.0.3",
34
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz",
35
+ "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==",
36
36
  "dev": true,
37
37
  "bin": {
38
- "prettier": "bin-prettier.js"
38
+ "prettier": "bin/prettier.cjs"
39
39
  },
40
40
  "engines": {
41
- "node": ">=10.13.0"
41
+ "node": ">=14"
42
42
  },
43
43
  "funding": {
44
44
  "url": "https://github.com/prettier/prettier?sponsor=1"
@@ -47,25 +47,23 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@invisionag/prettier-config": {
50
- "version": "2.1.1",
51
- "resolved": "https://registry.npmjs.org/@invisionag/prettier-config/-/prettier-config-2.1.1.tgz",
52
- "integrity": "sha512-JWdjOFpM9eaLLvoA2nLjnOy6nzK/3wM4I+uejvXLQul1cD8ygIh5H088okFa05q5ikbzExSbSgaDTCFH70ytyA==",
50
+ "version": "2.1.2",
51
+ "resolved": "https://registry.npmjs.org/@invisionag/prettier-config/-/prettier-config-2.1.2.tgz",
52
+ "integrity": "sha512-/h9r5ZjI3bSvq6G5aJyXjfH5bxbxJku/TWMMV5jEFBPTwvL8s7//lrb/0gN44MJKU2toITw9dP08JvjKsFMqhQ==",
53
53
  "dev": true,
54
54
  "requires": {}
55
55
  },
56
56
  "@prettier/plugin-ruby": {
57
- "version": "3.2.2",
58
- "resolved": "https://registry.npmjs.org/@prettier/plugin-ruby/-/plugin-ruby-3.2.2.tgz",
59
- "integrity": "sha512-Vc7jVE39Fgswl517ET4kPtpnoRWE6XTi1Sivd84rZyomYnHYUmvUsEeoOf6tVhzTuIXE5XVQB1YCG2hulrwR3Q==",
57
+ "version": "4.0.2",
58
+ "resolved": "https://registry.npmjs.org/@prettier/plugin-ruby/-/plugin-ruby-4.0.2.tgz",
59
+ "integrity": "sha512-TOGsMoOLF0BLwRozqtTB/w7HpDHotDSBPfLsMBpCjlMONLSoCWBF1NhZQjiioyLim7tCltzFrCqZp11WcrPOzA==",
60
60
  "dev": true,
61
- "requires": {
62
- "prettier": ">=2.3.0"
63
- }
61
+ "requires": {}
64
62
  },
65
63
  "prettier": {
66
- "version": "2.8.8",
67
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz",
68
- "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
64
+ "version": "3.0.3",
65
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz",
66
+ "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==",
69
67
  "dev": true
70
68
  }
71
69
  }
data/package.json CHANGED
@@ -7,9 +7,9 @@
7
7
  "format": "npm run prettify -- --write"
8
8
  },
9
9
  "devDependencies": {
10
- "@invisionag/prettier-config": "^2.1.1",
11
- "@prettier/plugin-ruby": "^3.2.2",
12
- "prettier": "^2.8.8"
10
+ "@invisionag/prettier-config": "^2.1.2",
11
+ "@prettier/plugin-ruby": "^4.0.2",
12
+ "prettier": "^3.0.3"
13
13
  },
14
14
  "prettier": "@invisionag/prettier-config/ruby"
15
15
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ears
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - InVision AG
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-08 00:00:00.000000000 Z
11
+ date: 2023-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny
@@ -52,6 +52,7 @@ files:
52
52
  - ".rspec"
53
53
  - ".rubocop.yml"
54
54
  - ".tool-versions"
55
+ - ".yardopts"
55
56
  - CHANGELOG.md
56
57
  - CODEOWNERS
57
58
  - CODE_OF_CONDUCT.md
@@ -101,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
102
  - !ruby/object:Gem::Version
102
103
  version: '0'
103
104
  requirements: []
104
- rubygems_version: 3.4.10
105
+ rubygems_version: 3.1.6
105
106
  signing_key:
106
107
  specification_version: 4
107
108
  summary: A gem for building RabbitMQ consumers.