srsly 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/srsly.rb +1 -1
- data/srsly.gemspec +1 -1
- data/test/test_srsly.rb +1 -1
- metadata +3 -3
data/lib/srsly.rb
CHANGED
@@ -70,7 +70,7 @@ def SRSLY? *args
|
|
70
70
|
end if error
|
71
71
|
|
72
72
|
resps = options.select { |k, v| k.is_a?(Regexp) || k.is_a?(String) || k.nil? }
|
73
|
-
resps = resps.merge(
|
73
|
+
resps = Hash[resps].merge(
|
74
74
|
# Default responses if nothing given
|
75
75
|
/^y/i => true,
|
76
76
|
/^n/i => false) if resps.reject { |k, _| k.nil? }.empty?
|
data/srsly.gemspec
CHANGED
data/test/test_srsly.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: srsly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-08-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
80
|
rubyforge_project:
|
81
|
-
rubygems_version: 1.8.
|
81
|
+
rubygems_version: 1.8.25
|
82
82
|
signing_key:
|
83
83
|
specification_version: 3
|
84
84
|
summary: SRSLY?
|