freelancer4r 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/README.rdoc +5 -1
- data/lib/freelancer.rb +10 -7
- metadata +3 -3
data/CHANGELOG
CHANGED
data/README.rdoc
CHANGED
@@ -2,7 +2,11 @@
|
|
2
2
|
Freelancer API for ruby
|
3
3
|
|
4
4
|
This api allow to call freelancer api from ruby code.
|
5
|
-
It's can login to freelancer with "mechanize", using oauth library
|
5
|
+
It's can login to freelancer with "mechanize", using oauth library
|
6
|
+
|
7
|
+
Main site: http://github.com/b0c1/freelancer4r
|
8
|
+
RDoc: http://freelancer4r.javaportal.hu/
|
9
|
+
Mailing list: http://groups.google.com/group/freelancer4r
|
6
10
|
|
7
11
|
== Installation
|
8
12
|
|
data/lib/freelancer.rb
CHANGED
@@ -20,16 +20,15 @@ require 'net/http'
|
|
20
20
|
#
|
21
21
|
#Load all Freelancer modules
|
22
22
|
module Freelancer
|
23
|
-
VERSION = "1.0.
|
23
|
+
VERSION = "1.0.5"
|
24
24
|
#Initialize the Freelancer Wrapper Class
|
25
25
|
#
|
26
26
|
#Parameters
|
27
|
-
#
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
#<b>application secret</b> the application secret from freelancer
|
27
|
+
# <b>sandbox</b> => true if we are using freelancer sandbox, default: false
|
28
|
+
# <b>username</b> => the username for the automatic authorization, default: nil
|
29
|
+
# <b>password</b> => the password for the automatic authorization, default: nil
|
30
|
+
# <b>application token</b> => the application token from freelancer
|
31
|
+
# <b>application secret</b> => the application secret from freelancer
|
33
32
|
def self.new sandbox=false,application_token=nil,application_secret=nil,username=nil,password=nil
|
34
33
|
freelancer=Freelancer.new
|
35
34
|
freelancer.sandbox=sandbox
|
@@ -61,6 +60,10 @@ module Freelancer
|
|
61
60
|
include User
|
62
61
|
end
|
63
62
|
|
63
|
+
#Initialize Freelancer Widget API
|
64
|
+
#
|
65
|
+
#Parameters
|
66
|
+
# <b>sandbox</b> => true if we are using freelancer sandbox, default: false
|
64
67
|
def self.new_widget sandbox=false
|
65
68
|
widget=FreelancerWidget.new
|
66
69
|
widget.sandbox=sandbox
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: freelancer4r
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 5
|
10
|
+
version: 1.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Janos Haber
|