tomograph 2.5.3 → 2.5.4

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
- SHA1:
3
- metadata.gz: 80116439a5a62eac61675d5d039f6b2887011fdd
4
- data.tar.gz: 0d2bd7231ebfa0a44496119ee36e9c9c80846988
2
+ SHA256:
3
+ metadata.gz: 07d63f3be0c4b209e6630a5956d7b4e57f473369dce3ae2e4e9c1d888433a9e3
4
+ data.tar.gz: e5852bd99d4bce0f4d9e1509f42d05c18d36496eeff1527a5444372f7de697a8
5
5
  SHA512:
6
- metadata.gz: 2045a38046bffe45eb8904853bf4643e816c36914dcbb933ec870f8afe2b9a08407dc6d70b315acd14f5fe8e5e8a353d4685191b0e1c56d9cd286b722c7bf1f8
7
- data.tar.gz: 6f18b2f2e21d21e3613c7e7da4302fd3f6afe6a451e202966bee92b94198c3c494ca94983ae0a9971782e2e07cb29e57bb33c12286040c3a7cf57625b40acc4e
6
+ metadata.gz: e200c218b248783f50c4a60b3f2650441e2247412b11c2085a70c521d6a41c0fafbf00a6fc837740ba773b0dd17d803d575c8e551a2f758dc0b17ce406dcf69a
7
+ data.tar.gz: 58f1be2822805c77a721697d518eeb4b8c17d881f3b659a953c8c7908634e51f95401d175516f491b63f117013939e8df215632973ed66977181309c0f1a10b1
@@ -0,0 +1,30 @@
1
+ name: Ruby Gem
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ build:
11
+ name: Build + Publish
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Ruby 2.6
17
+ uses: actions/setup-ruby@v1
18
+ with:
19
+ version: 2.6.x
20
+
21
+ - name: Publish to RubyGems
22
+ run: |
23
+ mkdir -p $HOME/.gem
24
+ touch $HOME/.gem/credentials
25
+ chmod 0600 $HOME/.gem/credentials
26
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
27
+ gem build *.gemspec
28
+ gem push *.gem
29
+ env:
30
+ GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.2
2
+ TargetRubyVersion: 2.7
3
3
 
4
4
  Metrics/LineLength:
5
5
  Max: 120
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.2.0
1
+ 2.7.1
data/.tool-versions CHANGED
@@ -1,2 +1,2 @@
1
- ruby 2.2.0
1
+ ruby 2.7.1
2
2
  nodejs 11.3.0
data/.travis.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2
4
- before_install: gem install bundler -v 1.12
5
-
3
+ - 2.4
4
+ - 2.5
5
+ - 2.6
6
+ - 2.7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Change log
2
2
 
3
+ ### 2.5.4 - 2020-04-06
4
+
5
+ * fixed warnings on ruby 2.7
6
+ * updated dependences
7
+
8
+ # Change log
9
+
3
10
  ### 2.5.3 - 2020-03-10
4
11
 
5
12
  * bug fixes
@@ -109,7 +109,7 @@ module Tomograph
109
109
 
110
110
  def to_tomogram
111
111
  @tomogram ||= actions.inject([]) do |result, action|
112
- result.push(Tomograph::Tomogram::Action.new(action))
112
+ result.push(Tomograph::Tomogram::Action.new(**action))
113
113
  end
114
114
  end
115
115
 
@@ -107,7 +107,7 @@ module Tomograph
107
107
 
108
108
  def to_tomogram
109
109
  @tomogram ||= actions.inject([]) do |result, action|
110
- result.push(Tomograph::Tomogram::Action.new(action))
110
+ result.push(Tomograph::Tomogram::Action.new(**action))
111
111
  end
112
112
  end
113
113
 
@@ -109,7 +109,7 @@ module Tomograph
109
109
 
110
110
  def to_tomogram
111
111
  @tomogram ||= actions.inject([]) do |result, action|
112
- result.push(Tomograph::Tomogram::Action.new(action))
112
+ result.push(Tomograph::Tomogram::Action.new(**action))
113
113
  end
114
114
  end
115
115
 
@@ -1,3 +1,3 @@
1
1
  module Tomograph
2
- VERSION = '2.5.3'.freeze
2
+ VERSION = '2.5.4'.freeze
3
3
  end
data/tomograph.gemspec CHANGED
@@ -18,12 +18,12 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_runtime_dependency 'methadone', '~> 1.9', '>= 1.9.5'
22
- spec.add_runtime_dependency 'multi_json', '~> 1.11', '>= 1.11.1'
23
- spec.add_development_dependency 'bundler', '~> 1.12'
24
- spec.add_development_dependency 'byebug', '~> 8.2', '>= 8.2.1'
25
- spec.add_development_dependency 'rake', '>= 12.3.3'
26
- spec.add_development_dependency 'rspec', '~> 3.4', '>= 3.4.0'
27
- spec.add_development_dependency 'rubocop', '~> 0.52.1', '>= 0.52.1'
28
- spec.add_development_dependency 'simplecov', '~> 0.11', '>= 0.11.2'
21
+ spec.add_runtime_dependency 'methadone', '~> 2', '>= 2.0.2'
22
+ spec.add_runtime_dependency 'multi_json', '~> 1.14', '>= 1.14.1'
23
+ spec.add_development_dependency 'byebug', '~> 11.1', '>= 11.1.1'
24
+ spec.add_development_dependency 'rake', '>= 13.0.1'
25
+ spec.add_development_dependency 'rspec', '~> 3.9', '>= 3.9.0'
26
+ spec.add_development_dependency 'rubocop', '~> 0.81', '>= 0.81.0'
27
+ spec.add_development_dependency 'simplecov', '~> 0.18', '>= 0.18.5'
28
+ spec.required_ruby_version = '>= 2.4.0'
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomograph
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.3
4
+ version: 2.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - d.efimov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-10 00:00:00.000000000 Z
11
+ date: 2020-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: methadone
@@ -16,148 +16,134 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.9'
19
+ version: '2'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 1.9.5
22
+ version: 2.0.2
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '1.9'
29
+ version: '2'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 1.9.5
32
+ version: 2.0.2
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: multi_json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.11'
39
+ version: '1.14'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 1.11.1
42
+ version: 1.14.1
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '1.11'
49
+ version: '1.14'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 1.11.1
53
- - !ruby/object:Gem::Dependency
54
- name: bundler
55
- requirement: !ruby/object:Gem::Requirement
56
- requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: '1.12'
60
- type: :development
61
- prerelease: false
62
- version_requirements: !ruby/object:Gem::Requirement
63
- requirements:
64
- - - "~>"
65
- - !ruby/object:Gem::Version
66
- version: '1.12'
52
+ version: 1.14.1
67
53
  - !ruby/object:Gem::Dependency
68
54
  name: byebug
69
55
  requirement: !ruby/object:Gem::Requirement
70
56
  requirements:
71
57
  - - "~>"
72
58
  - !ruby/object:Gem::Version
73
- version: '8.2'
59
+ version: '11.1'
74
60
  - - ">="
75
61
  - !ruby/object:Gem::Version
76
- version: 8.2.1
62
+ version: 11.1.1
77
63
  type: :development
78
64
  prerelease: false
79
65
  version_requirements: !ruby/object:Gem::Requirement
80
66
  requirements:
81
67
  - - "~>"
82
68
  - !ruby/object:Gem::Version
83
- version: '8.2'
69
+ version: '11.1'
84
70
  - - ">="
85
71
  - !ruby/object:Gem::Version
86
- version: 8.2.1
72
+ version: 11.1.1
87
73
  - !ruby/object:Gem::Dependency
88
74
  name: rake
89
75
  requirement: !ruby/object:Gem::Requirement
90
76
  requirements:
91
77
  - - ">="
92
78
  - !ruby/object:Gem::Version
93
- version: 12.3.3
79
+ version: 13.0.1
94
80
  type: :development
95
81
  prerelease: false
96
82
  version_requirements: !ruby/object:Gem::Requirement
97
83
  requirements:
98
84
  - - ">="
99
85
  - !ruby/object:Gem::Version
100
- version: 12.3.3
86
+ version: 13.0.1
101
87
  - !ruby/object:Gem::Dependency
102
88
  name: rspec
103
89
  requirement: !ruby/object:Gem::Requirement
104
90
  requirements:
105
- - - "~>"
106
- - !ruby/object:Gem::Version
107
- version: '3.4'
108
91
  - - ">="
109
92
  - !ruby/object:Gem::Version
110
- version: 3.4.0
93
+ version: 3.9.0
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.9'
111
97
  type: :development
112
98
  prerelease: false
113
99
  version_requirements: !ruby/object:Gem::Requirement
114
100
  requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '3.4'
118
101
  - - ">="
119
102
  - !ruby/object:Gem::Version
120
- version: 3.4.0
103
+ version: 3.9.0
104
+ - - "~>"
105
+ - !ruby/object:Gem::Version
106
+ version: '3.9'
121
107
  - !ruby/object:Gem::Dependency
122
108
  name: rubocop
123
109
  requirement: !ruby/object:Gem::Requirement
124
110
  requirements:
125
- - - "~>"
126
- - !ruby/object:Gem::Version
127
- version: 0.52.1
128
111
  - - ">="
129
112
  - !ruby/object:Gem::Version
130
- version: 0.52.1
113
+ version: 0.81.0
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '0.81'
131
117
  type: :development
132
118
  prerelease: false
133
119
  version_requirements: !ruby/object:Gem::Requirement
134
120
  requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: 0.52.1
138
121
  - - ">="
139
122
  - !ruby/object:Gem::Version
140
- version: 0.52.1
123
+ version: 0.81.0
124
+ - - "~>"
125
+ - !ruby/object:Gem::Version
126
+ version: '0.81'
141
127
  - !ruby/object:Gem::Dependency
142
128
  name: simplecov
143
129
  requirement: !ruby/object:Gem::Requirement
144
130
  requirements:
145
131
  - - "~>"
146
132
  - !ruby/object:Gem::Version
147
- version: '0.11'
133
+ version: '0.18'
148
134
  - - ">="
149
135
  - !ruby/object:Gem::Version
150
- version: 0.11.2
136
+ version: 0.18.5
151
137
  type: :development
152
138
  prerelease: false
153
139
  version_requirements: !ruby/object:Gem::Requirement
154
140
  requirements:
155
141
  - - "~>"
156
142
  - !ruby/object:Gem::Version
157
- version: '0.11'
143
+ version: '0.18'
158
144
  - - ">="
159
145
  - !ruby/object:Gem::Version
160
- version: 0.11.2
146
+ version: 0.18.5
161
147
  description: Convert API Blueprint to routes and JSON-Schemas
162
148
  email:
163
149
  - d.efimov@fun-box.ru
@@ -166,6 +152,7 @@ executables:
166
152
  extensions: []
167
153
  extra_rdoc_files: []
168
154
  files:
155
+ - ".github/workflows/gempush.yml"
169
156
  - ".gitignore"
170
157
  - ".rubocop.yml"
171
158
  - ".ruby-version"
@@ -206,15 +193,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
206
193
  requirements:
207
194
  - - ">="
208
195
  - !ruby/object:Gem::Version
209
- version: '0'
196
+ version: 2.4.0
210
197
  required_rubygems_version: !ruby/object:Gem::Requirement
211
198
  requirements:
212
199
  - - ">="
213
200
  - !ruby/object:Gem::Version
214
201
  version: '0'
215
202
  requirements: []
216
- rubyforge_project:
217
- rubygems_version: 2.4.5
203
+ rubygems_version: 3.0.3
218
204
  signing_key:
219
205
  specification_version: 4
220
206
  summary: Convert API Blueprint to Tomogram