rspock 1.0.0 → 2.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ce868962643218ce41a8a979ddebab6b5a18aa129af61ca3d95102b82c17662
4
- data.tar.gz: cb6d44f2cc563cb489976790217515defb27bbc38a4783112ddc1ea6830aff3a
3
+ metadata.gz: a6c32bc772042249438fc37156b8a0aa1e24f2199e01a5b2966a999836c09442
4
+ data.tar.gz: 44534034c5707d2d6087c7968e7753193e343616817ed9b7758835e8cad66b74
5
5
  SHA512:
6
- metadata.gz: 0bc44239e2334d90b9065a6a89ffeddf6a7e6cf7f9259432909b29c4530b10b3b835492a716e3fbd14951540a16e4748e177e1eae792212fbee4fde92902ef67
7
- data.tar.gz: bfcf7bb35455b59349742c577960551f9ecbf9fd14f5af8231849692b7528c1439a187507e180b29872fa06d807d859d47ca7edbc271921ca8bc512910ad83d2
6
+ metadata.gz: 5bc0204da0fa0588cfc14a4361d5906c9c9911cd3f5d3e7254b9c08ad047ddbd872eee23a69749655e12e90208557e832ad7c16a89608689b57024020ccaf42a
7
+ data.tar.gz: 14507de4564399077e5d82f45efde8c052a16a88c661775f4319efc7edd60115a221e42b43fad33569d42357dd49e23ff49d97cc531ab62a7ddd1f1a714e0c8e
@@ -0,0 +1,29 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main, master]
6
+ pull_request:
7
+ branches: [main, master]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ ruby: ['3.2', '3.3']
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: ruby/setup-ruby@v1
19
+ with:
20
+ ruby-version: ${{ matrix.ruby }}
21
+ bundler-cache: true
22
+ - run: bundle exec rake test
23
+ - name: Upload coverage to Codecov
24
+ if: matrix.ruby == '3.3'
25
+ uses: codecov/codecov-action@v5
26
+ with:
27
+ token: ${{ secrets.CODECOV_TOKEN }}
28
+ files: coverage/coverage.json
29
+ fail_ci_if_error: false
@@ -0,0 +1,30 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags: ['v*']
6
+
7
+ jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ id-token: write
12
+ contents: read
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: '3.3'
18
+ - name: Verify version matches tag
19
+ run: |
20
+ TAG_VERSION="${GITHUB_REF#refs/tags/v}"
21
+ GEM_VERSION=$(ruby -e "require './lib/rspock/version'; puts RSpock::VERSION")
22
+ if [ "$TAG_VERSION" != "$GEM_VERSION" ]; then
23
+ echo "::error::Tag ($TAG_VERSION) does not match gem version ($GEM_VERSION)"
24
+ exit 1
25
+ fi
26
+ - uses: rubygems/configure-rubygems-credentials@main
27
+ - name: Build and publish gem
28
+ run: |
29
+ gem build rspock.gemspec
30
+ gem push rspock-*.gem
data/Gemfile.lock CHANGED
@@ -1,96 +1,72 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspock (1.0.0)
5
- ast_transform (~> 1.0)
4
+ rspock (2.0.0)
5
+ ast_transform (~> 2.0)
6
6
  minitest (~> 5.0)
7
- mocha (~> 1.0)
8
- parser (~> 2.5)
9
- unparser (~> 0.4)
7
+ mocha (>= 1.0)
8
+ parser (>= 3.0)
9
+ unparser (>= 0.6)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- abstract_type (0.0.7)
15
- adamantium (0.2.0)
16
- ice_nine (~> 0.11.0)
17
- memoizable (~> 0.4.0)
18
14
  ansi (1.5.0)
19
- ast (2.4.1)
20
- ast_transform (1.0.0)
21
- parser (~> 2.5)
22
- unparser (~> 0.4)
23
- builder (3.2.4)
24
- byebug (11.1.3)
15
+ ast (2.4.3)
16
+ ast_transform (2.0.0)
17
+ parser (>= 3.0)
18
+ unparser (>= 0.6)
19
+ builder (3.3.0)
25
20
  coderay (1.1.3)
26
- concord (0.1.5)
27
- adamantium (~> 0.2.0)
28
- equalizer (~> 0.0.9)
29
- coveralls (0.8.23)
30
- json (>= 1.8, < 3)
31
- simplecov (~> 0.16.1)
32
- term-ansicolor (~> 1.3)
33
- thor (>= 0.19.4, < 2.0)
34
- tins (~> 1.6)
35
- diff-lcs (1.4.4)
36
- docile (1.3.2)
37
- equalizer (0.0.11)
38
- ice_nine (0.11.2)
39
- json (2.3.1)
40
- memoizable (0.4.2)
41
- thread_safe (~> 0.3, >= 0.3.1)
42
- method_source (1.0.0)
43
- minitest (5.14.1)
44
- minitest-reporters (1.4.2)
21
+ diff-lcs (1.6.2)
22
+ docile (1.4.1)
23
+ io-console (0.8.2)
24
+ method_source (1.1.0)
25
+ minitest (5.27.0)
26
+ minitest-reporters (1.7.1)
45
27
  ansi
46
28
  builder
47
29
  minitest (>= 5.0)
48
30
  ruby-progressbar
49
- mocha (1.11.2)
50
- parser (2.7.1.4)
31
+ mocha (3.0.2)
32
+ ruby2_keywords (>= 0.0.5)
33
+ parser (3.3.10.2)
51
34
  ast (~> 2.4.1)
52
- procto (0.0.3)
53
- pry (0.13.1)
35
+ racc
36
+ prism (1.9.0)
37
+ pry (0.16.0)
54
38
  coderay (~> 1.1)
55
39
  method_source (~> 1.0)
56
- pry-byebug (3.9.0)
57
- byebug (~> 11.0)
58
- pry (~> 0.13.0)
59
- rake (13.0.1)
60
- ruby-progressbar (1.10.1)
61
- simplecov (0.16.1)
40
+ reline (>= 0.6.0)
41
+ racc (1.8.1)
42
+ rake (13.3.1)
43
+ reline (0.6.3)
44
+ io-console (~> 0.5)
45
+ ruby-progressbar (1.13.0)
46
+ ruby2_keywords (0.0.5)
47
+ simplecov (0.22.0)
62
48
  docile (~> 1.1)
63
- json (>= 1.8, < 3)
64
- simplecov-html (~> 0.10.0)
65
- simplecov-html (0.10.2)
66
- sync (0.5.0)
67
- term-ansicolor (1.7.1)
68
- tins (~> 1.0)
69
- thor (1.0.1)
70
- thread_safe (0.3.6)
71
- tins (1.25.0)
72
- sync
73
- unparser (0.4.7)
74
- abstract_type (~> 0.0.7)
75
- adamantium (~> 0.2.0)
76
- concord (~> 0.1.5)
77
- diff-lcs (~> 1.3)
78
- equalizer (~> 0.0.9)
79
- parser (>= 2.6.5)
80
- procto (~> 0.0.2)
49
+ simplecov-html (~> 0.11)
50
+ simplecov_json_formatter (~> 0.1)
51
+ simplecov-html (0.13.2)
52
+ simplecov_json_formatter (0.1.4)
53
+ unparser (0.8.1)
54
+ diff-lcs (~> 1.6)
55
+ parser (>= 3.3.0)
56
+ prism (>= 1.5.1)
81
57
 
82
58
  PLATFORMS
59
+ arm64-darwin-24
83
60
  ruby
84
61
 
85
62
  DEPENDENCIES
86
- bundler (~> 2.1)
87
- coveralls (~> 0.8)
63
+ bundler (>= 2.1)
88
64
  minitest (~> 5.14)
89
65
  minitest-reporters (~> 1.4)
90
- pry (~> 0.13)
91
- pry-byebug (~> 3.9)
66
+ pry (>= 0.14)
92
67
  rake (~> 13.0)
93
68
  rspock!
69
+ simplecov (~> 0.22)
94
70
 
95
71
  BUNDLED WITH
96
- 2.1.4
72
+ 2.5.22
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
- [![Build Status](https://travis-ci.org/rspockframework/rspock.svg?branch=master)](https://travis-ci.org/rspockframework/rspock)
2
- [![Coverage Status](https://coveralls.io/repos/github/rspockframework/rspock/badge.svg?branch=master)](https://coveralls.io/github/rspockframework/rspock?branch=master)
1
+ [![CI](https://github.com/rspockframework/rspock/actions/workflows/ci.yml/badge.svg)](https://github.com/rspockframework/rspock/actions/workflows/ci.yml)
2
+ [![codecov](https://codecov.io/gh/rspockframework/rspock/branch/main/graph/badge.svg)](https://codecov.io/gh/rspockframework/rspock)
3
3
 
4
4
  # RSpock
5
5
 
@@ -440,7 +440,35 @@ end
440
440
 
441
441
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
442
442
 
443
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
443
+ To install this gem onto your local machine, run `bundle exec rake install`.
444
+
445
+ ## Releasing a New Version
446
+
447
+ There are two ways to create a release. Both require that `version.rb` has already been updated and merged to main.
448
+
449
+ ### Via GitHub UI
450
+
451
+ 1. Update `VERSION` in `lib/rspock/version.rb`, commit, open a PR, and merge to main
452
+ 2. Go to the repo on GitHub → **Releases** → **Draft a new release**
453
+ 3. Enter a new tag (e.g. `v2.0.0`), select `main` as the target branch
454
+ 4. Add a title and release notes (GitHub can auto-generate these from merged PRs)
455
+ 5. Click **Publish release**
456
+
457
+ ### Via CLI
458
+
459
+ 1. Update `VERSION` in `lib/rspock/version.rb`, commit, open a PR, and merge to main
460
+ 2. Tag and push:
461
+ ```
462
+ git checkout main && git pull
463
+ git tag v2.0.0
464
+ git push origin v2.0.0
465
+ ```
466
+
467
+ In both cases, the [release workflow](.github/workflows/release.yml) validates that the tag matches `version.rb`, builds the gem, and publishes it to [rubygems.org](https://rubygems.org) via [Trusted Publishing](https://guides.rubygems.org/trusted-publishing/) (no API key needed). If there's a mismatch, the workflow fails before publishing.
468
+
469
+ ### One-time setup
470
+
471
+ Configure the gem as a trusted publisher on rubygems.org so that the release workflow can publish automatically. See the [Trusted Publishing guide](https://guides.rubygems.org/trusted-publishing/pushing-a-new-gem-with-a-trusted-publisher/) for details.
444
472
 
445
473
  ## Contributing
446
474
 
@@ -22,7 +22,8 @@ module RSpock
22
22
  end
23
23
 
24
24
  def on_str(node)
25
- node.updated(:dstr, [node, SPACE_STR_AST, TEST_INDEX_AST, LINE_NUMBER_STR_AST, LINE_NUMBER_AST])
25
+ merged = s(:str, "#{node.children[0]} ")
26
+ node.updated(:dstr, [merged, TEST_INDEX_AST, LINE_NUMBER_STR_AST, LINE_NUMBER_AST])
26
27
  end
27
28
 
28
29
  def on_dstr(node)
@@ -15,7 +15,16 @@ module RSpock
15
15
  LINE_NUMBER_STR_AST = s(:str, " line ")
16
16
 
17
17
  def on_dstr(node)
18
- children = [*process_all(node), SPACE_STR_AST, TEST_INDEX_AST, LINE_NUMBER_STR_AST, LINE_NUMBER_AST]
18
+ children = process_all(node).dup
19
+ last = children.last
20
+
21
+ if last&.type == :str
22
+ children[-1] = s(:str, "#{last.children[0]} ")
23
+ else
24
+ children << SPACE_STR_AST
25
+ end
26
+
27
+ children.push(TEST_INDEX_AST, LINE_NUMBER_STR_AST, LINE_NUMBER_AST)
19
28
  node.updated(nil, children)
20
29
  end
21
30
  end
@@ -82,7 +82,8 @@ module RSpock
82
82
  end
83
83
 
84
84
  def process_rspock(node)
85
- children = [source_map_rescue_wrapper(s(:begin, *[EXTEND_RSPOCK_DECLARATIVE, *process_all(node)]))]
85
+ processed = process_all(node).compact
86
+ children = [source_map_rescue_wrapper(s(:begin, *[EXTEND_RSPOCK_DECLARATIVE, *processed]))]
86
87
  node.updated(nil, children)
87
88
  end
88
89
 
@@ -1,3 +1,3 @@
1
1
  module RSpock
2
- VERSION = "1.0.0"
2
+ VERSION = "2.0.0"
3
3
  end
data/rspock.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = 'Data-driven testing framework.'
13
13
  spec.description = spec.summary
14
- spec.homepage = 'https://github.com/jpduchesne/rspock'
14
+ spec.homepage = 'https://github.com/rspockframework/rspock'
15
15
  spec.license = "MIT"
16
16
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
17
  f.match(%r{^(test|spec|features)/})
@@ -19,29 +19,20 @@ Gem::Specification.new do |spec|
19
19
  spec.bindir = "exe"
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
- spec.required_ruby_version = '~> 2.5'
23
-
24
- if ENV['TRAVIS']
25
- if ENV['TRAVIS_TAG'].nil? || ENV['TRAVIS_TAG'].empty?
26
- spec.version = "#{spec.version}-alpha-#{ENV['TRAVIS_BUILD_NUMBER']}"
27
- elsif ENV['TRAVIS_TAG'] != spec.version.to_s
28
- raise "Tag name (#{ENV['TRAVIS_TAG']}) and Gem version (#{spec.version}) are different"
29
- end
30
- end
22
+ spec.required_ruby_version = '>= 3.2'
31
23
 
32
24
  # Development dependencies
33
- spec.add_development_dependency "bundler", "~> 2.1"
34
- spec.add_development_dependency "coveralls", "~> 0.8"
25
+ spec.add_development_dependency "bundler", ">= 2.1"
35
26
  spec.add_development_dependency "minitest", "~> 5.14"
36
27
  spec.add_development_dependency "minitest-reporters", "~> 1.4"
37
- spec.add_development_dependency "pry", "~> 0.13"
38
- spec.add_development_dependency "pry-byebug", "~> 3.9"
28
+ spec.add_development_dependency "pry", ">= 0.14"
39
29
  spec.add_development_dependency "rake", "~> 13.0"
30
+ spec.add_development_dependency "simplecov", "~> 0.22"
40
31
 
41
32
  # Runtime dependencies
42
- spec.add_runtime_dependency "ast_transform", "~> 1.0"
33
+ spec.add_runtime_dependency "ast_transform", "~> 2.0"
43
34
  spec.add_runtime_dependency "minitest", "~> 5.0"
44
- spec.add_runtime_dependency "mocha", "~> 1.0"
45
- spec.add_runtime_dependency "parser", "~> 2.5"
46
- spec.add_runtime_dependency "unparser", "~> 0.4"
35
+ spec.add_runtime_dependency "mocha", ">= 1.0"
36
+ spec.add_runtime_dependency "parser", ">= 3.0"
37
+ spec.add_runtime_dependency "unparser", ">= 0.6"
47
38
  end
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Philippe Duchesne
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-09 00:00:00.000000000 Z
11
+ date: 2026-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.1'
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
26
  version: '2.1'
27
- - !ruby/object:Gem::Dependency
28
- name: coveralls
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '0.8'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '0.8'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: minitest
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -70,58 +56,58 @@ dependencies:
70
56
  name: pry
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - "~>"
59
+ - - ">="
74
60
  - !ruby/object:Gem::Version
75
- version: '0.13'
61
+ version: '0.14'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - "~>"
66
+ - - ">="
81
67
  - !ruby/object:Gem::Version
82
- version: '0.13'
68
+ version: '0.14'
83
69
  - !ruby/object:Gem::Dependency
84
- name: pry-byebug
70
+ name: rake
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - "~>"
88
74
  - !ruby/object:Gem::Version
89
- version: '3.9'
75
+ version: '13.0'
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
- version: '3.9'
82
+ version: '13.0'
97
83
  - !ruby/object:Gem::Dependency
98
- name: rake
84
+ name: simplecov
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
87
  - - "~>"
102
88
  - !ruby/object:Gem::Version
103
- version: '13.0'
89
+ version: '0.22'
104
90
  type: :development
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
94
  - - "~>"
109
95
  - !ruby/object:Gem::Version
110
- version: '13.0'
96
+ version: '0.22'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: ast_transform
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
101
  - - "~>"
116
102
  - !ruby/object:Gem::Version
117
- version: '1.0'
103
+ version: '2.0'
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
108
  - - "~>"
123
109
  - !ruby/object:Gem::Version
124
- version: '1.0'
110
+ version: '2.0'
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: minitest
127
113
  requirement: !ruby/object:Gem::Requirement
@@ -140,44 +126,44 @@ dependencies:
140
126
  name: mocha
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
- - - "~>"
129
+ - - ">="
144
130
  - !ruby/object:Gem::Version
145
131
  version: '1.0'
146
132
  type: :runtime
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
135
  requirements:
150
- - - "~>"
136
+ - - ">="
151
137
  - !ruby/object:Gem::Version
152
138
  version: '1.0'
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: parser
155
141
  requirement: !ruby/object:Gem::Requirement
156
142
  requirements:
157
- - - "~>"
143
+ - - ">="
158
144
  - !ruby/object:Gem::Version
159
- version: '2.5'
145
+ version: '3.0'
160
146
  type: :runtime
161
147
  prerelease: false
162
148
  version_requirements: !ruby/object:Gem::Requirement
163
149
  requirements:
164
- - - "~>"
150
+ - - ">="
165
151
  - !ruby/object:Gem::Version
166
- version: '2.5'
152
+ version: '3.0'
167
153
  - !ruby/object:Gem::Dependency
168
154
  name: unparser
169
155
  requirement: !ruby/object:Gem::Requirement
170
156
  requirements:
171
- - - "~>"
157
+ - - ">="
172
158
  - !ruby/object:Gem::Version
173
- version: '0.4'
159
+ version: '0.6'
174
160
  type: :runtime
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
- - - "~>"
164
+ - - ">="
179
165
  - !ruby/object:Gem::Version
180
- version: '0.4'
166
+ version: '0.6'
181
167
  description: Data-driven testing framework.
182
168
  email:
183
169
  - jpduchesne89@gmail.com
@@ -185,8 +171,9 @@ executables: []
185
171
  extensions: []
186
172
  extra_rdoc_files: []
187
173
  files:
174
+ - ".github/workflows/ci.yml"
175
+ - ".github/workflows/release.yml"
188
176
  - ".gitignore"
189
- - ".travis.yml"
190
177
  - CHANGELOG.md
191
178
  - CODE_OF_CONDUCT.md
192
179
  - Gemfile
@@ -228,28 +215,27 @@ files:
228
215
  - lib/rspock/tasks/truth_table.rb
229
216
  - lib/rspock/version.rb
230
217
  - rspock.gemspec
231
- homepage: https://github.com/jpduchesne/rspock
218
+ homepage: https://github.com/rspockframework/rspock
232
219
  licenses:
233
220
  - MIT
234
221
  metadata: {}
235
- post_install_message:
222
+ post_install_message:
236
223
  rdoc_options: []
237
224
  require_paths:
238
225
  - lib
239
226
  required_ruby_version: !ruby/object:Gem::Requirement
240
227
  requirements:
241
- - - "~>"
228
+ - - ">="
242
229
  - !ruby/object:Gem::Version
243
- version: '2.5'
230
+ version: '3.2'
244
231
  required_rubygems_version: !ruby/object:Gem::Requirement
245
232
  requirements:
246
233
  - - ">="
247
234
  - !ruby/object:Gem::Version
248
235
  version: '0'
249
236
  requirements: []
250
- rubyforge_project:
251
- rubygems_version: 2.7.7
252
- signing_key:
237
+ rubygems_version: 3.5.22
238
+ signing_key:
253
239
  specification_version: 4
254
240
  summary: Data-driven testing framework.
255
241
  test_files: []
data/.travis.yml DELETED
@@ -1,28 +0,0 @@
1
- language: ruby
2
-
3
- rvm:
4
- - 2.5
5
- - 2.6
6
- - 2.7
7
-
8
- install: ./bin/setup
9
-
10
- jobs:
11
- include:
12
- - stage: deploy
13
- rvm: 2.7
14
- install: ./bin/setup
15
- script:
16
- - echo Deploy
17
- - echo $TRAVIS_PULL_REQUEST
18
- - echo $TRAVIS_BRANCH
19
- - echo $TRAVIS_TAG
20
- deploy:
21
- provider: rubygems
22
- gemspec: rspock.gemspec
23
- gem: rspock
24
- on:
25
- all_branches: true
26
- condition: '"$TRAVIS_PULL_REQUEST" = "false" && ( "$TRAVIS_BRANCH" = "master" || "$TRAVIS_BRANCH" = "$TRAVIS_TAG" )'
27
- api_key:
28
- secure: rIfUyBSv8ETaJ06vDiVGnhjNG9aiwa+h5ud/8D7/ieJQzpbvZY7N+5R5buHcEIdWIpj/FrkO8H1QuTrB8VDpa+ckDzAXoQKf7EsXtZYGPEwLymfpVCIzix8/8Wbu2lmsLwexAFDZ3YWUZHga1hOc+FuiI2I0TiFsjnzU+mPxdKnpDH1H2ZAUecW0DcEb3zEVtTV4oSgGMYPG2493gjUFnVAEbq1ODPtLKJ2qQw2R0Es20h1QQ0w06LNCcQ9XfoJY/aWTQJHp9uolmhXh97/NTntNvPTXDhv6aCTldtI/A5PuRl03CRtsHd5qLNt23hSCNBGnkZx1uEirTVSfSrha/XOJ4OopMYYa4DkbzSLC/yfpyfdvqW+ewymbOf9EjVqkQVtKb9rul8Gw5QlVQNhu+zpL0zTsC4BLmna4PrtqjeUVkhsOtXpE+rMDFjrjbFS89+VwHLzGipJDA4N5eRv1NB5s4Lkj5CExOBG2MsKlxN0+KYe5Gm255lP+JI9TUgV+26BitStBpZLv1/brLR5Ui9Z5U+4mH6f/DRLgMl8cOkuv9VABn6NEcFW3gbmVs4TaykcQdiozOIat7Zi+H4PcZ2bZcMvY8qCZgcEJDepg9nF4ArnxYlrnYkKdEM7jleryNS6whVM67k6IfrQnDyesvI5gsH4YNAkMtVl1TYPDa7s=