stimulizer 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stimulizer/version.rb +1 -1
- data/lib/stimulizer.rb +5 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e783af7b60936cc4f7b1d13f98cf9519d81aed08d00b40696caf7d3b90166982
|
4
|
+
data.tar.gz: e0c34c9c72c9f6cbbe7e3d57d262f230c91bc11d2f3451145bf062c36a4649bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a7217915c0e1daca592ad6493b2a3235c1f72ff5e4d0380ae1631e844d1d4601cb3305ec7b7b73f8feb653bc8ebfd2200f2c55ac9ca12fcd6ec9101a880b504
|
7
|
+
data.tar.gz: 0a278b19ec5b6bd797894bf2905038aeea4d4ab01f2cfc409e0bf9cce1dc6807b8ffc8a93e85017333eef8d3def540e09f65eeeefe97976f57c6d5e20f1c6de2
|
data/lib/stimulizer/version.rb
CHANGED
data/lib/stimulizer.rb
CHANGED
@@ -49,13 +49,11 @@ module Stimulizer
|
|
49
49
|
output = stimulus_hash(*args)
|
50
50
|
return output if _stimulizer_opts[:output] == :hash
|
51
51
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
.strip
|
58
|
-
)
|
52
|
+
output.to_a
|
53
|
+
.map { |k, v| %(#{k.to_s.strip}="#{v.to_s.strip}") }
|
54
|
+
.join(" ")
|
55
|
+
.squish
|
56
|
+
.strip
|
59
57
|
end
|
60
58
|
|
61
59
|
private
|