learn-co 1.0.2 → 1.0.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.
- checksums.yaml +4 -4
- data/bin/learn +7 -5
- data/lib/learn/version.rb +1 -1
- 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: 34448b9d97446002e6fbc78655f02f5efe881a5f
|
|
4
|
+
data.tar.gz: 0651b33c999c105f72f7b0cfb064a3fc806a6e47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4cd341a55af8084d4525baf09728ce50e8659b69169bb261da21b7b2c31945339723b1033ef79a0a35fbc21e4bf4e39d20a9464e9f6cb53a7e6c21c79b5b27f9
|
|
7
|
+
data.tar.gz: e468526d0e4b35d129a5ac21984099e199a34a22e96fd8d69ec81ec86d5af985ef757a0c2671a3d40d759cf132b7544fbf81619121f5a921b035a8e85028dc53
|
data/bin/learn
CHANGED
|
@@ -6,8 +6,11 @@ require 'learn'
|
|
|
6
6
|
SERVICE_URL = 'http://ironbroker.flatironschool.com'
|
|
7
7
|
|
|
8
8
|
spec_type = Learn::SpecTypeParser.new.spec_type
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
|
|
10
|
+
unless spec_type == 'jasmine'
|
|
11
|
+
username = Learn::UsernameParser.get_username
|
|
12
|
+
user_id = Learn::UserIdParser.get_user_id
|
|
13
|
+
end
|
|
11
14
|
|
|
12
15
|
repo = ARGV.include?("--test") ? "git@github.com:flatiron-school/a-sample-repo.git" : Learn::RepoParser.get_repo
|
|
13
16
|
|
|
@@ -48,6 +51,8 @@ if spec_type == "jasmine"
|
|
|
48
51
|
else
|
|
49
52
|
if !options[:skip]
|
|
50
53
|
Learn::Jasmine::PhantomChecker.check_installation
|
|
54
|
+
username = Learn::UsernameParser.get_username
|
|
55
|
+
user_id = Learn::UserIdParser.get_user_id
|
|
51
56
|
else
|
|
52
57
|
username = "jasmine-flatiron"
|
|
53
58
|
user_id = "none"
|
|
@@ -71,6 +76,3 @@ elsif spec_type == 'python_unittest'
|
|
|
71
76
|
else
|
|
72
77
|
puts "This directory doesn't appear to have any specs in it."
|
|
73
78
|
end
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
data/lib/learn/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: learn-co
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
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-
|
|
11
|
+
date: 2015-05-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|