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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/learn +7 -5
  3. data/lib/learn/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 611f59ed6b9866d9da279270d8c5bbfadf9ed120
4
- data.tar.gz: fc9542be3a14aa654c17bec968657327d30a4a57
3
+ metadata.gz: 34448b9d97446002e6fbc78655f02f5efe881a5f
4
+ data.tar.gz: 0651b33c999c105f72f7b0cfb064a3fc806a6e47
5
5
  SHA512:
6
- metadata.gz: dfefde4f674d31c67774e83c054b38913df2796bc0d69901128c4488b09518ecf165995233f68860e0338360945b9b4d7e0d8a7c93801daa657d16d7f5a92933
7
- data.tar.gz: 66461d5fe7356b85985ee789b398856321ee84727804f43a65f358a41be5bbbb9815d39270d2ba759a34bc27b7c29caba174ad7af74608f12951de86215ba10a
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
- username = Learn::UsernameParser.get_username
10
- user_id = Learn::UserIdParser.get_user_id
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
-
@@ -1,3 +1,3 @@
1
1
  module Learn
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
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.2
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-03-26 00:00:00.000000000 Z
11
+ date: 2015-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler