RUIC 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/ruic +1 -1
- data/lib/ruic.rb +2 -0
- data/lib/ruic/application.rb +2 -1
- data/lib/ruic/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0cc675abb175c24f21e6c947e4bc3e3abc880c3
|
4
|
+
data.tar.gz: 5e18d03cc07085cccfeab2062ea326da42f2961a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ff4d45f592471d0b143d3083376d17eabb66e12aa18f56c460b0e5c849571b6af933442c2c1fc7901cf7af0789856d0fdc84513d81feb7cc9b8e095fc1b11b5
|
7
|
+
data.tar.gz: 33ec67a3e355b8f52e1b5ddbbbca2a578127ea04963a4b8a227d4f207d8131ecfea8d6b3fcd4441d1fe89ab0fc7da77eb87a0adf233c508702eee8865490f177
|
data/bin/ruic
CHANGED
@@ -19,7 +19,7 @@ HELP = <<ENDHELP
|
|
19
19
|
-m, --metadata The path to use for MetaData.xml
|
20
20
|
Default: #{RUIC::DEFAULTMETADATA}
|
21
21
|
Will be overridden by any `metadata` call in your script.
|
22
|
-
-u, --uia
|
22
|
+
-u, --uia A UIC application file (.uia) to load.
|
23
23
|
ENDHELP
|
24
24
|
|
25
25
|
ARGS = {}
|
data/lib/ruic.rb
CHANGED
@@ -41,6 +41,8 @@ class RUIC
|
|
41
41
|
Ripl.config.merge! prompt:"", result_prompt:'#=> ', multi_line_prompt:' ', irb_verbose:false, after_result:"\n"
|
42
42
|
ARGV.clear # So that RIPL doesn't try to interpret the options
|
43
43
|
puts "(RUIC v#{RUIC::VERSION} interactive session; 'quit' or ctrl-d to end)"
|
44
|
+
ruic.instance_eval{ puts @apps.map{ |n,app| "(#{n} is #{app.inspect})" } }
|
45
|
+
puts "" # blank line before first input
|
44
46
|
Ripl.start binding:ruic.env
|
45
47
|
end
|
46
48
|
end
|
data/lib/ruic/application.rb
CHANGED
@@ -2,13 +2,14 @@ class UIC::Application
|
|
2
2
|
include UIC::FileBacked
|
3
3
|
|
4
4
|
def inspect
|
5
|
-
"<UIC::Application '#{File.basename(file)}'>"
|
5
|
+
"<UIC::Application '#{File.basename(file)}'#{:' FILENOTFOUND' unless file_found?}>"
|
6
6
|
end
|
7
7
|
|
8
8
|
attr_reader :metadata
|
9
9
|
def initialize(metadata,uia_path)
|
10
10
|
@metadata = metadata
|
11
11
|
self.file = uia_path
|
12
|
+
@assets = {}
|
12
13
|
load_from_file if file_found?
|
13
14
|
end
|
14
15
|
|
data/lib/ruic/version.rb
CHANGED