sapluuna 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sapluuna/context.rb +2 -2
- data/sapluuna.gemspec +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: 2cb8e3635b3e9624f1ebda8cd9c8c6e7657f7646
|
4
|
+
data.tar.gz: cf400ac802aaf563271f77c2b0bcf1fe440a73a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e75994266e42742c92a9026b0fc91f02b944b94a21002d79d8b9c4e4d5691b9abaac0e98f136b9b0610a8b094fdd32892689d0f89a472753e13d792059de310
|
7
|
+
data.tar.gz: de1b68215966d8a292652948d0e2b33100224af1cd0ac675410f0e7f08521ae830ac8b7cbcada19949b285ce1bf1f45d4d1b52366507016519fefdb1e685cdfb
|
data/lib/sapluuna/context.rb
CHANGED
@@ -73,9 +73,9 @@ class Sapluuna
|
|
73
73
|
value = args.first.last
|
74
74
|
case args.first.first
|
75
75
|
when :is
|
76
|
-
@variables[method] = value
|
76
|
+
@variables[method] = value unless @variables[method]
|
77
77
|
when :are
|
78
|
-
@variables[method] = value.to_s.strip.split(/\s+/)
|
78
|
+
@variables[method] = value.to_s.strip.split(/\s+/) unless @variables[method]
|
79
79
|
end
|
80
80
|
""
|
81
81
|
elsif @variables[method]
|
data/sapluuna.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sapluuna
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Saku Ytti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: slop
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
64
|
version: '0'
|
65
65
|
requirements: []
|
66
66
|
rubyforge_project: sapluuna
|
67
|
-
rubygems_version: 2.
|
67
|
+
rubygems_version: 2.4.5
|
68
68
|
signing_key:
|
69
69
|
specification_version: 4
|
70
70
|
summary: Template parser
|