spotifyrb 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +7 -0
  2. data/.env.example +3 -0
  3. data/.github/FUNDING.yml +5 -0
  4. data/.github/dependabot.yml +11 -0
  5. data/.github/workflows/ci.yml +42 -0
  6. data/.gitignore +9 -0
  7. data/.rubocop.yml +8 -0
  8. data/Gemfile +11 -0
  9. data/Gemfile.lock +124 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +574 -0
  12. data/Rakefile +10 -0
  13. data/bin/console +19 -0
  14. data/bin/setup +8 -0
  15. data/lib/spotify/client.rb +56 -0
  16. data/lib/spotify/collection.rb +82 -0
  17. data/lib/spotify/error.rb +4 -0
  18. data/lib/spotify/error_generator.rb +128 -0
  19. data/lib/spotify/oauth.rb +61 -0
  20. data/lib/spotify/object.rb +19 -0
  21. data/lib/spotify/objects/album.rb +4 -0
  22. data/lib/spotify/objects/artist.rb +4 -0
  23. data/lib/spotify/objects/audiobook.rb +4 -0
  24. data/lib/spotify/objects/device.rb +4 -0
  25. data/lib/spotify/objects/episode.rb +4 -0
  26. data/lib/spotify/objects/player.rb +4 -0
  27. data/lib/spotify/objects/playlist.rb +4 -0
  28. data/lib/spotify/objects/show.rb +4 -0
  29. data/lib/spotify/objects/snapshot.rb +4 -0
  30. data/lib/spotify/objects/track.rb +4 -0
  31. data/lib/spotify/objects/user.rb +4 -0
  32. data/lib/spotify/resource.rb +64 -0
  33. data/lib/spotify/resources/albums.rb +16 -0
  34. data/lib/spotify/resources/artists.rb +20 -0
  35. data/lib/spotify/resources/me.rb +13 -0
  36. data/lib/spotify/resources/player.rb +46 -0
  37. data/lib/spotify/resources/playlists.rb +37 -0
  38. data/lib/spotify/resources/search.rb +10 -0
  39. data/lib/spotify/resources/users.rb +13 -0
  40. data/lib/spotify/version.rb +3 -0
  41. data/lib/spotify.rb +36 -0
  42. data/lib/spotifyrb.rb +1 -0
  43. data/spotifyrb.gemspec +29 -0
  44. metadata +111 -0
metadata ADDED
@@ -0,0 +1,111 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spotifyrb
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Dean Perry
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: faraday
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '2.11'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '2.11'
26
+ - !ruby/object:Gem::Dependency
27
+ name: ostruct
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: 0.6.0
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: 0.6.0
40
+ email:
41
+ - dean@deanpcmad.com
42
+ executables: []
43
+ extensions: []
44
+ extra_rdoc_files: []
45
+ files:
46
+ - ".env.example"
47
+ - ".github/FUNDING.yml"
48
+ - ".github/dependabot.yml"
49
+ - ".github/workflows/ci.yml"
50
+ - ".gitignore"
51
+ - ".rubocop.yml"
52
+ - Gemfile
53
+ - Gemfile.lock
54
+ - LICENSE.txt
55
+ - README.md
56
+ - Rakefile
57
+ - bin/console
58
+ - bin/setup
59
+ - lib/spotify.rb
60
+ - lib/spotify/client.rb
61
+ - lib/spotify/collection.rb
62
+ - lib/spotify/error.rb
63
+ - lib/spotify/error_generator.rb
64
+ - lib/spotify/oauth.rb
65
+ - lib/spotify/object.rb
66
+ - lib/spotify/objects/album.rb
67
+ - lib/spotify/objects/artist.rb
68
+ - lib/spotify/objects/audiobook.rb
69
+ - lib/spotify/objects/device.rb
70
+ - lib/spotify/objects/episode.rb
71
+ - lib/spotify/objects/player.rb
72
+ - lib/spotify/objects/playlist.rb
73
+ - lib/spotify/objects/show.rb
74
+ - lib/spotify/objects/snapshot.rb
75
+ - lib/spotify/objects/track.rb
76
+ - lib/spotify/objects/user.rb
77
+ - lib/spotify/resource.rb
78
+ - lib/spotify/resources/albums.rb
79
+ - lib/spotify/resources/artists.rb
80
+ - lib/spotify/resources/me.rb
81
+ - lib/spotify/resources/player.rb
82
+ - lib/spotify/resources/playlists.rb
83
+ - lib/spotify/resources/search.rb
84
+ - lib/spotify/resources/users.rb
85
+ - lib/spotify/version.rb
86
+ - lib/spotifyrb.rb
87
+ - spotifyrb.gemspec
88
+ homepage: https://deanpcmad.com
89
+ licenses:
90
+ - MIT
91
+ metadata:
92
+ homepage_uri: https://deanpcmad.com
93
+ source_code_uri: https://github.com/deanpcmad/spotifyrb
94
+ rdoc_options: []
95
+ require_paths:
96
+ - lib
97
+ required_ruby_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: 2.3.0
102
+ required_rubygems_version: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: '0'
107
+ requirements: []
108
+ rubygems_version: 3.6.9
109
+ specification_version: 4
110
+ summary: A Ruby library for interacting with the Spotify API
111
+ test_files: []