irust 1.0.0 → 1.0.1

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: 0ca2671772f67680067964c791287b1f52089ca5
4
- data.tar.gz: 19ab69885f59a94b27cbc127ca29b5991cd623fc
3
+ metadata.gz: 7a8680765ab2d6bbe030ce43b0dd47ce13c60989
4
+ data.tar.gz: ec059eae0484d928fe6c91a0e75c57a87e7d618d
5
5
  SHA512:
6
- metadata.gz: 7afaaa6b8b33fd93b97222361e62547ef95574cabd379db59a2c01739d8eb31ec8f75956dc405bff0446ce64df36f2aa2e2b7cbdacabc6893d14d6cf3f8d3c94
7
- data.tar.gz: 4540a3728ef67d13202497f30a648d27ff5bbf9963edb43032f5b965360e73ac8d08115702986d588e2d4d0e3abf5ff6922a046e9c7f55596d564a11ce619480
6
+ metadata.gz: 4a7d90d96f88aa46f29bbe17bc246d909f23f0a1c1e90f93dc4719482dc2757d26345a476f05e2213e27b9b773419c61c7e2a5bda3402ddee7c26334cc45d5a2
7
+ data.tar.gz: 520b0149be9f72c76c34d29dd45ba6c8e9bd0798e7acd8051677615dec7967f5abd11869b7a36b680e8669f335d4b069fc2f1cb7df7e2fefd97c0e15f0515fce
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ 1.0.1 (2013-12-22)
2
+ ------------------
3
+ * Exit properly when ^D is pressed
4
+
1
5
  1.0.0 (2013-12-22)
2
6
  ------------------
3
7
  * Initial release
@@ -40,6 +40,8 @@ RUST
40
40
  end
41
41
 
42
42
  def eval(line)
43
+ exit 0 if line.nil?
44
+
43
45
  Dir.mktmpdir do |tmpdir|
44
46
  input_src = File.join(tmpdir, "irust.rs")
45
47
  File.write input_src, rust_program(line)
@@ -1,3 +1,3 @@
1
1
  module IRust
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irust
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Arcieri