hexlet 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hexlet/member_cli.rb +1 -1
- data/lib/hexlet/version.rb +1 -1
- data/test/hexlet/member_cli_test.rb +1 -0
- data/test/hexlet/teacher_cli_test.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7059abd5d11bc2ff94e6c7713a61ecb386af244e
|
4
|
+
data.tar.gz: a2ec7f4d024ab654e47fc8cd4b7b4d01806e55d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50aa928de62cab71fad6010b4583b3ab56f2f2386e0e59d4692b20f724642f064fa96901445c9f03b0a265beb0e0e1c67b650e595269126066218e5bb81717d7
|
7
|
+
data.tar.gz: c68543c0acde90205aa52b6b23930cf53edec581d1d0a91c5ff7d66fbbc6da27396d28caab7c4fe6f209c8d0eeb4039c27a7a9c45e9e5c7a40207f5e4d7442a7
|
data/lib/hexlet/member_cli.rb
CHANGED
data/lib/hexlet/version.rb
CHANGED
@@ -10,6 +10,7 @@ class Hexlet::MemberCLITest < MiniTest::Test
|
|
10
10
|
config_file = File.join(Dir.home, ".hexlet", "credentials")
|
11
11
|
|
12
12
|
stub = stub_request(:get, @router.api_member_user_check_url).
|
13
|
+
with(:headers => {'X-Hexlet-Api-Key'=>api_key}).
|
13
14
|
to_return(:status => 200)
|
14
15
|
|
15
16
|
FakeFS do
|
@@ -13,7 +13,9 @@ class Hexlet::TeacherCLITest < MiniTest::Test
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def test_submit
|
16
|
+
# api_key = "api_key"
|
16
17
|
stub = stub_request(:post, @router.api_teacher_lessons_url).
|
18
|
+
# with(:headers => {'X-Hexlet-Api-Key' => api_key}).
|
17
19
|
to_return(:status => 201)
|
18
20
|
|
19
21
|
FakeFS do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hexlet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kirill Mokevnin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|