scriptlandia 0.3.0 → 0.7.3
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/CHANGES +7 -0
- data/README +53 -0
- data/Rakefile +96 -0
- data/TODO +3 -0
- data/bin/sl +22 -0
- data/bin/sl.bat +6 -0
- data/examples.zip +0 -0
- data/lib/buildfile +1 -1
- data/lib/configurer.rb +162 -0
- data/lib/language_installer.rb +49 -0
- data/lib/languages/extension_mapping.yaml +3 -1
- data/lib/languages/jruby/config.yaml +1 -1
- data/lib/{scriptlandia.rb → launcher.rb} +2 -2
- data/scriptlandia-r.gemspec +58 -0
- data/spec/rjb_spec.rb +28 -0
- data/spec/string_spec.rb +16 -0
- metadata +49 -36
data/CHANGES
ADDED
data/README
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
= Scriptlandia-R -- Running scripts for Java VM
|
2
|
+
|
3
|
+
= Installing Scriptlandia-R
|
4
|
+
|
5
|
+
RubyGems is the preferred easy install method for Scriptlandia-R. However, you can install
|
6
|
+
Scriptlandia-R manually as described below.
|
7
|
+
|
8
|
+
== Installing the Gem
|
9
|
+
$ sudo gem sources -a http://gems.github.com
|
10
|
+
|
11
|
+
Scriptlandia-R is dependent on 2 plugins:
|
12
|
+
|
13
|
+
$ sudo gem install rjb
|
14
|
+
$ sudo gem install buildr
|
15
|
+
|
16
|
+
or
|
17
|
+
|
18
|
+
$ sudo env JAVA_HOME=$JAVA_HOME gem install rjb
|
19
|
+
$ sudo env JAVA_HOME=$JAVA_HOME gem install buildr
|
20
|
+
|
21
|
+
On Windows only this version of rjb is supported:
|
22
|
+
|
23
|
+
$ gem install rjb -v 1.1.6
|
24
|
+
|
25
|
+
To install scriptlandia:
|
26
|
+
|
27
|
+
$ sudo gem install shvets-scriptlandia
|
28
|
+
|
29
|
+
After the installation you have to configure the gem:
|
30
|
+
|
31
|
+
$ sudo sl --configure
|
32
|
+
|
33
|
+
You have to enter the location of Java Home and Jar Repository Location, e.g.:
|
34
|
+
|
35
|
+
$ Enter Java Home:
|
36
|
+
$ c:/Java/jdk1.5.0
|
37
|
+
|
38
|
+
$ Enter Repository Home:
|
39
|
+
$ c:/Work/maven-repository
|
40
|
+
|
41
|
+
Now you can run scripts:
|
42
|
+
|
43
|
+
$ sl Hello.bsh
|
44
|
+
$ sl Test.scala
|
45
|
+
|
46
|
+
To install dependencies (jar files) for the language, run this command:
|
47
|
+
|
48
|
+
$ sl --install bsh
|
49
|
+
$ sl --install scala
|
50
|
+
|
51
|
+
If you have GUI in your script, you can use --wait flag to wait for GUI thread:
|
52
|
+
|
53
|
+
$ sl Hello.bsh --wait
|
data/Rakefile
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
# Rakefile for Scriptlandia-R
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'rake/gempackagetask'
|
5
|
+
require 'rake/testtask'
|
6
|
+
require 'spec/rake/spectask'
|
7
|
+
require 'rake/rdoctask'
|
8
|
+
require 'rcov/rcovtask'
|
9
|
+
|
10
|
+
|
11
|
+
spec_name = 'scriptlandia-r.gemspec'
|
12
|
+
|
13
|
+
SPEC = Gem::Specification.load(spec_name)
|
14
|
+
|
15
|
+
Rake::GemPackageTask.new(SPEC) do |pkg|
|
16
|
+
# pkg.need_tar = true
|
17
|
+
# pkg.need_zip = true
|
18
|
+
end
|
19
|
+
|
20
|
+
Spec::Rake::SpecTask.new do |task|
|
21
|
+
task.libs << 'lib'
|
22
|
+
task.pattern = 'spec/**/*_spec.rb'
|
23
|
+
task.verbose = false
|
24
|
+
end
|
25
|
+
|
26
|
+
Rake::RDocTask.new do |rdoc|
|
27
|
+
rdoc.rdoc_dir = 'rdoc'
|
28
|
+
rdoc.title = 'teststuff'
|
29
|
+
rdoc.options << '--line-numbers' << '--inline-source'
|
30
|
+
rdoc.rdoc_files.include('README*')
|
31
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
32
|
+
end
|
33
|
+
|
34
|
+
Rcov::RcovTask.new do |task|
|
35
|
+
task.libs << 'test'
|
36
|
+
task.test_files = FileList['test/**/*_test.rb']
|
37
|
+
task.verbose = true
|
38
|
+
end
|
39
|
+
|
40
|
+
desc "test gem compatibility with github"
|
41
|
+
task :"github:validate" do
|
42
|
+
SPEC.validate
|
43
|
+
|
44
|
+
puts SPEC
|
45
|
+
puts "OK"
|
46
|
+
end
|
47
|
+
|
48
|
+
desc "make zip file"
|
49
|
+
task :zip do
|
50
|
+
def create_zip_file dir
|
51
|
+
require 'zip/zip'
|
52
|
+
|
53
|
+
Zip::ZipOutputStream.open(dir + ".zip") do |zos|
|
54
|
+
zip zos, dir
|
55
|
+
end
|
56
|
+
|
57
|
+
end
|
58
|
+
|
59
|
+
def zip zos, dir
|
60
|
+
Dir.new(dir).each do |filename|
|
61
|
+
if(filename != '.' and filename != '..')
|
62
|
+
full_name = dir + '/' + filename
|
63
|
+
|
64
|
+
if File.directory? full_name
|
65
|
+
zip(zos, full_name)
|
66
|
+
else
|
67
|
+
# Create a new entry with some arbitrary name
|
68
|
+
zos.put_next_entry(dir + '/' + filename)
|
69
|
+
# Add the contents of the file, don't read the stuff linewise if its binary, instead use direct IO
|
70
|
+
zos.print IO.read(dir + '/' + filename)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
def files name
|
77
|
+
list = []
|
78
|
+
|
79
|
+
if File.directory? name
|
80
|
+
Dir.new(name).each do |filename|
|
81
|
+
if(filename != '.' and filename != '..')
|
82
|
+
list += files(name + '/' + filename)
|
83
|
+
end
|
84
|
+
end
|
85
|
+
else
|
86
|
+
list << name
|
87
|
+
end
|
88
|
+
|
89
|
+
list
|
90
|
+
end
|
91
|
+
|
92
|
+
create_zip_file 'examples'
|
93
|
+
|
94
|
+
end
|
95
|
+
|
96
|
+
task :default => :rcov
|
data/bin/sl
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
|
2
|
+
require 'rubygems'
|
3
|
+
|
4
|
+
require 'language_installer'
|
5
|
+
require 'configurer'
|
6
|
+
require 'launcher'
|
7
|
+
|
8
|
+
if(ARGV.size == 0)
|
9
|
+
puts "Please specify script file name."
|
10
|
+
else
|
11
|
+
if(ARGV[0] == '--install')
|
12
|
+
if(ARGV.size < 2)
|
13
|
+
puts "Please specify language name to be installed."
|
14
|
+
else
|
15
|
+
Scriptlandia::LanguageInstaller.new.install
|
16
|
+
end
|
17
|
+
elsif(ARGV[0] == '--configure')
|
18
|
+
Scriptlandia::Configurer.new.configure
|
19
|
+
else
|
20
|
+
Scriptlandia::Launcher.new.launch
|
21
|
+
end
|
22
|
+
end
|
data/bin/sl.bat
ADDED
data/examples.zip
ADDED
Binary file
|
data/lib/buildfile
CHANGED
data/lib/configurer.rb
ADDED
@@ -0,0 +1,162 @@
|
|
1
|
+
# installer.rb
|
2
|
+
|
3
|
+
require 'rubygems' unless RUBY_VERSION =~ /1.9.*/
|
4
|
+
require 'rbconfig'
|
5
|
+
require 'find'
|
6
|
+
require 'fileutils'
|
7
|
+
#require 'rake/gempackagetask'
|
8
|
+
|
9
|
+
module Scriptlandia
|
10
|
+
class Configurer
|
11
|
+
include Config
|
12
|
+
|
13
|
+
def configure
|
14
|
+
ARGV.shift
|
15
|
+
|
16
|
+
prepare()
|
17
|
+
|
18
|
+
install_settings(File.dirname(__FILE__) + "/../" + "lib/settings.yaml", $my_libdir + "/settings.yaml")
|
19
|
+
|
20
|
+
settings = YAML::load File.open($my_libdir + "/settings.yaml")
|
21
|
+
|
22
|
+
install_file(File.dirname(__FILE__) + "/../bin/sl.bat", $my_bindir, "/sl.bat", settings) if CONFIG['host_os'] =~ /mswin/
|
23
|
+
|
24
|
+
install_file_with_header($my_gem_path + "/bin/sl", $my_gem_path + "/bin/sl", settings)
|
25
|
+
end
|
26
|
+
|
27
|
+
protected
|
28
|
+
|
29
|
+
def prepare
|
30
|
+
$bindir = CONFIG["bindir"]
|
31
|
+
|
32
|
+
$my_bindir = CONFIG['bindir']
|
33
|
+
|
34
|
+
unless File.writable? $my_bindir
|
35
|
+
$my_bindir = [ENV['HOME'], '.gem', 'ruby', CONFIG["MAJOR"]+"."+CONFIG["MINOR"], 'bin'].join(File::SEPARATOR)
|
36
|
+
end
|
37
|
+
|
38
|
+
$libdir = CONFIG["libdir"]
|
39
|
+
|
40
|
+
my_gems_path = [CONFIG['libdir'], 'ruby', 'gems'].join(File::SEPARATOR)
|
41
|
+
|
42
|
+
# unless File.writable? my_gems_path
|
43
|
+
# my_gems_path = [ENV['HOME'], '.gem', 'ruby'].join(File::SEPARATOR)
|
44
|
+
# end
|
45
|
+
|
46
|
+
$ruby = CONFIG['ruby_install_name']
|
47
|
+
|
48
|
+
$spec = Gem::Specification.load(File.dirname(__FILE__) + "/../" + 'scriptlandia-r.gemspec')
|
49
|
+
|
50
|
+
$my_gem_path = File.join(my_gems_path, CONFIG["MAJOR"]+"."+CONFIG["MINOR"],
|
51
|
+
'gems', 'shvets-' + $spec.name + '-' + $spec.version.to_s)
|
52
|
+
|
53
|
+
$my_libdir = File.join($my_gem_path, 'lib')
|
54
|
+
end
|
55
|
+
|
56
|
+
def tmp_file
|
57
|
+
tmp_dir = nil
|
58
|
+
for t in [".", "/tmp", "c:/temp", $my_bindir]
|
59
|
+
stat = File.stat(t) rescue next
|
60
|
+
if stat.directory? and stat.writable?
|
61
|
+
tmp_dir = t
|
62
|
+
break
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
fail "Cannot find a temporary directory" unless tmp_dir
|
67
|
+
|
68
|
+
File.join(tmp_dir, "_tmp")
|
69
|
+
end
|
70
|
+
|
71
|
+
def install_file from_file, to_dir, to_file, settings
|
72
|
+
FileUtils.makedirs to_dir
|
73
|
+
|
74
|
+
#File::install(from_file, File.join(to_dir, to_file), 0755, true)
|
75
|
+
|
76
|
+
tmp = tmp_file()
|
77
|
+
|
78
|
+
File.open(from_file) do |ip|
|
79
|
+
File.open(tmp, "w") do |op|
|
80
|
+
|
81
|
+
op.write ip.read.gsub('C:/Ruby/ruby-1.8.7/bin/sl', $bindir + '/sl')
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
FileUtils::install(tmp, to_file, :mode => 0755, :verbose => true)
|
86
|
+
FileUtils::safe_unlink(tmp)
|
87
|
+
end
|
88
|
+
|
89
|
+
def install_file_with_header(from_file, to_file, settings)
|
90
|
+
tmp = tmp_file()
|
91
|
+
|
92
|
+
File.open(from_file) do |ip|
|
93
|
+
File.open(tmp, "w") do |op|
|
94
|
+
ruby = File.join($bindir, $ruby)
|
95
|
+
op.puts "#!#{ruby} -w"
|
96
|
+
# op.puts "name = '" + $spec.name + "'"
|
97
|
+
# op.puts "version = '" + $spec.version.to_s + "'"
|
98
|
+
op.puts "ENV['JAVA_HOME'] = '" + settings['java_home'].chomp + "'"
|
99
|
+
|
100
|
+
op.write ip.read
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
FileUtils::install(tmp, to_file, :mode => 0755, :verbose => true)
|
105
|
+
FileUtils::safe_unlink(tmp)
|
106
|
+
end
|
107
|
+
|
108
|
+
def install_settings from_file, to_file
|
109
|
+
require 'yaml'
|
110
|
+
|
111
|
+
orig_settings_file_name = $my_libdir + "/settings.yaml"
|
112
|
+
|
113
|
+
if(File.exist? orig_settings_file_name)
|
114
|
+
settings = YAML::load File.open(orig_settings_file_name)
|
115
|
+
else
|
116
|
+
settings = YAML::load File.open(from_file)
|
117
|
+
end
|
118
|
+
|
119
|
+
orig_java_home = settings['java_home'].chomp
|
120
|
+
|
121
|
+
if orig_java_home[0..1] == 'c:' && CONFIG['host_os'] =~ /darwin/i
|
122
|
+
orig_java_home = '/Library/Java/Home'
|
123
|
+
end
|
124
|
+
|
125
|
+
orig_repository_home = settings['repositories']['local'].chomp
|
126
|
+
|
127
|
+
if orig_repository_home[0..1] == 'c:' && CONFIG['host_os'] =~ /darwin/i
|
128
|
+
orig_repository_home = '~/repository'
|
129
|
+
end
|
130
|
+
|
131
|
+
puts 'Enter Java Home (' + orig_java_home + "):"
|
132
|
+
|
133
|
+
java_home = gets
|
134
|
+
|
135
|
+
if(java_home.chomp.empty?)
|
136
|
+
java_home = orig_java_home
|
137
|
+
else
|
138
|
+
java_home = java_home.chomp
|
139
|
+
end
|
140
|
+
|
141
|
+
puts 'Enter Repository Home (' + orig_repository_home + "):"
|
142
|
+
|
143
|
+
repository_home = gets
|
144
|
+
|
145
|
+
if(repository_home.chomp.empty?)
|
146
|
+
repository_home = orig_repository_home
|
147
|
+
else
|
148
|
+
repository_home = repository_home.chomp
|
149
|
+
end
|
150
|
+
|
151
|
+
settings = YAML::load File.open(from_file)
|
152
|
+
settings['java_home'] = java_home
|
153
|
+
settings['repositories']['local'] = repository_home
|
154
|
+
|
155
|
+
File.open( to_file, 'w' ) do |out|
|
156
|
+
YAML.dump(settings, out)
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
end
|
161
|
+
|
162
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# language_installer.rb
|
2
|
+
|
3
|
+
require 'rbconfig'
|
4
|
+
|
5
|
+
module Scriptlandia
|
6
|
+
class LanguageInstaller
|
7
|
+
include Config
|
8
|
+
|
9
|
+
def install
|
10
|
+
my_bindir = CONFIG['bindir']
|
11
|
+
|
12
|
+
unless File.writable? my_bindir
|
13
|
+
my_bindir = [ENV['HOME'], '.gem', 'ruby', CONFIG["MAJOR"]+"."+CONFIG["MINOR"], 'bin'].join(File::SEPARATOR)
|
14
|
+
end
|
15
|
+
|
16
|
+
my_gems_path = [CONFIG['libdir'], 'ruby', 'gems'].join(File::SEPARATOR)
|
17
|
+
|
18
|
+
unless File.writable? my_gems_path
|
19
|
+
my_gems_path = [ENV['HOME'], '.gem', 'ruby'].join(File::SEPARATOR)
|
20
|
+
end
|
21
|
+
|
22
|
+
buildr = File.join my_bindir, 'buildr'
|
23
|
+
|
24
|
+
buildr << '.bat' if CONFIG['host_os'] =~ /mswin/i
|
25
|
+
|
26
|
+
old_ext = ENV['EXT']
|
27
|
+
|
28
|
+
ENV['EXT'] = ARGV[1]
|
29
|
+
|
30
|
+
# buildfile = File.join(my_gems_path,
|
31
|
+
# CONFIG["MAJOR"]+"."+CONFIG["MINOR"],
|
32
|
+
# 'gems', name + '-' + version, 'lib', 'buildfile')
|
33
|
+
|
34
|
+
buildfile = File.join(File.dirname(__FILE__), 'buildfile')
|
35
|
+
|
36
|
+
ARGV.shift
|
37
|
+
ARGV.shift
|
38
|
+
|
39
|
+
ARGV.insert 0, buildfile
|
40
|
+
ARGV.insert 0, '-f'
|
41
|
+
|
42
|
+
require 'rubygems'
|
43
|
+
require 'buildr'
|
44
|
+
Buildr.application.run
|
45
|
+
|
46
|
+
ENV['EXT'] = old_ext
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -48,10 +48,10 @@ module Scriptlandia
|
|
48
48
|
def launch
|
49
49
|
script_name = ARGV[0]
|
50
50
|
|
51
|
-
language = Launcher.language_folder(@ext_mapping, script_name)
|
51
|
+
language = Launcher.language_folder(@ext_mapping, File.dirname(__FILE__) + "/" + script_name)
|
52
52
|
|
53
53
|
if(language == nil)
|
54
|
-
puts "Unsupported language/extension: " + Launcher.extension(script_name)
|
54
|
+
puts "Unsupported language/extension: " + Launcher.extension(File.dirname(__FILE__) + "/" + script_name)
|
55
55
|
else
|
56
56
|
lang_config = YAML::load File.open(File.dirname(__FILE__) + '/languages/' +
|
57
57
|
language + '/config.yaml')
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = 'scriptlandia'
|
5
|
+
spec.version = '0.7.3'
|
6
|
+
|
7
|
+
spec.required_rubygems_version = Gem::Requirement.new(">= 0") if spec.respond_to? :required_rubygems_version=
|
8
|
+
|
9
|
+
spec.authors = ["Alexander Shvets"]
|
10
|
+
spec.date = %q{2009-03-29}
|
11
|
+
spec.description = 'Scriptlandia Launcher in Ruby.'
|
12
|
+
spec.email = 'alexander.shvets@gmail.com'
|
13
|
+
|
14
|
+
spec.files = %w(CHANGES Rakefile README scriptlandia-r.gemspec TODO examples.zip) +
|
15
|
+
%w(bin/sl bin/sl.bat) +
|
16
|
+
%w(lib/buildfile lib/configurer.rb
|
17
|
+
lib/language_installer.rb lib/launcher.rb
|
18
|
+
lib/settings.yaml
|
19
|
+
lib/languages/ant/config.yaml
|
20
|
+
lib/languages/beanshell/config.yaml
|
21
|
+
lib/languages/clojure/config.yaml
|
22
|
+
lib/languages/fan/config.yaml
|
23
|
+
lib/languages/fortress/config.yaml
|
24
|
+
lib/languages/groovy/config.yaml
|
25
|
+
lib/languages/jaskell/config.yaml
|
26
|
+
lib/languages/javascript/config.yaml
|
27
|
+
lib/languages/jawk/config.yaml
|
28
|
+
lib/languages/jruby/config.yaml
|
29
|
+
lib/languages/judo/config.yaml
|
30
|
+
lib/languages/jython/config.yaml
|
31
|
+
lib/languages/lolcode/config.yaml
|
32
|
+
lib/languages/pnuts/config.yaml
|
33
|
+
lib/languages/ptilde/config.yaml
|
34
|
+
lib/languages/scala/config.yaml
|
35
|
+
lib/languages/sleep/config.yaml
|
36
|
+
lib/languages/tcl/config.yaml
|
37
|
+
lib/languages/yoix/config.yaml
|
38
|
+
lib/languages/extension_mapping.yaml) +
|
39
|
+
%w(spec/rjb_spec.rb spec/string_spec.rb)
|
40
|
+
spec.has_rdoc = false
|
41
|
+
spec.homepage = 'http://github.com/shvets/scriptlandia-r'
|
42
|
+
spec.require_paths = ["lib"]
|
43
|
+
spec.rubyforge_project = 'scriptlandia-r'
|
44
|
+
spec.rubygems_version = '1.3.1'
|
45
|
+
spec.summary = %q{Scriptlandia Launcher in Ruby.}
|
46
|
+
|
47
|
+
if spec.respond_to? :specification_version then
|
48
|
+
spec.specification_version = 2
|
49
|
+
end
|
50
|
+
|
51
|
+
spec.executables = ['sl']
|
52
|
+
spec.platform = Gem::Platform::RUBY
|
53
|
+
spec.requirements = ["none"]
|
54
|
+
spec.bindir = "bin"
|
55
|
+
|
56
|
+
spec.add_dependency("rjb", ">= 1.1.6")
|
57
|
+
spec.add_dependency("buildr", ">= 1.3.3")
|
58
|
+
end
|
data/spec/rjb_spec.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
#
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'rjb'
|
5
|
+
|
6
|
+
|
7
|
+
describe Rjb do
|
8
|
+
|
9
|
+
it "should load java String class" do
|
10
|
+
if RUBY_PLATFORM =~ /mswin32/
|
11
|
+
ENV['JAVA_HOME'] = 'c:/Java/jdk1.5.0'
|
12
|
+
else
|
13
|
+
ENV['JAVA_HOME'] = '/Library/Java/Home'
|
14
|
+
end
|
15
|
+
|
16
|
+
#ENV['LD_LIBRARY_PATH'] = "#{ENV['LD_LIBRARY_PATH']}:#{ENV['JAVA_HOME]}/jre/lib/i386:#{ENV['JAVA_HOME']}/jre/lib/i386/client"
|
17
|
+
|
18
|
+
Rjb::load(classpath = '.', jvmargs=[])
|
19
|
+
|
20
|
+
str = Rjb::import('java.lang.String')
|
21
|
+
|
22
|
+
instance = str.new "test"
|
23
|
+
|
24
|
+
instance.should_not be_nil
|
25
|
+
#assert_equal instance.to_s, 'test'
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
data/spec/string_spec.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require '../lib/scriptlandia'
|
4
|
+
|
5
|
+
describe String do
|
6
|
+
|
7
|
+
it "should interpolate values" do
|
8
|
+
s = '-Dfan.home=#{repositories.local}/fan/fan-sys/1.0.29'
|
9
|
+
|
10
|
+
repositories_local = 'c:/maven-repository'
|
11
|
+
|
12
|
+
s_i = s.interpolate({'repositories.local' => repositories_local})
|
13
|
+
|
14
|
+
s_i.should eql('-Dfan.home=' + repositories_local + '/fan/fan-sys/1.0.29')
|
15
|
+
end
|
16
|
+
end
|
metadata
CHANGED
@@ -1,72 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scriptlandia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Shvets
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-03-29 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rjb
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.1.6
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: buildr
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.3.3
|
34
|
+
version:
|
35
|
+
description: Scriptlandia Launcher in Ruby.
|
17
36
|
email: alexander.shvets@gmail.com
|
18
|
-
executables:
|
19
|
-
|
37
|
+
executables:
|
38
|
+
- sl
|
20
39
|
extensions: []
|
21
40
|
|
22
41
|
extra_rdoc_files: []
|
23
42
|
|
24
43
|
files:
|
44
|
+
- CHANGES
|
45
|
+
- Rakefile
|
46
|
+
- README
|
47
|
+
- scriptlandia-r.gemspec
|
48
|
+
- TODO
|
49
|
+
- examples.zip
|
50
|
+
- bin/sl
|
51
|
+
- bin/sl.bat
|
25
52
|
- lib/buildfile
|
26
|
-
- lib/
|
27
|
-
- lib/
|
53
|
+
- lib/configurer.rb
|
54
|
+
- lib/language_installer.rb
|
55
|
+
- lib/launcher.rb
|
56
|
+
- lib/settings.yaml
|
28
57
|
- lib/languages/ant/config.yaml
|
29
|
-
- lib/languages/beanshell
|
30
58
|
- lib/languages/beanshell/config.yaml
|
31
|
-
- lib/languages/clojure
|
32
59
|
- lib/languages/clojure/config.yaml
|
33
|
-
- lib/languages/extension_mapping.yaml
|
34
|
-
- lib/languages/fan
|
35
60
|
- lib/languages/fan/config.yaml
|
36
|
-
- lib/languages/fortress
|
37
61
|
- lib/languages/fortress/config.yaml
|
38
|
-
- lib/languages/groovy
|
39
62
|
- lib/languages/groovy/config.yaml
|
40
|
-
- lib/languages/jaskell
|
41
63
|
- lib/languages/jaskell/config.yaml
|
42
|
-
- lib/languages/javascript
|
43
64
|
- lib/languages/javascript/config.yaml
|
44
|
-
- lib/languages/jawk
|
45
65
|
- lib/languages/jawk/config.yaml
|
46
|
-
- lib/languages/jruby
|
47
66
|
- lib/languages/jruby/config.yaml
|
48
|
-
- lib/languages/judo
|
49
67
|
- lib/languages/judo/config.yaml
|
50
|
-
- lib/languages/jython
|
51
68
|
- lib/languages/jython/config.yaml
|
52
|
-
- lib/languages/lolcode
|
53
69
|
- lib/languages/lolcode/config.yaml
|
54
|
-
- lib/languages/pnuts
|
55
70
|
- lib/languages/pnuts/config.yaml
|
56
|
-
- lib/languages/ptilde
|
57
71
|
- lib/languages/ptilde/config.yaml
|
58
|
-
- lib/languages/scala
|
59
72
|
- lib/languages/scala/config.yaml
|
60
|
-
- lib/languages/sleep
|
61
73
|
- lib/languages/sleep/config.yaml
|
62
|
-
- lib/languages/tcl
|
63
74
|
- lib/languages/tcl/config.yaml
|
64
|
-
- lib/languages/yoix
|
65
75
|
- lib/languages/yoix/config.yaml
|
66
|
-
- lib/
|
67
|
-
-
|
68
|
-
|
69
|
-
|
76
|
+
- lib/languages/extension_mapping.yaml
|
77
|
+
- spec/rjb_spec.rb
|
78
|
+
- spec/string_spec.rb
|
79
|
+
has_rdoc: true
|
80
|
+
homepage: http://github.com/shvets/scriptlandia-r
|
81
|
+
licenses: []
|
82
|
+
|
70
83
|
post_install_message:
|
71
84
|
rdoc_options: []
|
72
85
|
|
@@ -86,10 +99,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
99
|
version:
|
87
100
|
requirements:
|
88
101
|
- none
|
89
|
-
rubyforge_project:
|
90
|
-
rubygems_version: 1.
|
102
|
+
rubyforge_project: scriptlandia-r
|
103
|
+
rubygems_version: 1.3.5
|
91
104
|
signing_key:
|
92
105
|
specification_version: 2
|
93
|
-
summary: .
|
106
|
+
summary: Scriptlandia Launcher in Ruby.
|
94
107
|
test_files: []
|
95
108
|
|