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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e61c623c64f31c609d8ae8525c6a71a280072dd
4
- data.tar.gz: 41663371905a705ab6cfae9b3b022793eee2c510
3
+ metadata.gz: 2cb8e3635b3e9624f1ebda8cd9c8c6e7657f7646
4
+ data.tar.gz: cf400ac802aaf563271f77c2b0bcf1fe440a73a2
5
5
  SHA512:
6
- metadata.gz: ec62ec831b72ced190370a288f6e09cc8d250fa2a1d34d041bbba850d5b45e2dd063bc4ac2c8619bf443caa6df55adcf50661ed949f5e90494d2cf3a6e765f36
7
- data.tar.gz: b6189721bc60585b4c6b25b8e7e77343da0c471196585edd43bf575cc24392b214e855a96229469ceffb85073cbfec5c1c103dcbee5775c111b241e6620f5b0f
6
+ metadata.gz: 8e75994266e42742c92a9026b0fc91f02b944b94a21002d79d8b9c4e4d5691b9abaac0e98f136b9b0610a8b094fdd32892689d0f89a472753e13d792059de310
7
+ data.tar.gz: de1b68215966d8a292652948d0e2b33100224af1cd0ac675410f0e7f08521ae830ac8b7cbcada19949b285ce1bf1f45d4d1b52366507016519fefdb1e685cdfb
@@ -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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'sapluuna'
3
- s.version = '0.1.5'
3
+ s.version = '0.1.6'
4
4
  s.licenses = %w( Apache-2.0 )
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = [ 'Saku Ytti' ]
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.5
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-03 00:00:00.000000000 Z
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.2.2
67
+ rubygems_version: 2.4.5
68
68
  signing_key:
69
69
  specification_version: 4
70
70
  summary: Template parser