qlang 0.0.27100000 → 0.0.27180000
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/qlang/exec.rb +2 -1
- data/lib/qlang/version.rb +1 -1
- data/spec/langs/R/ex1_before.R +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38ea44cfe5b2bff006fc553503a35c4d089f8109
|
4
|
+
data.tar.gz: 458fc83a85f7847b4f2258d8a8be725949b4ce32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd3ba3a14aec2546795f4cac2dd533736afbd3b02213b355b7a61ee9548874514cf9f5c6db5965197bf44d085926a7e89896d000d5d95fd59527285eda9d848e
|
7
|
+
data.tar.gz: 2fc98ec6103e6f16d5b90314365b412068f6abc1807e1cd75da2b94827e6bae40fedb1e743a6c286f21bcc656296860116f42173ca12100ee66ebd083f598ec4
|
data/lib/qlang/exec.rb
CHANGED
@@ -37,8 +37,9 @@ module Qlang
|
|
37
37
|
def parse(file_path)
|
38
38
|
file = open_file(file_path)
|
39
39
|
input_string = read_file(file)
|
40
|
+
input_string =~ /I love mathematics\.(.*)Q\.E\.D/m
|
40
41
|
file.close
|
41
|
-
Kconv.tosjis(Qlang.compile(
|
42
|
+
Kconv.tosjis(Qlang.compile($1))
|
42
43
|
end
|
43
44
|
|
44
45
|
def write!(output_path, string)
|
data/lib/qlang/version.rb
CHANGED
data/spec/langs/R/ex1_before.R
CHANGED
@@ -16,9 +16,9 @@ bind_df_to_zip_map = function(df)
|
|
16
16
|
print_zip_choropleth = function(choropleth.df, states, scaleName, theme, min, max)
|
17
17
|
{
|
18
18
|
stopifnot(states %in% state.abb)
|
19
|
-
|
19
|
+
I love mathematics.
|
20
20
|
a = (1 3 4)
|
21
|
-
|
21
|
+
Q.E.D
|
22
22
|
state.df = subset_map("state", states)
|
23
23
|
colnames(state.df)[names(state.df) == "long"] = "longitude"
|
24
24
|
colnames(state.df)[names(state.df) == "lat"] = "latitude"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qlang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.27180000
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gogotanaka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dydx
|