shvets-scriptlandia 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -32,6 +32,11 @@ After the installation you have to configure the gem:
32
32
 
33
33
  You have to enter the location of Java Home and Jar Repository Location, e.g.:
34
34
 
35
+ $ Enter Java Home:
36
+ $ c:/Java/jdk1.5.0
37
+
38
+ $ Enter Repository Home:
39
+ $ c:/Work/maven-repository
35
40
 
36
41
  Now you can run scripts:
37
42
 
@@ -45,4 +50,4 @@ To install dependencies (jar files) for the language, run this command:
45
50
 
46
51
  If you have GUI in your script, you can use --wait flag to wait for GUI thread:
47
52
 
48
- $ sl Hello.bsh --wait
53
+ $ sl Hello.bsh --wait
data/lib/configurer.rb CHANGED
@@ -15,9 +15,9 @@ module Scriptlandia
15
15
 
16
16
  prepare()
17
17
 
18
- install_settings(File.dirname(__FILE__) + "/../" + "lib/settings.yaml", $my_libdir + "/../settings.yaml")
18
+ install_settings(File.dirname(__FILE__) + "/../" + "lib/settings.yaml", $my_libdir + "/settings.yaml")
19
19
 
20
- settings = YAML::load File.open($my_libdir + "/../settings.yaml")
20
+ settings = YAML::load File.open($my_libdir + "/settings.yaml")
21
21
 
22
22
  install_file(File.dirname(__FILE__) + "/../bin/sl.bat", $my_bindir, "/sl.bat", settings) if CONFIG['host_os'] =~ /mswin/
23
23
 
@@ -48,7 +48,7 @@ module Scriptlandia
48
48
  $spec = Gem::Specification.load(File.dirname(__FILE__) + "/../" + 'scriptlandia-r.gemspec')
49
49
 
50
50
  $my_gem_path = File.join(my_gems_path, CONFIG["MAJOR"]+"."+CONFIG["MINOR"],
51
- 'gems', $spec.name + '-' + $spec.version.to_s)
51
+ 'gems', 'shvets-' + $spec.name + '-' + $spec.version.to_s)
52
52
 
53
53
  $my_libdir = File.join($my_gem_path, 'lib')
54
54
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'scriptlandia'
5
- spec.version = '0.7.2'
5
+ spec.version = '0.7.3'
6
6
 
7
7
  spec.required_rubygems_version = Gem::Requirement.new(">= 0") if spec.respond_to? :required_rubygems_version=
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shvets-scriptlandia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Shvets