augury 1.2.0 → 2.0.0

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: 59bd84b6b102ff46342777c9a2525f3aab4bbac6ac0cfd2a9b608ace5c754fa2
4
- data.tar.gz: 2ac6e27fd11e279f66a0e80e5ff2206859d47e160128bd26ad944f4e9d24caa4
3
+ metadata.gz: ee74f68b899c63c7045a62471fcc7e5c94b9f6efe7d8997030bc806241a22af7
4
+ data.tar.gz: c3061c1981ac0d5102073bebc9714b0675737af8ce3984440e11146f12174c57
5
5
  SHA512:
6
- metadata.gz: 9da3e4c0dbf895ede6e40ff7ba9007180b0f08b44ce105ed402bd11b3a49b65122134c0c878d8f67cbae30d37bbf8f66139f5c8ea3abe09a054322e2e3c365c3
7
- data.tar.gz: f1fd1dafceb38a517bd2072b8034aa34e81f45a3e4356dc98eda67a617debdde1e603d05f59dc38d38c2dbb755649501dc4225e857f9e906b3149975eadf3baf
6
+ metadata.gz: b7f502ddc53f768ff5670b113aa0729e6595dbd9c6c6c883babbad2e3f8b3ff2a355facbdf4431cd52216eaf77e010d476006e7f50804ed16611d13c554adb56
7
+ data.tar.gz: fb4fdafdbac2dc142838e38f539487f55498894117a39cee7b53fd2a560820e303b56a680000af4d2c64484994fd422838e92e18114a5f31a5bc13d418d4656b
data/.codeclimate.yml CHANGED
@@ -4,7 +4,7 @@ plugins:
4
4
  enabled: true
5
5
  rubocop:
6
6
  enabled: true
7
- channel: rubocop-1-31-0
7
+ channel: rubocop-1-56-3
8
8
  markdownlint:
9
9
  enabled: true
10
10
  bundler-audit:
@@ -6,7 +6,7 @@ jobs:
6
6
  fail-fast: false
7
7
  matrix:
8
8
  os: [ubuntu-latest]
9
- ruby: [2.7, '3.0', '3.1']
9
+ ruby: ['3.1', '3.2', "3.3"]
10
10
  runs-on: ${{ matrix.os }}
11
11
  env:
12
12
  TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.7
2
+ TargetRubyVersion: 3.1
3
3
  Exclude:
4
4
  - bin/**/*
5
5
  - vendor/**/*
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.6
1
+ 3.3.0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 2.0.0 (2024-03-05)
4
+
5
+ - Test against latest Ruby 3.3 and minimum 3.1.x
6
+
3
7
  ## 1.2.0 (2022-10-26)
4
8
 
5
9
  - Test against latest Ruby 3.1, minimum version 2.7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- augury (1.2.0)
4
+ augury (2.0.0)
5
5
  thor (~> 1.0.0)
6
6
  twitter (~> 7.0)
7
7
  word_wrap (~> 1.0)
@@ -9,31 +9,32 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- addressable (2.8.1)
12
+ addressable (2.8.6)
13
13
  public_suffix (>= 2.0.2, < 6.0)
14
14
  ast (2.4.2)
15
15
  awesome_print (1.9.2)
16
16
  backport (1.2.0)
17
- benchmark (0.2.0)
17
+ benchmark (0.3.0)
18
+ bigdecimal (3.1.6)
18
19
  buftok (0.2.0)
19
20
  bundler-audit (0.9.1)
20
21
  bundler (>= 1.2.0, < 3)
21
22
  thor (~> 1.0)
22
23
  byebug (11.1.3)
23
24
  coderay (1.1.3)
24
- crack (0.4.5)
25
+ crack (1.0.0)
26
+ bigdecimal
25
27
  rexml
26
- diff-lcs (1.5.0)
28
+ diff-lcs (1.5.1)
27
29
  docile (1.4.0)
28
- domain_name (0.5.20190701)
29
- unf (>= 0.0.5, < 1.0.0)
30
+ domain_name (0.6.20240107)
30
31
  e2mmap (0.1.0)
31
32
  equalizer (0.0.11)
32
- ffi (1.15.5)
33
+ ffi (1.16.3)
33
34
  ffi-compiler (1.0.1)
34
35
  ffi (>= 1.0.0)
35
36
  rake
36
- hashdiff (1.0.1)
37
+ hashdiff (1.1.0)
37
38
  http (4.4.1)
38
39
  addressable (~> 2.3)
39
40
  http-cookie (~> 1.0)
@@ -45,8 +46,8 @@ GEM
45
46
  http-parser (1.2.3)
46
47
  ffi-compiler (>= 1.0, < 2.0)
47
48
  http_parser.rb (0.6.0)
48
- jaro_winkler (1.5.4)
49
- json (2.6.2)
49
+ jaro_winkler (1.5.6)
50
+ json (2.7.1)
50
51
  kramdown (2.4.0)
51
52
  rexml
52
53
  kramdown-parser-gfm (1.1.0)
@@ -54,16 +55,17 @@ GEM
54
55
  memoizable (0.4.2)
55
56
  thread_safe (~> 0.3, >= 0.3.1)
56
57
  method_source (1.0.0)
57
- mini_portile2 (2.8.0)
58
- multipart-post (2.2.3)
58
+ mini_portile2 (2.8.5)
59
+ multipart-post (2.4.0)
59
60
  naught (1.1.0)
60
- nokogiri (1.13.9)
61
- mini_portile2 (~> 2.8.0)
61
+ nokogiri (1.16.2)
62
+ mini_portile2 (~> 2.8.2)
62
63
  racc (~> 1.4)
63
- parallel (1.22.1)
64
- parser (3.1.2.1)
64
+ parallel (1.24.0)
65
+ parser (3.3.0.5)
65
66
  ast (~> 2.4.1)
66
- pry (0.14.1)
67
+ racc
68
+ pry (0.14.2)
67
69
  coderay (~> 1.1)
68
70
  method_source (~> 1.0)
69
71
  pry-awesome_print (9.6.11)
@@ -72,30 +74,30 @@ GEM
72
74
  pry-byebug (3.10.1)
73
75
  byebug (~> 11.0)
74
76
  pry (>= 0.13, < 0.15)
75
- pry-doc (1.3.0)
77
+ pry-doc (1.5.0)
76
78
  pry (~> 0.11)
77
79
  yard (~> 0.9.11)
78
- public_suffix (5.0.0)
79
- racc (1.6.0)
80
+ public_suffix (5.0.4)
81
+ racc (1.7.3)
80
82
  rainbow (3.1.1)
81
- rake (13.0.6)
82
- regexp_parser (2.6.0)
83
+ rake (13.1.0)
84
+ regexp_parser (2.9.0)
83
85
  reverse_markdown (2.1.1)
84
86
  nokogiri
85
- rexml (3.2.5)
86
- rspec (3.11.0)
87
- rspec-core (~> 3.11.0)
88
- rspec-expectations (~> 3.11.0)
89
- rspec-mocks (~> 3.11.0)
90
- rspec-core (3.11.0)
91
- rspec-support (~> 3.11.0)
92
- rspec-expectations (3.11.1)
87
+ rexml (3.2.6)
88
+ rspec (3.13.0)
89
+ rspec-core (~> 3.13.0)
90
+ rspec-expectations (~> 3.13.0)
91
+ rspec-mocks (~> 3.13.0)
92
+ rspec-core (3.13.0)
93
+ rspec-support (~> 3.13.0)
94
+ rspec-expectations (3.13.0)
93
95
  diff-lcs (>= 1.2.0, < 2.0)
94
- rspec-support (~> 3.11.0)
95
- rspec-mocks (3.11.1)
96
+ rspec-support (~> 3.13.0)
97
+ rspec-mocks (3.13.0)
96
98
  diff-lcs (>= 1.2.0, < 2.0)
97
- rspec-support (~> 3.11.0)
98
- rspec-support (3.11.1)
99
+ rspec-support (~> 3.13.0)
100
+ rspec-support (3.13.1)
99
101
  rubocop (1.31.0)
100
102
  parallel (~> 1.10)
101
103
  parser (>= 3.1.0.0)
@@ -105,20 +107,20 @@ GEM
105
107
  rubocop-ast (>= 1.18.0, < 2.0)
106
108
  ruby-progressbar (~> 1.7)
107
109
  unicode-display_width (>= 1.4.0, < 3.0)
108
- rubocop-ast (1.23.0)
109
- parser (>= 3.1.1.0)
110
+ rubocop-ast (1.31.1)
111
+ parser (>= 3.3.0.4)
110
112
  rubocop-rake (0.6.0)
111
113
  rubocop (~> 1.0)
112
114
  rubocop-rspec (2.12.1)
113
115
  rubocop (~> 1.31)
114
- ruby-progressbar (1.11.0)
116
+ ruby-progressbar (1.13.0)
115
117
  simple_oauth (0.3.1)
116
118
  simplecov (0.17.1)
117
119
  docile (~> 1.1)
118
120
  json (>= 1.8, < 3)
119
121
  simplecov-html (~> 0.10.0)
120
122
  simplecov-html (0.10.2)
121
- solargraph (0.47.2)
123
+ solargraph (0.48.0)
122
124
  backport (~> 1.2)
123
125
  benchmark
124
126
  bundler (>= 1.17.2)
@@ -135,7 +137,7 @@ GEM
135
137
  yard (~> 0.9, >= 0.9.24)
136
138
  thor (1.0.1)
137
139
  thread_safe (0.3.6)
138
- tilt (2.0.11)
140
+ tilt (2.3.0)
139
141
  twitter (7.0.0)
140
142
  addressable (~> 2.3)
141
143
  buftok (~> 0.2.0)
@@ -147,19 +149,14 @@ GEM
147
149
  multipart-post (~> 2.0)
148
150
  naught (~> 1.0)
149
151
  simple_oauth (~> 0.3.0)
150
- unf (0.1.4)
151
- unf_ext
152
- unf_ext (0.0.8.2)
153
- unicode-display_width (2.3.0)
154
- vcr (6.1.0)
155
- webmock (3.18.1)
152
+ unicode-display_width (2.5.0)
153
+ vcr (6.2.0)
154
+ webmock (3.23.0)
156
155
  addressable (>= 2.8.0)
157
156
  crack (>= 0.3.2)
158
157
  hashdiff (>= 0.4.0, < 2.0.0)
159
- webrick (1.7.0)
160
158
  word_wrap (1.0.0)
161
- yard (0.9.28)
162
- webrick (~> 1.7.0)
159
+ yard (0.9.36)
163
160
 
164
161
  PLATFORMS
165
162
  ruby
@@ -182,4 +179,4 @@ DEPENDENCIES
182
179
  webmock
183
180
 
184
181
  BUNDLED WITH
185
- 2.3.24
182
+ 2.5.3
data/augury.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = 'This gem turns a twitter feed into a fortune file that you can use with the fortune program'
13
13
  spec.homepage = 'https://github.com/claytron/augury'
14
14
  spec.license = 'MIT'
15
- spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
15
+ spec.required_ruby_version = Gem::Requirement.new('>= 3.1')
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
18
  spec.bindir = 'exe'
data/lib/augury/cli.rb CHANGED
@@ -86,7 +86,9 @@ module Augury
86
86
 
87
87
  config_path = File.expand_path(ENV.fetch('AUGURY_CFG_PATH', '~/.augury.yml'))
88
88
  if File.file?(config_path)
89
- config_options = Thor::CoreExt::HashWithIndifferentAccess.new(YAML.load_file(config_path) || {})
89
+ config_options = Thor::CoreExt::HashWithIndifferentAccess.new(
90
+ YAML.load_file(config_path, permitted_classes: [Regexp]) || {},
91
+ )
90
92
  defaults = defaults.merge(config_options)
91
93
  end
92
94
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Augury
4
- VERSION = '1.2.0'
4
+ VERSION = '2.0.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: augury
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clayton Parker
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-26 00:00:00.000000000 Z
11
+ date: 2024-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -100,14 +100,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 2.7.0
103
+ version: '3.1'
104
104
  required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - ">="
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  requirements: []
110
- rubygems_version: 3.3.24
110
+ rubygems_version: 3.5.3
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: Turn a twitter feed into a fortune file