Skip to content

Commit 00e3133

Browse files
committed
Aspose.Tasks Java for Ruby
1 parent 8ed45b0 commit 00e3133

File tree

96 files changed

+2746
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+2746
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source 'https://rubygems.org'
2+
3+
gemspec
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2001-2015 Aspose Pty Ltd
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Aspose_Tasks_Java_for_Ruby
2+
Aspose.Tasks Java for Ruby is a gem that demonstrates / provides the Aspose.Tasks for Java API usage examples in Ruby by using Rjb - Ruby Java Bridge.
3+
4+
## Installation
5+
6+
Execute following command.
7+
8+
$ gem install asposetasksjava
9+
10+
To download Aspose.Tasks for Java API to be used with these examples through RJB, Please navigate to:
11+
12+
http://www.aspose.com/community/files/72/java-components/aspose.tasks-for-java/default.aspx
13+
14+
Note: Create jars folder at root of the gem folder and copy downloaded Aspose.Tasks for java component into it.
15+
16+
For most complete documentation of the project, check Aspose.Tasks Java for Ruby confluence wiki link:
17+
18+
http://www.aspose.com/docs/display/tasksjava/1.+Aspose.Tasks+Java+For+Ruby
19+
20+
## Usage
21+
22+
You can get project version using following example code.
23+
24+
```ruby
25+
require File.dirname(File.dirname(File.dirname(__FILE__))) + '/lib/asposetasksjava'
26+
include Asposetasksjava
27+
include Asposetasksjava::ProjectVersion
28+
initialize_aspose_tasks
29+
```
30+
Lets understand the above code
31+
* The first line makes sure that the Aspose.Tasks is loaded and available
32+
* Include the files that are required to access the Aspose.Tasks
33+
* Initialize the libraries. The aspose JAVA classes are loaded from the path provided in the aspose.yml file
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require "bundler/gem_tasks"
2+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# coding: utf-8
2+
lib = File.expand_path('../lib', __FILE__)
3+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4+
require 'asposetasksjava/version'
5+
6+
Gem::Specification.new do |spec|
7+
spec.name = 'asposetasksjava'
8+
spec.version = Asposetasksjava::VERSION
9+
spec.authors = ['Aspose Marketplace']
10+
spec.email = ['[email protected]']
11+
spec.summary = %q{A Ruby gem to work with Aspose.Tasks for Java libraries}
12+
spec.description = %q{AsposeTasksJava is a Ruby gem that helps working with Microsoft Project documents using Aspose.Tasks for Java libraries}
13+
spec.homepage = 'https://github.com/asposetasks/Aspose_Tasks_Java/tree/master/Plugins/Aspose_Tasks_Java_for_Ruby'
14+
spec.license = 'MIT'
15+
16+
spec.files = `git ls-files`.split($/)
17+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19+
spec.require_paths = ['lib']
20+
21+
spec.add_development_dependency 'bundler', '~> 1.7'
22+
spec.add_development_dependency 'rake', '~> 10.0'
23+
spec.add_development_dependency 'rspec'
24+
25+
spec.add_dependency 'rjb', '~> 1.5.2'
26+
27+
end
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
jar_dir: ../asposetasksjava/jars
2+
license_path: ../asposetasksjava/license/path
3+
jvm_args: -Xms512m -Xmx1G
4+
5+
Lines changed: 239 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,239 @@
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 8.3.0-->
4+
<SaveVersion>14</SaveVersion>
5+
<UID>1</UID>
6+
<Name>Project</Name>
7+
<CreationDate>2000-08-19T15:21:28</CreationDate>
8+
<LastSaved>2000-08-19T15:21:28</LastSaved>
9+
<ScheduleFromStart>1</ScheduleFromStart>
10+
<StartDate>2000-08-19T08:00:00</StartDate>
11+
<FinishDate>2000-08-19T08:00:00</FinishDate>
12+
<FYStartDate>1</FYStartDate>
13+
<CriticalSlackLimit>0</CriticalSlackLimit>
14+
<CurrencyDigits>2</CurrencyDigits>
15+
<CurrencySymbol>$</CurrencySymbol>
16+
<CurrencyCode>USD</CurrencyCode>
17+
<CurrencySymbolPosition>0</CurrencySymbolPosition>
18+
<CalendarUID>1</CalendarUID>
19+
<DefaultStartTime>08:00:00</DefaultStartTime>
20+
<DefaultFinishTime>17:00:00</DefaultFinishTime>
21+
<MinutesPerDay>480</MinutesPerDay>
22+
<MinutesPerWeek>2400</MinutesPerWeek>
23+
<DaysPerMonth>20</DaysPerMonth>
24+
<DefaultTaskType>0</DefaultTaskType>
25+
<DefaultFixedCostAccrual>3</DefaultFixedCostAccrual>
26+
<DefaultStandardRate>0</DefaultStandardRate>
27+
<DefaultOvertimeRate>0</DefaultOvertimeRate>
28+
<DurationFormat>7</DurationFormat>
29+
<WorkFormat>2</WorkFormat>
30+
<EditableActualCosts>0</EditableActualCosts>
31+
<HonorConstraints>0</HonorConstraints>
32+
<InsertedProjectsLikeSummary>0</InsertedProjectsLikeSummary>
33+
<MultipleCriticalPaths>0</MultipleCriticalPaths>
34+
<NewTasksEffortDriven>0</NewTasksEffortDriven>
35+
<NewTasksEstimated>0</NewTasksEstimated>
36+
<SplitsInProgressTasks>1</SplitsInProgressTasks>
37+
<SpreadActualCost>0</SpreadActualCost>
38+
<SpreadPercentComplete>0</SpreadPercentComplete>
39+
<TaskUpdatesResource>0</TaskUpdatesResource>
40+
<FiscalYearStart>0</FiscalYearStart>
41+
<WeekStartDay>1</WeekStartDay>
42+
<MoveCompletedEndsBack>0</MoveCompletedEndsBack>
43+
<MoveRemainingStartsBack>0</MoveRemainingStartsBack>
44+
<MoveRemainingStartsForward>0</MoveRemainingStartsForward>
45+
<MoveCompletedEndsForward>0</MoveCompletedEndsForward>
46+
<BaselineForEarnedValue>0</BaselineForEarnedValue>
47+
<AutoAddNewResourcesAndTasks>0</AutoAddNewResourcesAndTasks>
48+
<MicrosoftProjectServerURL>0</MicrosoftProjectServerURL>
49+
<Autolink>0</Autolink>
50+
<NewTaskStartDate>0</NewTaskStartDate>
51+
<DefaultTaskEVMethod>0</DefaultTaskEVMethod>
52+
<ProjectExternallyEdited>0</ProjectExternallyEdited>
53+
<ExtendedCreationDate>2000-01-01T00:00:00</ExtendedCreationDate>
54+
<ActualsInSync>0</ActualsInSync>
55+
<RemoveFileProperties>0</RemoveFileProperties>
56+
<AdminProject>0</AdminProject>
57+
<UpdateManuallyScheduledTasksWhenEditingLinks>1</UpdateManuallyScheduledTasksWhenEditingLinks>
58+
<OutlineCodes />
59+
<WBSMasks />
60+
<ExtendedAttributes />
61+
<Calendars>
62+
<Calendar>
63+
<UID>1</UID>
64+
<Name>Standard</Name>
65+
<IsBaseCalendar>1</IsBaseCalendar>
66+
<BaseCalendarUID>-1</BaseCalendarUID>
67+
<WeekDays>
68+
<WeekDay>
69+
<DayType>2</DayType>
70+
<DayWorking>1</DayWorking>
71+
<WorkingTimes>
72+
<WorkingTime>
73+
<FromTime>08:00:00</FromTime>
74+
<ToTime>12:00:00</ToTime>
75+
</WorkingTime>
76+
<WorkingTime>
77+
<FromTime>13:00:00</FromTime>
78+
<ToTime>17:00:00</ToTime>
79+
</WorkingTime>
80+
</WorkingTimes>
81+
</WeekDay>
82+
<WeekDay>
83+
<DayType>3</DayType>
84+
<DayWorking>1</DayWorking>
85+
<WorkingTimes>
86+
<WorkingTime>
87+
<FromTime>08:00:00</FromTime>
88+
<ToTime>12:00:00</ToTime>
89+
</WorkingTime>
90+
<WorkingTime>
91+
<FromTime>13:00:00</FromTime>
92+
<ToTime>17:00:00</ToTime>
93+
</WorkingTime>
94+
</WorkingTimes>
95+
</WeekDay>
96+
<WeekDay>
97+
<DayType>4</DayType>
98+
<DayWorking>1</DayWorking>
99+
<WorkingTimes>
100+
<WorkingTime>
101+
<FromTime>08:00:00</FromTime>
102+
<ToTime>12:00:00</ToTime>
103+
</WorkingTime>
104+
<WorkingTime>
105+
<FromTime>13:00:00</FromTime>
106+
<ToTime>17:00:00</ToTime>
107+
</WorkingTime>
108+
</WorkingTimes>
109+
</WeekDay>
110+
<WeekDay>
111+
<DayType>5</DayType>
112+
<DayWorking>1</DayWorking>
113+
<WorkingTimes>
114+
<WorkingTime>
115+
<FromTime>08:00:00</FromTime>
116+
<ToTime>12:00:00</ToTime>
117+
</WorkingTime>
118+
<WorkingTime>
119+
<FromTime>13:00:00</FromTime>
120+
<ToTime>17:00:00</ToTime>
121+
</WorkingTime>
122+
</WorkingTimes>
123+
</WeekDay>
124+
<WeekDay>
125+
<DayType>6</DayType>
126+
<DayWorking>1</DayWorking>
127+
<WorkingTimes>
128+
<WorkingTime>
129+
<FromTime>08:00:00</FromTime>
130+
<ToTime>12:00:00</ToTime>
131+
</WorkingTime>
132+
<WorkingTime>
133+
<FromTime>13:00:00</FromTime>
134+
<ToTime>17:00:00</ToTime>
135+
</WorkingTime>
136+
</WorkingTimes>
137+
</WeekDay>
138+
<WeekDay>
139+
<DayType>7</DayType>
140+
<DayWorking>0</DayWorking>
141+
</WeekDay>
142+
<WeekDay>
143+
<DayType>1</DayType>
144+
<DayWorking>0</DayWorking>
145+
</WeekDay>
146+
</WeekDays>
147+
</Calendar>
148+
</Calendars>
149+
<Tasks>
150+
<Task>
151+
<UID>0</UID>
152+
<ID>0</ID>
153+
<Type>0</Type>
154+
<IsNull>0</IsNull>
155+
<CreateDate>2000-08-19T15:21:28</CreateDate>
156+
<WBS>0</WBS>
157+
<OutlineNumber>0</OutlineNumber>
158+
<OutlineLevel>0</OutlineLevel>
159+
<Priority>500</Priority>
160+
<Start>2000-08-19T08:00:00</Start>
161+
<Finish>2000-08-19T08:00:00</Finish>
162+
<Duration>PT0H0M0S</Duration>
163+
<ManualStart>2000-08-19T08:00:00</ManualStart>
164+
<ManualFinish>2000-08-19T08:00:00</ManualFinish>
165+
<ManualDuration>PT0H0M0S</ManualDuration>
166+
<DurationFormat>39</DurationFormat>
167+
<Work>PT0H0M0S</Work>
168+
<Stop>2000-01-01T00:00:00</Stop>
169+
<Resume>2000-01-01T00:00:00</Resume>
170+
<ResumeValid>0</ResumeValid>
171+
<EffortDriven>0</EffortDriven>
172+
<Recurring>0</Recurring>
173+
<OverAllocated>0</OverAllocated>
174+
<Estimated>0</Estimated>
175+
<Milestone>0</Milestone>
176+
<Summary>0</Summary>
177+
<Critical>1</Critical>
178+
<IsSubproject>0</IsSubproject>
179+
<IsSubprojectReadOnly>0</IsSubprojectReadOnly>
180+
<ExternalTask>0</ExternalTask>
181+
<EarlyStart>2000-08-19T08:00:00</EarlyStart>
182+
<EarlyFinish>2000-08-19T08:00:00</EarlyFinish>
183+
<LateStart>2000-08-19T08:00:00</LateStart>
184+
<LateFinish>2000-08-19T08:00:00</LateFinish>
185+
<StartVariance>0</StartVariance>
186+
<FinishVariance>0</FinishVariance>
187+
<WorkVariance>0</WorkVariance>
188+
<FreeSlack>0</FreeSlack>
189+
<TotalSlack>0</TotalSlack>
190+
<StartSlack>0</StartSlack>
191+
<FinishSlack>0</FinishSlack>
192+
<FixedCost>0</FixedCost>
193+
<FixedCostAccrual>3</FixedCostAccrual>
194+
<PercentComplete>0</PercentComplete>
195+
<PercentWorkComplete>0</PercentWorkComplete>
196+
<Cost>0</Cost>
197+
<OvertimeCost>0</OvertimeCost>
198+
<OvertimeWork>PT0H0M0S</OvertimeWork>
199+
<ActualStart>2000-01-01T00:00:00</ActualStart>
200+
<ActualFinish>2000-01-01T00:00:00</ActualFinish>
201+
<ActualDuration>PT0H0M0S</ActualDuration>
202+
<ActualCost>0</ActualCost>
203+
<ActualOvertimeCost>0</ActualOvertimeCost>
204+
<ActualWork>PT0H0M0S</ActualWork>
205+
<ActualOvertimeWork>PT0H0M0S</ActualOvertimeWork>
206+
<RegularWork>PT0H0M0S</RegularWork>
207+
<RemainingDuration>PT0H0M0S</RemainingDuration>
208+
<RemainingCost>0</RemainingCost>
209+
<RemainingWork>PT0H0M0S</RemainingWork>
210+
<RemainingOvertimeCost>0</RemainingOvertimeCost>
211+
<RemainingOvertimeWork>PT0H0M0S</RemainingOvertimeWork>
212+
<ACWP>0</ACWP>
213+
<CV>0</CV>
214+
<ConstraintType>0</ConstraintType>
215+
<CalendarUID>-1</CalendarUID>
216+
<ConstraintDate>2000-01-01T00:00:00</ConstraintDate>
217+
<Deadline>2000-01-01T00:00:00</Deadline>
218+
<LevelAssignments>1</LevelAssignments>
219+
<LevelingCanSplit>1</LevelingCanSplit>
220+
<LevelingDelay>0</LevelingDelay>
221+
<LevelingDelayFormat>8</LevelingDelayFormat>
222+
<PreLeveledStart>2000-01-01T00:00:00</PreLeveledStart>
223+
<PreLeveledFinish>2000-01-01T00:00:00</PreLeveledFinish>
224+
<IgnoreResourceCalendar>0</IgnoreResourceCalendar>
225+
<HideBar>0</HideBar>
226+
<Rollup>0</Rollup>
227+
<BCWS>0</BCWS>
228+
<BCWP>0</BCWP>
229+
<PhysicalPercentComplete>0</PhysicalPercentComplete>
230+
<EarnedValueMethod>0</EarnedValueMethod>
231+
<IsPublished>0</IsPublished>
232+
<CommitmentStart>2000-01-01T00:00:00</CommitmentStart>
233+
<CommitmentFinish>2000-01-01T00:00:00</CommitmentFinish>
234+
<CommitmentType>0</CommitmentType>
235+
</Task>
236+
</Tasks>
237+
<Resources />
238+
<Assignments />
239+
</Project>
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)