gruf-commander 1.0.0 → 1.2.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: ffa7792c9f93629ea6e0ee42d20cae59b211d51fa8262dcd3b04848e541dda80
4
- data.tar.gz: dafbf60c49cae5acd270fe6a406bb20079bce343446d27abf8b14a596be9d8a5
3
+ metadata.gz: 9771ba9ad78be7fb5125e820a458f9c6aec4bba7d400900b87d09e735dc5ab62
4
+ data.tar.gz: 0a219495c6a6129b60e4bc0fdfb32233549a0c3cd1c912708fa07c43d081d8b3
5
5
  SHA512:
6
- metadata.gz: f2c6f7e2115b5a4e0a9c987a3e4b724a2e6da075e833bb95d7543c4fc7f0f39d05687ae7174ed9ea4094334e38925eac509fd717d66acba72755fdc92efe27b9
7
- data.tar.gz: '0618a88e2a0b68715ed96d8933b0bfea40514959cee8256aaeb22fd046dd23bedb35d1d004567fbdfb8180d44f13bb2ec1550a1e7cd9e3ced9eb69d9780fbd73'
6
+ metadata.gz: b81a5f121107991518d5534eab52099604f6a5dc3a91b9f212a767dd53331a82b16e0f27ec2ff1075f17cc8d9163a8b9496672e36bd169b640883827cd7fb002
7
+ data.tar.gz: c95d3b93dd22b627ef642f2fb5dbd99e0dd78c89eccefb1198eac4635b47586a265c0bbcce1d279082446c7c295a2afc70cd5918a368b477ab0e22131e6d89c8
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@ Changelog for the gruf-commander gem. This includes internal history before the
2
2
 
3
3
  ### Pending release
4
4
 
5
+ ### 1.2.0
6
+
7
+ - Add Ruby 3.0 support
8
+
9
+ ### 1.1.0
10
+
11
+ - Bump minimum required Ruby version to 2.6
12
+ - Bump Rubocop to 1.4
13
+ - Add tests for Ruby 2.7
14
+
5
15
  ### 1.0.0
6
16
 
7
17
  - Add frozen_string_literal: true to all files
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Gruf Commander
2
2
 
3
- [![CircleCI](https://circleci.com/gh/bigcommerce/gruf-commander.svg?style=svg)](https://circleci.com/gh/bigcommerce/gruf-commander) [![Gem Version](https://badge.fury.io/rb/gruf-commander.svg)](https://badge.fury.io/rb/gruf-commander) [![Documentation](https://inch-ci.org/github/bigcommerce/gruf-commander.svg?branch=master)](https://inch-ci.org/github/bigcommerce/gruf-commander?branch=master)
3
+ [![CircleCI](https://circleci.com/gh/bigcommerce/gruf-commander.svg?style=svg)](https://circleci.com/gh/bigcommerce/gruf-commander) [![Gem Version](https://badge.fury.io/rb/gruf-commander.svg)](https://badge.fury.io/rb/gruf-commander) [![Documentation](https://inch-ci.org/github/bigcommerce/gruf-commander.svg?branch=main)](https://inch-ci.org/github/bigcommerce/gruf-commander?branch=main)
4
4
 
5
5
  Assists with request/command-style syntax and separated validation layer in [gruf](https://github.com/bigcommerce/gruf)
6
6
  requests.
@@ -15,7 +15,7 @@
15
15
  # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
16
16
  # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17
17
  #
18
- lib = File.expand_path('../lib', __FILE__)
18
+ lib = File.expand_path('lib', __dir__)
19
19
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
20
20
  require 'gruf/commander/version'
21
21
 
@@ -32,9 +32,21 @@ Gem::Specification.new do |spec|
32
32
  spec.files = Dir['README.md', 'CHANGELOG.md', 'CODE_OF_CONDUCT.md', 'lib/**/*', 'gruf-commander.gemspec']
33
33
  spec.require_paths = ['lib']
34
34
 
35
- spec.add_development_dependency 'bundler', '~> 1.16'
36
- spec.add_development_dependency 'rake', '~> 10.0'
37
- spec.add_development_dependency 'rspec', '~> 3.0'
35
+ spec.required_ruby_version = '>= 2.6'
36
+
37
+ spec.add_development_dependency 'bundler-audit', '>= 0.6'
38
+ spec.add_development_dependency 'factory_bot', '>= 5.0'
39
+ spec.add_development_dependency 'ffaker', '>= 2.8'
40
+ spec.add_development_dependency 'pry', '>= 0.12'
41
+ spec.add_development_dependency 'pry-byebug', '>= 3.9'
42
+ spec.add_development_dependency 'rspec', '>= 3.8'
43
+ spec.add_development_dependency 'rspec_junit_formatter', '>= 0.4'
44
+ spec.add_development_dependency 'rubocop', '>= 1.4'
45
+ spec.add_development_dependency 'rubocop-performance', '>= 0.0.1'
46
+ spec.add_development_dependency 'rubocop-rspec', '>= 2.0'
47
+ spec.add_development_dependency 'rubocop-thread_safety', '>= 0.3'
48
+ spec.add_development_dependency 'simplecov', '>= 0.15'
38
49
 
39
50
  spec.add_runtime_dependency 'activemodel', '> 4'
51
+ spec.add_runtime_dependency 'gruf', '>= 2.4'
40
52
  end
@@ -17,6 +17,6 @@
17
17
  #
18
18
  module Gruf
19
19
  module Commander
20
- VERSION = '1.0.0'
20
+ VERSION = '1.2.0'
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,57 +1,183 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gruf-commander
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shaun McCormick
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-01 00:00:00.000000000 Z
11
+ date: 2021-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: bundler-audit
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '0.6'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.16'
26
+ version: '0.6'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: factory_bot
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '5.0'
34
34
  type: :development
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: '10.0'
40
+ version: '5.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: ffaker
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '2.8'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '2.8'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0.12'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0.12'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry-byebug
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '3.9'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '3.9'
41
83
  - !ruby/object:Gem::Dependency
42
84
  name: rspec
43
85
  requirement: !ruby/object:Gem::Requirement
44
86
  requirements:
45
- - - "~>"
87
+ - - ">="
46
88
  - !ruby/object:Gem::Version
47
- version: '3.0'
89
+ version: '3.8'
48
90
  type: :development
49
91
  prerelease: false
50
92
  version_requirements: !ruby/object:Gem::Requirement
51
93
  requirements:
52
- - - "~>"
94
+ - - ">="
53
95
  - !ruby/object:Gem::Version
54
- version: '3.0'
96
+ version: '3.8'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec_junit_formatter
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0.4'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0.4'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '1.4'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '1.4'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop-performance
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: 0.0.1
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: 0.0.1
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop-rspec
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '2.0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '2.0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rubocop-thread_safety
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0.3'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0.3'
167
+ - !ruby/object:Gem::Dependency
168
+ name: simplecov
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0.15'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0.15'
55
181
  - !ruby/object:Gem::Dependency
56
182
  name: activemodel
57
183
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +192,20 @@ dependencies:
66
192
  - - ">"
67
193
  - !ruby/object:Gem::Version
68
194
  version: '4'
195
+ - !ruby/object:Gem::Dependency
196
+ name: gruf
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '2.4'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '2.4'
69
209
  description: Command/request syntax helper for gruf
70
210
  email:
71
211
  - splittingred@gmail.com
@@ -85,7 +225,7 @@ files:
85
225
  homepage: https://github.com/bigcommerce/gruf-commander
86
226
  licenses: []
87
227
  metadata: {}
88
- post_install_message:
228
+ post_install_message:
89
229
  rdoc_options: []
90
230
  require_paths:
91
231
  - lib
@@ -93,15 +233,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
93
233
  requirements:
94
234
  - - ">="
95
235
  - !ruby/object:Gem::Version
96
- version: '0'
236
+ version: '2.6'
97
237
  required_rubygems_version: !ruby/object:Gem::Requirement
98
238
  requirements:
99
239
  - - ">="
100
240
  - !ruby/object:Gem::Version
101
241
  version: '0'
102
242
  requirements: []
103
- rubygems_version: 3.0.2
104
- signing_key:
243
+ rubygems_version: 3.2.16
244
+ signing_key:
105
245
  specification_version: 4
106
246
  summary: Command/request syntax helper for gruf
107
247
  test_files: []