Sha256: 93831fa01690362cc22bae9627b811af3e9bc18b1ac7e64e1588e3abcf3b7f86

Contents?: true

Size: 1.25 KB

Versions: 6

Compression:

Stored size: 1.25 KB

Contents

class DataHelper
  def self.jobAttributes
    @@jobAttributes
  end

  def self.jobSubmit
    @@jobSubmit
  end

  @@jobAttributes = '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>jobAttributes</key>
  <dict>
    <key>activeCPUPower</key>
    <string>0</string>
    <key>applicationIdentifier</key>
    <string>com.apple.xgrid.cli</string>
    <key>dateNow</key>
    <date>2011-11-17T06:21:15Z</date>
    <key>dateStarted</key>
    <date>2011-11-15T14:44:53Z</date>
    <key>dateStopped</key>
    <date>2011-11-15T14:44:53Z</date>
    <key>dateSubmitted</key>
    <date>2011-11-15T14:44:53Z</date>
    <key>jobStatus</key>
    <string>Finished</string>
    <key>name</key>
    <string>MyFirstJob</string>
    <key>percentDone</key>
    <real>100</real>
    <key>taskCount</key>
    <string>1</string>
    <key>undoneTaskCount</key>
    <string>0</string>
  </dict>
</dict>
</plist>'

  @@jobSubmit = '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>jobIdentifier</key>
  <string>11</string>
</dict>
</plist>
'

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rjobs-0.3.3.alpha spec/data_helper.rb
rjobs-0.3.2.alpha spec/data_helper.rb
rjobs-0.3.1.alpha spec/data_helper.rb
rjobs-0.3.0.alpha spec/data_helper.rb
rjobs-0.2.0.alpha spec/data_helper.rb
rjobs-0.1.0.alpha spec/data_helper.rb