g2_command 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +8 -67
- data/.rubocop.yml +2 -1
- data/.ruby-version +1 -1
- data/Appraisals +3 -3
- data/Gemfile.lock +19 -15
- data/g2_command.gemspec +1 -1
- data/lib/command.rb +1 -1
- data/lib/command/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9217fb815c461a03b28aee50cc536dbc233f5e6382ec997bd49eca32974c7def
|
4
|
+
data.tar.gz: 4ed49dde0c58e37e1f5b94bf206cd80b2b7c2266d73346f26a3d026ad519df9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cdc00cfe2a6c81ceb1ab2c7de10ecd160fb103e426e589c344ac1828643bcfba959e2ad4cb8c428654a50af074b7f34850616dc4bfa3a822a51978351b819fc
|
7
|
+
data.tar.gz: a7064a74ef68395310a38d4e80b33cccdee17ef3c2352de6e711366b88fc0bdc791ab145049339ef70868db9982e3d7f37fb6e6bef06a2c79d972cfa61828d0e
|
data/.circleci/config.yml
CHANGED
@@ -1,83 +1,24 @@
|
|
1
1
|
version: 2.1
|
2
2
|
|
3
3
|
orbs:
|
4
|
-
ruby: g2crowd/ruby@0.0.
|
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.
|
77
|
-
|
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
|
-
|
21
|
+
appraisal: rails_6.0
|
81
22
|
- ruby/build:
|
82
23
|
context: g2crowd-global
|
83
24
|
setup-database: false
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.7.
|
1
|
+
2.7.2
|
data/Appraisals
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
appraise '
|
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 '
|
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 '
|
11
|
+
appraise 'rails_6.0' do
|
12
12
|
gem 'rails', '6.0.3'
|
13
13
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
g2_command (2.
|
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.
|
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.
|
164
|
-
jaro_winkler (~> 1.5.1)
|
163
|
+
rubocop (0.93.1)
|
165
164
|
parallel (~> 1.10)
|
166
|
-
parser (>= 2.7.
|
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-
|
172
|
-
|
173
|
-
|
174
|
-
rubocop
|
175
|
-
|
176
|
-
|
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.
|
179
|
-
rubocop-rspec (1.
|
180
|
-
rubocop (
|
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)
|
data/g2_command.gemspec
CHANGED
@@ -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.
|
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'
|
data/lib/command.rb
CHANGED
data/lib/command/version.rb
CHANGED
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.
|
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.
|
136
|
+
version: 2.4.0
|
137
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
138
|
requirements:
|
139
139
|
- - ">="
|