exercism 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NGM5OTNiOGM4OGEyOGUxMTRmYzhlODRkYjcxOWQ3YWM3M2U2YmFmMw==
4
+ MGE1N2I3MGM2YjNmZDRhMGZlOTBiMjljOWExMzE5NjNlYmVlYzRjYw==
5
5
  data.tar.gz: !binary |-
6
- N2RhYzc3MzE2MTg1YjJlM2NlYzY3NzJkYTE1Y2E4Y2JkMDY3NTBjMQ==
6
+ OGI3ODhjMmE3ZDJkODAyMGNkOTI5NmU5MWM1YzU0ZGM5MTBhMTg3NA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NmVjZTBjZjBlYjVhZGQ3ZTE4YjE1OGQwZDdkZTg4Y2E1MzkwMDE1Zjk0ZGQw
10
- MWJjOTM0MDIzNWNiNzgzYTJkOWQzZmZkMDViODBkNmJiYjkwN2IxOGFiOTZk
11
- ZDc0MWIxMTE0Yjk1MDc3ZWNhZjg2NThmMjRmYzk3NGI1MDEyNjM=
9
+ NmM4NDA5MzUwN2VkNjE2ZTE2ZDcxNzg2NGYyMzM0MGFlM2E2MWEwOWIxZWFl
10
+ YzBkZDhjNDU5MGUwOTJhYjAxMGNmNzNlOTY0MTE2MzU2YmMzYTczNzQ5MGNi
11
+ ZDhjODQ4MTgzNWY4MjYyNjg3ZmQ3ZjRmNjE2NjJiMzUyNzA0NDQ=
12
12
  data.tar.gz: !binary |-
13
- ZDI2NWVjMGI1NjE2MGYxNjU5MTM5NDAzMjNmNjIyOGI5YTdmZTQ1Y2JhMzk2
14
- YjEyMGJkNzAwNGVkYTcxZDkwMTE1MGJmNzAyMjRlNGEwZDkxZWY0MmNjZmQ0
15
- MDAzN2NiMTk3MDYwZTc3ZDZmMDc5ZTc5MWRiMjk2OGU5YjVhYzI=
13
+ OGJjMTdkMDNiZWY5YWE1OWU0MjFjNzljOWE4ZDU2YmM4MzAzNDM0NmE0Zjkx
14
+ NGFkZDIxN2I0ZTA0NjJmYzFlMmNhMDFkNGM5ODI1YTE1MDRkZjYxNmRjMGJj
15
+ YTEyMTQ4OTQ2M2Q1OGM4MTQyM2FkYmI0ZTA3YjFiNjRjNTQzNGM=
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ ---
2
+ language: ruby
3
+ rvm:
4
+ - 1.9.2
5
+ - 1.9.3
6
+ - 2.0.0
7
+ - rbx-19mode
8
+ script: bundle exec rake
data/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  Client gem for the warmup-exercise app exercism.io.
4
4
 
5
+ [![Code Climate](https://codeclimate.com/github/kytrinyx/exercism.png)](https://codeclimate.com/github/kytrinyx/exercism)
6
+ [![Build Status](https://travis-ci.org/kytrinyx/exercism.png?branch=master)](https://travis-ci.org/kytrinyx/exercism)
7
+
8
+ ## Install
9
+
5
10
  $ gem install exercism
6
11
 
7
12
  ## Usage
data/exercism.gemspec CHANGED
@@ -25,4 +25,5 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency "vcr", '~> 2.4'
26
26
  spec.add_development_dependency "fakeweb"
27
27
  spec.add_development_dependency "approvals"
28
+ spec.add_development_dependency "minitest", '~> 4.7'
28
29
  end
data/lib/cli.rb CHANGED
@@ -39,6 +39,7 @@ class Exercism
39
39
  if path.empty?
40
40
  path = default_path
41
41
  end
42
+ path = File.expand_path(path)
42
43
  Exercism.login(username, key, path)
43
44
 
44
45
  say("Your credentials have been written to #{Exercism.config.file}")
@@ -25,7 +25,9 @@ class Exercism
25
25
  File.open readme_path, 'w' do |f|
26
26
  f.write readme
27
27
  end
28
- File.write tests_path, tests
28
+ File.open tests_path, 'w' do |f|
29
+ f.write tests
30
+ end
29
31
  self
30
32
  end
31
33
 
@@ -1,3 +1,3 @@
1
1
  class Exercism
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
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.6
4
+ version: 0.0.7
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-16 00:00:00.000000000 Z
11
+ date: 2013-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: minitest
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '4.7'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: '4.7'
111
125
  description: Client gem for the exercism.io app
112
126
  email:
113
127
  - katrina.owen@gmail.com
@@ -117,6 +131,7 @@ extensions: []
117
131
  extra_rdoc_files: []
118
132
  files:
119
133
  - .gitignore
134
+ - .travis.yml
120
135
  - Gemfile
121
136
  - LICENSE.txt
122
137
  - README.md