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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f1c77ce5e818f6c2db82b6d6b43c751facb7eb2d46dd2e63a3afde6e8192af4
4
- data.tar.gz: 0bb26bbae5c365f893116e1f404e0bac2b9427bb7ce094cbad9711c675d82046
3
+ metadata.gz: dd05de12f74a1a200eeed70af4c9fa6a719161918201d35ebc44e0c838314c11
4
+ data.tar.gz: ccdb6da5ff776c56ffae8dd8b222335f3008af14146653104db36f4e16d0b875
5
5
  SHA512:
6
- metadata.gz: e76ff5a137c475e0b9b69b1a24e270f8e57c260c0de5bbb637301e796ee81a61993daabff928456dd6f7853a40775c30bf66f57a9b29ebe5bcf78cd578015078
7
- data.tar.gz: 2abc94f83a75f48808215d3f56216c64488fb826e6879e1d72d6a7c3c02b90235064692e57f76cecf3cc210ef03001a63587532886ff49e9e6461d98a0c502ce
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)
@@ -1,6 +1,6 @@
1
1
  lib = File.expand_path("../lib", __FILE__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require "apicco_sdk/version"
3
+ require "apicco-sdk/version"
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "apicco-sdk"
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "apicco_sdk"
4
+ require "apicco-sdk"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env bash
2
- gem build apicco_sdk.gemspec
2
+ gem build apicco-sdk.gemspec
3
3
  gem push apicco-sdk-*.gem
4
4
  rm apicco-sdk-*.gem
@@ -0,0 +1,5 @@
1
+ require "json"
2
+ require "rest-client"
3
+ require "apicco-sdk/version"
4
+ require "apicco-sdk/helpers"
5
+ require "apicco-sdk/client"
File without changes
@@ -1,3 +1,3 @@
1
1
  module ApiccoSDK
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
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.1
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-18 00:00:00.000000000 Z
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
- - apicco_sdk.gemspec
152
+ - apicco-sdk.gemspec
153
153
  - bin/console
154
154
  - bin/publish
155
155
  - bin/setup
156
- - bin/version.sh
157
- - lib/apicco_sdk.rb
158
- - lib/apicco_sdk/client.rb
159
- - lib/apicco_sdk/helpers.rb
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
@@ -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"
@@ -1,5 +0,0 @@
1
- require "json"
2
- require "rest-client"
3
- require "apicco_sdk/version"
4
- require "apicco_sdk/helpers"
5
- require "apicco_sdk/client"