tmuxinator 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tmuxinator/config.rb +1 -1
- data/lib/tmuxinator/tmux_version.rb +2 -0
- data/lib/tmuxinator/version.rb +1 -1
- data/spec/lib/tmuxinator/config_spec.rb +27 -8
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a86d4f9a6be9930c7ca3ddec795190a7674126289188714aa5e119f3cea81190
|
4
|
+
data.tar.gz: fc70a27587f0514b57960bcc5e1248380f83ce93762308f8b6d678b47453a7ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0efd6ba6cc7e578799dbae56fd236c91b148b6117e3a2076e43f0097cf6fc39bf15cfcf669d720711513955c6f727e0534159a7dd1cf7f78de06b2f40e69652
|
7
|
+
data.tar.gz: 5092303c7a2517bf63bb9a3bc3f1670418ac2474dcc8db29c186a10e7ba3b2d021bd247ba9abc59c3a85254c40027c4574fa8982cbd35385efd627f13409d681
|
data/lib/tmuxinator/config.rb
CHANGED
data/lib/tmuxinator/version.rb
CHANGED
@@ -159,14 +159,33 @@ describe Tmuxinator::Config do
|
|
159
159
|
and_return("tmux #{version}")
|
160
160
|
end
|
161
161
|
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
162
|
+
version_mapping = {
|
163
|
+
"0.8" => 0.8,
|
164
|
+
"1.0" => 1.0,
|
165
|
+
"1.9" => 1.9,
|
166
|
+
"1.9a" => 1.9,
|
167
|
+
"2.4" => 2.4,
|
168
|
+
"2.9a" => 2.9,
|
169
|
+
"3.0-rc5" => 3.0,
|
170
|
+
"next-3.1" => 3.1,
|
171
|
+
"master" => Float::INFINITY,
|
172
|
+
# Failsafes
|
173
|
+
"foobar" => 0.0,
|
174
|
+
"-123-" => 123.0,
|
175
|
+
"5935" => 5935.0,
|
176
|
+
"" => 0.0,
|
177
|
+
"!@#^%" => 0.0,
|
178
|
+
"2.9ä" => 2.9,
|
179
|
+
"v3.5" => 3.5,
|
180
|
+
"v3.12.0" => 3.12,
|
181
|
+
"v3.12.5" => 3.12
|
182
|
+
}.freeze
|
183
|
+
|
184
|
+
version_mapping.each do |string_version, parsed_numeric_version|
|
185
|
+
context "when reported version is '#{string_version}'" do
|
186
|
+
let(:version) { string_version }
|
187
|
+
it { is_expected.to eq parsed_numeric_version }
|
188
|
+
end
|
170
189
|
end
|
171
190
|
end
|
172
191
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tmuxinator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Allen Bargi
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-12-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: erubis
|
@@ -309,7 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
309
309
|
- !ruby/object:Gem::Version
|
310
310
|
version: 1.8.23
|
311
311
|
requirements: []
|
312
|
-
rubygems_version: 3.0.
|
312
|
+
rubygems_version: 3.0.6
|
313
313
|
signing_key:
|
314
314
|
specification_version: 4
|
315
315
|
summary: Create and manage complex tmux sessions easily.
|