irust 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/lib/irust.rb +1 -1
- data/lib/irust/template.rs.erb +2 -15
- data/lib/irust/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e7697ca0c60ecca3edd607de9bd8731b69debaa
|
4
|
+
data.tar.gz: af1967f6426938d4f709f29c46f548f418db2f04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f577c81c74059fb4ba7721d28b058ffce4030e703aff74cd5d8d7333b831b2561bead40cc0cc5137f72be7e5127d7d46a71650c22904e58861d6c8de1714270
|
7
|
+
data.tar.gz: 485d355e5a0fcba48b3d8ca7e32e8498d40342381ac6c208c1a7a74a967d0a10da8a5c9f20dedfefa82808699efb8150dd33c38d1386a4a20cb3f6bf97b36dad
|
data/CHANGES.md
CHANGED
data/lib/irust.rb
CHANGED
data/lib/irust/template.rs.erb
CHANGED
@@ -1,18 +1,5 @@
|
|
1
|
-
#[feature(globs, macro_rules, struct_variant)];
|
2
|
-
extern mod extra;
|
3
|
-
|
4
|
-
fn type_of<T>(_: &T) -> &'static str {
|
5
|
-
unsafe { (*std::unstable::intrinsics::get_tydesc::<T>()).name }
|
6
|
-
}
|
7
|
-
|
8
1
|
fn main() {
|
9
2
|
<%= history %>;
|
10
|
-
|
11
|
-
|
12
|
-
<%= rust_code %>;
|
13
|
-
println!("<%= let_var%> = {:?} : {:s}", <%= let_var %>, type_of(&<%= let_var %>));
|
14
|
-
<% else %>
|
15
|
-
let _result = { <%= rust_code %> };
|
16
|
-
println!("{:?} : {:s}", _result, type_of(&_result));
|
17
|
-
<% end %>
|
3
|
+
let _irust_eval_result = { <%= rust_code %> };
|
4
|
+
println!("{:?}", _irust_eval_result);
|
18
5
|
}
|
data/lib/irust/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: irust
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Arcieri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
version: '0'
|
93
93
|
requirements: []
|
94
94
|
rubyforge_project:
|
95
|
-
rubygems_version: 2.
|
95
|
+
rubygems_version: 2.4.5
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: Read, Eval, and Print Rust code to your heart's desire!
|