jira-ruby-dmg 0.1.25 → 0.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jira/request_cache.rb +2 -2
- data/lib/jira/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 093e577719204dddf2b89bfd9e75df335dcfb282
|
4
|
+
data.tar.gz: 76cfd005c7ffe78cdf80492266fa86d21d9c6324
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7821ce9579dff2a9928a186d7db087b13ef9997fc83a5d598d80f4f687bd7deffe7fbcf0b43cb7defc3532b35d0a1213f1d95af42c3d269fc33ee158fb8cc9eb
|
7
|
+
data.tar.gz: d643dc5fb77ca544d731673e0d33e17b088f5d4763fe166620b73f5ce464896abeb877a7132d99133e4169b39fd638a22547aad6338547772fcf54a61f55b9b7
|
data/lib/jira/request_cache.rb
CHANGED
@@ -29,7 +29,7 @@ module JIRA
|
|
29
29
|
'timestamp' => now
|
30
30
|
}
|
31
31
|
|
32
|
-
cache_file(uri, 'w+').write(Marshal.dump(new_cache))
|
32
|
+
cache_file(uri, 'w+b').write(Marshal.dump(new_cache))
|
33
33
|
end
|
34
34
|
|
35
35
|
|
@@ -49,7 +49,7 @@ module JIRA
|
|
49
49
|
|
50
50
|
def cache(uri)
|
51
51
|
if File.exists? cache_path(uri)
|
52
|
-
Marshal.restore(cache_file(uri, 'r+').read())
|
52
|
+
Marshal.restore(cache_file(uri, 'r+b').read())
|
53
53
|
else
|
54
54
|
{}
|
55
55
|
end
|
data/lib/jira/version.rb
CHANGED