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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: edd101c309245dab659a118a4778faf38bb626f0
4
- data.tar.gz: 7c814614b73a11354593f9c417e8e9beefed3fc9
3
+ metadata.gz: 06faf373a83114ee84cd4de60bc1a8d2fdbd8369
4
+ data.tar.gz: ce972bbfb6de641f505dd481494e587eed8405ce
5
5
  SHA512:
6
- metadata.gz: 06d6a999ca1bcd4c02a92bb9c7bf68f2f64ee778e2f911ae1a0d337ce4cdbc3bbdf3d4291c9cb60da99cd068aa78af6c70528d888289e808e193b4af50c08679
7
- data.tar.gz: 90a7d44e9f12f9f355cfa617925086fc1712b0535f1c7bc569b9ce6f87b28393d4fcd3b60b723dcf1725052c2881817eccc72a313d237fd4d2e8844c685d12a4
6
+ metadata.gz: e6dc67a727a69867d7651778df6ed5fe645c7773907ab7148080b2467abacf886c06be9137e7bb74464a16bbeab2a8a9d093b30eae2173a62fe34735149cbfc6
7
+ data.tar.gz: d4f41bbeed657358834dbf8fa76be1e0c95147a9fbd7c83ddbb74801d62b56911c599a5fbb4f85ee10549696c2a52ab21ae2cd146ef754a510d95d17d3f316e3
data/README.md CHANGED
@@ -1,26 +1,31 @@
1
- [![Build Status](https://travis-ci.org/chrisradford/chiketto.svg?branch=master)](https://travis-ci.org/chrisradford/chiketto)
2
- [![Code Climate](https://codeclimate.com/github/chrisradford/chiketto.png)](https://codeclimate.com/github/chrisradford/chiketto)
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
- gem 'chiketto'
14
+ ```ruby
15
+ gem 'chiketto'
16
+ ```
16
17
 
17
18
  And then execute:
18
19
 
19
- $ bundle
20
+ ```
21
+ $ bundle
22
+ ```
20
23
 
21
24
  Or install it yourself as:
22
25
 
23
- $ gem install chiketto
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/[my-github-username]/chiketto/fork )
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`)
@@ -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/chrisradford/chiketto"
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"
@@ -17,8 +17,6 @@ module Chiketto
17
17
  uri = endpoint(uri) + query(params)
18
18
  resource = open uri
19
19
  JSON.parse resource.read
20
- rescue OpenURI::HTTPError => e
21
- raise Chiketto::APIError e
22
20
  end
23
21
 
24
22
  def self.endpoint(uri)
@@ -1,3 +1,3 @@
1
1
  module Chiketto
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.12"
3
3
  end
@@ -9,11 +9,3 @@ VCR.configure do |c|
9
9
  c.cassette_library_dir = 'test/vcr'
10
10
  c.hook_into :webmock
11
11
  end
12
-
13
- if ENV['TRAVIS']
14
- require 'coveralls'
15
- Coveralls.wear!
16
-
17
- require 'codeclimate-test-reporter'
18
- CodeClimate::TestReporter.start
19
- end
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.10
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-06-14 00:00:00.000000000 Z
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/chrisradford/chiketto
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.2.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
@@ -1,7 +0,0 @@
1
- module Chiketto
2
- class APIError < StandardError
3
- def initialize(open_uri_exception)
4
- super(open_uri_exception.message)
5
- end
6
- end
7
- end