API42 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5460b92be4d2bbda2421e101e8e21e1907880ee
4
- data.tar.gz: 6966de6f21cf581b096fd1ab2c7b32a111f48adb
3
+ metadata.gz: 3af748747ec3563cb02d3f3ce438792a449090d0
4
+ data.tar.gz: c6da6126e4b2cffdde8f752e55385e78700b33af
5
5
  SHA512:
6
- metadata.gz: 6651148325f5a6e5cdc0c7d582dc73b3beb47d0c8bfda3aa5dd2dbc406ec829c0caf5a8f7efbf106346b77dd76f22e2d22a281ad72fe4a6336265127185e519b
7
- data.tar.gz: 01d1859c6afa0bd156323e772478072f360e610136f3b45a44b8f77d5b84d37aed149f686fa5666729b124b01be5826331f78843605d0ca2c69f26c6344b45d7
6
+ metadata.gz: 88d1a7c108371e34bb6d848d6a1294f1704cb8887c4396bed99b1a7169fc12a26cc617bbc185444043f86c896229f23fc9aa8076ace14f5d2d03d3430a38baab
7
+ data.tar.gz: e6d35a899c44105826b813f2ecc388eba126bd4de6a4ade31fb84c63454f5a47973340b323f68b995b13385222d0cf9f6eb0a3d26fd8a2d11640469245f42c19
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # API42
1
+ # API42 [![Gem Version](https://badge.fury.io/rb/API42.svg)](http://badge.fury.io/rb/API42)
2
2
 
3
- A simple ruby wrapper for the 42 API.
3
+ A simple ruby wrapper for the 42 API v1.4.2.
4
4
 
5
5
  ## Installation
6
6
 
@@ -20,11 +20,11 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- TODO: Write usage instructions here
23
+ See the [wiki](https://github.com/spuyet/API-42/wiki/Usage).
24
24
 
25
25
  ## Contributing
26
26
 
27
- 1. Fork it ( https://github.com/[my-github-username]/API42/fork )
27
+ 1. Fork it ( https://github.com/spuyet/API42/fork )
28
28
  2. Create your feature branch (`git checkout -b my-new-feature`)
29
29
  3. Commit your changes (`git commit -am 'Add some feature'`)
30
30
  4. Push to the branch (`git push origin my-new-feature`)
data/lib/API42/client.rb CHANGED
@@ -32,7 +32,7 @@ module API42
32
32
  get teams[id.to_s]
33
33
  end
34
34
 
35
- def users(login, options = {})
35
+ def user(login, options = {})
36
36
  users = @host['users']
37
37
  login = users[login]
38
38
  get login[options[:resource]]
data/lib/API42/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module API42
2
- VERSION = "0.1.0"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: API42
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - spuyet
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-07-21 00:00:00.000000000 Z
11
+ date: 2015-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler