apiaryio 0.11.1 → 0.12.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 +4 -4
- data/.circleci/config.yml +42 -0
- data/.gitignore +7 -0
- data/.travis.yml +1 -1
- data/lib/apiary/command/publish.rb +1 -4
- data/lib/apiary/version.rb +1 -1
- metadata +4 -4
- data/circle.yml +0 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b5a9a508ac91fb4ca1ab87d4c049d9f9f88551d
|
|
4
|
+
data.tar.gz: 92cf2656707a7051409ebcb3d91f4eb434d0d9b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 005253ed36028b9611b035c836bf8a344a41eb23b817f960ce10148830137b591fa2290abfbe4a498711f27927fa95be60b454618a5e0ee5c84cbefadbaf87ba
|
|
7
|
+
data.tar.gz: e79a3fb738bf9b5c5f0a1a33757f1e60234c8f4e197c51ef400f6a4787108aa95e268a34a3549d62e747d726dbfa26297d23f1e114c421cbc3309749ef6714fd
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
workflows:
|
|
3
|
+
version: 2
|
|
4
|
+
test:
|
|
5
|
+
jobs:
|
|
6
|
+
- test-2.3
|
|
7
|
+
- test-2.4
|
|
8
|
+
- test-2.5
|
|
9
|
+
jobs:
|
|
10
|
+
test-2.3: &test-template
|
|
11
|
+
docker:
|
|
12
|
+
- image: circleci/ruby:2.3-browsers
|
|
13
|
+
steps:
|
|
14
|
+
- checkout
|
|
15
|
+
- run:
|
|
16
|
+
name: Install bundler
|
|
17
|
+
command: |
|
|
18
|
+
gem install bundler
|
|
19
|
+
- run:
|
|
20
|
+
name: Install deps
|
|
21
|
+
command: |
|
|
22
|
+
bundle install
|
|
23
|
+
- run:
|
|
24
|
+
name: Run rubocop
|
|
25
|
+
command: |
|
|
26
|
+
bundle exec rubocop --config .rubocop_todo.yml
|
|
27
|
+
- run:
|
|
28
|
+
name: Run rspec
|
|
29
|
+
command: |
|
|
30
|
+
bundle exec rspec spec
|
|
31
|
+
- run:
|
|
32
|
+
name: Run cucumber
|
|
33
|
+
command: |
|
|
34
|
+
bundle exec cucumber
|
|
35
|
+
test-2.4:
|
|
36
|
+
<<: *test-template
|
|
37
|
+
docker:
|
|
38
|
+
- image: circleci/ruby:2.4-browsers
|
|
39
|
+
test-2.5:
|
|
40
|
+
<<: *test-template
|
|
41
|
+
docker:
|
|
42
|
+
- image: circleci/ruby:2.5-browsers
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
|
@@ -58,11 +58,8 @@ module Apiary::Command
|
|
|
58
58
|
|
|
59
59
|
return if source.nil?
|
|
60
60
|
|
|
61
|
-
begin
|
|
62
|
-
JSON.parse(source)
|
|
63
|
-
abort('Did you forget the --json flag?') unless @options.json
|
|
64
|
-
rescue; end
|
|
65
61
|
source = convert_from_json(source) if @options.json
|
|
62
|
+
|
|
66
63
|
data = {
|
|
67
64
|
code: source,
|
|
68
65
|
messageToSave: @options.message,
|
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.12.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: 2018-
|
|
11
|
+
date: 2018-11-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|
|
@@ -200,6 +200,7 @@ executables:
|
|
|
200
200
|
extensions: []
|
|
201
201
|
extra_rdoc_files: []
|
|
202
202
|
files:
|
|
203
|
+
- ".circleci/config.yml"
|
|
203
204
|
- ".gitignore"
|
|
204
205
|
- ".rspec"
|
|
205
206
|
- ".rubocop_todo.yml"
|
|
@@ -212,7 +213,6 @@ files:
|
|
|
212
213
|
- apiary.gemspec
|
|
213
214
|
- appveyor.yml
|
|
214
215
|
- bin/apiary
|
|
215
|
-
- circle.yml
|
|
216
216
|
- features/fetch.feature
|
|
217
217
|
- features/preview.feature
|
|
218
218
|
- features/publish.feature
|
|
@@ -275,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
275
275
|
version: '0'
|
|
276
276
|
requirements: []
|
|
277
277
|
rubyforge_project:
|
|
278
|
-
rubygems_version: 2.
|
|
278
|
+
rubygems_version: 2.5.2.3
|
|
279
279
|
signing_key:
|
|
280
280
|
specification_version: 4
|
|
281
281
|
summary: Apiary.io CLI
|
data/circle.yml
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
machine:
|
|
2
|
-
environment:
|
|
3
|
-
RUBY_VERSIONS: 2.2.2,2.3.1,2.4.0,2.5.0
|
|
4
|
-
|
|
5
|
-
dependencies:
|
|
6
|
-
override:
|
|
7
|
-
- rvm get head
|
|
8
|
-
- rvm install $RUBY_VERSIONS
|
|
9
|
-
- rvm $RUBY_VERSIONS --verbose do gem install bundler
|
|
10
|
-
- rvm $RUBY_VERSIONS --verbose do bundle install
|
|
11
|
-
|
|
12
|
-
test:
|
|
13
|
-
override:
|
|
14
|
-
- rvm $RUBY_VERSIONS --verbose do bundle exec rubocop --config .rubocop_todo.yml
|
|
15
|
-
- rvm $RUBY_VERSIONS --verbose do bundle exec rspec spec
|
|
16
|
-
- rvm $RUBY_VERSIONS --verbose do bundle exec cucumber
|