consul 1.3.2 → 2.0.0

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: ee6dc0b253298727f44d5dfb975ab428349401e005b960156090591d930bfcf1
4
- data.tar.gz: aeab801a53fd4c287736fb6f17397c24507b214fa77d803f6c1e54aa4d8dce50
3
+ metadata.gz: c926f0b140fa2ae77e0fefbc80533f418c9d705cd48bb79438cdf30773a189f9
4
+ data.tar.gz: 5fe18c6e50d8fd1ad21e56ce7a2e0f446952387c9bd75870257834d1af91c066
5
5
  SHA512:
6
- metadata.gz: e6480d378cb267f8bd0e018f1b5f47f3d815aad2b7d2a0477042564fb3fce5fab348b93f217957e278d7b299813960a8eeea0ca832a35ca1d23a87335d10dae1
7
- data.tar.gz: 60b20e4cfc85b430502fd6ff28b2403a152710b7c1ee1c56fa1121c162a079db4b1b18a8ac71c6b87cf8f94abb6be8afee38f35d0170187ad264e4a78d019e0c
6
+ metadata.gz: 3bcbb5836301ae9804358b820c1bf985f7cd55d7daa7ea756ccf5f0053ae28e45b75cf76e155a9fd0c847ef17f9185b2cdf4086cfebe57cbf8f20e1d2f5c16b1
7
+ data.tar.gz: 02debff75bf17a2a4812c3e1281a4460f87068c20d87aaf82923200135166f2b56e504a9bb9e374a8144b11336e4d540cee137932ff8ae1356c38d7c683130cb
@@ -14,31 +14,34 @@ jobs:
14
14
  fail-fast: false
15
15
  matrix:
16
16
  include:
17
- - ruby: 2.5.3
18
- gemfile: Gemfile.5-2
19
- - ruby: 2.5.3
20
- gemfile: Gemfile.6-1
21
17
  - ruby: 2.7.3
22
18
  gemfile: Gemfile.6-1
23
19
  - ruby: 2.7.3
24
- gemfile: Gemfile.7-0
20
+ gemfile: Gemfile.7-1
25
21
  - ruby: 3.2.0
26
22
  gemfile: Gemfile.6-1
27
23
  - ruby: 3.2.0
28
- gemfile: Gemfile.7-0
29
- - ruby: 3.3.4
30
24
  gemfile: Gemfile.7-1
25
+ - ruby: 3.2.0
26
+ gemfile: Gemfile.8-0
27
+ - ruby: 3.4.1
28
+ gemfile: Gemfile.7-1
29
+ - ruby: 3.4.1
30
+ gemfile: Gemfile.7-2
31
+ - ruby: 3.4.1
32
+ gemfile: Gemfile.8-0
31
33
  env:
32
34
  BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
33
35
  steps:
34
- - uses: actions/checkout@v2
36
+ - uses: actions/checkout@v4
35
37
  - name: Install ruby
36
38
  uses: ruby/setup-ruby@v1
37
39
  with:
38
40
  ruby-version: "${{ matrix.ruby }}"
41
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
39
42
  - name: Bundle
40
43
  run: |
41
- gem install bundler:1.17.3
44
+ gem install bundler:2.3.1
42
45
  bundle install --no-deployment
43
46
  - name: Run tests
44
47
  run: bundle exec rspec
data/.gitignore CHANGED
@@ -7,3 +7,4 @@ pkg
7
7
  .bundle
8
8
  spec/support/database.yml
9
9
  .byebug_history
10
+ tmp
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.4
1
+ 3.4.1
data/CHANGELOG.md CHANGED
@@ -7,9 +7,28 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
7
7
 
8
8
  ### Breaking changes
9
9
 
10
+ -
11
+
10
12
  ### Compatible changes
11
13
 
12
- ## 1.3.2 - 2023-08-27
14
+ -
15
+
16
+
17
+
18
+ ## 1.4.0 - 2025-01-22
19
+
20
+ ### Breaking changes
21
+
22
+ - Increase gemspec version constraints to Rails >= 6.0
23
+ - Drop tests (and support) for Ruby 2.5
24
+
25
+ ### Compatible changes
26
+
27
+ - Test against Rails 8.0
28
+ - Drop tests for Rails 5.2
29
+ - Test against Ruby 3.4 instead of Ruby 3.3
30
+
31
+ ## 1.3.2 - 2024-08-27
13
32
 
14
33
  ### Compatible changes
15
34
 
data/Gemfile CHANGED
@@ -1 +1 @@
1
- Gemfile.7-1
1
+ Gemfile.8-0
data/Gemfile.6-1 CHANGED
@@ -1,7 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Runtime dependencies
4
- gem 'railties', '>= 3.2'
4
+ gem 'railties', '~> 6.1'
5
5
  gem 'assignable_values'
6
6
 
7
7
  # Development dependencies
data/Gemfile.6-1.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- consul (1.3.2)
5
- activerecord (>= 3.2)
6
- activesupport (>= 3.2)
4
+ consul (2.0.0)
5
+ activerecord (>= 6.0)
6
+ activesupport (>= 6.0)
7
7
  edge_rider (>= 0.3.0)
8
8
  memoized (>= 1.0.2)
9
- railties (>= 3.2)
9
+ railties (>= 6.0)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
@@ -52,13 +52,13 @@ GEM
52
52
  crass (~> 1.0.2)
53
53
  nokogiri (>= 1.5.9)
54
54
  memoized (1.1.1)
55
- method_source (1.0.0)
56
- mini_portile2 (2.6.1)
55
+ method_source (1.1.0)
56
+ mini_portile2 (2.8.8)
57
57
  minitest (5.15.0)
58
- nokogiri (1.12.5)
59
- mini_portile2 (~> 2.6.1)
58
+ nokogiri (1.15.0)
59
+ mini_portile2 (~> 2.8.2)
60
60
  racc (~> 1.4)
61
- racc (1.6.2)
61
+ racc (1.8.1)
62
62
  rack (2.2.3)
63
63
  rack-test (1.1.0)
64
64
  rack (>= 1.0, < 3)
@@ -73,7 +73,7 @@ GEM
73
73
  method_source
74
74
  rake (>= 0.8.7)
75
75
  thor (~> 1.0)
76
- rake (13.0.3)
76
+ rake (13.2.1)
77
77
  rspec (3.6.0)
78
78
  rspec-core (~> 3.6.0)
79
79
  rspec-expectations (~> 3.6.0)
@@ -103,7 +103,7 @@ GEM
103
103
  sneaky-save (0.1.2)
104
104
  activerecord (>= 3.2.0)
105
105
  sqlite3 (1.4.2)
106
- thor (1.1.0)
106
+ thor (1.3.2)
107
107
  tzinfo (2.0.5)
108
108
  concurrent-ruby (~> 1.0)
109
109
  zeitwerk (2.6.6)
@@ -116,7 +116,7 @@ DEPENDENCIES
116
116
  consul!
117
117
  database_cleaner
118
118
  gemika (>= 0.8.1)
119
- railties (>= 3.2)
119
+ railties (~> 6.1)
120
120
  rspec
121
121
  rspec-rails
122
122
  rspec_candy
@@ -124,4 +124,4 @@ DEPENDENCIES
124
124
  sqlite3
125
125
 
126
126
  BUNDLED WITH
127
- 2.2.15
127
+ 2.3.1
data/Gemfile.7-1 CHANGED
@@ -1,7 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Runtime dependencies
4
- gem 'railties', '>= 7.0.1'
4
+ gem 'railties', '~> 7.1'
5
5
  gem 'assignable_values'
6
6
 
7
7
  # Development dependencies
data/Gemfile.7-1.lock CHANGED
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- consul (1.3.2)
5
- activerecord (>= 3.2)
6
- activesupport (>= 3.2)
4
+ consul (2.0.0)
5
+ activerecord (>= 6.0)
6
+ activesupport (>= 6.0)
7
7
  edge_rider (>= 0.3.0)
8
8
  memoized (>= 1.0.2)
9
- railties (>= 3.2)
9
+ railties (>= 6.0)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- actionpack (7.1.3.4)
15
- actionview (= 7.1.3.4)
16
- activesupport (= 7.1.3.4)
14
+ actionpack (7.1.4.2)
15
+ actionview (= 7.1.4.2)
16
+ activesupport (= 7.1.4.2)
17
17
  nokogiri (>= 1.8.5)
18
18
  racc
19
19
  rack (>= 2.2.4)
@@ -21,19 +21,19 @@ GEM
21
21
  rack-test (>= 0.6.3)
22
22
  rails-dom-testing (~> 2.2)
23
23
  rails-html-sanitizer (~> 1.6)
24
- actionview (7.1.3.4)
25
- activesupport (= 7.1.3.4)
24
+ actionview (7.1.4.2)
25
+ activesupport (= 7.1.4.2)
26
26
  builder (~> 3.1)
27
27
  erubi (~> 1.11)
28
28
  rails-dom-testing (~> 2.2)
29
29
  rails-html-sanitizer (~> 1.6)
30
- activemodel (7.1.3.4)
31
- activesupport (= 7.1.3.4)
32
- activerecord (7.1.3.4)
33
- activemodel (= 7.1.3.4)
34
- activesupport (= 7.1.3.4)
30
+ activemodel (7.1.4.2)
31
+ activesupport (= 7.1.4.2)
32
+ activerecord (7.1.4.2)
33
+ activemodel (= 7.1.4.2)
34
+ activesupport (= 7.1.4.2)
35
35
  timeout (>= 0.4.0)
36
- activesupport (7.1.3.4)
36
+ activesupport (7.1.4.2)
37
37
  base64
38
38
  bigdecimal
39
39
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -43,7 +43,7 @@ GEM
43
43
  minitest (>= 5.1)
44
44
  mutex_m
45
45
  tzinfo (~> 2.0)
46
- assignable_values (1.0.0)
46
+ assignable_values (1.1.1)
47
47
  activerecord (>= 2.3)
48
48
  base64 (0.2.0)
49
49
  bigdecimal (3.1.8)
@@ -57,6 +57,7 @@ GEM
57
57
  activerecord (>= 5.a)
58
58
  database_cleaner-core (~> 2.0.0)
59
59
  database_cleaner-core (2.0.1)
60
+ date (3.4.1)
60
61
  diff-lcs (1.5.1)
61
62
  drb (2.2.1)
62
63
  edge_rider (2.3.0)
@@ -65,8 +66,9 @@ GEM
65
66
  gemika (0.8.3)
66
67
  i18n (1.14.5)
67
68
  concurrent-ruby (~> 1.0)
68
- io-console (0.7.2)
69
- irb (1.14.0)
69
+ io-console (0.8.0)
70
+ irb (1.15.1)
71
+ pp (>= 0.6.0)
70
72
  rdoc (>= 4.0.0)
71
73
  reline (>= 0.4.2)
72
74
  loofah (2.22.0)
@@ -75,11 +77,15 @@ GEM
75
77
  memoized (1.1.1)
76
78
  mini_portile2 (2.8.7)
77
79
  minitest (5.24.1)
78
- mutex_m (0.2.0)
79
- nokogiri (1.16.6)
80
+ mutex_m (0.3.0)
81
+ nokogiri (1.15.6)
80
82
  mini_portile2 (~> 2.8.2)
81
83
  racc (~> 1.4)
82
- psych (5.1.2)
84
+ pp (0.6.2)
85
+ prettyprint
86
+ prettyprint (0.2.0)
87
+ psych (5.2.3)
88
+ date
83
89
  stringio
84
90
  racc (1.8.0)
85
91
  rack (3.1.7)
@@ -87,9 +93,8 @@ GEM
87
93
  rack (>= 3.0.0)
88
94
  rack-test (2.1.0)
89
95
  rack (>= 1.3)
90
- rackup (2.1.0)
96
+ rackup (2.2.1)
91
97
  rack (>= 3)
92
- webrick (~> 1.8)
93
98
  rails-dom-testing (2.2.0)
94
99
  activesupport (>= 5.0.0)
95
100
  minitest
@@ -97,18 +102,18 @@ GEM
97
102
  rails-html-sanitizer (1.6.0)
98
103
  loofah (~> 2.21)
99
104
  nokogiri (~> 1.14)
100
- railties (7.1.3.4)
101
- actionpack (= 7.1.3.4)
102
- activesupport (= 7.1.3.4)
105
+ railties (7.1.4.2)
106
+ actionpack (= 7.1.4.2)
107
+ activesupport (= 7.1.4.2)
103
108
  irb
104
109
  rackup (>= 1.0.0)
105
110
  rake (>= 12.2)
106
111
  thor (~> 1.0, >= 1.2.2)
107
112
  zeitwerk (~> 2.6)
108
113
  rake (13.2.1)
109
- rdoc (6.7.0)
114
+ rdoc (6.11.0)
110
115
  psych (>= 4.0.0)
111
- reline (0.5.9)
116
+ reline (0.6.0)
112
117
  io-console (~> 0.5)
113
118
  rspec (3.13.0)
114
119
  rspec-core (~> 3.13.0)
@@ -122,10 +127,10 @@ GEM
122
127
  rspec-mocks (3.13.1)
123
128
  diff-lcs (>= 1.2.0, < 2.0)
124
129
  rspec-support (~> 3.13.0)
125
- rspec-rails (6.1.3)
126
- actionpack (>= 6.1)
127
- activesupport (>= 6.1)
128
- railties (>= 6.1)
130
+ rspec-rails (7.1.0)
131
+ actionpack (>= 7.0)
132
+ activesupport (>= 7.0)
133
+ railties (>= 7.0)
129
134
  rspec-core (~> 3.13)
130
135
  rspec-expectations (~> 3.13)
131
136
  rspec-mocks (~> 3.13)
@@ -134,19 +139,18 @@ GEM
134
139
  rspec_candy (0.5.1)
135
140
  rspec
136
141
  sneaky-save
137
- shoulda-matchers (6.2.0)
142
+ shoulda-matchers (5.3.0)
138
143
  activesupport (>= 5.2.0)
139
144
  sneaky-save (0.1.3)
140
145
  activerecord (>= 3.2.0)
141
146
  sqlite3 (1.7.3)
142
147
  mini_portile2 (~> 2.8.0)
143
- stringio (3.1.1)
144
- thor (1.3.1)
148
+ stringio (3.1.2)
149
+ thor (1.3.2)
145
150
  timeout (0.4.1)
146
151
  tzinfo (2.0.6)
147
152
  concurrent-ruby (~> 1.0)
148
- webrick (1.8.1)
149
- zeitwerk (2.6.16)
153
+ zeitwerk (2.6.18)
150
154
 
151
155
  PLATFORMS
152
156
  ruby
@@ -156,7 +160,7 @@ DEPENDENCIES
156
160
  consul!
157
161
  database_cleaner
158
162
  gemika (>= 0.8.1)
159
- railties (>= 7.0.1)
163
+ railties (~> 7.1)
160
164
  rspec
161
165
  rspec-rails
162
166
  rspec_candy
@@ -164,4 +168,4 @@ DEPENDENCIES
164
168
  sqlite3 (~> 1.7)
165
169
 
166
170
  BUNDLED WITH
167
- 2.5.15
171
+ 2.4.22
@@ -1,18 +1,17 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Runtime dependencies
4
- gem 'railties', '>= 3.2'
5
- gem 'assignable_values', '>= 0.18.0'
4
+ gem 'railties', '~> 7.2'
5
+ gem 'assignable_values'
6
6
 
7
7
  # Development dependencies
8
8
  gem 'rspec'
9
9
  gem 'rspec-rails'
10
10
  gem 'rspec_candy'
11
11
  gem 'shoulda-matchers'
12
- gem 'sqlite3'
12
+ gem 'sqlite3', "~> 1.7"
13
13
  gem 'database_cleaner'
14
14
  gem 'gemika', '>= 0.8.1'
15
- gem 'byebug'
16
15
 
17
16
  # Gem under test
18
17
  gem 'consul', :path => '.'
data/Gemfile.7-2.lock ADDED
@@ -0,0 +1,171 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ consul (2.0.0)
5
+ activerecord (>= 6.0)
6
+ activesupport (>= 6.0)
7
+ edge_rider (>= 0.3.0)
8
+ memoized (>= 1.0.2)
9
+ railties (>= 6.0)
10
+
11
+ GEM
12
+ remote: https://rubygems.org/
13
+ specs:
14
+ actionpack (7.2.2)
15
+ actionview (= 7.2.2)
16
+ activesupport (= 7.2.2)
17
+ nokogiri (>= 1.8.5)
18
+ racc
19
+ rack (>= 2.2.4, < 3.2)
20
+ rack-session (>= 1.0.1)
21
+ rack-test (>= 0.6.3)
22
+ rails-dom-testing (~> 2.2)
23
+ rails-html-sanitizer (~> 1.6)
24
+ useragent (~> 0.16)
25
+ actionview (7.2.2)
26
+ activesupport (= 7.2.2)
27
+ builder (~> 3.1)
28
+ erubi (~> 1.11)
29
+ rails-dom-testing (~> 2.2)
30
+ rails-html-sanitizer (~> 1.6)
31
+ activemodel (7.2.2)
32
+ activesupport (= 7.2.2)
33
+ activerecord (7.2.2)
34
+ activemodel (= 7.2.2)
35
+ activesupport (= 7.2.2)
36
+ timeout (>= 0.4.0)
37
+ activesupport (7.2.2)
38
+ base64
39
+ benchmark (>= 0.3)
40
+ bigdecimal
41
+ concurrent-ruby (~> 1.0, >= 1.3.1)
42
+ connection_pool (>= 2.2.5)
43
+ drb
44
+ i18n (>= 1.6, < 2)
45
+ logger (>= 1.4.2)
46
+ minitest (>= 5.1)
47
+ securerandom (>= 0.3)
48
+ tzinfo (~> 2.0, >= 2.0.5)
49
+ assignable_values (1.0.0)
50
+ activerecord (>= 2.3)
51
+ base64 (0.2.0)
52
+ benchmark (0.4.0)
53
+ bigdecimal (3.1.8)
54
+ builder (3.3.0)
55
+ concurrent-ruby (1.3.3)
56
+ connection_pool (2.4.1)
57
+ crass (1.0.6)
58
+ database_cleaner (2.0.2)
59
+ database_cleaner-active_record (>= 2, < 3)
60
+ database_cleaner-active_record (2.2.0)
61
+ activerecord (>= 5.a)
62
+ database_cleaner-core (~> 2.0.0)
63
+ database_cleaner-core (2.0.1)
64
+ diff-lcs (1.5.1)
65
+ drb (2.2.1)
66
+ edge_rider (2.3.0)
67
+ activerecord (>= 3.2)
68
+ erubi (1.13.0)
69
+ gemika (0.8.3)
70
+ i18n (1.14.5)
71
+ concurrent-ruby (~> 1.0)
72
+ io-console (0.7.2)
73
+ irb (1.14.1)
74
+ rdoc (>= 4.0.0)
75
+ reline (>= 0.4.2)
76
+ logger (1.6.1)
77
+ loofah (2.22.0)
78
+ crass (~> 1.0.2)
79
+ nokogiri (>= 1.12.0)
80
+ memoized (1.1.1)
81
+ mini_portile2 (2.8.7)
82
+ minitest (5.24.1)
83
+ nokogiri (1.16.6)
84
+ mini_portile2 (~> 2.8.2)
85
+ racc (~> 1.4)
86
+ psych (5.2.0)
87
+ stringio
88
+ racc (1.8.0)
89
+ rack (3.1.7)
90
+ rack-session (2.0.0)
91
+ rack (>= 3.0.0)
92
+ rack-test (2.1.0)
93
+ rack (>= 1.3)
94
+ rackup (2.2.1)
95
+ rack (>= 3)
96
+ rails-dom-testing (2.2.0)
97
+ activesupport (>= 5.0.0)
98
+ minitest
99
+ nokogiri (>= 1.6)
100
+ rails-html-sanitizer (1.6.0)
101
+ loofah (~> 2.21)
102
+ nokogiri (~> 1.14)
103
+ railties (7.2.2)
104
+ actionpack (= 7.2.2)
105
+ activesupport (= 7.2.2)
106
+ irb (~> 1.13)
107
+ rackup (>= 1.0.0)
108
+ rake (>= 12.2)
109
+ thor (~> 1.0, >= 1.2.2)
110
+ zeitwerk (~> 2.6)
111
+ rake (13.2.1)
112
+ rdoc (6.7.0)
113
+ psych (>= 4.0.0)
114
+ reline (0.5.11)
115
+ io-console (~> 0.5)
116
+ rspec (3.13.0)
117
+ rspec-core (~> 3.13.0)
118
+ rspec-expectations (~> 3.13.0)
119
+ rspec-mocks (~> 3.13.0)
120
+ rspec-core (3.13.0)
121
+ rspec-support (~> 3.13.0)
122
+ rspec-expectations (3.13.1)
123
+ diff-lcs (>= 1.2.0, < 2.0)
124
+ rspec-support (~> 3.13.0)
125
+ rspec-mocks (3.13.1)
126
+ diff-lcs (>= 1.2.0, < 2.0)
127
+ rspec-support (~> 3.13.0)
128
+ rspec-rails (6.1.3)
129
+ actionpack (>= 6.1)
130
+ activesupport (>= 6.1)
131
+ railties (>= 6.1)
132
+ rspec-core (~> 3.13)
133
+ rspec-expectations (~> 3.13)
134
+ rspec-mocks (~> 3.13)
135
+ rspec-support (~> 3.13)
136
+ rspec-support (3.13.1)
137
+ rspec_candy (0.5.1)
138
+ rspec
139
+ sneaky-save
140
+ securerandom (0.3.2)
141
+ shoulda-matchers (6.2.0)
142
+ activesupport (>= 5.2.0)
143
+ sneaky-save (0.1.3)
144
+ activerecord (>= 3.2.0)
145
+ sqlite3 (1.7.3)
146
+ mini_portile2 (~> 2.8.0)
147
+ stringio (3.1.2)
148
+ thor (1.3.2)
149
+ timeout (0.4.1)
150
+ tzinfo (2.0.6)
151
+ concurrent-ruby (~> 1.0)
152
+ useragent (0.16.10)
153
+ zeitwerk (2.7.1)
154
+
155
+ PLATFORMS
156
+ ruby
157
+
158
+ DEPENDENCIES
159
+ assignable_values
160
+ consul!
161
+ database_cleaner
162
+ gemika (>= 0.8.1)
163
+ railties (~> 7.2)
164
+ rspec
165
+ rspec-rails
166
+ rspec_candy
167
+ shoulda-matchers
168
+ sqlite3 (~> 1.7)
169
+
170
+ BUNDLED WITH
171
+ 2.5.15
@@ -1,7 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Runtime dependencies
4
- gem 'railties', '>= 7.0.1'
4
+ gem 'railties', '~> 8.0'
5
5
  gem 'assignable_values'
6
6
 
7
7
  # Development dependencies