exercism 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +4 -0
- data/bin/exercism +7 -1
- data/lib/exercism/version.rb +1 -1
- data/test/exercism_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmYzZjA0YjJlYmUxYzg0MTJiYTE2YTAyNmI3ZGUzYjcxYzIyYjQ3Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWU3NTc0ZmI4OWE0NDQ0NjE2MDkyOWVkNWExYTIyMDVjYWQ1M2M0NQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2ZjNDdiMjZkYTlmMGI0MzRjOTk1ZDQxYzJmMTM2MDRjOTMwNWExZWM2MTYz
|
10
|
+
NWU1ZjA0MmE0OTk5ZDMxNWIwMmJmZmE1OGE0NTM3NGViNjI2ZjRjMDE5NjRm
|
11
|
+
OWQ4MjE5YmE0ZmU1NjNlNzJmMmYwN2UwZDgxNGQ0YzhjMzJmNTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTA4NDI4MjNkNGJlZDQ3OTMzNThiNjZhYzJjYTQ3ZWQ3Yjg1ZDU3NWJjZDNl
|
14
|
+
NjkxN2E3ZDMzY2ExMjg4OGRlNDc4YjFmODk2YWIzZTAzNDUwZjQ5ZmFkOWUw
|
15
|
+
M2IwNzRkZDg3NzI3MWI5ODdkMTZlZjY1ZTg4NGMwZDQ0YTIwMzY=
|
data/README.md
CHANGED
data/bin/exercism
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
trap("INT") { print "\nExiting. \n"; exit }
|
3
4
|
$:.unshift File.expand_path("../../lib", __FILE__)
|
4
5
|
require 'cli'
|
5
6
|
|
6
|
-
|
7
|
+
begin
|
8
|
+
Exercism::CLI.start
|
9
|
+
rescue Exception => e
|
10
|
+
print "\nERROR: Something went wrong. Exiting.\n"
|
11
|
+
raise e if ENV['EXERCISM_ENV'] =~ /test|development/
|
12
|
+
end
|
data/lib/exercism/version.rb
CHANGED
data/test/exercism_test.rb
CHANGED
@@ -20,7 +20,7 @@ class ExercismTest < MiniTest::Unit::TestCase
|
|
20
20
|
def test_login_gives_you_a_user
|
21
21
|
Exercism.stub(:home, './test/fixtures') do
|
22
22
|
key = '97e9975'
|
23
|
-
user = Exercism.login('bob', key, '/
|
23
|
+
user = Exercism.login('bob', key, '/tmp')
|
24
24
|
assert_equal 'bob', user.github_username
|
25
25
|
assert_equal key, user.key
|
26
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exercism
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katrina Owen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|