learn-web 1.0.1 → 1.0.2

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: b69195430cc8009d33e548d7ec4e0b2b72ed8c88
4
- data.tar.gz: 87a125fadd0cdf323b68e8dbaff937ea8ecb3e7c
3
+ metadata.gz: 78bc9371cad37fa2939d85e5e023c1c1e2b61718
4
+ data.tar.gz: 1ccc5adf368dd67183ffc3f3f319b9a0ca207c8b
5
5
  SHA512:
6
- metadata.gz: 0cf5d80f0170154a9b55a4886918751146b7c6003915361013f7eea71d18baaae7a89aba8cfdb4a03161fc50a5da38e258101f2bad3e243000ec9e71ec640a46
7
- data.tar.gz: 765dd246a8a23bee2f12e7466263c92dba87848f9f6763c710252cd47f6415f041f6a069ea4237bc65e7541dee8a28fb37dd1c591f6c7de056ff0d99a8acadb0
6
+ metadata.gz: f98bb5771ee1584ee3c793f9501b0ab98d3d6408a3ab1a08a2fc425b84b2b8fd21d216d093b22600e20bf0440b28cbb0febf7c8c4d12af329a1f3d3dc52f4003
7
+ data.tar.gz: a0f69de36dd310cb8bf8723dc905f105711e3a0ed7a66e4b15052df43e8addecd0ecae476111d8d37f94b2e75e02e4255a5f0c36f42a42bfc9fa3f799cb86ee9
@@ -1,5 +1,6 @@
1
1
  require 'faraday'
2
2
  require 'oj'
3
+ require 'fileutils'
3
4
 
4
5
  require 'learn_web/version'
5
6
  require 'learn_web/attribute_populatable'
@@ -25,6 +25,7 @@ module LearnWeb
25
25
  response = @conn.get do |req|
26
26
  req.url next_lesson_endpoint
27
27
  req.headers['Authorization'] = "Bearer #{token}"
28
+ req.params['dir_name'] = File.basename(FileUtils.pwd)
28
29
  end
29
30
 
30
31
  LearnWeb::Client::Lesson::NextLesson.new(response)
@@ -1,3 +1,3 @@
1
1
  module LearnWeb
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: learn-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flatiron School
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-03 00:00:00.000000000 Z
11
+ date: 2015-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler