exercism 0.0.10 → 0.0.11

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 +8 -8
  2. data/lib/cli.rb +8 -1
  3. data/lib/exercism/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Y2RlY2JmMTcyYTNjMDg2ZWU5NjQxNDcwM2E1YjRlMDFjMGU4Mzg4Yw==
4
+ MzA3Zjk0ZWU3OTU1ZTBmOWRiYTJmZTU4OGYzZjYzYjUxM2M1NTI5Zg==
5
5
  data.tar.gz: !binary |-
6
- MWJjMWZhMDYwOTA1ZWQwZGE0YTYxN2Q5YmM1YTc5ZjliZmY1NGQxOA==
6
+ N2MwN2FlOGEzMjhiYmE2YjQyMzIxNTE0OWE3NDdhZjIzODVlMDhkOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YTllNzIwY2RiMmU2NTM5N2E2OTEzZTNiOWU2NWUzYjQ3ZmRjMzVmNDU2N2M2
10
- NGRmMTk2MDM3MmU2MDkxM2M4ZDFlYzU3YmNmMTU5MjY0NGExODVjZmMzOGQy
11
- Zjg3MWU1ZWM1NTFhZTA5MzBjNTM1M2M3YmYyY2JiZWY5YjdlMTk=
9
+ YzI3N2EzYzA1YjE5YzAwYjI0NDNkZmMzNTBjZGZkMTMzODdhMjIyMDMzMDQ3
10
+ ODUzMWIzZTM1ZjM0YTI3OTg1ZGU3ZmQ3NDUyMGQ2NWE3MTliNGFmMzBhOTY5
11
+ MzViNjk3YmU5NmEzZjZiY2QzM2RiMzlkNzAyOWUwNjAwNTMxMDA=
12
12
  data.tar.gz: !binary |-
13
- NDE5YTIyYmRkZDZlYjQ0NzZkNzFjYTAzZGQ4ZGY5N2I1ZjQ1OGY5MDUwZThh
14
- YmNiNWZiNTM0ZGE4NTVmMWZkOGI4MTE1ZmVkNGI4OTRmODU1NTQ4NTZhYThm
15
- NjMyMGE3MWNiYzUyOTJhNTFmM2FiY2RkZWYzOWQzMjZkOGY2ZTc=
13
+ MmFmNjcyZGI5YTVlOGY3ZDMzNGVhYjBjNmRhM2EzMWI5ZmY3M2ZhYmY2OGYw
14
+ MDkwODk1ODZhNjU2ZWE2ZTJkMTA0YzcyOWM5N2JkZGI3MGRkMjcxYThiYThj
15
+ MmNlNzIxYjlkOGIxYmI3ZGIxODdkZDlkMzdlY2NmNjYyZTRhMzg=
data/lib/cli.rb CHANGED
@@ -25,7 +25,14 @@ class Exercism
25
25
  require 'exercism'
26
26
 
27
27
  path = File.join(FileUtils.pwd, file)
28
- Exercism::Api.new(options[:host], Exercism.user).submit(file)
28
+ begin
29
+ Exercism::Api.new(options[:host], Exercism.user).submit(file)
30
+ puts "Your assignment has been submitted."
31
+ puts "Check the website for feedback in a bit."
32
+ rescue Exception => e
33
+ puts "There was an issue with your submission."
34
+ puts e.message
35
+ end
29
36
  end
30
37
 
31
38
  desc "login", "Save exercism.io api credentials"
@@ -1,3 +1,3 @@
1
1
  class Exercism
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  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.10
4
+ version: 0.0.11
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-20 00:00:00.000000000 Z
11
+ date: 2013-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday