spotify-ruby 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 (71) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +146 -0
  5. data/.ruby-version +1 -0
  6. data/.rvm-version +1 -0
  7. data/.travis.yml +7 -0
  8. data/CODE_OF_CONDUCT.md +74 -0
  9. data/Gemfile +6 -0
  10. data/LICENSE +21 -0
  11. data/README.md +72 -0
  12. data/Rakefile +30 -0
  13. data/SPEC.md +18 -0
  14. data/bin/console +15 -0
  15. data/bin/setup +8 -0
  16. data/html/README_md.html +189 -0
  17. data/html/Spotify.html +115 -0
  18. data/html/Spotify/Auth.html +281 -0
  19. data/html/Spotify/Errors.html +103 -0
  20. data/html/Spotify/Errors/AuthClientCredentialsError.html +106 -0
  21. data/html/created.rid +5 -0
  22. data/html/css/fonts.css +167 -0
  23. data/html/css/rdoc.css +590 -0
  24. data/html/fonts/Lato-Light.ttf +0 -0
  25. data/html/fonts/Lato-LightItalic.ttf +0 -0
  26. data/html/fonts/Lato-Regular.ttf +0 -0
  27. data/html/fonts/Lato-RegularItalic.ttf +0 -0
  28. data/html/fonts/SourceCodePro-Bold.ttf +0 -0
  29. data/html/fonts/SourceCodePro-Regular.ttf +0 -0
  30. data/html/images/add.png +0 -0
  31. data/html/images/arrow_up.png +0 -0
  32. data/html/images/brick.png +0 -0
  33. data/html/images/brick_link.png +0 -0
  34. data/html/images/bug.png +0 -0
  35. data/html/images/bullet_black.png +0 -0
  36. data/html/images/bullet_toggle_minus.png +0 -0
  37. data/html/images/bullet_toggle_plus.png +0 -0
  38. data/html/images/date.png +0 -0
  39. data/html/images/delete.png +0 -0
  40. data/html/images/find.png +0 -0
  41. data/html/images/loadingAnimation.gif +0 -0
  42. data/html/images/macFFBgHack.png +0 -0
  43. data/html/images/package.png +0 -0
  44. data/html/images/page_green.png +0 -0
  45. data/html/images/page_white_text.png +0 -0
  46. data/html/images/page_white_width.png +0 -0
  47. data/html/images/plugin.png +0 -0
  48. data/html/images/ruby.png +0 -0
  49. data/html/images/tag_blue.png +0 -0
  50. data/html/images/tag_green.png +0 -0
  51. data/html/images/transparent.png +0 -0
  52. data/html/images/wrench.png +0 -0
  53. data/html/images/wrench_orange.png +0 -0
  54. data/html/images/zoom.png +0 -0
  55. data/html/index.html +189 -0
  56. data/html/js/darkfish.js +161 -0
  57. data/html/js/jquery.js +4 -0
  58. data/html/js/navigation.js +142 -0
  59. data/html/js/navigation.js.gz +0 -0
  60. data/html/js/search.js +109 -0
  61. data/html/js/search_index.js +1 -0
  62. data/html/js/search_index.js.gz +0 -0
  63. data/html/js/searcher.js +229 -0
  64. data/html/js/searcher.js.gz +0 -0
  65. data/html/table_of_contents.html +83 -0
  66. data/lib/spotify.rb +10 -0
  67. data/lib/spotify/auth.rb +119 -0
  68. data/lib/spotify/sdk/.keep +0 -0
  69. data/lib/spotify/version.rb +13 -0
  70. data/spotify-ruby.gemspec +38 -0
  71. metadata +232 -0
File without changes
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Spotify
4
+ ##
5
+ # The definitive version of spotify-ruby.
6
+ #
7
+ # You'll need to bump this for every change. The
8
+ # rule of thumb is to update it by one minor version (0.1.0 -> 0.1.1)
9
+ # if there is no breaking changes or new features. Anything
10
+ # else should constitute a major version bump (0.1.0 -> 1.0.0)
11
+ #
12
+ VERSION = "0.1.0"
13
+ end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path("../lib", __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require "spotify/version"
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "spotify-ruby"
9
+ spec.version = Spotify::VERSION
10
+ spec.authors = ["Bilawal Hameed"]
11
+ spec.email = ["me@bilaw.al"]
12
+
13
+ spec.summary = "A modern Ruby wrapper for the Spotify API."
14
+ spec.description = [
15
+ "Build integrations with the different Spotify APIs",
16
+ "inside of your application.",
17
+ "For more information, visit https://developer.spotify.com"
18
+ ].join(" ")
19
+ spec.homepage = "https://github.com/bih/spotify-ruby"
20
+ spec.license = "MIT"
21
+
22
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
23
+ f.match(%r{^(test|spec|features)/})
24
+ end
25
+
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_development_dependency "bundler", "~> 1.15", ">= 1.15.4"
31
+ spec.add_development_dependency "coveralls", "~> 0.8.21"
32
+ spec.add_development_dependency "rake", "~> 12.1"
33
+ spec.add_development_dependency "rdoc", "~> 5.1"
34
+ spec.add_development_dependency "rspec", "~> 3.7"
35
+ spec.add_development_dependency "rubocop", "~> 0.51.0"
36
+ spec.add_runtime_dependency "httparty", "~> 0.15.6"
37
+ spec.add_runtime_dependency "oauth2", "~> 1.4"
38
+ end
metadata ADDED
@@ -0,0 +1,232 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spotify-ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Bilawal Hameed
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-10-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.15'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.15.4
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.15'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.15.4
33
+ - !ruby/object:Gem::Dependency
34
+ name: coveralls
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: 0.8.21
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: 0.8.21
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '12.1'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '12.1'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rdoc
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '5.1'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '5.1'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rspec
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '3.7'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '3.7'
89
+ - !ruby/object:Gem::Dependency
90
+ name: rubocop
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: 0.51.0
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: 0.51.0
103
+ - !ruby/object:Gem::Dependency
104
+ name: httparty
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: 0.15.6
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: 0.15.6
117
+ - !ruby/object:Gem::Dependency
118
+ name: oauth2
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '1.4'
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '1.4'
131
+ description: Build integrations with the different Spotify APIs inside of your application.
132
+ For more information, visit https://developer.spotify.com
133
+ email:
134
+ - me@bilaw.al
135
+ executables: []
136
+ extensions: []
137
+ extra_rdoc_files: []
138
+ files:
139
+ - ".gitignore"
140
+ - ".rspec"
141
+ - ".rubocop.yml"
142
+ - ".ruby-version"
143
+ - ".rvm-version"
144
+ - ".travis.yml"
145
+ - CODE_OF_CONDUCT.md
146
+ - Gemfile
147
+ - LICENSE
148
+ - README.md
149
+ - Rakefile
150
+ - SPEC.md
151
+ - bin/console
152
+ - bin/setup
153
+ - html/README_md.html
154
+ - html/Spotify.html
155
+ - html/Spotify/Auth.html
156
+ - html/Spotify/Errors.html
157
+ - html/Spotify/Errors/AuthClientCredentialsError.html
158
+ - html/created.rid
159
+ - html/css/fonts.css
160
+ - html/css/rdoc.css
161
+ - html/fonts/Lato-Light.ttf
162
+ - html/fonts/Lato-LightItalic.ttf
163
+ - html/fonts/Lato-Regular.ttf
164
+ - html/fonts/Lato-RegularItalic.ttf
165
+ - html/fonts/SourceCodePro-Bold.ttf
166
+ - html/fonts/SourceCodePro-Regular.ttf
167
+ - html/images/add.png
168
+ - html/images/arrow_up.png
169
+ - html/images/brick.png
170
+ - html/images/brick_link.png
171
+ - html/images/bug.png
172
+ - html/images/bullet_black.png
173
+ - html/images/bullet_toggle_minus.png
174
+ - html/images/bullet_toggle_plus.png
175
+ - html/images/date.png
176
+ - html/images/delete.png
177
+ - html/images/find.png
178
+ - html/images/loadingAnimation.gif
179
+ - html/images/macFFBgHack.png
180
+ - html/images/package.png
181
+ - html/images/page_green.png
182
+ - html/images/page_white_text.png
183
+ - html/images/page_white_width.png
184
+ - html/images/plugin.png
185
+ - html/images/ruby.png
186
+ - html/images/tag_blue.png
187
+ - html/images/tag_green.png
188
+ - html/images/transparent.png
189
+ - html/images/wrench.png
190
+ - html/images/wrench_orange.png
191
+ - html/images/zoom.png
192
+ - html/index.html
193
+ - html/js/darkfish.js
194
+ - html/js/jquery.js
195
+ - html/js/navigation.js
196
+ - html/js/navigation.js.gz
197
+ - html/js/search.js
198
+ - html/js/search_index.js
199
+ - html/js/search_index.js.gz
200
+ - html/js/searcher.js
201
+ - html/js/searcher.js.gz
202
+ - html/table_of_contents.html
203
+ - lib/spotify.rb
204
+ - lib/spotify/auth.rb
205
+ - lib/spotify/sdk/.keep
206
+ - lib/spotify/version.rb
207
+ - spotify-ruby.gemspec
208
+ homepage: https://github.com/bih/spotify-ruby
209
+ licenses:
210
+ - MIT
211
+ metadata: {}
212
+ post_install_message:
213
+ rdoc_options: []
214
+ require_paths:
215
+ - lib
216
+ required_ruby_version: !ruby/object:Gem::Requirement
217
+ requirements:
218
+ - - ">="
219
+ - !ruby/object:Gem::Version
220
+ version: '0'
221
+ required_rubygems_version: !ruby/object:Gem::Requirement
222
+ requirements:
223
+ - - ">="
224
+ - !ruby/object:Gem::Version
225
+ version: '0'
226
+ requirements: []
227
+ rubyforge_project:
228
+ rubygems_version: 2.6.8
229
+ signing_key:
230
+ specification_version: 4
231
+ summary: A modern Ruby wrapper for the Spotify API.
232
+ test_files: []