rscript 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rscript_base.rb +5 -6
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85499beaf8d024ecdb086bb4dd070f81f91b485a
|
4
|
+
data.tar.gz: 5e9fcdcd242c20dca80c9277be5136ec0ea743f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20e45654ab3efda5e766914fafbb9e069d21bb0ca13df2d4de705cf1dbf0e58d2d68e9deb601834f2c4cd8408cce16bc691a3bc3ee659c297caf02641d1d690e
|
7
|
+
data.tar.gz: 9d735160d60cbfe35ff812ad6b75ec10feed8aac59bfb0bcc71e9e6bc51269e6570bd24076be33c7f4fbd90e6353b9050386386cd09c3590f0bd432f4777681c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rscript_base.rb
CHANGED
@@ -19,16 +19,15 @@ class RScriptBase
|
|
19
19
|
|
20
20
|
def read_script(script)
|
21
21
|
out_buffer = ''
|
22
|
-
|
22
|
+
|
23
23
|
src = script.attributes[:src]
|
24
24
|
|
25
|
-
if src then
|
26
|
-
|
27
|
-
out_buffer = read_sourcecode(script.attributes[:src].to_s)
|
25
|
+
out_buffer = if src then
|
26
|
+
read_sourcecode(script.attributes[:src].to_s)
|
28
27
|
else
|
29
|
-
|
30
|
-
out_buffer = code
|
28
|
+
script.texts.join("\n")
|
31
29
|
end
|
30
|
+
|
32
31
|
out_buffer
|
33
32
|
end
|
34
33
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rscript
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
pTl90ccAo96Myith2+5jI2p1BAoSjDRNTv+Uz21Zp7x1b0lFfXtaZ4FK5hu/B+DM
|
32
32
|
B4M/dUmu40qQLg==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-01-
|
34
|
+
date: 2015-01-30 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: hashcache
|
metadata.gz.sig
CHANGED
Binary file
|