yt 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +2 -0
  4. data/CHANGELOG.md +31 -33
  5. data/README.md +94 -3
  6. data/lib/yt.rb +1 -0
  7. data/lib/yt/actions/base.rb +19 -0
  8. data/lib/yt/actions/insert.rb +2 -0
  9. data/lib/yt/actions/list.rb +0 -7
  10. data/lib/yt/actions/modify.rb +2 -0
  11. data/lib/yt/collections/assets.rb +32 -0
  12. data/lib/yt/collections/authentications.rb +1 -0
  13. data/lib/yt/collections/claims.rb +16 -1
  14. data/lib/yt/collections/ownerships.rb +34 -0
  15. data/lib/yt/collections/references.rb +2 -12
  16. data/lib/yt/collections/resources.rb +0 -10
  17. data/lib/yt/models/account.rb +1 -1
  18. data/lib/yt/models/advertising_options_set.rb +33 -0
  19. data/lib/yt/models/asset.rb +100 -0
  20. data/lib/yt/models/channel.rb +1 -1
  21. data/lib/yt/models/claim.rb +22 -0
  22. data/lib/yt/models/content_owner.rb +16 -4
  23. data/lib/yt/models/match_policy.rb +2 -12
  24. data/lib/yt/models/ownership.rb +70 -0
  25. data/lib/yt/models/reference.rb +1 -1
  26. data/lib/yt/models/request.rb +13 -2
  27. data/lib/yt/models/resource.rb +0 -10
  28. data/lib/yt/models/resumable_session.rb +1 -0
  29. data/lib/yt/models/right_owner.rb +69 -0
  30. data/lib/yt/version.rb +1 -1
  31. data/spec/models/asset_spec.rb +20 -0
  32. data/spec/models/ownership_spec.rb +59 -0
  33. data/spec/models/right_owner_spec.rb +71 -0
  34. data/spec/requests/as_content_owner/advertising_options_set_spec.rb +15 -0
  35. data/spec/requests/as_content_owner/asset_spec.rb +12 -0
  36. data/spec/requests/as_content_owner/content_owner_spec.rb +37 -2
  37. data/spec/requests/as_content_owner/ownership_spec.rb +19 -0
  38. metadata +21 -3
  39. data/Gemfile.lock +0 -69
@@ -1,69 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- yt (0.11.1)
5
- activesupport
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- activesupport (4.1.4)
11
- i18n (~> 0.6, >= 0.6.9)
12
- json (~> 1.7, >= 1.7.7)
13
- minitest (~> 5.1)
14
- thread_safe (~> 0.1)
15
- tzinfo (~> 1.1)
16
- coveralls (0.7.0)
17
- multi_json (~> 1.3)
18
- rest-client
19
- simplecov (>= 0.7)
20
- term-ansicolor
21
- thor
22
- diff-lcs (1.2.5)
23
- docile (1.1.5)
24
- i18n (0.6.11)
25
- json (1.8.1)
26
- mime-types (2.3)
27
- minitest (5.4.0)
28
- multi_json (1.10.1)
29
- netrc (0.7.7)
30
- rake (10.3.2)
31
- rest-client (1.7.2)
32
- mime-types (>= 1.16, < 3.0)
33
- netrc (~> 0.7)
34
- rspec (3.0.0)
35
- rspec-core (~> 3.0.0)
36
- rspec-expectations (~> 3.0.0)
37
- rspec-mocks (~> 3.0.0)
38
- rspec-core (3.0.3)
39
- rspec-support (~> 3.0.0)
40
- rspec-expectations (3.0.3)
41
- diff-lcs (>= 1.2.0, < 2.0)
42
- rspec-support (~> 3.0.0)
43
- rspec-mocks (3.0.3)
44
- rspec-support (~> 3.0.0)
45
- rspec-support (3.0.3)
46
- simplecov (0.9.0)
47
- docile (~> 1.1.0)
48
- multi_json
49
- simplecov-html (~> 0.8.0)
50
- simplecov-html (0.8.0)
51
- term-ansicolor (1.3.0)
52
- tins (~> 1.0)
53
- thor (0.19.1)
54
- thread_safe (0.3.4)
55
- tins (1.3.0)
56
- tzinfo (1.2.1)
57
- thread_safe (~> 0.1)
58
- yard (0.8.7.4)
59
-
60
- PLATFORMS
61
- ruby
62
-
63
- DEPENDENCIES
64
- bundler
65
- coveralls
66
- rake
67
- rspec
68
- yard
69
- yt!