grape-app 0.10.1 → 0.11.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: 74079cb85645ce520a781a57a58de041ea2fd7d99d6a8fbbb2f8666a98cd1c2e
4
- data.tar.gz: 1cf09f82decf2ca06f82857d6865eeb1e0e0271a4abaf701bba1aa3018097c5b
3
+ metadata.gz: 39ce25e8c0f9c276a8c2c22d1b6138b1160172e850236ffe8ea959880851d375
4
+ data.tar.gz: 6380778138b98ee32ae6a844cb82a37adaa48d3747e7395c8eec21d478400a92
5
5
  SHA512:
6
- metadata.gz: 77ae37fd42d9e2fd696801599fccc387bcd39c081f53d2fd4995c59b166cff43041b4ca0fa35cd7187e37775cd0441f15cab3212adb355306ef3ff59da12feca
7
- data.tar.gz: 544d948b260b034f26bdc7dc11e2b7961186ed6f0ce3fabacbc16fe890f3b85ecab4a32ea578fc578009053a1f43570987b2adff2e972cbb968b7c24704b99e6
6
+ metadata.gz: 4479eb190adf06cd626071cd8be85146331c15f18a82fc20204c2c33dd466697aa85add791cc05dd24e0d690630538ed50573eb73a23d798a4d093eed8b2c1a0
7
+ data.tar.gz: 2a39eb90dcfff318003aef1c68246f25c674a543630f01adb2299bf71b8e12543e991a15df01056e9534b1b7607105bf01862a9e5e292198f9c5559af15ce505
@@ -16,7 +16,7 @@ jobs:
16
16
  env:
17
17
  BUNDLE_GEMFILE: ${{ matrix.gemfile }}
18
18
  steps:
19
- - uses: actions/checkout@v2
19
+ - uses: actions/checkout@v3
20
20
  - uses: ruby/setup-ruby@v1
21
21
  with:
22
22
  ruby-version: ${{ matrix.ruby-version }}
data/Gemfile.lock CHANGED
@@ -1,28 +1,28 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grape-app (0.10.1)
4
+ grape-app (0.11.0)
5
5
  activesupport
6
- grape (>= 1.2)
6
+ grape (>= 1.7)
7
7
  grape-entity
8
8
  openssl
9
9
  rack-cors (>= 1.1)
10
10
  rack-ssl-enforcer
11
11
  thor
12
- zeitwerk (>= 2.1)
12
+ zeitwerk (>= 2.6)
13
13
 
14
14
  GEM
15
15
  remote: https://rubygems.org/
16
16
  specs:
17
- activejob (7.0.3)
18
- activesupport (= 7.0.3)
17
+ activejob (7.0.4.1)
18
+ activesupport (= 7.0.4.1)
19
19
  globalid (>= 0.3.6)
20
- activemodel (7.0.3)
21
- activesupport (= 7.0.3)
22
- activerecord (7.0.3)
23
- activemodel (= 7.0.3)
24
- activesupport (= 7.0.3)
25
- activesupport (7.0.3)
20
+ activemodel (7.0.4.1)
21
+ activesupport (= 7.0.4.1)
22
+ activerecord (7.0.4.1)
23
+ activemodel (= 7.0.4.1)
24
+ activesupport (= 7.0.4.1)
25
+ activesupport (7.0.4.1)
26
26
  concurrent-ruby (~> 1.0, >= 1.0.2)
27
27
  i18n (>= 1.6, < 2)
28
28
  minitest (>= 5.1)
@@ -31,104 +31,107 @@ GEM
31
31
  builder (3.2.4)
32
32
  concurrent-ruby (1.1.10)
33
33
  diff-lcs (1.5.0)
34
- dry-configurable (0.15.0)
34
+ dry-core (1.0.0)
35
35
  concurrent-ruby (~> 1.0)
36
- dry-core (~> 0.6)
37
- dry-container (0.9.0)
36
+ zeitwerk (~> 2.6)
37
+ dry-inflector (1.0.0)
38
+ dry-logic (1.5.0)
38
39
  concurrent-ruby (~> 1.0)
39
- dry-configurable (~> 0.13, >= 0.13.0)
40
- dry-core (0.7.1)
40
+ dry-core (~> 1.0, < 2)
41
+ zeitwerk (~> 2.6)
42
+ dry-types (1.7.0)
41
43
  concurrent-ruby (~> 1.0)
42
- dry-inflector (0.2.1)
43
- dry-logic (1.2.0)
44
- concurrent-ruby (~> 1.0)
45
- dry-core (~> 0.5, >= 0.5)
46
- dry-types (1.5.1)
47
- concurrent-ruby (~> 1.0)
48
- dry-container (~> 0.3)
49
- dry-core (~> 0.5, >= 0.5)
50
- dry-inflector (~> 0.1, >= 0.1.2)
51
- dry-logic (~> 1.0, >= 1.0.2)
52
- globalid (1.0.0)
44
+ dry-core (~> 1.0, < 2)
45
+ dry-inflector (~> 1.0, < 2)
46
+ dry-logic (>= 1.4, < 2)
47
+ zeitwerk (~> 2.6)
48
+ globalid (1.0.1)
53
49
  activesupport (>= 5.0)
54
- grape (1.6.2)
50
+ grape (1.7.0)
55
51
  activesupport
56
52
  builder
57
53
  dry-types (>= 1.1)
58
54
  mustermann-grape (~> 1.0.0)
59
55
  rack (>= 1.3.0)
60
56
  rack-accept
61
- grape-entity (0.10.1)
57
+ grape-entity (0.10.2)
62
58
  activesupport (>= 3.0.0)
63
59
  multi_json (>= 1.3.2)
64
- i18n (1.10.0)
60
+ i18n (1.12.0)
65
61
  concurrent-ruby (~> 1.0)
66
- minitest (5.15.0)
62
+ json (2.6.3)
63
+ mini_portile2 (2.8.1)
64
+ minitest (5.17.0)
67
65
  multi_json (1.15.0)
68
- mustermann (1.1.1)
66
+ mustermann (3.0.0)
69
67
  ruby2_keywords (~> 0.0.1)
70
68
  mustermann-grape (1.0.2)
71
69
  mustermann (>= 1.0.0)
72
- openssl (3.0.0)
70
+ openssl (3.1.0)
73
71
  parallel (1.22.1)
74
- parser (3.1.2.0)
72
+ parser (3.2.0.0)
75
73
  ast (~> 2.4.1)
76
- rack (2.2.3.1)
74
+ rack (3.0.4.1)
77
75
  rack-accept (0.4.5)
78
76
  rack (>= 0.4)
79
77
  rack-cors (1.1.1)
80
78
  rack (>= 2.0.0)
81
79
  rack-ssl-enforcer (0.2.9)
82
- rack-test (1.1.0)
83
- rack (>= 1.0, < 3)
80
+ rack-test (2.0.2)
81
+ rack (>= 1.3)
84
82
  rainbow (3.1.1)
85
83
  rake (13.0.6)
86
- regexp_parser (2.5.0)
84
+ regexp_parser (2.6.2)
87
85
  rexml (3.2.5)
88
- rspec (3.11.0)
89
- rspec-core (~> 3.11.0)
90
- rspec-expectations (~> 3.11.0)
91
- rspec-mocks (~> 3.11.0)
92
- rspec-core (3.11.0)
93
- rspec-support (~> 3.11.0)
94
- rspec-expectations (3.11.0)
86
+ rspec (3.12.0)
87
+ rspec-core (~> 3.12.0)
88
+ rspec-expectations (~> 3.12.0)
89
+ rspec-mocks (~> 3.12.0)
90
+ rspec-core (3.12.0)
91
+ rspec-support (~> 3.12.0)
92
+ rspec-expectations (3.12.2)
95
93
  diff-lcs (>= 1.2.0, < 2.0)
96
- rspec-support (~> 3.11.0)
97
- rspec-mocks (3.11.1)
94
+ rspec-support (~> 3.12.0)
95
+ rspec-mocks (3.12.3)
98
96
  diff-lcs (>= 1.2.0, < 2.0)
99
- rspec-support (~> 3.11.0)
100
- rspec-support (3.11.0)
101
- rubocop (1.30.1)
97
+ rspec-support (~> 3.12.0)
98
+ rspec-support (3.12.0)
99
+ rubocop (1.43.0)
100
+ json (~> 2.3)
102
101
  parallel (~> 1.10)
103
- parser (>= 3.1.0.0)
102
+ parser (>= 3.2.0.0)
104
103
  rainbow (>= 2.2.2, < 4.0)
105
104
  regexp_parser (>= 1.8, < 3.0)
106
105
  rexml (>= 3.2.5, < 4.0)
107
- rubocop-ast (>= 1.18.0, < 2.0)
106
+ rubocop-ast (>= 1.24.1, < 2.0)
108
107
  ruby-progressbar (~> 1.7)
109
- unicode-display_width (>= 1.4.0, < 3.0)
110
- rubocop-ast (1.18.0)
108
+ unicode-display_width (>= 2.4.0, < 3.0)
109
+ rubocop-ast (1.24.1)
111
110
  parser (>= 3.1.1.0)
112
- rubocop-bsm (0.6.0)
111
+ rubocop-bsm (0.6.1)
113
112
  rubocop (~> 1.0)
114
113
  rubocop-performance
115
114
  rubocop-rake
116
115
  rubocop-rspec
117
- rubocop-performance (1.14.1)
116
+ rubocop-capybara (2.17.0)
117
+ rubocop (~> 1.41)
118
+ rubocop-performance (1.15.2)
118
119
  rubocop (>= 1.7.0, < 2.0)
119
120
  rubocop-ast (>= 0.4.0)
120
121
  rubocop-rake (0.6.0)
121
122
  rubocop (~> 1.0)
122
- rubocop-rspec (2.11.1)
123
- rubocop (~> 1.19)
123
+ rubocop-rspec (2.18.1)
124
+ rubocop (~> 1.33)
125
+ rubocop-capybara (~> 2.17)
124
126
  ruby-progressbar (1.11.0)
125
127
  ruby2_keywords (0.0.5)
126
- sqlite3 (1.4.2)
128
+ sqlite3 (1.6.0)
129
+ mini_portile2 (~> 2.8.0)
127
130
  thor (1.2.1)
128
- tzinfo (2.0.4)
131
+ tzinfo (2.0.5)
129
132
  concurrent-ruby (~> 1.0)
130
- unicode-display_width (2.1.0)
131
- zeitwerk (2.5.4)
133
+ unicode-display_width (2.4.2)
134
+ zeitwerk (2.6.6)
132
135
 
133
136
  PLATFORMS
134
137
  ruby
data/Gemfile.rails6.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grape-app (0.10.0)
4
+ grape-app (0.10.1)
5
5
  activesupport
6
6
  grape (>= 1.2)
7
7
  grape-entity
@@ -14,15 +14,15 @@ PATH
14
14
  GEM
15
15
  remote: https://rubygems.org/
16
16
  specs:
17
- activejob (6.1.4.4)
18
- activesupport (= 6.1.4.4)
17
+ activejob (6.1.6.1)
18
+ activesupport (= 6.1.6.1)
19
19
  globalid (>= 0.3.6)
20
- activemodel (6.1.4.4)
21
- activesupport (= 6.1.4.4)
22
- activerecord (6.1.4.4)
23
- activemodel (= 6.1.4.4)
24
- activesupport (= 6.1.4.4)
25
- activesupport (6.1.4.4)
20
+ activemodel (6.1.6.1)
21
+ activesupport (= 6.1.6.1)
22
+ activerecord (6.1.6.1)
23
+ activemodel (= 6.1.6.1)
24
+ activesupport (= 6.1.6.1)
25
+ activesupport (6.1.6.1)
26
26
  concurrent-ruby (~> 1.0, >= 1.0.2)
27
27
  i18n (>= 1.6, < 2)
28
28
  minitest (>= 5.1)
@@ -30,17 +30,13 @@ GEM
30
30
  zeitwerk (~> 2.3)
31
31
  ast (2.4.2)
32
32
  builder (3.2.4)
33
- concurrent-ruby (1.1.9)
33
+ concurrent-ruby (1.1.10)
34
34
  diff-lcs (1.5.0)
35
- dry-configurable (0.14.0)
35
+ dry-container (0.10.0)
36
36
  concurrent-ruby (~> 1.0)
37
- dry-core (~> 0.6)
38
- dry-container (0.9.0)
39
- concurrent-ruby (~> 1.0)
40
- dry-configurable (~> 0.13, >= 0.13.0)
41
37
  dry-core (0.7.1)
42
38
  concurrent-ruby (~> 1.0)
43
- dry-inflector (0.2.1)
39
+ dry-inflector (0.3.0)
44
40
  dry-logic (1.2.0)
45
41
  concurrent-ruby (~> 1.0)
46
42
  dry-core (~> 0.5, >= 0.5)
@@ -62,74 +58,76 @@ GEM
62
58
  grape-entity (0.10.1)
63
59
  activesupport (>= 3.0.0)
64
60
  multi_json (>= 1.3.2)
65
- i18n (1.9.1)
61
+ i18n (1.11.0)
66
62
  concurrent-ruby (~> 1.0)
67
- minitest (5.15.0)
63
+ json (2.6.2)
64
+ minitest (5.16.2)
68
65
  multi_json (1.15.0)
69
66
  mustermann (1.1.1)
70
67
  ruby2_keywords (~> 0.0.1)
71
- mustermann-grape (1.0.1)
68
+ mustermann-grape (1.0.2)
72
69
  mustermann (>= 1.0.0)
73
70
  openssl (3.0.0)
74
- parallel (1.21.0)
75
- parser (3.1.0.0)
71
+ parallel (1.22.1)
72
+ parser (3.1.2.0)
76
73
  ast (~> 2.4.1)
77
- rack (2.2.3)
74
+ rack (2.2.4)
78
75
  rack-accept (0.4.5)
79
76
  rack (>= 0.4)
80
77
  rack-cors (1.1.1)
81
78
  rack (>= 2.0.0)
82
79
  rack-ssl-enforcer (0.2.9)
83
- rack-test (1.1.0)
84
- rack (>= 1.0, < 3)
80
+ rack-test (2.0.2)
81
+ rack (>= 1.3)
85
82
  rainbow (3.1.1)
86
83
  rake (13.0.6)
87
- regexp_parser (2.2.0)
84
+ regexp_parser (2.5.0)
88
85
  rexml (3.2.5)
89
- rspec (3.10.0)
90
- rspec-core (~> 3.10.0)
91
- rspec-expectations (~> 3.10.0)
92
- rspec-mocks (~> 3.10.0)
93
- rspec-core (3.10.2)
94
- rspec-support (~> 3.10.0)
95
- rspec-expectations (3.10.2)
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.0)
96
93
  diff-lcs (>= 1.2.0, < 2.0)
97
- rspec-support (~> 3.10.0)
98
- rspec-mocks (3.10.3)
94
+ rspec-support (~> 3.11.0)
95
+ rspec-mocks (3.11.1)
99
96
  diff-lcs (>= 1.2.0, < 2.0)
100
- rspec-support (~> 3.10.0)
101
- rspec-support (3.10.3)
102
- rubocop (1.25.1)
97
+ rspec-support (~> 3.11.0)
98
+ rspec-support (3.11.0)
99
+ rubocop (1.31.2)
100
+ json (~> 2.3)
103
101
  parallel (~> 1.10)
104
102
  parser (>= 3.1.0.0)
105
103
  rainbow (>= 2.2.2, < 4.0)
106
104
  regexp_parser (>= 1.8, < 3.0)
107
- rexml
108
- rubocop-ast (>= 1.15.1, < 2.0)
105
+ rexml (>= 3.2.5, < 4.0)
106
+ rubocop-ast (>= 1.18.0, < 2.0)
109
107
  ruby-progressbar (~> 1.7)
110
108
  unicode-display_width (>= 1.4.0, < 3.0)
111
- rubocop-ast (1.15.1)
112
- parser (>= 3.0.1.1)
109
+ rubocop-ast (1.19.1)
110
+ parser (>= 3.1.1.0)
113
111
  rubocop-bsm (0.6.0)
114
112
  rubocop (~> 1.0)
115
113
  rubocop-performance
116
114
  rubocop-rake
117
115
  rubocop-rspec
118
- rubocop-performance (1.13.2)
116
+ rubocop-performance (1.14.2)
119
117
  rubocop (>= 1.7.0, < 2.0)
120
118
  rubocop-ast (>= 0.4.0)
121
119
  rubocop-rake (0.6.0)
122
120
  rubocop (~> 1.0)
123
- rubocop-rspec (2.8.0)
124
- rubocop (~> 1.19)
121
+ rubocop-rspec (2.12.1)
122
+ rubocop (~> 1.31)
125
123
  ruby-progressbar (1.11.0)
126
124
  ruby2_keywords (0.0.5)
127
- sqlite3 (1.4.2)
125
+ sqlite3 (1.4.4)
128
126
  thor (1.2.1)
129
127
  tzinfo (2.0.4)
130
128
  concurrent-ruby (~> 1.0)
131
- unicode-display_width (2.1.0)
132
- zeitwerk (2.5.4)
129
+ unicode-display_width (2.2.0)
130
+ zeitwerk (2.6.0)
133
131
 
134
132
  PLATFORMS
135
133
  x86_64-linux
data/grape-app.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'grape-app'
3
- s.version = '0.10.1'
3
+ s.version = '0.11.0'
4
4
  s.authors = ['Black Square Media Ltd']
5
5
  s.email = ['info@blacksquaremedia.com']
6
6
  s.summary = %(Standalone Grape API apps)
@@ -14,13 +14,13 @@ Gem::Specification.new do |s|
14
14
  s.required_ruby_version = '>= 2.7'
15
15
 
16
16
  s.add_dependency 'activesupport'
17
- s.add_dependency 'grape', '>= 1.2'
17
+ s.add_dependency 'grape', '>= 1.7'
18
18
  s.add_dependency 'grape-entity'
19
19
  s.add_dependency 'openssl'
20
20
  s.add_dependency 'rack-cors', '>= 1.1'
21
21
  s.add_dependency 'rack-ssl-enforcer'
22
22
  s.add_dependency 'thor'
23
- s.add_dependency 'zeitwerk', '>= 2.1'
23
+ s.add_dependency 'zeitwerk', '>= 2.6'
24
24
 
25
25
  s.add_development_dependency 'activejob'
26
26
  s.add_development_dependency 'activerecord'
@@ -4,7 +4,7 @@ end
4
4
 
5
5
  desc 'Launch console'
6
6
  task console: :environment do
7
- ::ARGV.clear
7
+ ARGV.clear
8
8
 
9
9
  require 'irb'
10
10
  require 'irb/completion'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grape-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Black Square Media Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-06 00:00:00.000000000 Z
11
+ date: 2023-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.2'
33
+ version: '1.7'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '1.2'
40
+ version: '1.7'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: grape-entity
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: '2.1'
117
+ version: '2.6'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: '2.1'
124
+ version: '2.6'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: activejob
127
127
  requirement: !ruby/object:Gem::Requirement