aspose_tasks_cloud 1.0.1 → 1.0.2

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: eb9fc41f3a012a238329cd149bb05d004c22cddf
4
- data.tar.gz: 4d985bddc2cae6f74325d610183c0228e16e71c5
3
+ metadata.gz: d64c90f850d18d8ce2ca7303cc29a40e6b7fa00c
4
+ data.tar.gz: 37527822c0ccadb97bddd36f182fa67a646abad1
5
5
  SHA512:
6
- metadata.gz: ea1361c852c79891cd97b08fad10ec284160f8655bb0c20961c2bceaa3f0990df07a862beafa4bf39b8ecc1eb69860aa7ca808b3f7a6f094f57d2c98bd656c4a
7
- data.tar.gz: eb3592fd8f46365e886387d2554ac56db166db34391343ef7140a0e1050c7a6f32ef5df9f92630c12e83e6e65bf0ee03e0d4f00d2d8cafb72062cc36531da274
6
+ metadata.gz: 128a0b0731b699a6bf283da6c9f8d3b892e5c39b9c84a27d88e4f192ad072ba8646df6c9c65c5f0cb1c755ad946863264569d0505b1e34aa5e75b8c74a577064
7
+ data.tar.gz: 4747077cb66150bc0a88f995b5498f254aa6b07fb443668c9099bfb8eae349f21f2d3b8d8f8176f786afdbcf494a142a1c8ba6a187193bf8b77b5c0938787460
data/README.md CHANGED
@@ -1,10 +1,14 @@
1
1
  # Aspose.Tasks Cloud SDK For Ruby
2
2
  This SDK lets you use [Aspose Cloud Tasks APIs](http://www.aspose.com/cloud/project-management-api.aspx) in your Ruby web apps.
3
3
 
4
- ## Installing
5
- You can simply install Aspose Tasks Cloud SDK with gem:
4
+ <p align="center">
5
+ <a title="Download complete Aspose.Tasks for Cloud source code" href="https://github.com/asposetasks/Aspose_tasks_Cloud/archive/master.zip">
6
+ <img src="https://raw.github.com/AsposeExamples/java-examples-dashboard/master/images/downloadZip-Button-Large.png" />
7
+ </a>
8
+ </p>
6
9
 
7
- `gem install aspose_tasks_cloud`
10
+ ##How to Use the SDK?
11
+ The complete source code is available in this repository folder, you can either directly use it in your project or use RubyGems. For more details, please visit our [documentation website](http://www.aspose.com/docs/display/taskscloud/Available+SDKs).
8
12
 
9
13
  ## Usage
10
14
  APIs of this SDK can be called as follows:
@@ -42,8 +46,5 @@ end
42
46
  ## Unit Tests
43
47
  Aspose Tasks SDK includes a suite of unit tests within the [test](https://github.com/asposetasks/Aspose_Tasks_Cloud/blob/master/SDKs/Aspose.Tasks_Cloud_SDK_for_Ruby/test/tasks_tests.rb) subdirectory. These Unit Tests also serves as examples of how to use the Aspose Tasks SDK.
44
48
 
45
- ## Contact
46
- Your feedback is very important to us. Please email us all your queries and feedback at marketplace@aspose.com.
47
-
48
- ## License
49
- Aspose Tasks SDK is available under the MIT license. See the [LICENSE](https://github.com/asposetasks/Aspose_Tasks_Cloud/blob/master/SDKs/Aspose.Tasks_Cloud_SDK_for_Ruby/LICENSE) file for more info.
49
+ ##Contact Us
50
+ Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://www.aspose.com/community/forums/).
@@ -855,6 +855,7 @@ module AsposeTasksCloud
855
855
  :body => post_body,
856
856
  :auth_names => auth_names,
857
857
  :return_type => 'BaseResponse')
858
+ puts result
858
859
  if Configuration.debugging
859
860
  Configuration.logger.debug "API called: TasksApi#delete_calendar_exception. Result: #{result.inspect}"
860
861
  end
@@ -227,7 +227,7 @@ module AsposeTasksCloud
227
227
  # close and delete temp file
228
228
  tmp_file.close!
229
229
 
230
- File.open(path, 'w') { |file| file.write(response.body) }
230
+ File.open(path, 'wb') { |file| file.write(response.body) }
231
231
  Configuration.logger.info "File written to #{path}. Please move the file to a proper "\
232
232
  "folder for further processing and delete the temp afterwards"
233
233
  File.new(path)
@@ -1,3 +1,3 @@
1
1
  module AsposeTasksCloud
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -19,7 +19,7 @@ class TasksTests < Minitest::Test
19
19
 
20
20
  def upload_file(file_name)
21
21
  @storage_api = StorageApi.new
22
- response = @storage_api.put_create(file_name, File.open("data/" << file_name,"r") { |io| io.read } )
22
+ response = @storage_api.put_create(file_name, File.open("../../../data/" << file_name,"r") { |io| io.read } )
23
23
 
24
24
  assert(response, message="Failed to upload {file_name} file.")
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_tasks_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - M. Sohail Ismail
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-09 00:00:00.000000000 Z
11
+ date: 2017-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -168,11 +168,6 @@ files:
168
168
  - lib/aspose_tasks_cloud/models/week_day.rb
169
169
  - lib/aspose_tasks_cloud/models/working_time.rb
170
170
  - lib/aspose_tasks_cloud/version.rb
171
- - test/data/ExtendedAttribute.mpp
172
- - test/data/Outlinecode.mpp
173
- - test/data/ResourceWithExtAttribs.xml
174
- - test/data/sample-project-2.mpp
175
- - test/data/sample-project.mpp
176
171
  - test/tasks_tests.rb
177
172
  homepage: http://www.aspose.com/cloud/project-management-api.aspx
178
173
  licenses:
@@ -194,14 +189,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
189
  version: '0'
195
190
  requirements: []
196
191
  rubyforge_project:
197
- rubygems_version: 2.5.1
192
+ rubygems_version: 2.6.8
198
193
  signing_key:
199
194
  specification_version: 4
200
195
  summary: Aspose.Tasks for Cloud
201
196
  test_files:
202
- - test/data/ExtendedAttribute.mpp
203
- - test/data/Outlinecode.mpp
204
- - test/data/ResourceWithExtAttribs.xml
205
- - test/data/sample-project-2.mpp
206
- - test/data/sample-project.mpp
207
197
  - test/tasks_tests.rb
Binary file
@@ -1,345 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
- <Project xmlns="http://schemas.microsoft.com/project">
3
- <!--Published by Aspose.Tasks 2009 for .NET 6.2.0.0-->
4
- <SaveVersion>14</SaveVersion>
5
- <CreationDate>2000-09-10T08:00:00</CreationDate>
6
- <LastSaved>2000-09-10T23:20:53</LastSaved>
7
- <ScheduleFromStart>1</ScheduleFromStart>
8
- <StartDate>2000-09-10T08:00:00</StartDate>
9
- <FinishDate>2000-09-10T08:00:00</FinishDate>
10
- <FYStartDate>1</FYStartDate>
11
- <CriticalSlackLimit>0</CriticalSlackLimit>
12
- <CurrencyDigits>2</CurrencyDigits>
13
- <CurrencySymbol>$</CurrencySymbol>
14
- <CurrencyCode>USD</CurrencyCode>
15
- <CurrencySymbolPosition>0</CurrencySymbolPosition>
16
- <CalendarUID>1</CalendarUID>
17
- <DefaultStartTime>08:00:00</DefaultStartTime>
18
- <DefaultFinishTime>17:00:00</DefaultFinishTime>
19
- <MinutesPerDay>480</MinutesPerDay>
20
- <MinutesPerWeek>2400</MinutesPerWeek>
21
- <DaysPerMonth>20</DaysPerMonth>
22
- <DefaultTaskType>0</DefaultTaskType>
23
- <DefaultFixedCostAccrual>3</DefaultFixedCostAccrual>
24
- <DefaultStandardRate>0</DefaultStandardRate>
25
- <DefaultOvertimeRate>0</DefaultOvertimeRate>
26
- <DurationFormat>7</DurationFormat>
27
- <WorkFormat>2</WorkFormat>
28
- <EditableActualCosts>0</EditableActualCosts>
29
- <HonorConstraints>0</HonorConstraints>
30
- <InsertedProjectsLikeSummary>0</InsertedProjectsLikeSummary>
31
- <MultipleCriticalPaths>0</MultipleCriticalPaths>
32
- <NewTasksEffortDriven>0</NewTasksEffortDriven>
33
- <NewTasksEstimated>0</NewTasksEstimated>
34
- <SplitsInProgressTasks>0</SplitsInProgressTasks>
35
- <SpreadActualCost>0</SpreadActualCost>
36
- <SpreadPercentComplete>0</SpreadPercentComplete>
37
- <TaskUpdatesResource>0</TaskUpdatesResource>
38
- <FiscalYearStart>0</FiscalYearStart>
39
- <WeekStartDay>1</WeekStartDay>
40
- <MoveCompletedEndsBack>0</MoveCompletedEndsBack>
41
- <MoveRemainingStartsBack>0</MoveRemainingStartsBack>
42
- <MoveRemainingStartsForward>0</MoveRemainingStartsForward>
43
- <MoveCompletedEndsForward>0</MoveCompletedEndsForward>
44
- <BaselineForEarnedValue>0</BaselineForEarnedValue>
45
- <AutoAddNewResourcesAndTasks>0</AutoAddNewResourcesAndTasks>
46
- <MicrosoftProjectServerURL>0</MicrosoftProjectServerURL>
47
- <Autolink>0</Autolink>
48
- <NewTaskStartDate>0</NewTaskStartDate>
49
- <DefaultTaskEVMethod>0</DefaultTaskEVMethod>
50
- <ProjectExternallyEdited>0</ProjectExternallyEdited>
51
- <ExtendedCreationDate>2000-01-01T00:00:00</ExtendedCreationDate>
52
- <ActualsInSync>0</ActualsInSync>
53
- <RemoveFileProperties>0</RemoveFileProperties>
54
- <AdminProject>0</AdminProject>
55
- <OutlineCodes />
56
- <ExtendedAttributes />
57
- <Calendars>
58
- <Calendar>
59
- <UID>1</UID>
60
- <Name>Standard</Name>
61
- <IsBaseCalendar>1</IsBaseCalendar>
62
- <BaseCalendarUID>-1</BaseCalendarUID>
63
- <WeekDays>
64
- <WeekDay>
65
- <DayType>2</DayType>
66
- <DayWorking>1</DayWorking>
67
- <WorkingTimes>
68
- <WorkingTime>
69
- <FromTime>08:00:00</FromTime>
70
- <ToTime>12:00:00</ToTime>
71
- </WorkingTime>
72
- <WorkingTime>
73
- <FromTime>13:00:00</FromTime>
74
- <ToTime>17:00:00</ToTime>
75
- </WorkingTime>
76
- </WorkingTimes>
77
- </WeekDay>
78
- <WeekDay>
79
- <DayType>3</DayType>
80
- <DayWorking>1</DayWorking>
81
- <WorkingTimes>
82
- <WorkingTime>
83
- <FromTime>08:00:00</FromTime>
84
- <ToTime>12:00:00</ToTime>
85
- </WorkingTime>
86
- <WorkingTime>
87
- <FromTime>13:00:00</FromTime>
88
- <ToTime>17:00:00</ToTime>
89
- </WorkingTime>
90
- </WorkingTimes>
91
- </WeekDay>
92
- <WeekDay>
93
- <DayType>4</DayType>
94
- <DayWorking>1</DayWorking>
95
- <WorkingTimes>
96
- <WorkingTime>
97
- <FromTime>08:00:00</FromTime>
98
- <ToTime>12:00:00</ToTime>
99
- </WorkingTime>
100
- <WorkingTime>
101
- <FromTime>13:00:00</FromTime>
102
- <ToTime>17:00:00</ToTime>
103
- </WorkingTime>
104
- </WorkingTimes>
105
- </WeekDay>
106
- <WeekDay>
107
- <DayType>5</DayType>
108
- <DayWorking>1</DayWorking>
109
- <WorkingTimes>
110
- <WorkingTime>
111
- <FromTime>08:00:00</FromTime>
112
- <ToTime>12:00:00</ToTime>
113
- </WorkingTime>
114
- <WorkingTime>
115
- <FromTime>13:00:00</FromTime>
116
- <ToTime>17:00:00</ToTime>
117
- </WorkingTime>
118
- </WorkingTimes>
119
- </WeekDay>
120
- <WeekDay>
121
- <DayType>6</DayType>
122
- <DayWorking>1</DayWorking>
123
- <WorkingTimes>
124
- <WorkingTime>
125
- <FromTime>08:00:00</FromTime>
126
- <ToTime>12:00:00</ToTime>
127
- </WorkingTime>
128
- <WorkingTime>
129
- <FromTime>13:00:00</FromTime>
130
- <ToTime>17:00:00</ToTime>
131
- </WorkingTime>
132
- </WorkingTimes>
133
- </WeekDay>
134
- <WeekDay>
135
- <DayType>7</DayType>
136
- <DayWorking>0</DayWorking>
137
- </WeekDay>
138
- <WeekDay>
139
- <DayType>1</DayType>
140
- <DayWorking>0</DayWorking>
141
- </WeekDay>
142
- </WeekDays>
143
- </Calendar>
144
- </Calendars>
145
- <Tasks>
146
- <Task>
147
- <UID>0</UID>
148
- <ID>0</ID>
149
- <Manual>0</Manual>
150
- <Type>0</Type>
151
- <IsNull>0</IsNull>
152
- <CreateDate>2000-09-10T23:20:53</CreateDate>
153
- <OutlineLevel>0</OutlineLevel>
154
- <Priority>500</Priority>
155
- <Start>2000-09-10T08:00:00</Start>
156
- <Finish>2000-09-10T08:00:00</Finish>
157
- <Duration>PT0H0M0S</Duration>
158
- <ManualStart>2000-09-10T08:00:00</ManualStart>
159
- <ManualFinish>2000-09-10T08:00:00</ManualFinish>
160
- <ManualDuration>PT0H0M0S</ManualDuration>
161
- <DurationFormat>21</DurationFormat>
162
- <Work>PT0H0M0S</Work>
163
- <ResumeValid>0</ResumeValid>
164
- <EffortDriven>0</EffortDriven>
165
- <Recurring>0</Recurring>
166
- <OverAllocated>0</OverAllocated>
167
- <Estimated>0</Estimated>
168
- <Milestone>0</Milestone>
169
- <Summary>0</Summary>
170
- <Critical>1</Critical>
171
- <IsSubproject>0</IsSubproject>
172
- <IsSubprojectReadOnly>0</IsSubprojectReadOnly>
173
- <ExternalTask>0</ExternalTask>
174
- <EarlyStart>2000-09-10T08:00:00</EarlyStart>
175
- <EarlyFinish>2000-09-10T08:00:00</EarlyFinish>
176
- <LateStart>2000-09-10T08:00:00</LateStart>
177
- <LateFinish>2000-09-10T08:00:00</LateFinish>
178
- <StartVariance>0</StartVariance>
179
- <FinishVariance>0</FinishVariance>
180
- <WorkVariance>0</WorkVariance>
181
- <FreeSlack>0</FreeSlack>
182
- <TotalSlack>0</TotalSlack>
183
- <StartSlack>0</StartSlack>
184
- <FinishSlack>0</FinishSlack>
185
- <FixedCost>0</FixedCost>
186
- <FixedCostAccrual>3</FixedCostAccrual>
187
- <PercentComplete>0</PercentComplete>
188
- <PercentWorkComplete>0</PercentWorkComplete>
189
- <Cost>0</Cost>
190
- <OvertimeCost>0</OvertimeCost>
191
- <OvertimeWork>PT0H0M0S</OvertimeWork>
192
- <ActualDuration>PT0H0M0S</ActualDuration>
193
- <ActualCost>0</ActualCost>
194
- <ActualOvertimeCost>0</ActualOvertimeCost>
195
- <ActualWork>PT0H0M0S</ActualWork>
196
- <ActualOvertimeWork>PT0H0M0S</ActualOvertimeWork>
197
- <RegularWork>PT0H0M0S</RegularWork>
198
- <RemainingDuration>PT0H0M0S</RemainingDuration>
199
- <RemainingCost>0</RemainingCost>
200
- <RemainingWork>PT0H0M0S</RemainingWork>
201
- <RemainingOvertimeCost>0</RemainingOvertimeCost>
202
- <RemainingOvertimeWork>PT0H0M0S</RemainingOvertimeWork>
203
- <ACWP>0</ACWP>
204
- <CV>0</CV>
205
- <ConstraintType>0</ConstraintType>
206
- <CalendarUID>-1</CalendarUID>
207
- <LevelAssignments>1</LevelAssignments>
208
- <LevelingCanSplit>1</LevelingCanSplit>
209
- <LevelingDelay>0</LevelingDelay>
210
- <LevelingDelayFormat>8</LevelingDelayFormat>
211
- <IgnoreResourceCalendar>0</IgnoreResourceCalendar>
212
- <HideBar>0</HideBar>
213
- <Rollup>0</Rollup>
214
- <BCWS>0</BCWS>
215
- <BCWP>0</BCWP>
216
- <PhysicalPercentComplete>0</PhysicalPercentComplete>
217
- <EarnedValueMethod>0</EarnedValueMethod>
218
- <IsPublished>0</IsPublished>
219
- <CommitmentType>0</CommitmentType>
220
- </Task>
221
- </Tasks>
222
- <Resources>
223
- <Resource>
224
- <UID>0</UID>
225
- <ID>0</ID>
226
- <Type>1</Type>
227
- <IsNull>0</IsNull>
228
- <WorkGroup>0</WorkGroup>
229
- <MaxUnits>1</MaxUnits>
230
- <PeakUnits>0</PeakUnits>
231
- <OverAllocated>0</OverAllocated>
232
- <CanLevel>1</CanLevel>
233
- <AccrueAt>3</AccrueAt>
234
- <Work>PT0H0M0S</Work>
235
- <RegularWork>PT0H0M0S</RegularWork>
236
- <OvertimeWork>PT0H0M0S</OvertimeWork>
237
- <ActualWork>PT0H0M0S</ActualWork>
238
- <RemainingWork>PT0H0M0S</RemainingWork>
239
- <ActualOvertimeWork>PT0H0M0S</ActualOvertimeWork>
240
- <RemainingOvertimeWork>PT0H0M0S</RemainingOvertimeWork>
241
- <PercentWorkComplete>0</PercentWorkComplete>
242
- <StandardRate>0</StandardRate>
243
- <StandardRateFormat>2</StandardRateFormat>
244
- <Cost>0</Cost>
245
- <OvertimeRate>0</OvertimeRate>
246
- <OvertimeRateFormat>2</OvertimeRateFormat>
247
- <OvertimeCost>0</OvertimeCost>
248
- <CostPerUse>0</CostPerUse>
249
- <ActualCost>0</ActualCost>
250
- <ActualOvertimeCost>0</ActualOvertimeCost>
251
- <RemainingCost>0</RemainingCost>
252
- <RemainingOvertimeCost>0</RemainingOvertimeCost>
253
- <WorkVariance>0</WorkVariance>
254
- <CostVariance>0</CostVariance>
255
- <SV>0</SV>
256
- <CV>0</CV>
257
- <ACWP>0</ACWP>
258
- <BCWS>0</BCWS>
259
- <BCWP>0</BCWP>
260
- <IsGeneric>0</IsGeneric>
261
- <IsInactive>0</IsInactive>
262
- <IsEnterprise>0</IsEnterprise>
263
- <BookingType>0</BookingType>
264
- <CreationDate>2000-09-10T23:20:53</CreationDate>
265
- <IsBudget>0</IsBudget>
266
- </Resource>
267
- <Resource>
268
- <UID>1</UID>
269
- <ID>1</ID>
270
- <Name>Resource 1</Name>
271
- <Type>0</Type>
272
- <IsNull>0</IsNull>
273
- <Initials>R</Initials>
274
- <MaterialLabel>TEST LABEL&gt;</MaterialLabel>
275
- <WorkGroup>0</WorkGroup>
276
- <PeakUnits>0</PeakUnits>
277
- <OverAllocated>0</OverAllocated>
278
- <CanLevel>1</CanLevel>
279
- <AccrueAt>1</AccrueAt>
280
- <Work>PT0H0M0S</Work>
281
- <RegularWork>PT0H0M0S</RegularWork>
282
- <OvertimeWork>PT0H0M0S</OvertimeWork>
283
- <ActualWork>PT0H0M0S</ActualWork>
284
- <RemainingWork>PT0H0M0S</RemainingWork>
285
- <ActualOvertimeWork>PT0H0M0S</ActualOvertimeWork>
286
- <RemainingOvertimeWork>PT0H0M0S</RemainingOvertimeWork>
287
- <PercentWorkComplete>0</PercentWorkComplete>
288
- <StandardRate>0</StandardRate>
289
- <StandardRateFormat>2</StandardRateFormat>
290
- <Cost>0</Cost>
291
- <OvertimeRateFormat>2</OvertimeRateFormat>
292
- <CostPerUse>0</CostPerUse>
293
- <ActualCost>0</ActualCost>
294
- <RemainingCost>0</RemainingCost>
295
- <WorkVariance>0</WorkVariance>
296
- <CostVariance>0</CostVariance>
297
- <SV>0</SV>
298
- <CV>0</CV>
299
- <ACWP>0</ACWP>
300
- <CalendarUID>0</CalendarUID>
301
- <BCWS>0</BCWS>
302
- <BCWP>0</BCWP>
303
- <IsGeneric>1</IsGeneric>
304
- <IsInactive>0</IsInactive>
305
- <IsEnterprise>0</IsEnterprise>
306
- <BookingType>1</BookingType>
307
- <CreationDate>2000-09-10T23:20:53</CreationDate>
308
- <IsCostResource>0</IsCostResource>
309
- <IsBudget>0</IsBudget>
310
- <ExtendedAttribute>
311
- <FieldID>205520904</FieldID>
312
- <Value>TEXT VALUE 1</Value>
313
- </ExtendedAttribute>
314
- <ExtendedAttribute>
315
- <FieldID>205521021</FieldID>
316
- <Value>12345.6</Value>
317
- </ExtendedAttribute>
318
- <ExtendedAttribute>
319
- <FieldID>205520998</FieldID>
320
- <Value>Tue Dec 17 05:00:00 PKT 2013</Value>
321
- </ExtendedAttribute>
322
- <ExtendedAttribute>
323
- <FieldID>205521003</FieldID>
324
- <Value>Tue Dec 24 05:00:00 PKT 2013</Value>
325
- </ExtendedAttribute>
326
- <ExtendedAttribute>
327
- <FieldID>205521008</FieldID>
328
- <Value>321</Value>
329
- </ExtendedAttribute>
330
- <ExtendedAttribute>
331
- <FieldID>205521069</FieldID>
332
- <Value>Mon Dec 09 05:00:00 PKT 2013</Value>
333
- </ExtendedAttribute>
334
- <ExtendedAttribute>
335
- <FieldID>205521013</FieldID>
336
- <Value>1800</Value>
337
- </ExtendedAttribute>
338
- <ExtendedAttribute>
339
- <FieldID>205521023</FieldID>
340
- <Value>1</Value>
341
- </ExtendedAttribute>
342
- </Resource>
343
- </Resources>
344
- <Assignments />
345
- </Project>
Binary file