scriptcrmod 0.1.0 → 0.1.1

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/scriptcrmod.rb +17 -0
  3. data/scriptcrmod.gemspec +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/lib/scriptcrmod.rb CHANGED
@@ -1,6 +1,23 @@
1
1
 
2
2
  class CodeRunner
3
+ # This is a module which can be used for submitting
4
+ # arbitrary scripts on supercomputers using the
5
+ # CodeRunner framework (see coderunner.sourceforge.net
6
+ # and coderunner on rubygems.org). It comes preinstalled
7
+ # with CodeRunner.
8
+ #
9
+ # An example paints a thousand words:
10
+ # here is how to use it from the command line
11
+ # to submit a ruby script:
12
+ # coderunner sub -W 60 -n 1x32 -C script -X '/usr/bin/env ruby' \
13
+ # -p '{file_name: "my_script.rb", arguments: "my command line args"}'
14
+
3
15
  class Script < Run
16
+
17
+ # Make sure the basic defaults file exists
18
+ #
19
+ FileUtils.makedirs(ENV['HOME'] + '/.coderunner/scriptcrmod/defaults_files')
20
+ FileUtils.touch(ENV['HOME'] + '/.coderunner/scriptcrmod/defaults_files/script_defaults.rb')
4
21
 
5
22
  # @code = 'cubecalc'
6
23
 
data/scriptcrmod.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "scriptcrmod"
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Edmund Highcock"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scriptcrmod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -111,7 +111,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
111
  version: '0'
112
112
  segments:
113
113
  - 0
114
- hash: 777995400263185228
114
+ hash: 3677990674877173425
115
115
  required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements: