jared 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/jared +2 -0
- data/lib/jared/plugin_list.rb +12 -2
- data/lib/jared/version.rb +1 -1
- data/lib/jared.rb +0 -2
- data/pkg/jared-1.0.1.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8871c5b9147d246c91177d906e1c30bfc5c13f24
|
4
|
+
data.tar.gz: e5191cabf909a2c6b6e2f165225d322c944e8e76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcd5714bfcce121ca7ce2c25d91e76cdf006197ef7eea9f5a61be73339fcb41d99d8e5e507d5d962fc9ffc3df2de26a0e13822e9c1518ba8de2da691aa9ab839
|
7
|
+
data.tar.gz: 218cc57fdc90ad988bf2647328bd7c6373da19c92d9fb48fb25c53bcf46b1ff64b2c161ad4313638d02e8b825d79167ad78e6f51c10457181bcae1b396d536c1
|
data/bin/jared
CHANGED
data/lib/jared/plugin_list.rb
CHANGED
@@ -5,8 +5,18 @@ module Jared
|
|
5
5
|
end
|
6
6
|
|
7
7
|
def fetch
|
8
|
-
|
9
|
-
|
8
|
+
begin
|
9
|
+
list = open('https://raw.githubusercontent.com/cyberarm/jared-plugins/master/jared-plugins.json').read
|
10
|
+
rescue
|
11
|
+
if File.exist?(@file)
|
12
|
+
# We'll live.
|
13
|
+
else
|
14
|
+
puts "Connection error.\nCould not fetch jared-plugins.json from github.com.\n:("
|
15
|
+
exit
|
16
|
+
end
|
17
|
+
|
18
|
+
File.open(@file, 'w') {|file| file.write list}
|
19
|
+
end
|
10
20
|
end
|
11
21
|
|
12
22
|
def parse
|
data/lib/jared/version.rb
CHANGED
data/lib/jared.rb
CHANGED
data/pkg/jared-1.0.1.gem
ADDED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jared
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cyberarm
|
@@ -59,6 +59,7 @@ files:
|
|
59
59
|
- lib/jared/version.rb
|
60
60
|
- license.md
|
61
61
|
- pkg/jared-0.1.0.gem
|
62
|
+
- pkg/jared-1.0.1.gem
|
62
63
|
- readme.md
|
63
64
|
homepage: https://github.com/cyberarm/jared
|
64
65
|
licenses: []
|