mesa_script 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mesa_script.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db40aeb65138b602f30e9bcdd44d52b9de433297fb9a340de96595b4e2b38401
|
4
|
+
data.tar.gz: 40061111a80be757fe6b0043cba66df69cae0a5cbc5c425b14adc18a94960b23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be7e4b32cbb15f294d711e72a6c45262c307bfe937b2b0f67bbd8bcdd0fb774e8072bcec2255854e29c1904a9397ef8a659c98c9a357999f5a812fe978e3561f
|
7
|
+
data.tar.gz: 40296c110b43d083fb2d34285fa9597aaa97ad5404ca86d7b888ac450e3c0d82632b5d118dfe18e50ddedc9f5a97794283180d09f8c90505a8c22e42e5893b81
|
data/lib/mesa_script.rb
CHANGED
@@ -567,7 +567,7 @@ class Inlist
|
|
567
567
|
name += ' ='
|
568
568
|
end
|
569
569
|
name.downcase!
|
570
|
-
|
570
|
+
result = if value =~ /'.*'/ || value =~ /".*"/
|
571
571
|
name + ' ' + value # leave strings alone
|
572
572
|
elsif %w[.true. .false.].include?(value.downcase)
|
573
573
|
name + ' ' + value.downcase.delete('.') # fix booleans
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mesa_script
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Wolf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: MesaScript - a DSL for making dynamic inlists for the MESA stellar evolution
|
14
14
|
code.
|