ticketmaster-mingle 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -4
- data/VERSION +1 -1
- data/ticketmaster-mingle.gemspec +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -5,10 +5,13 @@ This is a provider for [ticketmaster](http://ticketrb.com). It provides interope
|
|
5
5
|
# Usage and Examples
|
6
6
|
|
7
7
|
First we have to instantiate a new ticketmaster instance, your Mingle installation should have api access enable:
|
8
|
-
|
8
|
+
|
9
|
+
mingle = TicketMaster.new(:mingle, {:server => 'myserver', :username=> 'foo', :password => 'bar'})
|
10
|
+
|
9
11
|
If you do not pass in the server name, username and password, you won't get any information.
|
10
12
|
|
11
13
|
Also you have to enable basic authentication, set the basic_authentication_enabled configuration option to true in the Mingle data directory/config/auth_config.yml file, where Mingle data directory is the path to the Mingle data directory:
|
14
|
+
|
12
15
|
basic_authentication_enabled: true
|
13
16
|
|
14
17
|
## Finding Projects
|
@@ -35,11 +38,11 @@ You can find your own projects by doing:
|
|
35
38
|
|
36
39
|
## Finding comments
|
37
40
|
|
38
|
-
|
41
|
+
comments = project.ticket.comments
|
39
42
|
|
40
43
|
## Creating a comment
|
41
44
|
|
42
|
-
|
45
|
+
comment = ticket.comment!(:content => 'New comment created.')
|
43
46
|
|
44
47
|
## Requirements
|
45
48
|
|
@@ -69,6 +72,6 @@ If you see or find any issues, feel free to open up an issue report.
|
|
69
72
|
|
70
73
|
## Copyright
|
71
74
|
|
72
|
-
Copyright (c)
|
75
|
+
Copyright (c) 2011 The Hybrid Group. See LICENSE for details.
|
73
76
|
|
74
77
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/ticketmaster-mingle.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ticketmaster-mingle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Hybridgroup
|