ticketmaster-bugshelf 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -3,4 +3,4 @@
3
3
  Gemfile.lock
4
4
  pkg/*
5
5
  .rvmrc
6
- .DS_Store
6
+ .DS_Store.idea
data/.hgignore CHANGED
@@ -23,3 +23,4 @@ test-*
23
23
  Gemfile.lock
24
24
  pkg/*
25
25
  .rvmrc
26
+ .idea
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2011 Shelf Cloud
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ NONE
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,50 @@
1
+ # ticketmaster-bugshelf
2
+
3
+ This is a provider for [ticketmaster](http://ticketrb.com). It provides interoperability with [Bugshelf](http://www.bugshelf.com/) through the ticketmaster gem.
4
+
5
+ # Usage and Examples
6
+
7
+ First we have to instantiate a new ticketmaster instance:
8
+
9
+ bugshelf = TicketMaster.new(:bugshelf, {:subdomain => "rails", :api_key => "5ff546af3df4a3c02d3a734b0ff1c4fcc5351c56"})
10
+
11
+ Pass in :subdomain and :api_key to access your bugshelf.
12
+ The api_key allows access to a specific account without having to give out your login credentials.
13
+
14
+ == Finding Projects
15
+
16
+ project = bugshelf.project.find(42)
17
+
18
+ == Finding Tickets
19
+
20
+ tickets = project.tickets
21
+ ticket = project.tickets 'BSF-042'
22
+
23
+
24
+ ## Requirements
25
+
26
+ * rubygems (obviously)
27
+ * ticketmaster gem (latest version preferred)
28
+
29
+ The ticketmaster gem should automatically be installed during the installation of this gem if it is not already installed.
30
+
31
+ ## Other Notes
32
+
33
+ Since this and the ticketmaster gem is still primarily a work-in-progress, minor changes may be incompatible with previous versions. Please be careful about using and updating this gem in production.
34
+
35
+ If you see or find any issues, feel free to open up an issue report.
36
+
37
+
38
+ ## Note on Patches/Pull Requests
39
+
40
+ * Fork the project.
41
+ * Make your feature addition or bug fix.
42
+ * Add tests for it. This is important so I don't break it in a
43
+ future version unintentionally.
44
+ * Commit, do not mess with rakefile, version, or history.
45
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
46
+ * Send me a pull request. Bonus points for topic branches.
47
+
48
+ ## Copyright
49
+
50
+ Copyright (c) 2011 Shelf Cloud. See LICENSE for details.
@@ -1,5 +1,5 @@
1
1
  module Ticketmaster
2
2
  module Bugshelf
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -8,11 +8,18 @@ Gem::Specification.new do |s|
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Thomas Steinhausen"]
10
10
  s.email = ["ts@image-addicts.de"]
11
- s.homepage = ""
12
- s.summary = %q{A tickemaster provider for bugshelf.}
13
- s.description = %q{A tickemaster provider to make bugshelf api usable with ticketmaster.}
11
+ s.homepage = "http://bugshelf.com"
12
+ s.summary = %q{Tickemaster provider for Bugshelf.}
13
+ s.description = %q{A tickemaster provider to make Bugshelf api usable with ticketmaster.}
14
+
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.md"
18
+ ]
14
19
 
15
20
  s.rubyforge_project = "ticketmaster-bugshelf"
21
+
22
+ s.add_runtime_dependency(%q<ticketmaster>, [">= 0.6.6"])
16
23
 
17
24
  s.files = `hg manifest`.split("\n")
18
25
  s.test_files = []
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ticketmaster-bugshelf
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Steinhausen
@@ -17,21 +17,39 @@ cert_chain: []
17
17
 
18
18
  date: 2011-06-28 00:00:00 +02:00
19
19
  default_executable:
20
- dependencies: []
21
-
22
- description: A tickemaster provider to make bugshelf api usable with ticketmaster.
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: ticketmaster
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 11
30
+ segments:
31
+ - 0
32
+ - 6
33
+ - 6
34
+ version: 0.6.6
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ description: A tickemaster provider to make Bugshelf api usable with ticketmaster.
23
38
  email:
24
39
  - ts@image-addicts.de
25
40
  executables: []
26
41
 
27
42
  extensions: []
28
43
 
29
- extra_rdoc_files: []
30
-
44
+ extra_rdoc_files:
45
+ - LICENSE.txt
46
+ - README.md
31
47
  files:
32
48
  - .gitignore
33
49
  - .hgignore
34
50
  - Gemfile
51
+ - LICENSE.txt
52
+ - README.md
35
53
  - Rakefile
36
54
  - lib/bugshelf/bugshelf-api.rb
37
55
  - lib/provider/bugshelf.rb
@@ -42,7 +60,7 @@ files:
42
60
  - lib/ticketmaster-bugshelf/version.rb
43
61
  - ticketmaster-bugshelf.gemspec
44
62
  has_rdoc: true
45
- homepage: ""
63
+ homepage: http://bugshelf.com
46
64
  licenses: []
47
65
 
48
66
  post_install_message:
@@ -74,6 +92,6 @@ rubyforge_project: ticketmaster-bugshelf
74
92
  rubygems_version: 1.6.0
75
93
  signing_key:
76
94
  specification_version: 3
77
- summary: A tickemaster provider for bugshelf.
95
+ summary: Tickemaster provider for Bugshelf.
78
96
  test_files: []
79
97