vidsy-data-api 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vidsy/data/api/version.rb +1 -1
- data/vidsy-data-api.gemspec +1 -1
- metadata +1 -4
- data/.gitignore +0 -10
- data/README.md +0 -23
- data/Rakefile +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f164086a7b9c57f89efd356880bf4cf804761fef
|
4
|
+
data.tar.gz: 54e651b9b898318f9387088fb3db1beeb884dc47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1661ec07a58f039ab0ed1908e481dda981eccaf72bb31a9ee2d1b885b17ed6f74e5a59c74adb08c312d83e5f3a3a8251d51e2a50113e80d0fbd8e89f9f62c5a
|
7
|
+
data.tar.gz: b00cb07ba799352564d422a9e28572c14980f0c3bf805d5bbead7ded10efcf771bc66dc4b4bf42ec4c649a563e66b124e4e13bcf0a60c35ced01038234675a0e
|
data/vidsy-data-api.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q{We're hiring! http://vidsy.co/jobs}
|
13
13
|
spec.homepage = "http://vidsy.co/jobs"
|
14
14
|
|
15
|
-
spec.files = `git ls-files -z`.split("\x0").
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{\A(vidsy-data-api.gemspec|lib|Gemfile)}) }
|
16
16
|
spec.bindir = "exe"
|
17
17
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
18
|
spec.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vidsy-data-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charlie Revett
|
@@ -87,10 +87,7 @@ executables: []
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
-
- ".gitignore"
|
91
90
|
- Gemfile
|
92
|
-
- README.md
|
93
|
-
- Rakefile
|
94
91
|
- lib/vidsy/data/api.rb
|
95
92
|
- lib/vidsy/data/api/client.rb
|
96
93
|
- lib/vidsy/data/api/user.rb
|
data/.gitignore
DELETED
data/README.md
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
<h1 align="center">Vidsy Data API</h1>
|
2
|
-
|
3
|
-
<p align="center">
|
4
|
-
Ruby gem which wraps the Vidsy Data API.
|
5
|
-
</p>
|
6
|
-
|
7
|
-
### Config
|
8
|
-
|
9
|
-
```ruby
|
10
|
-
require "vidsy/data/api"
|
11
|
-
|
12
|
-
routes = {
|
13
|
-
:user => "/user",
|
14
|
-
:video => "/video"
|
15
|
-
}
|
16
|
-
|
17
|
-
Vidsy::Data::API::Client.tap do |c|
|
18
|
-
c.set_api_key "xxx"
|
19
|
-
c.set_endpoint "http://default.docker.vm:5001"
|
20
|
-
c.set_routes routes
|
21
|
-
c.set_version "v1"
|
22
|
-
end
|
23
|
-
```
|