qlang 0.0.27100000 → 0.0.27180000

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: dcf745e14a6861e5e9fb6c4910d8df2ba4e5f3f9
4
- data.tar.gz: 297ae46f6a7a43efc30ad3225c919a34ea251244
3
+ metadata.gz: 38ea44cfe5b2bff006fc553503a35c4d089f8109
4
+ data.tar.gz: 458fc83a85f7847b4f2258d8a8be725949b4ce32
5
5
  SHA512:
6
- metadata.gz: 9ff8c82a7f9711d3a2af78e50821aa03399fd38859925edb683dfa4883a2551a7cf4cf4a45a8543bf22969d413abc7e564c4311683b64201642d339efc186e55
7
- data.tar.gz: 1f1322071f77fa070ced62cc7581bd50315d7408f91bd59585316608d13c72f50defb81e1f10b29c9db338481815712ea21b5bad0685033a9827cb476b10a22f
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(input_string))
42
+ Kconv.tosjis(Qlang.compile($1))
42
43
  end
43
44
 
44
45
  def write!(output_path, string)
data/lib/qlang/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Qlang
2
- VERSION = "0.0.27100000"
2
+ VERSION = "0.0.27180000"
3
3
  end
@@ -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.27100000
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-15 00:00:00.000000000 Z
11
+ date: 2014-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dydx