mrkt 1.1.0 → 1.1.1
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 +11 -0
- data/.github/workflows/ruby.yml +41 -0
- data/.rubocop.yml +5 -36
- data/Gemfile.lock +57 -47
- data/lib/mrkt/version.rb +1 -1
- data/mrkt.gemspec +5 -4
- metadata +26 -11
- data/.travis.yml +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c1d806a3e503d57671f87fb4d26d1f8117a3b980854b1bad72653de9c3fb1af
|
4
|
+
data.tar.gz: 56d140143afe8bba8541f03598a7ad479e4a35e9c35a933c15ed624a917e6329
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07411edcb6e9afeea40c73846fdc16774c22e869bfe9af05b052df0be8f30fd7075c656c325e1b097d9267119ae5215216beb7cb3a143485214e88f6015a6bbf
|
7
|
+
data.tar.gz: 94cb30607349f9f0e2b077278376b090a61d1c5417a920b4b6642de4862bff336cb789c1babf6f5e346b04727ab5885959ee31521241335de08a251f208d02a4
|
@@ -0,0 +1,41 @@
|
|
1
|
+
name: Ruby
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [master]
|
6
|
+
pull_request:
|
7
|
+
branches: [master]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
test:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
|
13
|
+
strategy:
|
14
|
+
matrix:
|
15
|
+
ruby: [2.5, 2.6, 2.7, 3.0]
|
16
|
+
|
17
|
+
steps:
|
18
|
+
- uses: actions/checkout@v2.3.4
|
19
|
+
|
20
|
+
- name: Set up Ruby
|
21
|
+
uses: ruby/setup-ruby@v1
|
22
|
+
with:
|
23
|
+
ruby-version: ${{ matrix.ruby }}
|
24
|
+
bundler-cache: true
|
25
|
+
|
26
|
+
- name: Update the RubyGems system software
|
27
|
+
run: gem update --system
|
28
|
+
|
29
|
+
- name: Update Bundler
|
30
|
+
run: bundle update --bundler
|
31
|
+
|
32
|
+
- name: Install dependencies
|
33
|
+
run: bundle install
|
34
|
+
|
35
|
+
- name: Run tests and publish coverage
|
36
|
+
uses: paambaati/codeclimate-action@v2.7.5
|
37
|
+
env:
|
38
|
+
COVERAGE: on
|
39
|
+
CC_TEST_REPORTER_ID: 45cd2174f49b570406e294ff393d456c4ae8532cf16dd6430abb06d8a0722a28
|
40
|
+
with:
|
41
|
+
coverageCommand: bundle exec rspec
|
data/.rubocop.yml
CHANGED
@@ -1,11 +1,12 @@
|
|
1
|
+
require: rubocop-rake
|
2
|
+
|
1
3
|
AllCops:
|
2
4
|
TargetRubyVersion: 2.5
|
3
5
|
Exclude:
|
4
6
|
- 'bin/**/*'
|
5
7
|
- 'vendor/**/*'
|
8
|
+
NewCops: enable
|
6
9
|
|
7
|
-
Layout/EmptyLinesAroundAttributeAccessor:
|
8
|
-
Enabled: true
|
9
10
|
Layout/EmptyLineAfterGuardClause:
|
10
11
|
Enabled: false
|
11
12
|
Layout/FirstHashElementIndentation:
|
@@ -16,20 +17,10 @@ Layout/LineLength:
|
|
16
17
|
Max: 128
|
17
18
|
Layout/MultilineMethodCallIndentation:
|
18
19
|
EnforcedStyle: indented
|
19
|
-
Layout/SpaceAroundMethodCallOperator:
|
20
|
-
Enabled: true
|
21
|
-
|
22
|
-
Lint/DeprecatedOpenSSLConstant:
|
23
|
-
Enabled: true
|
24
|
-
Lint/MixedRegexpCaptureTypes:
|
25
|
-
Enabled: true
|
26
|
-
Lint/RaiseException:
|
27
|
-
Enabled: true
|
28
|
-
Lint/StructNewOverride:
|
29
|
-
Enabled: true
|
30
20
|
|
31
21
|
Metrics/AbcSize:
|
32
|
-
|
22
|
+
Exclude:
|
23
|
+
- 'lib/mrkt/concerns/connection.rb'
|
33
24
|
Metrics/BlockLength:
|
34
25
|
Exclude:
|
35
26
|
- 'spec/**/*'
|
@@ -41,31 +32,9 @@ Metrics/ParameterLists:
|
|
41
32
|
Naming/AccessorMethodName:
|
42
33
|
Enabled: false
|
43
34
|
|
44
|
-
Style/AccessorGrouping:
|
45
|
-
Enabled: true
|
46
|
-
Style/BisectedAttrAccessor:
|
47
|
-
Enabled: true
|
48
35
|
Style/ClassAndModuleChildren:
|
49
36
|
Enabled: false
|
50
37
|
Style/Documentation:
|
51
38
|
Enabled: false
|
52
|
-
Style/ExponentialNotation:
|
53
|
-
Enabled: true
|
54
39
|
Style/FrozenStringLiteralComment:
|
55
40
|
Enabled: false
|
56
|
-
Style/HashEachMethods:
|
57
|
-
Enabled: true
|
58
|
-
Style/HashTransformKeys:
|
59
|
-
Enabled: true
|
60
|
-
Style/HashTransformValues:
|
61
|
-
Enabled: true
|
62
|
-
Style/RedundantAssignment:
|
63
|
-
Enabled: true
|
64
|
-
Style/RedundantFetchBlock:
|
65
|
-
Enabled: true
|
66
|
-
Style/RedundantRegexpCharacterClass:
|
67
|
-
Enabled: true
|
68
|
-
Style/RedundantRegexpEscape:
|
69
|
-
Enabled: true
|
70
|
-
Style/SlicingWithRange:
|
71
|
-
Enabled: true
|
data/Gemfile.lock
CHANGED
@@ -1,40 +1,47 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mrkt (1.1.
|
4
|
+
mrkt (1.1.1)
|
5
5
|
faraday (~> 1.0)
|
6
6
|
faraday_middleware (~> 1.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
addressable (2.
|
11
|
+
addressable (2.8.0)
|
12
12
|
public_suffix (>= 2.0.2, < 5.0)
|
13
|
-
ast (2.4.
|
13
|
+
ast (2.4.2)
|
14
14
|
byebug (11.1.3)
|
15
15
|
coderay (1.1.3)
|
16
|
-
crack (0.4.
|
17
|
-
|
16
|
+
crack (0.4.5)
|
17
|
+
rexml
|
18
18
|
diff-lcs (1.4.4)
|
19
|
-
docile (1.3.
|
20
|
-
faraday (1.
|
19
|
+
docile (1.3.5)
|
20
|
+
faraday (1.5.1)
|
21
|
+
faraday-em_http (~> 1.0)
|
22
|
+
faraday-em_synchrony (~> 1.0)
|
21
23
|
faraday-excon (~> 1.1)
|
24
|
+
faraday-httpclient (~> 1.0.1)
|
22
25
|
faraday-net_http (~> 1.0)
|
23
26
|
faraday-net_http_persistent (~> 1.1)
|
27
|
+
faraday-patron (~> 1.0)
|
24
28
|
multipart-post (>= 1.2, < 3)
|
25
29
|
ruby2_keywords (>= 0.0.4)
|
30
|
+
faraday-em_http (1.0.0)
|
31
|
+
faraday-em_synchrony (1.0.0)
|
26
32
|
faraday-excon (1.1.0)
|
33
|
+
faraday-httpclient (1.0.1)
|
27
34
|
faraday-net_http (1.0.1)
|
28
|
-
faraday-net_http_persistent (1.
|
35
|
+
faraday-net_http_persistent (1.2.0)
|
36
|
+
faraday-patron (1.0.0)
|
29
37
|
faraday_middleware (1.0.0)
|
30
38
|
faraday (~> 1.0)
|
31
|
-
gem-release (2.
|
39
|
+
gem-release (2.2.2)
|
32
40
|
hashdiff (1.0.1)
|
33
|
-
json (2.3.1)
|
34
41
|
method_source (1.0.0)
|
35
42
|
multipart-post (2.1.1)
|
36
|
-
parallel (1.
|
37
|
-
parser (
|
43
|
+
parallel (1.20.1)
|
44
|
+
parser (3.0.2.0)
|
38
45
|
ast (~> 2.4.1)
|
39
46
|
pry (0.13.1)
|
40
47
|
coderay (~> 1.1)
|
@@ -42,45 +49,47 @@ GEM
|
|
42
49
|
pry-byebug (3.9.0)
|
43
50
|
byebug (~> 11.0)
|
44
51
|
pry (~> 0.13.0)
|
45
|
-
public_suffix (4.0.
|
52
|
+
public_suffix (4.0.6)
|
46
53
|
rainbow (3.0.0)
|
47
|
-
rake (
|
48
|
-
regexp_parser (1.
|
54
|
+
rake (13.0.6)
|
55
|
+
regexp_parser (2.1.1)
|
49
56
|
rexml (3.2.5)
|
50
|
-
rspec (3.
|
51
|
-
rspec-core (~> 3.
|
52
|
-
rspec-expectations (~> 3.
|
53
|
-
rspec-mocks (~> 3.
|
54
|
-
rspec-core (3.
|
55
|
-
rspec-support (~> 3.
|
56
|
-
rspec-expectations (3.
|
57
|
+
rspec (3.10.0)
|
58
|
+
rspec-core (~> 3.10.0)
|
59
|
+
rspec-expectations (~> 3.10.0)
|
60
|
+
rspec-mocks (~> 3.10.0)
|
61
|
+
rspec-core (3.10.1)
|
62
|
+
rspec-support (~> 3.10.0)
|
63
|
+
rspec-expectations (3.10.1)
|
57
64
|
diff-lcs (>= 1.2.0, < 2.0)
|
58
|
-
rspec-support (~> 3.
|
59
|
-
rspec-mocks (3.
|
65
|
+
rspec-support (~> 3.10.0)
|
66
|
+
rspec-mocks (3.10.2)
|
60
67
|
diff-lcs (>= 1.2.0, < 2.0)
|
61
|
-
rspec-support (~> 3.
|
62
|
-
rspec-support (3.
|
63
|
-
rubocop (
|
68
|
+
rspec-support (~> 3.10.0)
|
69
|
+
rspec-support (3.10.2)
|
70
|
+
rubocop (1.18.4)
|
64
71
|
parallel (~> 1.10)
|
65
|
-
parser (>=
|
72
|
+
parser (>= 3.0.0.0)
|
66
73
|
rainbow (>= 2.2.2, < 4.0)
|
67
|
-
regexp_parser (>= 1.
|
74
|
+
regexp_parser (>= 1.8, < 3.0)
|
68
75
|
rexml
|
69
|
-
rubocop-ast (>=
|
76
|
+
rubocop-ast (>= 1.8.0, < 2.0)
|
70
77
|
ruby-progressbar (~> 1.7)
|
71
|
-
unicode-display_width (>= 1.4.0, <
|
72
|
-
rubocop-ast (
|
73
|
-
parser (>=
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
79
|
+
rubocop-ast (1.8.0)
|
80
|
+
parser (>= 3.0.1.1)
|
81
|
+
rubocop-rake (0.6.0)
|
82
|
+
rubocop (~> 1.0)
|
83
|
+
ruby-progressbar (1.11.0)
|
84
|
+
ruby2_keywords (0.0.5)
|
85
|
+
simplecov (0.21.2)
|
78
86
|
docile (~> 1.1)
|
79
|
-
|
80
|
-
|
81
|
-
simplecov-html (0.
|
82
|
-
|
83
|
-
|
87
|
+
simplecov-html (~> 0.11)
|
88
|
+
simplecov_json_formatter (~> 0.1)
|
89
|
+
simplecov-html (0.12.3)
|
90
|
+
simplecov_json_formatter (0.1.3)
|
91
|
+
unicode-display_width (2.0.0)
|
92
|
+
webmock (3.13.0)
|
84
93
|
addressable (>= 2.3.6)
|
85
94
|
crack (>= 0.3.2)
|
86
95
|
hashdiff (>= 0.4.0, < 2.0.0)
|
@@ -89,15 +98,16 @@ PLATFORMS
|
|
89
98
|
ruby
|
90
99
|
|
91
100
|
DEPENDENCIES
|
92
|
-
bundler (~>
|
101
|
+
bundler (~> 2.0)
|
93
102
|
gem-release (~> 2.1)
|
94
103
|
mrkt!
|
95
104
|
pry-byebug (~> 3.7)
|
96
|
-
rake (~>
|
105
|
+
rake (~> 13.0)
|
97
106
|
rspec (~> 3.2)
|
98
|
-
rubocop (~>
|
99
|
-
|
107
|
+
rubocop (~> 1.18.4)
|
108
|
+
rubocop-rake (~> 0.6.0)
|
109
|
+
simplecov (~> 0.21.2)
|
100
110
|
webmock (~> 3.1)
|
101
111
|
|
102
112
|
BUNDLED WITH
|
103
|
-
1.
|
113
|
+
2.1.4
|
data/lib/mrkt/version.rb
CHANGED
data/mrkt.gemspec
CHANGED
@@ -22,12 +22,13 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_dependency 'faraday', '~> 1.0'
|
23
23
|
spec.add_dependency 'faraday_middleware', '~> 1.0'
|
24
24
|
|
25
|
-
spec.add_development_dependency 'bundler', '~>
|
25
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
26
26
|
spec.add_development_dependency 'gem-release', '~> 2.1'
|
27
27
|
spec.add_development_dependency 'pry-byebug', '~> 3.7'
|
28
|
-
spec.add_development_dependency 'rake', '~>
|
28
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
29
29
|
spec.add_development_dependency 'rspec', '~> 3.2'
|
30
|
-
spec.add_development_dependency 'rubocop', '~>
|
31
|
-
spec.add_development_dependency '
|
30
|
+
spec.add_development_dependency 'rubocop', '~> 1.18.4'
|
31
|
+
spec.add_development_dependency 'rubocop-rake', '~> 0.6.0'
|
32
|
+
spec.add_development_dependency 'simplecov', '~> 0.21.2'
|
32
33
|
spec.add_development_dependency 'webmock', '~> 3.1'
|
33
34
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mrkt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- KARASZI István
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-07-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
48
|
+
version: '2.0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
55
|
+
version: '2.0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: gem-release
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,14 +87,14 @@ dependencies:
|
|
87
87
|
requirements:
|
88
88
|
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: '
|
90
|
+
version: '13.0'
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
95
|
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
97
|
+
version: '13.0'
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: rspec
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,28 +115,42 @@ dependencies:
|
|
115
115
|
requirements:
|
116
116
|
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
118
|
+
version: 1.18.4
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
123
|
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
125
|
+
version: 1.18.4
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: rubocop-rake
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 0.6.0
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: 0.6.0
|
126
140
|
- !ruby/object:Gem::Dependency
|
127
141
|
name: simplecov
|
128
142
|
requirement: !ruby/object:Gem::Requirement
|
129
143
|
requirements:
|
130
144
|
- - "~>"
|
131
145
|
- !ruby/object:Gem::Version
|
132
|
-
version: 0.
|
146
|
+
version: 0.21.2
|
133
147
|
type: :development
|
134
148
|
prerelease: false
|
135
149
|
version_requirements: !ruby/object:Gem::Requirement
|
136
150
|
requirements:
|
137
151
|
- - "~>"
|
138
152
|
- !ruby/object:Gem::Version
|
139
|
-
version: 0.
|
153
|
+
version: 0.21.2
|
140
154
|
- !ruby/object:Gem::Dependency
|
141
155
|
name: webmock
|
142
156
|
requirement: !ruby/object:Gem::Requirement
|
@@ -159,10 +173,11 @@ executables: []
|
|
159
173
|
extensions: []
|
160
174
|
extra_rdoc_files: []
|
161
175
|
files:
|
176
|
+
- ".github/dependabot.yml"
|
177
|
+
- ".github/workflows/ruby.yml"
|
162
178
|
- ".gitignore"
|
163
179
|
- ".rspec"
|
164
180
|
- ".rubocop.yml"
|
165
|
-
- ".travis.yml"
|
166
181
|
- Gemfile
|
167
182
|
- Gemfile.lock
|
168
183
|
- LICENSE
|
data/.travis.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
env:
|
2
|
-
global:
|
3
|
-
- CC_TEST_REPORTER_ID=45cd2174f49b570406e294ff393d456c4ae8532cf16dd6430abb06d8a0722a28
|
4
|
-
- COVERAGE=on
|
5
|
-
language: ruby
|
6
|
-
rvm:
|
7
|
-
- 2.5
|
8
|
-
- 2.6
|
9
|
-
- 2.7
|
10
|
-
- 3.0
|
11
|
-
before_install:
|
12
|
-
- gem update --system
|
13
|
-
- bundle update --bundler
|
14
|
-
before_script:
|
15
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
16
|
-
- chmod +x ./cc-test-reporter
|
17
|
-
- ./cc-test-reporter before-build
|
18
|
-
script:
|
19
|
-
- bundle exec rspec
|
20
|
-
- bundle exec rubocop
|
21
|
-
after_script:
|
22
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|