apiaryio 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +12 -7
- data/.github/workflows/release.yml +24 -0
- data/.github/workflows/test.yml +29 -0
- data/CHANGELOG.md +8 -0
- data/Dockerfile +1 -1
- data/apiary.gemspec +4 -4
- data/lib/apiary/version.rb +1 -1
- metadata +16 -15
- data/.travis.yml +0 -18
- data/appveyor.yml +0 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 593ad9a471a2fbd9ffb2c89f310185851fb8ebe6
|
4
|
+
data.tar.gz: 64c7c98faa29b31e582b99dcbf79e805f6ec22ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1254e696a7d914c620e6046f77c4eb3dbbb86fe5dbb1fa50055ac61d0a7c095aba0b939e53f722851a9a484f8b18b9f13fbf0b601e5920b7f2675555adcff072
|
7
|
+
data.tar.gz: de2e8d11a34b9336e102330a97255cdf559bc1a1e8919248885b5715040a3e042c61313c2d29a58c888b6c14b84f9054f366fef206f3a81b0cf5cd1f7fa257cc
|
data/.circleci/config.yml
CHANGED
@@ -3,13 +3,14 @@ workflows:
|
|
3
3
|
version: 2
|
4
4
|
test:
|
5
5
|
jobs:
|
6
|
-
- test-2.3
|
7
6
|
- test-2.4
|
8
7
|
- test-2.5
|
8
|
+
- test-2.6
|
9
|
+
- test-2.7
|
9
10
|
jobs:
|
10
|
-
test-2.
|
11
|
+
test-2.4: &test-template
|
11
12
|
docker:
|
12
|
-
- image: circleci/ruby:2.
|
13
|
+
- image: circleci/ruby:2.4-browsers
|
13
14
|
steps:
|
14
15
|
- checkout
|
15
16
|
- run:
|
@@ -32,11 +33,15 @@ jobs:
|
|
32
33
|
name: Run cucumber
|
33
34
|
command: |
|
34
35
|
bundle exec cucumber
|
35
|
-
test-2.4:
|
36
|
-
<<: *test-template
|
37
|
-
docker:
|
38
|
-
- image: circleci/ruby:2.4-browsers
|
39
36
|
test-2.5:
|
40
37
|
<<: *test-template
|
41
38
|
docker:
|
42
39
|
- image: circleci/ruby:2.5-browsers
|
40
|
+
test-2.6:
|
41
|
+
<<: *test-template
|
42
|
+
docker:
|
43
|
+
- image: circleci/ruby:2.6-browsers
|
44
|
+
test-2.7:
|
45
|
+
<<: *test-template
|
46
|
+
docker:
|
47
|
+
- image: circleci/ruby:2.7-browsers
|
@@ -0,0 +1,24 @@
|
|
1
|
+
name: release
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
tags: [v*]
|
5
|
+
jobs:
|
6
|
+
docker:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
steps:
|
9
|
+
- name: Checkout
|
10
|
+
uses: actions/checkout@v2
|
11
|
+
- name: Login to docker
|
12
|
+
uses: azure/docker-login@v1
|
13
|
+
with:
|
14
|
+
username: ${{ secrets.DOCKER_USERNAME }}
|
15
|
+
password: ${{ secrets.DOCKER_PASSWORD }}
|
16
|
+
- name: Get the version
|
17
|
+
id: version
|
18
|
+
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
|
19
|
+
- name: Docker Build and Release
|
20
|
+
run: |
|
21
|
+
docker build . -t apiaryio/client
|
22
|
+
docker tag apiaryio/client apiaryio/client:${{ steps.version.outputs.VERSION }}
|
23
|
+
docker push apiaryio/client
|
24
|
+
docker push apiaryio/client:${{ steps.version.outputs.VERSION }}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
name: test
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches: [master]
|
5
|
+
pull_request:
|
6
|
+
branches: [master]
|
7
|
+
types: [opened, reopened, synchronize]
|
8
|
+
jobs:
|
9
|
+
test:
|
10
|
+
runs-on: ${{ matrix.os }}
|
11
|
+
strategy:
|
12
|
+
matrix:
|
13
|
+
os: ["windows-latest", "ubuntu-latest"]
|
14
|
+
ruby: ["2.7.x", "2.6.x", "2.5.x", "2.4.x"]
|
15
|
+
steps:
|
16
|
+
- uses: actions/checkout@v2
|
17
|
+
- name: Set up Ruby
|
18
|
+
uses: actions/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: ${{ matrix.ruby }}
|
21
|
+
- name: Set up Bundler
|
22
|
+
run: gem install bundler --no-document
|
23
|
+
- name: Install dependencies
|
24
|
+
run: bundle install
|
25
|
+
- name: Run test
|
26
|
+
run: bundle exec rspec spec
|
27
|
+
- name: Run cucumber tests
|
28
|
+
if: matrix.os != 'windows-latest'
|
29
|
+
run: bundle exec cucumber
|
data/CHANGELOG.md
ADDED
data/Dockerfile
CHANGED
data/apiary.gemspec
CHANGED
@@ -25,13 +25,13 @@ Gem::Specification.new do |gem|
|
|
25
25
|
|
26
26
|
gem.add_runtime_dependency 'rest-client', '~> 2.0'
|
27
27
|
gem.add_runtime_dependency 'rack', '~> 2.0.0'
|
28
|
-
gem.add_runtime_dependency 'thor', '~> 0.
|
29
|
-
gem.add_runtime_dependency 'json', '~> 1
|
28
|
+
gem.add_runtime_dependency 'thor', '~> 0.20.3'
|
29
|
+
gem.add_runtime_dependency 'json', '~> 2.1'
|
30
30
|
gem.add_runtime_dependency 'launchy', '~> 2.4'
|
31
|
-
gem.add_runtime_dependency 'listen', '~>
|
31
|
+
gem.add_runtime_dependency 'listen', '~> 3.0'
|
32
32
|
|
33
33
|
gem.add_development_dependency 'bundler', '~> 2.0'
|
34
|
-
gem.add_development_dependency 'rake', '
|
34
|
+
gem.add_development_dependency 'rake', '>= 12.3.3'
|
35
35
|
gem.add_development_dependency 'rspec', '~> 3.4'
|
36
36
|
gem.add_development_dependency 'webmock', '>= 2.2.0'
|
37
37
|
gem.add_development_dependency 'aruba', '~> 0.14'
|
data/lib/apiary/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apiaryio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apiary Ltd.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.20.3
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.20.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: json
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1
|
61
|
+
version: '2.1'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '1
|
68
|
+
version: '2.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: launchy
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '3.0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '3.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: bundler
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,16 +112,16 @@ dependencies:
|
|
112
112
|
name: rake
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 12.3.3
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 12.3.3
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rspec
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,17 +201,18 @@ extensions: []
|
|
201
201
|
extra_rdoc_files: []
|
202
202
|
files:
|
203
203
|
- ".circleci/config.yml"
|
204
|
+
- ".github/workflows/release.yml"
|
205
|
+
- ".github/workflows/test.yml"
|
204
206
|
- ".gitignore"
|
205
207
|
- ".rspec"
|
206
208
|
- ".rubocop_todo.yml"
|
207
|
-
-
|
209
|
+
- CHANGELOG.md
|
208
210
|
- Dockerfile
|
209
211
|
- Gemfile
|
210
212
|
- LICENSE
|
211
213
|
- README.md
|
212
214
|
- Rakefile
|
213
215
|
- apiary.gemspec
|
214
|
-
- appveyor.yml
|
215
216
|
- bin/apiary
|
216
217
|
- features/fetch.feature
|
217
218
|
- features/preview.feature
|
@@ -275,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
275
276
|
version: '0'
|
276
277
|
requirements: []
|
277
278
|
rubyforge_project:
|
278
|
-
rubygems_version: 2.
|
279
|
+
rubygems_version: 2.5.2.3
|
279
280
|
signing_key:
|
280
281
|
specification_version: 4
|
281
282
|
summary: Apiary.io CLI
|
data/.travis.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
sudo: false
|
3
|
-
rvm:
|
4
|
-
- "ruby-2.3.1"
|
5
|
-
- "ruby-2.4.0"
|
6
|
-
- "ruby-2.5.0"
|
7
|
-
- "jruby-9.1.0.0"
|
8
|
-
|
9
|
-
matrix:
|
10
|
-
allow_failures:
|
11
|
-
- rvm: rbx-2
|
12
|
-
cache: bundler
|
13
|
-
before_install:
|
14
|
-
- gem update --system
|
15
|
-
- gem update bundler
|
16
|
-
script:
|
17
|
-
- bundle exec rspec spec
|
18
|
-
- bundle exec cucumber
|
data/appveyor.yml
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
---
|
2
|
-
version: "{branch}-{build}"
|
3
|
-
|
4
|
-
clone_depth: 10
|
5
|
-
|
6
|
-
build: off
|
7
|
-
|
8
|
-
install:
|
9
|
-
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
|
10
|
-
- gem install bundler -f
|
11
|
-
- bundle config --local path vendor/bundle
|
12
|
-
- bundle install
|
13
|
-
|
14
|
-
before_test:
|
15
|
-
- ruby --version
|
16
|
-
- gem --version
|
17
|
-
- bundler --version
|
18
|
-
|
19
|
-
test_script:
|
20
|
-
- bundle exec rspec spec
|
21
|
-
|
22
|
-
artifacts:
|
23
|
-
- path: pkg\*.gem
|
24
|
-
|
25
|
-
cache:
|
26
|
-
- vendor/bundle
|
27
|
-
|
28
|
-
environment:
|
29
|
-
matrix:
|
30
|
-
- ruby_version: 23
|
31
|
-
- ruby_version: 24
|
32
|
-
- ruby_version: 25
|