active_collab 0.0.1 → 0.0.2
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.
- data/README.md +18 -2
- data/active_collab.gemspec +1 -1
- data/lib/active_collab/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# ActiveCollab
|
2
2
|
|
3
|
-
Ruby client for the active collab 3 Api
|
3
|
+
Ruby client for the active collab 3 Api.<br>
|
4
|
+
This is a work in progress on it's early development.
|
4
5
|
|
5
6
|
## Installation
|
6
7
|
|
@@ -18,7 +19,22 @@ Or install it yourself as:
|
|
18
19
|
|
19
20
|
## Usage
|
20
21
|
|
21
|
-
|
22
|
+
```ruby
|
23
|
+
require 'active_collab'
|
24
|
+
|
25
|
+
#creating a client
|
26
|
+
url = "http://myactivecollabinstance.com/api.php"
|
27
|
+
api_key = MY_API_KEY
|
28
|
+
client = ActiveCollab::Client.new(url,api_key)
|
29
|
+
|
30
|
+
#listing projects
|
31
|
+
projects = client.projects
|
32
|
+
|
33
|
+
#listing tasks
|
34
|
+
tasks = client.tasks
|
35
|
+
|
36
|
+
```
|
37
|
+
|
22
38
|
|
23
39
|
## Contributing
|
24
40
|
|
data/active_collab.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
|
|
12
12
|
gem.email = ["marcosbeirigo@gmail.com", "diogo@jera.com.br"]
|
13
13
|
gem.description = "activecollab ruby"
|
14
14
|
gem.summary = "activecollab ruby"
|
15
|
-
gem.homepage = ""
|
15
|
+
gem.homepage = "https://github.com/jera/active_collab"
|
16
16
|
|
17
17
|
gem.files = `git ls-files`.split($/)
|
18
18
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_collab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -53,7 +53,7 @@ files:
|
|
53
53
|
- lib/active_collab/time_record.rb
|
54
54
|
- lib/active_collab/user.rb
|
55
55
|
- lib/active_collab/version.rb
|
56
|
-
homepage:
|
56
|
+
homepage: https://github.com/jera/active_collab
|
57
57
|
licenses: []
|
58
58
|
post_install_message:
|
59
59
|
rdoc_options: []
|