chiketto 0.0.10 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -11
- data/chiketto.gemspec +1 -3
- data/lib/chiketto/resource.rb +0 -2
- data/lib/chiketto/version.rb +1 -1
- data/test/test_helper.rb +0 -8
- metadata +4 -33
- data/lib/chiketto/api_error.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06faf373a83114ee84cd4de60bc1a8d2fdbd8369
|
4
|
+
data.tar.gz: ce972bbfb6de641f505dd481494e587eed8405ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6dc67a727a69867d7651778df6ed5fe645c7773907ab7148080b2467abacf886c06be9137e7bb74464a16bbeab2a8a9d093b30eae2173a62fe34735149cbfc6
|
7
|
+
data.tar.gz: d4f41bbeed657358834dbf8fa76be1e0c95147a9fbd7c83ddbb74801d62b56911c599a5fbb4f85ee10549696c2a52ab21ae2cd146ef754a510d95d17d3f316e3
|
data/README.md
CHANGED
@@ -1,26 +1,31 @@
|
|
1
|
-
[![Build Status](https://travis-ci.org/
|
2
|
-
[![Code Climate](https://codeclimate.com/github/
|
3
|
-
[![Coverage Status](https://coveralls.io/repos/chrisradford/chiketto/badge.png?branch=master)](https://coveralls.io/r/chrisradford/chiketto?branch=master)
|
1
|
+
[![Build Status](https://travis-ci.org/chrisradfordltd/chiketto.svg?branch=master)](https://travis-ci.org/chrisradfordltd/chiketto)
|
2
|
+
[![Code Climate](https://codeclimate.com/github/chrisradfordltd/chiketto.png)](https://codeclimate.com/github/chrisradfordltd/chiketto)
|
4
3
|
|
5
4
|
# チケット - Chiketto
|
6
5
|
|
7
6
|
Chiketto is a ruby gem for interacting with the Eventbrite V3 API, chiketto in Japanese literally means 'Ticket' and seems like a reasonable name given most of the obvious options are already taken. Chiketto works with Ruby 2.0 and above, since this is a new gem it makes little sense to support older, unsupported version of Ruby.
|
8
7
|
|
9
|
-
**This Gem is still very much a work in progress and is not recommended for production use**
|
8
|
+
**This Gem is still very much a work in progress and is not recommended for production use - a 0.1 release should be ready late summer 2014**
|
10
9
|
|
11
10
|
## Installation
|
12
11
|
|
13
12
|
Add this line to your application's Gemfile:
|
14
13
|
|
15
|
-
|
14
|
+
```ruby
|
15
|
+
gem 'chiketto'
|
16
|
+
```
|
16
17
|
|
17
18
|
And then execute:
|
18
19
|
|
19
|
-
|
20
|
+
```
|
21
|
+
$ bundle
|
22
|
+
```
|
20
23
|
|
21
24
|
Or install it yourself as:
|
22
25
|
|
23
|
-
|
26
|
+
```
|
27
|
+
$ gem install chiketto
|
28
|
+
```
|
24
29
|
|
25
30
|
## Usage
|
26
31
|
|
@@ -30,7 +35,7 @@ Chiketto allows you to acces data from the Eventbrite API and formats it as Ruby
|
|
30
35
|
|
31
36
|
For example, once you've found an event on the API, Chiketto provides a simple interface for the various pieces of data to make working with it easier.
|
32
37
|
|
33
|
-
```
|
38
|
+
```ruby
|
34
39
|
event = Chiketto::Event.find 123456
|
35
40
|
event.name # => 'Event Name'
|
36
41
|
event.name.html # => '<p>Event Name</p>'
|
@@ -40,19 +45,19 @@ event.organizer.name # => 'Organizer Name'
|
|
40
45
|
|
41
46
|
You can also use the search endpoint on the API to look up events and have an Array of events returned:
|
42
47
|
|
43
|
-
```
|
48
|
+
```ruby
|
44
49
|
Chiketto::Event.search 'name'
|
45
50
|
```
|
46
51
|
|
47
52
|
Finally, for now, Chiketto allows you to list out all the possible Categories on the Eventbrite API, returning an Array of Category objects.
|
48
53
|
|
49
|
-
```
|
54
|
+
```ruby
|
50
55
|
Chiketto::Category.list
|
51
56
|
```
|
52
57
|
|
53
58
|
## Contributing
|
54
59
|
|
55
|
-
1. Fork it ( https://github.com/
|
60
|
+
1. Fork it ( https://github.com/chrisradfordltd/chiketto/fork )
|
56
61
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
57
62
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
58
63
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/chiketto.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["chris@chrisradford.com"]
|
11
11
|
spec.summary = %q{Chiketto is a ruby gem for interacting with the Eventbrite V3 API}
|
12
12
|
spec.description = spec.summary
|
13
|
-
spec.homepage = "https://github.com/
|
13
|
+
spec.homepage = "https://github.com/chrisradfordltd/chiketto"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
@@ -21,8 +21,6 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.required_ruby_version = '>= 1.9.3'
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.6"
|
24
|
-
spec.add_development_dependency "coveralls"
|
25
|
-
spec.add_development_dependency "codeclimate-test-reporter"
|
26
24
|
spec.add_development_dependency "dotenv"
|
27
25
|
spec.add_development_dependency "minitest"
|
28
26
|
spec.add_development_dependency "rake"
|
data/lib/chiketto/resource.rb
CHANGED
data/lib/chiketto/version.rb
CHANGED
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chiketto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Radford
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -24,34 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.6'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: coveralls
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: codeclimate-test-reporter
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
27
|
- !ruby/object:Gem::Dependency
|
56
28
|
name: dotenv
|
57
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,7 +110,6 @@ files:
|
|
138
110
|
- chiketto.gemspec
|
139
111
|
- lib/chiketto.rb
|
140
112
|
- lib/chiketto/address.rb
|
141
|
-
- lib/chiketto/api_error.rb
|
142
113
|
- lib/chiketto/attendee.rb
|
143
114
|
- lib/chiketto/attr_attribute.rb
|
144
115
|
- lib/chiketto/attribute.rb
|
@@ -164,7 +135,7 @@ files:
|
|
164
135
|
- test/ticket_class_test.rb
|
165
136
|
- test/user_test.rb
|
166
137
|
- test/venue_test.rb
|
167
|
-
homepage: https://github.com/
|
138
|
+
homepage: https://github.com/chrisradfordltd/chiketto
|
168
139
|
licenses:
|
169
140
|
- MIT
|
170
141
|
metadata: {}
|
@@ -184,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
155
|
version: '0'
|
185
156
|
requirements: []
|
186
157
|
rubyforge_project:
|
187
|
-
rubygems_version: 2.
|
158
|
+
rubygems_version: 2.3.0
|
188
159
|
signing_key:
|
189
160
|
specification_version: 4
|
190
161
|
summary: Chiketto is a ruby gem for interacting with the Eventbrite V3 API
|