bands_in_town_api_client 1.0.2 → 1.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 321982b95411e6164d0130e278ffd496c8e66854
4
- data.tar.gz: 2e7523788e71b18c7adf8466bad7979642becaf8
3
+ metadata.gz: 19868a114cec428331a0816b4c4e86bee37a1a84
4
+ data.tar.gz: a5c9eb295d96ce0db48f94b332f9c7e13fe774e5
5
5
  SHA512:
6
- metadata.gz: ce45f820a0f782cba52697b99c5c0b8ed3c39a4591d19bf8099aaecb3646a05a63e3b453d0c1e73d7e384bffe9c76db79b6659305b241d940e42eddd7989cd79
7
- data.tar.gz: 07f9bce5748b5ccd586454d535d99f15aa2aa6c4674d472c009b1ddd7669f2695bf1b8c0f3cdd1eb8748a9fd5029ba602d5220942f67d0667b3821692ee45247
6
+ metadata.gz: ebd31ea43b04a8a2a787d9b25ee1d58d7f07fc75af7f51b47f969bc904698f102a9a52813bfa0cb136c4821dfd1ff7d866c5c672bf41a2a40407f1c824db7c3e
7
+ data.tar.gz: 35ac8a00970cf19405210bcc5fb0e8935f498a1a37c6341dbc4d75dbe37aee165e8c0f8df5ed42ed5de15f8c7a184c8c1d1a10a081180209f45cbc7416be3863
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # BandsInTownApiClient
2
2
 
3
- This gem provides a light weight wrapper for the Bands In Town event API. Currently it allows you to get all events for a particular band with ease. Later it will allow for all other Bands In Town requests such as band info and event searching. It has easy support for xml and json.
3
+ This gem provides a light weight wrapper for the Bands In Town event API. Currently it allows you to get all events for a particular band with ease. Later it will allow for all other Bands In Town requests such as band info and event searching.
4
4
 
5
5
  ## Installation
6
6
 
@@ -28,6 +28,8 @@ events = BandsInTownApiClient::Client.new("Skrillex", "YOUR_CLIENT_ID").events
28
28
  ```
29
29
  YOUR_CLIENT_ID can be any unique identifier of your choosing. No registration is required.
30
30
 
31
+ Please enjoy!
32
+
31
33
  ## TODO
32
34
 
33
35
  1. Add implantation for other API requests such as band info and event search
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["tyrel@thetyrelcorporation.com"]
11
11
  spec.homepage = "https://github.com/thetyrelcorporation/bands_in_town_api_client"
12
12
  spec.summary = %q{Interfaces with the Bands In Town API.}
13
- spec.description = %q{Provides a light weight wrapper to easily request json or xml data from Bands In Town.}
13
+ spec.description = %q{Provides a light weight wrapper to easily request the Bands In Town API and recieve an easy to use hash}
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
@@ -10,8 +10,8 @@ module BandsInTownApiClient
10
10
  @client_id = client_id
11
11
  end
12
12
 
13
- def events(format=:json)
14
- request = Request.new( :events, @artist_id, @client_id, format)
13
+ def events
14
+ request = Request.new( :events, @artist_id, @client_id, :json)
15
15
  request.response
16
16
  end
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module BandsInTownApiClient
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
@@ -6,10 +6,6 @@ describe BandsInTownApiClient::Client do
6
6
  should_array = BandsInTownApiClient::Client.new("Skrillex", "SomeClient").events.class
7
7
  expect(should_array).to eq(Array)
8
8
  end
9
- it "Should work with xml" do
10
- should_array = BandsInTownApiClient::Client.new("Skrillex", "SomeClient").events(:xml).class
11
- expect(should_array).to eq(Hash)
12
- end
13
9
  end
14
10
  end
15
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bands_in_town_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - thetyrelcorporation
@@ -52,8 +52,8 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- description: Provides a light weight wrapper to easily request json or xml data from
56
- Bands In Town.
55
+ description: Provides a light weight wrapper to easily request the Bands In Town API
56
+ and recieve an easy to use hash
57
57
  email:
58
58
  - tyrel@thetyrelcorporation.com
59
59
  executables: []