hustle_and_flow 0.0.4 → 0.0.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19e46fc2ea771385deb4242ffe296a2e96ea1ba1
|
4
|
+
data.tar.gz: 8faa6dd656bd713fd1514120de413cf01c2c6fb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43423e6eec617444175485c22f66f3b3a353a5220990a8f5c1dab59c779b30dec656ff04b58c1570ac090da2a9f0eac814934640f8204c60278a2c14c1ff72b8
|
7
|
+
data.tar.gz: c672c4076cf42c3418a70b353c59d623773662bc7314457be4970f4f76478c3a6d92004ccb254910570503f3b9aa33b2dc5ccce56c631d11c4d65371ec190109
|
@@ -91,8 +91,10 @@ class Issue
|
|
91
91
|
|
92
92
|
args.delete(:version)
|
93
93
|
|
94
|
-
if
|
95
|
-
|
94
|
+
if args.key?(:title)
|
95
|
+
title = args.delete(:title)
|
96
|
+
|
97
|
+
result &&= sanitize(title) == sanitize(self.title)
|
96
98
|
end
|
97
99
|
|
98
100
|
conditions.each do |key, value|
|
@@ -221,6 +223,7 @@ class Issue
|
|
221
223
|
|
222
224
|
def sanitize(other)
|
223
225
|
other.
|
226
|
+
to_s.
|
224
227
|
gsub(/[\W\-\s_]/, '').
|
225
228
|
downcase
|
226
229
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hustle_and_flow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thekompanee
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-08-
|
12
|
+
date: 2014-08-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: octokit
|