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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87fda9e7cc1c17980d2be9dd5f11d7517021e4e5
4
- data.tar.gz: 510c97a4fdebfedc42592976c998cd833f761ade
3
+ metadata.gz: f0cc675abb175c24f21e6c947e4bc3e3abc880c3
4
+ data.tar.gz: 5e18d03cc07085cccfeab2062ea326da42f2961a
5
5
  SHA512:
6
- metadata.gz: d410880c527337b721bcfc3c4426e40e7ff66304e99ef7f633803350a6fd8adf6a38671fce69a27abae2febbcd308c18e70a45d5b3fb6e3ead7d74f44b16c759
7
- data.tar.gz: 81648b820eb9d836502fba848fade1c533293fd0242ed436f2a9590b01575769a1266a8dc00e6354363546ff39dfe054f26133a621eeb2ddb04622b7bdc5020d
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 An application to load.
22
+ -u, --uia A UIC application file (.uia) to load.
23
23
  ENDHELP
24
24
 
25
25
  ARGS = {}
@@ -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
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  class RUIC
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RUIC
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Kistner