codewars_api 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/Gemfile +4 -0
- data/README.md +10 -2
- data/codewars_api.gemspec +3 -2
- data/lib/codewars_api/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c94c13a29f542cda33e4c103f0017a3a52edc09
|
4
|
+
data.tar.gz: 9e307ef5d80a9a6f069c41718b3ad905815cfacd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b318d4da06af8af757918d8e058d38581f7788e5e475421ebca487fb4cbf54587436d6e3937e20b11f509f51fec949540ef4ec87e54a7cc022e80f19a27965c4
|
7
|
+
data.tar.gz: ff4897b9bb419a019411ab54ed3370e36f750503c2f2161a9c7eb2b4fba1cd5ffc58403adca1747eeb593958773e4b4ac8590c249fa8b79aeb9d816255141e46
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Codewars API Client
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/codewars_api.svg)][gem]
|
4
|
+
[![Build Status](https://travis-ci.org/evmorov/codewars_api_client.svg?branch=master)][travis]
|
5
|
+
[![Coverage Status](https://coveralls.io/repos/evmorov/codewars_api_client/badge.svg?branch=master&service=github)][coveralls]
|
6
|
+
|
7
|
+
[gem]: https://badge.fury.io/rb/codewars_api
|
8
|
+
[travis]: https://travis-ci.org/evmorov/codewars_api_client
|
9
|
+
[coveralls]: https://coveralls.io/github/evmorov/codewars_api_client?branch=master
|
10
|
+
|
3
11
|
[Codewars API](http://dev.codewars.com)
|
4
12
|
|
5
13
|
## Installation
|
@@ -12,7 +20,7 @@ Or install it yourself as `$ gem install codewars_api`
|
|
12
20
|
|
13
21
|
## Usage
|
14
22
|
|
15
|
-
http://
|
23
|
+
[RDoc](http://www.rubydoc.info/github/Evmorov/codewars_api_client)
|
16
24
|
|
17
25
|
```ruby
|
18
26
|
client = CodewarsApi::Client.new(api_key: your_api_key)
|
@@ -72,7 +80,7 @@ Bug reports, pull requests and ideas are welcome!
|
|
72
80
|
|
73
81
|
Steps to make a pull request:
|
74
82
|
|
75
|
-
1. Fork it ( https://github.com/
|
83
|
+
1. Fork it ( https://github.com/evmorov/codewars_api_client/fork )
|
76
84
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
77
85
|
3. Make changes
|
78
86
|
4. Add tests for it
|
data/codewars_api.gemspec
CHANGED
@@ -10,10 +10,10 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['evmorov@gmail.com']
|
11
11
|
|
12
12
|
spec.summary = 'Simple Ruby wrapper for the Codewars API '
|
13
|
-
spec.homepage = 'https://github.com/
|
13
|
+
spec.homepage = 'https://github.com/evmorov/codewars_api_client'
|
14
14
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0")
|
16
|
-
|
16
|
+
.reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
17
|
spec.bindir = 'exe'
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ['lib']
|
@@ -30,5 +30,6 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_development_dependency 'rubocop'
|
31
31
|
|
32
32
|
spec.add_dependency 'httparty', '~> 0.13.7'
|
33
|
+
spec.add_dependency 'json', '~> 1.8.3'
|
33
34
|
spec.add_dependency 'andand', '~> 1.3.3'
|
34
35
|
end
|
data/lib/codewars_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codewars_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evgeny Morozov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: 0.13.7
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: json
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 1.8.3
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 1.8.3
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: andand
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,7 +206,7 @@ files:
|
|
192
206
|
- lib/codewars_api/train_specific_kata.rb
|
193
207
|
- lib/codewars_api/user.rb
|
194
208
|
- lib/codewars_api/version.rb
|
195
|
-
homepage: https://github.com/
|
209
|
+
homepage: https://github.com/evmorov/codewars_api_client
|
196
210
|
licenses:
|
197
211
|
- MIT
|
198
212
|
metadata: {}
|