freelancer4r 1.0.7 → 1.0.8

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/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == Freelancer4r 1.0.8 (2010.08.01)
2
+ * Class bugfix
3
+
1
4
  == Freelancer4r 1.0.7 (2010.08.01)
2
5
  * Api changes (employer api changes, see Freelancer::Employer class)
3
6
 
@@ -20,7 +20,7 @@ require 'net/http'
20
20
  #
21
21
  #Load all Freelancer modules
22
22
  module Freelancer
23
- VERSION = "1.0.7"
23
+ VERSION = "1.0.8"
24
24
  #Initialize the Freelancer Wrapper Class
25
25
  #
26
26
  #Parameters
@@ -115,65 +115,65 @@ module Freelancer
115
115
  end
116
116
  request "/Employer/inviteUserForProject.json", options
117
117
  end
118
- end
119
118
 
120
- #Update the details for a posted project.
121
- #
122
- #http://developer.freelancer.com/UpdateProjectDetails
123
- #
124
- #<b>Required:</b>
125
- # :projectid
126
- #
127
- #<b>Optional:</b>
128
- # :projectdesc
129
- # :jobtypecsv
130
- def updateProjectDetails *args
131
- options=fill_args [:projectid,:projectdesc,:jobtypecsv],[:projectid],*args
132
- request "/Employer/updateProjectDetails.json", options
133
- end
119
+ #Update the details for a posted project.
120
+ #
121
+ #http://developer.freelancer.com/UpdateProjectDetails
122
+ #
123
+ #<b>Required:</b>
124
+ # :projectid
125
+ #
126
+ #<b>Optional:</b>
127
+ # :projectdesc
128
+ # :jobtypecsv
129
+ def updateProjectDetails *args
130
+ options=fill_args [:projectid,:projectdesc,:jobtypecsv],[:projectid],*args
131
+ request "/Employer/updateProjectDetails.json", options
132
+ end
134
133
 
135
- #Retrieve the eligibility for current user to post a trial project.
136
- #
137
- #http://developer.freelancer.com/EligibleForTrialProject
138
- def eligibleForTrialProject
139
- request "/Employer/eligibleForTrialProject.json"
140
- end
134
+ #Retrieve the eligibility for current user to post a trial project.
135
+ #
136
+ #http://developer.freelancer.com/EligibleForTrialProject
137
+ def eligibleForTrialProject
138
+ request "/Employer/eligibleForTrialProject.json"
139
+ end
141
140
 
142
- #Publish Draft project to Trial or Normal.
143
- #
144
- #http://developer.freelancer.com/PublishDraftProject
145
- #
146
- #<b>Required:</b>
147
- # :projectid => Draft project ID
148
- #
149
- #<b>Optional:</b>
150
- # :publishoption
151
- # :trial => Publish to Trial Project (if not eligible, saved as Draft project)
152
- # :normal => Publish to Normal Project (Default)
153
- def publishDraftProject *args
154
- options=fill_args [:projectid,:publishoption],[:projectid],*args
155
- request "/Employer/publishDraftProject.json", options
156
- end
141
+ #Publish Draft project to Trial or Normal.
142
+ #
143
+ #http://developer.freelancer.com/PublishDraftProject
144
+ #
145
+ #<b>Required:</b>
146
+ # :projectid => Draft project ID
147
+ #
148
+ #<b>Optional:</b>
149
+ # :publishoption
150
+ # :trial => Publish to Trial Project (if not eligible, saved as Draft project)
151
+ # :normal => Publish to Normal Project (Default)
152
+ def publishDraftProject *args
153
+ options=fill_args [:projectid,:publishoption],[:projectid],*args
154
+ request "/Employer/publishDraftProject.json", options
155
+ end
157
156
 
158
- #Upgrade Trial project to Normal.
159
- #
160
- #http://developer.freelancer.com/UpgradeTrialProject
161
- #
162
- #<b>Required:</b>
163
- # :projectid => Trial project ID
164
- def upgradeTrialProject *args
165
- options=fill_args [:projectid],[:projectid],*args
166
- request "/Employer/upgradeTrialProject.json", options
167
- end
157
+ #Upgrade Trial project to Normal.
158
+ #
159
+ #http://developer.freelancer.com/UpgradeTrialProject
160
+ #
161
+ #<b>Required:</b>
162
+ # :projectid => Trial project ID
163
+ def upgradeTrialProject *args
164
+ options=fill_args [:projectid],[:projectid],*args
165
+ request "/Employer/upgradeTrialProject.json", options
166
+ end
168
167
 
169
- #Delete draft project
170
- #
171
- #http://developer.freelancer.com/DeleteDraftProject
172
- #
173
- #<b>Required:</b>
174
- # :projectid => Draft project ID
175
- def deleteDraftProject *args
176
- options=fill_args [:projectid],[:projectid],*args
177
- request "/Employer/deleteDraftProject.json", options
168
+ #Delete draft project
169
+ #
170
+ #http://developer.freelancer.com/DeleteDraftProject
171
+ #
172
+ #<b>Required:</b>
173
+ # :projectid => Draft project ID
174
+ def deleteDraftProject *args
175
+ options=fill_args [:projectid],[:projectid],*args
176
+ request "/Employer/deleteDraftProject.json", options
177
+ end
178
178
  end
179
179
  end
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: 25
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 7
10
- version: 1.0.7
9
+ - 8
10
+ version: 1.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Janos Haber