shelby-arena-api 0.2.0 → 0.2.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11b64f9a4f298bbe902f7ab4572836428f253a4a
4
- data.tar.gz: c311075fa91a574c0848df1f295d6e6072148ddb
3
+ metadata.gz: 286a00451cb45c4c1ec216af4e7b81835d2dc4de
4
+ data.tar.gz: 6c0ec078bdc7785ecca6d6085fc16e24099aa354
5
5
  SHA512:
6
- metadata.gz: a46c778cf608e1e35b6438c1d0e2aa88f2b5addad1295865087a882613331d0fa20a1b5dedd0d67abaa1de7bfc7b19f2e42e21ee94f49ff4657827caedf022be
7
- data.tar.gz: 00b5bdcbfce8e8125e0f1b56289d13f828a874b7c17c652a80d4f47f3fca57cda6c5f299469c8cb94ee7b6fd82530b241e0fd28f38bd87f00f0fd6607bb537ff
6
+ metadata.gz: 6931cf678080cd2d3dc19161d3f6c50a33dbd8d970265e3528226cf3461ebe31cae1808a18d4b72538d234fc1a5ea91fe30242cf8e75066f450a8fd519e625d7
7
+ data.tar.gz: cefae2f5de8fd254ebd219347e2f4f3660990a20c1fa3590b49739e231e87097fcdfdb8c77ebdc61776ca9b9a0d3fda205ba86313b9052b660d4d2a40ce12a7f
@@ -34,9 +34,9 @@ This project is maintained by Wes Hays (https://github.com/weshays).
34
34
 
35
35
  == Contributors
36
36
 
37
- Wanna help? It could be you...
37
+ Jason Hagglund: https://github.com/TheMetalCode
38
38
 
39
39
 
40
40
  == Want to Contribute?
41
41
 
42
- If you would like to get involved in this project, then please fork the project. Make changes, add features, write some tests, and then send a pull request.
42
+ If you would like to get involved in this project, then please fork the project. Make changes, add features, write some tests, and then send a pull request.
@@ -3,6 +3,7 @@ module ShelbyArena
3
3
  # This is a helper class for the person object so the data coming
4
4
  # through via Virtus is a hash that has been converted to an array.
5
5
  class Address < ApiObject
6
+
6
7
  attribute :address_id, Integer
7
8
  attribute :city, String
8
9
  attribute :country, String
@@ -1,6 +1,7 @@
1
1
  module ShelbyArena
2
2
 
3
3
  class Person < ApiObject
4
+
4
5
  attribute :addresses, Array[Address]
5
6
  attribute :campus_id, Integer
6
7
  attribute :campus_name, String
@@ -4,6 +4,7 @@ module ShelbyArena
4
4
 
5
5
  api_path = SHELBY_ARENA_LIB_DIR + '/api/'
6
6
  require api_path + 'api_object.rb'
7
+ require api_path + 'address.rb'
7
8
  Dir["#{api_path}/*.rb"].each { |f| require(f) }
8
9
 
9
10
  readers_path = SHELBY_ARENA_LIB_DIR + '/readers/'
@@ -1,14 +1,14 @@
1
1
  Gem::Specification.new do |s|
2
2
  PROJECT_GEM = 'shelby-arena-api'
3
- PROJECT_GEM_VERSION = '0.2.0'
4
-
3
+ PROJECT_GEM_VERSION = '0.2.1'
4
+
5
5
  s.name = PROJECT_GEM
6
6
  s.version = PROJECT_GEM_VERSION
7
7
  s.platform = Gem::Platform::RUBY
8
8
 
9
9
  s.homepage = 'https://github.com/weshays/shelby-arena-api-ruby'
10
10
  s.rubyforge_project = 'Project on www.github.com'
11
- s.authors = ['Wes Hays']
11
+ s.authors = ['Wes Hays', 'Jason Hagglund']
12
12
  s.email = ['weshays@gbdev.com']
13
13
 
14
14
  s.summary = 'Ruby gem/plugin to interact with the Shelby Arena API'
@@ -1,10 +1,10 @@
1
- require File.expand_path( File.dirname(__FILE__) + '/../example/shelby_arena_keys.rb')
1
+ require File.expand_path( File.dirname(__FILE__) + '/../examples/shelby_arena_keys.rb')
2
2
  require File.expand_path( File.dirname(__FILE__) + '/../lib/shelby_arena.rb')
3
3
 
4
4
  require 'debugger'
5
5
 
6
6
  require 'vcr'
7
- require 'vcr_setup'
7
+ require 'vcr_helper'
8
8
  require 'webmock/rspec'
9
9
 
10
10
  Dir.glob(File.dirname(__FILE__) + "/factories/*").each { |f| require f }
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shelby-arena-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wes Hays
8
+ - Jason Hagglund
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-04-30 00:00:00.000000000 Z
12
+ date: 2014-05-23 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: typhoeus