zombie_battleground-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
  SHA256:
3
- metadata.gz: e39b7b110a3e45704b60e09b56a81b353ffc87347a06d759d8deb178c8b788b7
4
- data.tar.gz: b369d8a886b27eae14908fd61b6a36767c259336ce0a7dcc5b1a4ee3880cd665
3
+ metadata.gz: 7cfbd42e3ee6fc99aaa29e852a65df1ce64d76e495d4fd7c7c43c59e6fb52623
4
+ data.tar.gz: c9070372412198f6585622d88e939f6fdcf5e7071db27304ec3d03fe3f0ad157
5
5
  SHA512:
6
- metadata.gz: 658ec416c5a8aad44dcbe57ef39b2f518ecfaa4b07c8f6b2265cfcef207f36631144a96e38bcc3d101e57c4956250b02d264fb7defcfd39dbe8bca95a4e25ea5
7
- data.tar.gz: 7ac36a2d0f1339a2d03d40eb9a9a795443e24a54ffd58fd7d94a1ffd9c4a2116e0d03fd94fe20b1017add7150fc4fbf8f51d4b46b112ad5c8badd0cd7a98e16b
6
+ metadata.gz: 252c4bd69e05f8b14b4fc549acf1bc180eb463337aa4c9b3ca630b2d257aa13e394eae5fe607481c8e164f47f170c891544f52dcb34d7b85df8e27852f3a0031
7
+ data.tar.gz: bbe4745ca75119c2d676e64c16d0b268864cf950088db549f0ce98ae1c02bbb62252309bbf00cde579450ef4f2b7ae43339d516c88145cca0a9b2bab19d78b17
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zombie_battleground-api (0.2.0)
4
+ zombie_battleground-api (0.2.1)
5
5
  activerecord
6
6
  faraday
7
7
  json
data/README.md CHANGED
@@ -20,13 +20,16 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
+ See the [API documentation](https://www.rubydoc.info/gems/zombie_battleground-api).
24
+ Every API call returns a response object that contains a complete modeled Ruby object of the response.
25
+
23
26
  Use the singleton class `ZombieBattleground::Api`
24
27
 
25
28
  ```ruby
26
29
  require 'zombie_battleground-api/api'
27
30
 
28
31
  ZombieBattleground::Api.decks(limit: 1)
29
- # => ZombieBattleground::Api::GetDecksResponse
32
+ # => ZombieBattleground::Api::Responses::GetDecksResponse
30
33
  ```
31
34
 
32
35
  Use the API client directly
@@ -35,11 +38,9 @@ Use the API client directly
35
38
  require 'zombie_battleground-api/api/client'
36
39
 
37
40
  client = ZombieBattleground::Api::Client.new
38
- client.decks(limit: 1) # => ZombieBattleground::Api::GetDecksResponse
41
+ client.decks(limit: 1) # => ZombieBattleground::Api::Responses::GetDecksResponse
39
42
  ```
40
43
 
41
- Every API call returns a response object that contains a complete modeled Ruby object of the response. See the API documentation (once I write it) on rubygems.org
42
-
43
44
  ## Development
44
45
 
45
46
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -6,6 +6,6 @@ module ZombieBattleground
6
6
  class Api
7
7
  ##
8
8
  # Verion of the Gem
9
- VERSION = '0.2.0'
9
+ VERSION = '0.2.1'
10
10
  end
11
11
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.email = ['john@shields.wtf']
12
12
 
13
13
  spec.summary = 'An implemenetation of the ZombieBattleground public API'
14
- spec.homepage = 'https://john.shields.wtf'
14
+ spec.homepage = 'https://github.com/watmin/zombie_battleground-api'
15
15
  spec.license = 'MIT'
16
16
 
17
17
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zombie_battleground-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
  - John Shields
@@ -238,7 +238,7 @@ files:
238
238
  - lib/zombie_battleground/api/validation_helper.rb
239
239
  - lib/zombie_battleground/api/version.rb
240
240
  - zombie_battleground-api.gemspec
241
- homepage: https://john.shields.wtf
241
+ homepage: https://github.com/watmin/zombie_battleground-api
242
242
  licenses:
243
243
  - MIT
244
244
  metadata: