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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca172a477a7f9278a2574bed856538adf54ddcfb
4
- data.tar.gz: 4cc86962d31b818fa3ea5b3b8f0ff72529e401b9
3
+ metadata.gz: 593ad9a471a2fbd9ffb2c89f310185851fb8ebe6
4
+ data.tar.gz: 64c7c98faa29b31e582b99dcbf79e805f6ec22ff
5
5
  SHA512:
6
- metadata.gz: c76e2481fe726a420d73da8bfa1af4dbf050fdb66a9ee98c74f61a22006390d7b16b943acd06173dc7b09109691dfc7ea5dfd0249c71cb69fc4d2b1cad5df13b
7
- data.tar.gz: d5daa7b88e8fba01946620ca24174f6d0c58eab0dfc13d1d4fd0f3671f2b5babf5d34e8b9371c3e0490b52d21c94601537df9da2508a6155f72c35d9d45f7bd3
6
+ metadata.gz: 1254e696a7d914c620e6046f77c4eb3dbbb86fe5dbb1fa50055ac61d0a7c095aba0b939e53f722851a9a484f8b18b9f13fbf0b601e5920b7f2675555adcff072
7
+ data.tar.gz: de2e8d11a34b9336e102330a97255cdf559bc1a1e8919248885b5715040a3e042c61313c2d29a58c888b6c14b84f9054f366fef206f3a81b0cf5cd1f7fa257cc
@@ -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.3: &test-template
11
+ test-2.4: &test-template
11
12
  docker:
12
- - image: circleci/ruby:2.3-browsers
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
@@ -0,0 +1,8 @@
1
+ # Chaneglog
2
+
3
+ ## Unreleased
4
+
5
+ ## 0.14.0
6
+
7
+ ### Breaking
8
+ * Remove support for ruby 2.3
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM coopermaa/alpine-ruby:2.2
1
+ FROM ruby:2.4-alpine
2
2
  RUN apk add --update build-base && rm /var/cache/apk/*
3
3
  RUN gem install apiaryio
4
4
  ENTRYPOINT ["apiary"]
@@ -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.19.1'
29
- gem.add_runtime_dependency 'json', '~> 1.8'
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', '~> 2.0'
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', '~> 10.0'
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'
@@ -1,3 +1,3 @@
1
1
  module Apiary
2
- VERSION = '0.13.0'.freeze
2
+ VERSION = '0.14.0'.freeze
3
3
  end
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.13.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: 2019-05-22 00:00:00.000000000 Z
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.19.1
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.19.1
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.8'
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.8'
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: '2.0'
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: '2.0'
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: '10.0'
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: '10.0'
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
- - ".travis.yml"
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.4.8
279
+ rubygems_version: 2.5.2.3
279
280
  signing_key:
280
281
  specification_version: 4
281
282
  summary: Apiary.io CLI
@@ -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
@@ -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