apicco-sdk 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/{apicco_sdk.gemspec → apicco-sdk.gemspec} +1 -1
- data/bin/console +1 -1
- data/bin/publish +1 -1
- data/lib/apicco-sdk.rb +5 -0
- data/lib/{apicco_sdk → apicco-sdk}/client.rb +0 -0
- data/lib/{apicco_sdk → apicco-sdk}/helpers.rb +0 -0
- data/lib/{apicco_sdk → apicco-sdk}/version.rb +1 -1
- metadata +7 -8
- data/bin/version.sh +0 -8
- data/lib/apicco_sdk.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd05de12f74a1a200eeed70af4c9fa6a719161918201d35ebc44e0c838314c11
|
4
|
+
data.tar.gz: ccdb6da5ff776c56ffae8dd8b222335f3008af14146653104db36f4e16d0b875
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfa4ea15952d5db044c37eacc0484c93888b61a23aa5575e874f6e5034cb7eba2765566f66ba29cf5b80752938ec73a0ff18ecafbc3fc456a63bf27addbc73df
|
7
|
+
data.tar.gz: 134a4e54e0335e3fdb01555b338db643055c4d97ccee86c8db0b89f747661b7ef8fbab6ad929f8a7f58da02645c549752c107c1c981d4d3e543e4e4b5e9c7a1c
|
data/README.md
CHANGED
@@ -15,7 +15,7 @@ POST /api/movies.delete api.movies_delete(movie_id: 42)
|
|
15
15
|
## Usage
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
require 'apicco-sdk'
|
18
|
+
> require 'apicco-sdk'
|
19
19
|
> token = 'deadbeef'
|
20
20
|
> intercept = ->(req) { req[:headers]["Authorization"]="Bearer #{token}" }
|
21
21
|
> api = ::ApiccoSDK::Client.new('http://example.com', rel_path:'api/v2', intercept:intercept)
|
data/bin/console
CHANGED
data/bin/publish
CHANGED
data/lib/apicco-sdk.rb
ADDED
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apicco-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitris Klouvas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -149,15 +149,14 @@ files:
|
|
149
149
|
- Gemfile
|
150
150
|
- README.md
|
151
151
|
- Rakefile
|
152
|
-
-
|
152
|
+
- apicco-sdk.gemspec
|
153
153
|
- bin/console
|
154
154
|
- bin/publish
|
155
155
|
- bin/setup
|
156
|
-
-
|
157
|
-
- lib/
|
158
|
-
- lib/
|
159
|
-
- lib/
|
160
|
-
- lib/apicco_sdk/version.rb
|
156
|
+
- lib/apicco-sdk.rb
|
157
|
+
- lib/apicco-sdk/client.rb
|
158
|
+
- lib/apicco-sdk/helpers.rb
|
159
|
+
- lib/apicco-sdk/version.rb
|
161
160
|
homepage: https://github.com/sokratisvidros/apicco#readme
|
162
161
|
licenses:
|
163
162
|
- MIT
|
data/bin/version.sh
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
gem bump --version ${1:-'patch'} --no-commit
|
3
|
-
|
4
|
-
_package=`node -e "console.log(require('./package.json').name)"`
|
5
|
-
_version=`npm version --no-git-tag-version ${1:-'patch'}`
|
6
|
-
|
7
|
-
git commit -am "Version bump $_package@$_version"
|
8
|
-
# git tag "$_package@$_version"
|