songkick_ruby 1.2.1 → 1.2.2

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.
@@ -11,5 +11,15 @@ module Songkick
11
11
  get "events/#{event_id}.#{format}"
12
12
  end
13
13
 
14
+ # Returns the setlists for a specific event.
15
+ #
16
+ # Example:
17
+ # sg = Songkick.new("myapikey")
18
+ # set_list = sg.event_set_lists(123)
19
+ # The first argument is the event id
20
+ def event_set_lists(event_id)
21
+ get "events/#{event_id}/setlists.#{format}"
22
+ end
23
+
14
24
  end
15
25
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "songkick_ruby"
3
- s.version = "1.2.1"
3
+ s.version = "1.2.2"
4
4
  s.author = "Gregory Marcilhacy"
5
5
  s.email = "g.marcilhacy@gmail.com"
6
6
  s.homepage = "http://github.com/gregorym/songkick_ruby"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: songkick_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-16 00:00:00.000000000Z
12
+ date: 2012-08-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
- requirement: &70320254905020 !ruby/object:Gem::Requirement
16
+ requirement: &70270044190200 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 1.5.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70320254905020
24
+ version_requirements: *70270044190200
25
25
  description:
26
26
  email: g.marcilhacy@gmail.com
27
27
  executables: []
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  requirements: []
62
62
  rubyforge_project:
63
- rubygems_version: 1.8.10
63
+ rubygems_version: 1.8.17
64
64
  signing_key:
65
65
  specification_version: 3
66
66
  summary: Ruby wrapper of the songkick api