shaped 0.9.1 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +2 -9
- data/.github/workflows/ruby.yml +4 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -1
- data/Gemfile +3 -3
- data/Gemfile.lock +77 -66
- data/README.md +0 -1
- data/bin/_guard-core +2 -2
- data/bin/guard +2 -2
- data/bin/release +2 -2
- data/lib/shaped/version.rb +1 -1
- data/lib/shaped.rb +1 -1
- data/shaped.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9afe07e13f9c4d15e422ec6076d193afca1a4d6d2ff432932c4c0492e7ada96e
|
4
|
+
data.tar.gz: 1f651eff600582eeeb46d017f3f9a4b69423028c138d6db394675df3539b048b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a96ca4012fabffe85a0e55da3bdbf41fac8c1061e8f9472051779d4a07ff076018813bd237c0589e0b9b97e81e90abc5489019e5780dfb031258416e915ac0a7
|
7
|
+
data.tar.gz: 7e9802b4df6d28d16b82aec0f9aec8409345d7b4ab81b332b39737cabe8f1fac289a6e3f71b72106c0429c931da651cd158c09797bff09ddd71add504814cb65
|
data/.github/dependabot.yml
CHANGED
@@ -3,14 +3,7 @@ updates:
|
|
3
3
|
- package-ecosystem: bundler
|
4
4
|
directory: "/"
|
5
5
|
schedule:
|
6
|
-
interval:
|
7
|
-
time: "
|
6
|
+
interval: daily
|
7
|
+
time: "04:04"
|
8
8
|
timezone: America/Chicago
|
9
9
|
open-pull-requests-limit: 20
|
10
|
-
ignore:
|
11
|
-
- dependency-name: activesupport
|
12
|
-
versions:
|
13
|
-
- 6.1.3
|
14
|
-
- dependency-name: activemodel
|
15
|
-
versions:
|
16
|
-
- 6.1.2.1
|
data/.github/workflows/ruby.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.3.0
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -12,14 +12,14 @@ group :development, :test do
|
|
12
12
|
gem 'rubocop', require: false
|
13
13
|
gem 'rubocop-performance', require: false
|
14
14
|
gem 'rubocop-rspec', require: false
|
15
|
-
gem 'runger_style',
|
15
|
+
gem 'runger_style', require: false
|
16
16
|
end
|
17
17
|
|
18
18
|
group :development do
|
19
|
-
gem '
|
19
|
+
gem 'runger_release_assistant', require: false
|
20
20
|
end
|
21
21
|
|
22
22
|
group :test do
|
23
|
-
gem 'codecov', require: false
|
24
23
|
gem 'rspec'
|
24
|
+
gem 'simplecov-cobertura', require: false
|
25
25
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,126 +1,137 @@
|
|
1
|
-
GIT
|
2
|
-
remote: https://github.com/davidrunger/release_assistant.git
|
3
|
-
revision: 8178e5521e33fbc488d1f9eb02bf2543ffb65058
|
4
|
-
specs:
|
5
|
-
release_assistant (0.3.3.alpha)
|
6
|
-
activesupport (>= 6, < 8)
|
7
|
-
colorize (~> 0.8)
|
8
|
-
memoist (~> 0.16)
|
9
|
-
slop (~> 4.8)
|
10
|
-
|
11
|
-
GIT
|
12
|
-
remote: https://github.com/davidrunger/runger_style.git
|
13
|
-
revision: 70a51d91a324c23a0dcd206f2d4ef6008b66beca
|
14
|
-
specs:
|
15
|
-
runger_style (0.2.22.alpha)
|
16
|
-
rubocop (>= 1.38.0, < 2)
|
17
|
-
|
18
1
|
PATH
|
19
2
|
remote: .
|
20
3
|
specs:
|
21
|
-
shaped (0.
|
4
|
+
shaped (0.11.0)
|
22
5
|
activemodel (>= 6, < 8)
|
23
6
|
activesupport (>= 6, < 8)
|
24
7
|
|
25
8
|
GEM
|
26
9
|
remote: https://rubygems.org/
|
27
10
|
specs:
|
28
|
-
activemodel (7.
|
29
|
-
activesupport (= 7.
|
30
|
-
activesupport (7.
|
11
|
+
activemodel (7.1.3.2)
|
12
|
+
activesupport (= 7.1.3.2)
|
13
|
+
activesupport (7.1.3.2)
|
14
|
+
base64
|
15
|
+
bigdecimal
|
31
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
|
+
connection_pool (>= 2.2.5)
|
18
|
+
drb
|
32
19
|
i18n (>= 1.6, < 2)
|
33
20
|
minitest (>= 5.1)
|
21
|
+
mutex_m
|
34
22
|
tzinfo (~> 2.0)
|
35
|
-
amazing_print (1.
|
23
|
+
amazing_print (1.5.0)
|
36
24
|
ast (2.4.2)
|
25
|
+
base64 (0.2.0)
|
26
|
+
bigdecimal (3.1.6)
|
37
27
|
byebug (11.1.3)
|
38
|
-
codecov (0.6.0)
|
39
|
-
simplecov (>= 0.15, < 0.22)
|
40
28
|
coderay (1.1.3)
|
41
|
-
|
42
|
-
|
43
|
-
diff-lcs (1.5.
|
29
|
+
concurrent-ruby (1.2.3)
|
30
|
+
connection_pool (2.4.1)
|
31
|
+
diff-lcs (1.5.1)
|
44
32
|
docile (1.4.0)
|
45
|
-
|
33
|
+
drb (2.2.0)
|
34
|
+
ruby2_keywords
|
35
|
+
i18n (1.14.1)
|
46
36
|
concurrent-ruby (~> 1.0)
|
47
|
-
json (2.
|
48
|
-
|
37
|
+
json (2.7.1)
|
38
|
+
language_server-protocol (3.17.0.3)
|
39
|
+
memo_wise (1.7.0)
|
49
40
|
method_source (1.0.0)
|
50
|
-
minitest (5.
|
51
|
-
|
52
|
-
|
41
|
+
minitest (5.22.2)
|
42
|
+
mutex_m (0.2.0)
|
43
|
+
parallel (1.24.0)
|
44
|
+
parser (3.3.0.5)
|
53
45
|
ast (~> 2.4.1)
|
46
|
+
racc
|
47
|
+
prism (0.24.0)
|
54
48
|
pry (0.14.1)
|
55
49
|
coderay (~> 1.1)
|
56
50
|
method_source (~> 1.0)
|
57
51
|
pry-byebug (3.10.1)
|
58
52
|
byebug (~> 11.0)
|
59
53
|
pry (>= 0.13, < 0.15)
|
54
|
+
racc (1.7.3)
|
60
55
|
rainbow (3.1.1)
|
61
|
-
rake (13.0
|
62
|
-
regexp_parser (2.
|
63
|
-
rexml (3.2.
|
64
|
-
rspec (3.
|
65
|
-
rspec-core (~> 3.
|
66
|
-
rspec-expectations (~> 3.
|
67
|
-
rspec-mocks (~> 3.
|
68
|
-
rspec-core (3.
|
69
|
-
rspec-support (~> 3.
|
70
|
-
rspec-expectations (3.
|
56
|
+
rake (13.1.0)
|
57
|
+
regexp_parser (2.9.0)
|
58
|
+
rexml (3.2.6)
|
59
|
+
rspec (3.13.0)
|
60
|
+
rspec-core (~> 3.13.0)
|
61
|
+
rspec-expectations (~> 3.13.0)
|
62
|
+
rspec-mocks (~> 3.13.0)
|
63
|
+
rspec-core (3.13.0)
|
64
|
+
rspec-support (~> 3.13.0)
|
65
|
+
rspec-expectations (3.13.0)
|
71
66
|
diff-lcs (>= 1.2.0, < 2.0)
|
72
|
-
rspec-support (~> 3.
|
73
|
-
rspec-mocks (3.
|
67
|
+
rspec-support (~> 3.13.0)
|
68
|
+
rspec-mocks (3.13.0)
|
74
69
|
diff-lcs (>= 1.2.0, < 2.0)
|
75
|
-
rspec-support (~> 3.
|
76
|
-
rspec-support (3.
|
77
|
-
rubocop (1.
|
70
|
+
rspec-support (~> 3.13.0)
|
71
|
+
rspec-support (3.13.0)
|
72
|
+
rubocop (1.62.0)
|
78
73
|
json (~> 2.3)
|
74
|
+
language_server-protocol (>= 3.17.0)
|
79
75
|
parallel (~> 1.10)
|
80
|
-
parser (>= 3.
|
76
|
+
parser (>= 3.3.0.2)
|
81
77
|
rainbow (>= 2.2.2, < 4.0)
|
82
78
|
regexp_parser (>= 1.8, < 3.0)
|
83
79
|
rexml (>= 3.2.5, < 4.0)
|
84
|
-
rubocop-ast (>= 1.
|
80
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
85
81
|
ruby-progressbar (~> 1.7)
|
86
82
|
unicode-display_width (>= 2.4.0, < 3.0)
|
87
|
-
rubocop-ast (1.
|
88
|
-
parser (>= 3.
|
89
|
-
rubocop-capybara (2.
|
83
|
+
rubocop-ast (1.31.1)
|
84
|
+
parser (>= 3.3.0.4)
|
85
|
+
rubocop-capybara (2.20.0)
|
86
|
+
rubocop (~> 1.41)
|
87
|
+
rubocop-factory_bot (2.25.1)
|
90
88
|
rubocop (~> 1.41)
|
91
|
-
rubocop-performance (1.
|
92
|
-
rubocop (>= 1.
|
93
|
-
rubocop-ast (>=
|
94
|
-
rubocop-rspec (2.
|
95
|
-
rubocop (~> 1.
|
89
|
+
rubocop-performance (1.20.2)
|
90
|
+
rubocop (>= 1.48.1, < 2.0)
|
91
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
92
|
+
rubocop-rspec (2.27.1)
|
93
|
+
rubocop (~> 1.40)
|
96
94
|
rubocop-capybara (~> 2.17)
|
97
|
-
|
98
|
-
|
95
|
+
rubocop-factory_bot (~> 2.22)
|
96
|
+
ruby-progressbar (1.13.0)
|
97
|
+
ruby2_keywords (0.0.5)
|
98
|
+
runger_release_assistant (0.5.0)
|
99
|
+
activesupport (>= 6, < 8)
|
100
|
+
memo_wise (>= 1.7, < 2)
|
101
|
+
rainbow (>= 3.0, < 4)
|
102
|
+
slop (~> 4.8)
|
103
|
+
runger_style (2.0.0)
|
104
|
+
prism (>= 0.24.0)
|
105
|
+
rubocop (>= 1.38.0, < 2)
|
106
|
+
simplecov (0.22.0)
|
99
107
|
docile (~> 1.1)
|
100
108
|
simplecov-html (~> 0.11)
|
101
109
|
simplecov_json_formatter (~> 0.1)
|
110
|
+
simplecov-cobertura (2.1.0)
|
111
|
+
rexml
|
112
|
+
simplecov (~> 0.19)
|
102
113
|
simplecov-html (0.12.3)
|
103
|
-
simplecov_json_formatter (0.1.
|
114
|
+
simplecov_json_formatter (0.1.4)
|
104
115
|
slop (4.10.1)
|
105
116
|
tzinfo (2.0.6)
|
106
117
|
concurrent-ruby (~> 1.0)
|
107
|
-
unicode-display_width (2.
|
118
|
+
unicode-display_width (2.5.0)
|
108
119
|
|
109
120
|
PLATFORMS
|
110
121
|
ruby
|
111
122
|
|
112
123
|
DEPENDENCIES
|
113
124
|
amazing_print
|
114
|
-
codecov
|
115
125
|
pry-byebug
|
116
126
|
rake
|
117
|
-
release_assistant!
|
118
127
|
rspec
|
119
128
|
rubocop
|
120
129
|
rubocop-performance
|
121
130
|
rubocop-rspec
|
122
|
-
|
131
|
+
runger_release_assistant
|
132
|
+
runger_style
|
123
133
|
shaped!
|
134
|
+
simplecov-cobertura
|
124
135
|
|
125
136
|
BUNDLED WITH
|
126
|
-
2.
|
137
|
+
2.4.13
|
data/README.md
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
[![codecov](https://codecov.io/gh/davidrunger/shaped/branch/master/graph/badge.svg)](https://codecov.io/gh/davidrunger/shaped)
|
2
|
-
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=davidrunger/shaped)](https://dependabot.com)
|
3
2
|
[![Gem Version](https://badge.fury.io/rb/shaped.svg)](https://badge.fury.io/rb/shaped)
|
4
3
|
|
5
4
|
# Shaped
|
data/bin/_guard-core
CHANGED
@@ -17,8 +17,8 @@ if File.file?(bundle_binstub)
|
|
17
17
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
18
18
|
load(bundle_binstub)
|
19
19
|
else
|
20
|
-
abort(
|
21
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
20
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
21
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/bin/guard
CHANGED
@@ -17,8 +17,8 @@ if File.file?(bundle_binstub)
|
|
17
17
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
18
18
|
load(bundle_binstub)
|
19
19
|
else
|
20
|
-
abort(
|
21
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
20
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
21
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/bin/release
CHANGED
@@ -17,8 +17,8 @@ if File.file?(bundle_binstub)
|
|
17
17
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
18
18
|
load(bundle_binstub)
|
19
19
|
else
|
20
|
-
abort(
|
21
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
20
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
21
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/lib/shaped/version.rb
CHANGED
data/lib/shaped.rb
CHANGED
data/shaped.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.description = 'Validate the "shape" of Ruby objects.'
|
13
13
|
spec.homepage = 'https://github.com/davidrunger/shaped'
|
14
14
|
spec.license = 'MIT'
|
15
|
-
spec.required_ruby_version =
|
15
|
+
spec.required_ruby_version = ">= #{File.read('.ruby-version').rstrip}"
|
16
16
|
|
17
17
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
18
18
|
spec.metadata['homepage_uri'] = spec.homepage
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shaped
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Runger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -105,14 +105,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
105
105
|
requirements:
|
106
106
|
- - ">="
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: 3.
|
108
|
+
version: 3.3.0
|
109
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
111
|
- - ">="
|
112
112
|
- !ruby/object:Gem::Version
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
|
-
rubygems_version: 3.
|
115
|
+
rubygems_version: 3.5.6
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: Validate the "shape" of Ruby objects.
|