g2_command 2.2.0 → 2.3.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: 37d3ff7d695a44bf5b9f03bc6b74869f2c22258b09fef87ce3068e4ad901df11
4
- data.tar.gz: 661b1cb48d488551978ccb94783af650e903673bb5eab8a6e12593669e3886d3
3
+ metadata.gz: 9217fb815c461a03b28aee50cc536dbc233f5e6382ec997bd49eca32974c7def
4
+ data.tar.gz: 4ed49dde0c58e37e1f5b94bf206cd80b2b7c2266d73346f26a3d026ad519df9c
5
5
  SHA512:
6
- metadata.gz: d72406ecd35b764f26fb45455bd7deeaa1721b39f2e9ba48979ea4ef1f9a5b5412ab1a17055186cda79c4c9339c126c3795f1f8c49c791993319215f808d9939
7
- data.tar.gz: 514a19da936b88ff1fe2fa191f5a76832a09cfdee7b8c42c0fda19b9927617b58205344d101f3070bc6b2c1a752f00ad806edac60e2f9efffb1c80efcc7ec452
6
+ metadata.gz: 8cdc00cfe2a6c81ceb1ab2c7de10ecd160fb103e426e589c344ac1828643bcfba959e2ad4cb8c428654a50af074b7f34850616dc4bfa3a822a51978351b819fc
7
+ data.tar.gz: a7064a74ef68395310a38d4e80b33cccdee17ef3c2352de6e711366b88fc0bdc791ab145049339ef70868db9982e3d7f37fb6e6bef06a2c79d972cfa61828d0e
@@ -1,83 +1,24 @@
1
1
  version: 2.1
2
2
 
3
3
  orbs:
4
- ruby: g2crowd/ruby@0.0.12
5
-
6
- commands:
7
- load-cache:
8
- description: 'Load cached RubyGems.'
9
- parameters:
10
- key:
11
- description: 'The cache key to use. The key is immutable.'
12
- type: string
13
- default: 'gems-v1'
14
- gemfile:
15
- description: 'The gemfile to use'
16
- type: string
17
- default: 'Gemfile.lock'
18
- steps:
19
- - restore_cache:
20
- keys:
21
- - << parameters.key >>-{{ checksum "<< parameters.gemfile >>" }}
22
- - << parameters.key >>-
23
- save-cache:
24
- description: "Save RubyGems to cache."
25
- parameters:
26
- key:
27
- description: "The cache key to use. The key is immutable."
28
- type: string
29
- default: "gems-v1"
30
- gemfile:
31
- description: 'The gemfile to use'
32
- type: string
33
- default: 'Gemfile.lock'
34
- steps:
35
- - save_cache:
36
- key: << parameters.key >>-{{ checksum "<< parameters.gemfile >>" }}
37
- paths:
38
- - vendor/bundle
39
-
40
- jobs:
41
- appraisal:
42
- parameters:
43
- ruby:
44
- description: 'The ruby version to use'
45
- type: string
46
- default: '2.7.1'
47
- gemfile:
48
- description: 'The gemfile version to use'
49
- type: string
50
- default: '6.0'
51
- executor:
52
- name: ruby/ruby
53
- ruby: << parameters.ruby >>
54
- environment:
55
- BUNDLE_GEMFILE: gemfiles/rails_<< parameters.gemfile >>.gemfile
56
- steps:
57
- - checkout
58
- - load-cache:
59
- gemfile: gemfiles/rails_<< parameters.gemfile >>.gemfile
60
- - ruby/install-deps:
61
- bundler-version: '2.1.4'
62
- - save-cache:
63
- gemfile: gemfiles/rails_<< parameters.gemfile >>.gemfile
64
- - run:
65
- name: Run Specs
66
- command: bundle exec appraisal rails-<< parameters.gemfile >> rspec --require fivemat --format Fivemat
4
+ ruby: g2crowd/ruby@0.0.13
67
5
 
68
6
  workflows:
69
7
  version: 2
70
8
  build:
71
9
  jobs:
72
- - appraisal:
10
+ - ruby/appraisal:
73
11
  context: g2crowd-global
74
12
  matrix:
75
13
  parameters:
76
- ruby: ['2.4.10', '2.5.8', '2.6.6', '2.7.1']
77
- gemfile: ['5.1', '5.2', '6.0']
14
+ ruby: ['2.4.10', '2.5.8', '2.6.6', '2.7.2']
15
+ appraisal:
16
+ - rails_5.1
17
+ - rails_5.2
18
+ - rails_6.0
78
19
  exclude:
79
20
  - ruby: '2.4.10'
80
- gemfile: '6.0'
21
+ appraisal: rails_6.0
81
22
  - ruby/build:
82
23
  context: g2crowd-global
83
24
  setup-database: false
@@ -7,7 +7,8 @@ require:
7
7
  - rubocop-g2
8
8
 
9
9
  AllCops:
10
- TargetRubyVersion: 2.7
10
+ NewCops: enable
11
+ TargetRubyVersion: 2.4
11
12
  Exclude:
12
13
  - gemfiles/*
13
14
 
@@ -1 +1 @@
1
- 2.7.1
1
+ 2.7.2
data/Appraisals CHANGED
@@ -1,13 +1,13 @@
1
- appraise 'rails-5.1' do
1
+ appraise 'rails_5.1' do
2
2
  gem 'rails', '5.1.7'
3
3
  gem 'sprockets', '~> 3'
4
4
  end
5
5
 
6
- appraise 'rails-5.2' do
6
+ appraise 'rails_5.2' do
7
7
  gem 'rails', '5.2.4'
8
8
  gem 'sprockets', '~> 3'
9
9
  end
10
10
 
11
- appraise 'rails-6.0' do
11
+ appraise 'rails_6.0' do
12
12
  gem 'rails', '6.0.3'
13
13
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- g2_command (2.2.0)
4
+ g2_command (2.3.0)
5
5
  activemodel (>= 5.0, < 7)
6
6
  activesupport (>= 5.0, < 7)
7
7
  dry-initializer (~> 3.0)
@@ -90,7 +90,6 @@ GEM
90
90
  activesupport (>= 4.2.0)
91
91
  i18n (1.8.5)
92
92
  concurrent-ruby (~> 1.0)
93
- jaro_winkler (1.5.4)
94
93
  json (2.3.0)
95
94
  loofah (2.7.0)
96
95
  crass (~> 1.0.2)
@@ -108,7 +107,7 @@ GEM
108
107
  nokogiri (1.10.10)
109
108
  mini_portile2 (~> 2.4.0)
110
109
  parallel (1.19.2)
111
- parser (2.7.1.4)
110
+ parser (2.7.2.0)
112
111
  ast (~> 2.4.1)
113
112
  pry (0.12.2)
114
113
  coderay (~> 1.1.0)
@@ -144,6 +143,7 @@ GEM
144
143
  thor (>= 0.20.3, < 2.0)
145
144
  rainbow (3.0.0)
146
145
  rake (12.3.3)
146
+ regexp_parser (1.8.2)
147
147
  rexml (3.2.4)
148
148
  rspec (3.9.0)
149
149
  rspec-core (~> 3.9.0)
@@ -160,24 +160,28 @@ GEM
160
160
  rspec-support (3.9.2)
161
161
  rspec_junit_formatter (0.4.1)
162
162
  rspec-core (>= 2, < 4, != 2.12.0)
163
- rubocop (0.82.0)
164
- jaro_winkler (~> 1.5.1)
163
+ rubocop (0.93.1)
165
164
  parallel (~> 1.10)
166
- parser (>= 2.7.0.1)
165
+ parser (>= 2.7.1.5)
167
166
  rainbow (>= 2.2.2, < 4.0)
167
+ regexp_parser (>= 1.8)
168
168
  rexml
169
+ rubocop-ast (>= 0.6.0)
169
170
  ruby-progressbar (~> 1.7)
170
171
  unicode-display_width (>= 1.4.0, < 2.0)
171
- rubocop-g2 (1.1.0)
172
- rubocop (= 0.82.0)
173
- rubocop-rails (= 2.5.2)
174
- rubocop-rspec (= 1.39.0)
175
- rubocop-rails (2.5.2)
176
- activesupport
172
+ rubocop-ast (1.1.0)
173
+ parser (>= 2.7.1.5)
174
+ rubocop-g2 (1.2.1)
175
+ rubocop (>= 0.82)
176
+ rubocop-rails (>= 2.5)
177
+ rubocop-rspec (>= 1.39)
178
+ rubocop-rails (2.8.1)
179
+ activesupport (>= 4.2.0)
177
180
  rack (>= 1.1)
178
- rubocop (>= 0.72.0)
179
- rubocop-rspec (1.39.0)
180
- rubocop (>= 0.68.1)
181
+ rubocop (>= 0.87.0)
182
+ rubocop-rspec (1.44.1)
183
+ rubocop (~> 0.87)
184
+ rubocop-ast (>= 0.7.1)
181
185
  ruby-progressbar (1.10.1)
182
186
  simplecov (0.16.1)
183
187
  docile (~> 1.1)
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = 'An implementation of the command pattern using dry-rb'
12
12
  spec.homepage = 'https://github.com/g2crowd/g2_command'
13
13
  spec.license = 'MIT'
14
- spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
14
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.4.0')
15
15
 
16
16
  spec.metadata['homepage_uri'] = spec.homepage
17
17
  spec.metadata['source_code_uri'] = 'https://github.com/g2crowd/g2_command'
@@ -53,7 +53,7 @@ module Command
53
53
 
54
54
  class_methods do
55
55
  def run(inputs = {})
56
- new(**inputs).run
56
+ new(inputs).run
57
57
  end
58
58
 
59
59
  def run!(inputs = {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Command
4
- VERSION = '2.2.0'
4
+ VERSION = '2.3.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g2_command
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hamed Asghari
@@ -133,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
133
  requirements:
134
134
  - - ">="
135
135
  - !ruby/object:Gem::Version
136
- version: 2.3.0
136
+ version: 2.4.0
137
137
  required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  requirements:
139
139
  - - ">="