spartacus 0.1.2 → 0.1.3

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/spartacus.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 801c55dbf9d465941639685779acb667d62e22fb
4
- data.tar.gz: 9df8b4141dcd69f6206a5c90ab2b735b70fc01f9
3
+ metadata.gz: cceffd5410cb044595ad8a2244d7b5ffb710a68b
4
+ data.tar.gz: d9b1dbecfa915ffe2aafeaf7de539d5cd60ae4eb
5
5
  SHA512:
6
- metadata.gz: c866e77cbc02388f601d96fe80bc17f39be0d976698ed6cba72ff422af655eec2d87db24be3a0e824f72bebec4def7d8eab5681e2a67d7149a3774af45dd53df
7
- data.tar.gz: e2634bf8eb8255d93f48586030e87cc17a9c1c0342f92de71de2f906b33df27e527139ff2aa5571040578bd92b924451796495cb3954eee1b8213f5621932f9e
6
+ metadata.gz: 128a75169598bd77a3622171fa5cb897366e945dc51f336edcf49c15d306b6e830ae3361a79108e49a27471d88361cb31394eddd061c3c17de0e844e50e407fa
7
+ data.tar.gz: 1c9348fd2753f3cfc59bbab7c1e35285f1df3ccbeb266ef4e5e9e1cda6c5e5885b204d8a875a14c70f32225197009488e259ef81af1c21f54172ab6d6411f54c
data/lib/spartacus.rb CHANGED
@@ -8,12 +8,13 @@ class Spartacus
8
8
  include Checkpoints
9
9
  include Users
10
10
  include RoadmapSections
11
+ include AlumniStories
11
12
 
12
13
  def initialize(email, password, api_base_path="https://www.bloc.io/api/v1")
13
14
  @api_base_path = api_base_path
14
15
  url = "#{@api_base_path}/sessions"
15
16
 
16
- response = self.class.post(url, query: { email: email, password: password } )
17
+ response = self.class.post(url, query: { email: email, password: password })
17
18
 
18
19
  if success?(response.code)
19
20
  response_hash = JSON.parse(response.body)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spartacus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Neely