epitech_api 0.1.4 → 0.1.5

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: 473b0916bbb3c034adad18f6840495713350a67d
4
- data.tar.gz: 265d65c55b8e9b0fe32a664c184daee1e7c08be1
3
+ metadata.gz: 0c680e6378f7fb3b0376d18658514cf15e950f8e
4
+ data.tar.gz: 15131641f01001d30c14ee4b0d0b2b35791706b7
5
5
  SHA512:
6
- metadata.gz: 3eb91217432c2d55a2678f28e96ee0aa5de5cb753cbc2c887561b1ccd481169a7f7b090b6f053316b75294def43e4545fbd1fc61149bfe8ef842d650aab3db87
7
- data.tar.gz: 8ce06a46f7f313ba79b03d6b55d8ba847b4542fcc7510bf4a8859fe924b9c98e4d8c8a110a8c99deb864f9b1217f842f5faa6fa6fbfc43b7c38f487f1599b384
6
+ metadata.gz: bbab0f6abb822034d52e98492995d02c4ddc1acc704bea6b8cb928603b5de3620f0bc8ad61688ce3568c75cafea5b372619e116c3260e0d33d6eb941dbe8ffc9
7
+ data.tar.gz: 1299be90f4e4379084cceee78c4188282eec8e11205bb11a293672ae1c2b4dc7d5c023643a497fe56d8b306c42d767e5d2ae65d0d169fe3a2c99c4a7507190eb
@@ -3,7 +3,7 @@ require_relative 'basic_student'
3
3
  module EpitechApi
4
4
  class Student < BasicStudent
5
5
 
6
- attr_accessor :login, :first_name, :last_name, :picture, :location, :closed, :time_active, :time_needed, :gpa,
6
+ attr_accessor :login, :first_name, :last_name, :picture, :location, :closed, :time_active, :time_needed, :gpa
7
7
 
8
8
  def initialize(infos)
9
9
  @login, @first_name, @last_name, @picture, @location, @time_active, @time_needed, @closed, @gpa =
@@ -1,3 +1,3 @@
1
1
  module EpitechApi
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epitech_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antoine FORET
@@ -105,7 +105,6 @@ files:
105
105
  - lib/epitech_api/Providers/office_provider.rb
106
106
  - lib/epitech_api/gatherer.rb
107
107
  - lib/epitech_api/providers.rb
108
- - lib/epitech_api/test.rb
109
108
  - lib/epitech_api/user.rb
110
109
  - lib/epitech_api/version.rb
111
110
  homepage: https://github.com/eliastre100/epitech-api-gem
@@ -1,8 +0,0 @@
1
- require_relative 'providers'
2
-
3
- user = EpitechApi::IntraProvider.auto_login('auth-749fdf3fb987eef189c058332a3c41b4712eb67a')
4
- user_manager = user.gatherer.user_manager
5
- promo_manager = user.gatherer.promo_manager
6
- student = promo_manager.extract_students(promo_manager.get('tek4', 'FR/LIL', 2017))
7
-
8
- puts student.map { |s| user_manager.get(s.login) }.inspect