shelby-arena-api 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/api/address.rb +4 -4
- data/shelby_arena_api.gemspec +2 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71b1a4dc0f7e868e433f373ab8e351adaccfa283
|
4
|
+
data.tar.gz: 82d0974f9318c22ccd40d490f21f2be58eb12d8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53e5b591d1d72d8959681826dd51e25ebc3f236eeba260189d8ec3813fe974fc46380c016fb44ad4534321561713973694fb7293fd6973879da5b97a3141241d
|
7
|
+
data.tar.gz: 4d59dc6f509d2f2a06f3a695a2cb48f4fa706dd73bf285b80b04ae31da262cd36066573cb908c598f6dab9c9dd9c9335f59b69f746c9ad4b4835f11f323fe6e3
|
data/lib/api/address.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module ShelbyArena
|
2
2
|
|
3
|
-
# This is a helper class for the person object so the data coming
|
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
|
|
@@ -12,16 +12,16 @@ module ShelbyArena
|
|
12
12
|
attribute :postal_code, String
|
13
13
|
attribute :primary, Boolean
|
14
14
|
attribute :state, String
|
15
|
-
attribute :
|
15
|
+
attribute :street_line1, String
|
16
16
|
|
17
17
|
|
18
18
|
# Constructor.
|
19
19
|
#
|
20
20
|
# @param data A hash of data
|
21
|
-
def initialize(data)
|
21
|
+
def initialize(data)
|
22
22
|
# data[0] is 'Address'
|
23
23
|
# data[1] is a Hash of address info to match the attributes above.
|
24
|
-
initialize_from_json_object(data[1])
|
24
|
+
initialize_from_json_object(data[1])
|
25
25
|
end
|
26
26
|
|
27
27
|
end
|
data/shelby_arena_api.gemspec
CHANGED
@@ -1,9 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
s.name = PROJECT_GEM
|
6
|
-
s.version = PROJECT_GEM_VERSION
|
2
|
+
s.name = 'shelby-arena-api'
|
3
|
+
s.version = '0.3.2'
|
7
4
|
s.platform = Gem::Platform::RUBY
|
8
5
|
|
9
6
|
s.homepage = 'https://github.com/weshays/shelby-arena-api-ruby'
|
@@ -17,7 +14,6 @@ Gem::Specification.new do |s|
|
|
17
14
|
s.add_dependency('typhoeus', '0.6.6')
|
18
15
|
s.add_dependency('virtus', '1.0.2')
|
19
16
|
|
20
|
-
|
21
17
|
s.files = `git ls-files`.split("\n").delete_if { |f| !(f =~ /^examples/).nil? }
|
22
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
23
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shelby-arena-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wes Hays
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-10-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: typhoeus
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: '0'
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project: Project on www.github.com
|
109
|
-
rubygems_version: 2.
|
109
|
+
rubygems_version: 2.4.5
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: Ruby gem/plugin to interact with the Shelby Arena API
|