geturl 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/geturl/geturl-local-urls.rb +1 -0
- data/lib/geturl/geturl-sources.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ce2496639e7c4beb10be48c7044fa865864ff25f111e8748a2b72de2dec4a40
|
4
|
+
data.tar.gz: b9618d78e251b878178c5e1e1ccb5fc644ea856de945d9ab2e6f458dc5715664
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b2b6b4900921cdb6e91baec7ca86a15836ac8099da65cf0eb6215328e20262df8d28b4ec92782d5aa4a9da07927e0ddf69e85be7907139650824d6bcfdaebaa
|
7
|
+
data.tar.gz: 2bf5584d24527aa167b1b8bf85877373e8d3d603744a2b61cfb603da7a15dd7197f3b373f30a11fec8b9db4273e312d82086f58b244221eb74141770aa5653c1
|
@@ -36,6 +36,7 @@ module GetUrl
|
|
36
36
|
'key' => options['key'],
|
37
37
|
}
|
38
38
|
File.write(@source_file, sources.to_yaml)
|
39
|
+
FileManager.clear_all_items_cache
|
39
40
|
return sources.size
|
40
41
|
end
|
41
42
|
|
@@ -48,6 +49,7 @@ module GetUrl
|
|
48
49
|
sources.delete(id)
|
49
50
|
File.write(@source_file, sources.to_yaml)
|
50
51
|
File.unlink(FileManager.get_local_source_file(id)) rescue nil
|
52
|
+
FileManager.clear_all_items_cache
|
51
53
|
return sources.size
|
52
54
|
end
|
53
55
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geturl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taco Jan Osinga
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|