vidsy-data-api 0.1.2 → 0.2.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: f164086a7b9c57f89efd356880bf4cf804761fef
4
- data.tar.gz: 54e651b9b898318f9387088fb3db1beeb884dc47
3
+ metadata.gz: 3dd50e235e37f091cf6a2042467970d1ab7a8798
4
+ data.tar.gz: a4405ca330ff8c5f08a132ec4f4c9a9ee9d5d57c
5
5
  SHA512:
6
- metadata.gz: f1661ec07a58f039ab0ed1908e481dda981eccaf72bb31a9ee2d1b885b17ed6f74e5a59c74adb08c312d83e5f3a3a8251d51e2a50113e80d0fbd8e89f9f62c5a
7
- data.tar.gz: b00cb07ba799352564d422a9e28572c14980f0c3bf805d5bbead7ded10efcf771bc66dc4b4bf42ec4c649a563e66b124e4e13bcf0a60c35ced01038234675a0e
6
+ metadata.gz: 016d2184b1cba28e16c4b602e588f6dd193a78a4a958ec409c38e4bd262367ca04f85d71c18b203d93e0f45389c9d118176194a6509995ee1ff51b0080704034
7
+ data.tar.gz: 94b1e76f3540c9386abd3b0e2aa913d2e4f449322989d221e266e1fcebbbb10d123cda75c3be51a3c3b48fd1ed2957f213602f6fdd7c9d641fa20a31e44ddf5f
@@ -0,0 +1,14 @@
1
+ require "vidsy/data/api/client"
2
+
3
+ module Vidsy
4
+ module Data
5
+ module API
6
+ class Brand < Client
7
+ def self.all
8
+ brands = get "#{routes.brands}"
9
+ brands.size == 0 ? nil : brands
10
+ end
11
+ end
12
+ end
13
+ end
14
+ end
@@ -1,7 +1,7 @@
1
1
  module Vidsy
2
2
  module Data
3
3
  module API
4
- VERSION = "0.1.2"
4
+ VERSION = "0.2.0"
5
5
  end
6
6
  end
7
7
  end
@@ -18,6 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ["lib"]
19
19
 
20
20
  spec.add_development_dependency "bundler", "~> 1.11"
21
+ spec.add_development_dependency "pry"
21
22
  spec.add_development_dependency "rake", "~> 10.0"
22
23
  spec.add_development_dependency "rspec", "~> 3.0"
23
24
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidsy-data-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Revett
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-26 00:00:00.000000000 Z
11
+ date: 2016-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rake
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -89,6 +103,7 @@ extra_rdoc_files: []
89
103
  files:
90
104
  - Gemfile
91
105
  - lib/vidsy/data/api.rb
106
+ - lib/vidsy/data/api/brand.rb
92
107
  - lib/vidsy/data/api/client.rb
93
108
  - lib/vidsy/data/api/user.rb
94
109
  - lib/vidsy/data/api/version.rb