spigoter 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.codeclimate.yml +1 -1
- data/.editorconfig +0 -0
- data/.rubocop.yml +0 -0
- data/Guardfile +0 -0
- data/exe/spigoter +0 -0
- data/lib/spigoter/cli/cli.rb +0 -0
- data/lib/spigoter/cli/cli_compile.rb +3 -1
- data/lib/spigoter/cli/cli_init.rb +0 -0
- data/lib/spigoter/cli/cli_start.rb +0 -0
- data/lib/spigoter/cli/cli_update.rb +0 -0
- data/lib/spigoter/log/log.rb +0 -0
- data/lib/spigoter/utils.rb +4 -1
- data/lib/spigoter/version.rb +1 -1
- data/lib/spigoter/webapi/curse.rb +0 -0
- data/lib/spigoter/webapi/devbukkit.rb +0 -0
- data/lib/spigoter/webapi/plugin.rb +0 -0
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bb05263908c8b8fdcb88508c576d60fdc9525dfa
|
|
4
|
+
data.tar.gz: 0f07398dda7f4074bc2c5321d2e95237c8b0635a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da58973644c6e0fda2cd178fc875867d31b3b326ff859cf8061dbb5db1856d108ffc69269410cc476579c0829f397518290093a00fb92ef3ca6ecfd1dd7314d1
|
|
7
|
+
data.tar.gz: c15b1ccd2ed4ab636dee62b8c940cc5270630a028e44a5742b87fdb1b8c7308bf57d5613b990da1b3856e652748c3ca55ccc03f5043fed3d3cd8b7fb58c61060
|
data/.codeclimate.yml
CHANGED
data/.editorconfig
CHANGED
|
File without changes
|
data/.rubocop.yml
CHANGED
|
File without changes
|
data/Guardfile
CHANGED
|
File without changes
|
data/exe/spigoter
CHANGED
|
File without changes
|
data/lib/spigoter/cli/cli.rb
CHANGED
|
File without changes
|
|
@@ -44,7 +44,9 @@ module Spigoter
|
|
|
44
44
|
def self.download_buildtools
|
|
45
45
|
unless File.exist?('BuildTools.jar')
|
|
46
46
|
file = Spigoter::Utils.download('https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar')
|
|
47
|
-
File.open('BuildTools.jar', 'wb')
|
|
47
|
+
File.open('BuildTools.jar', 'wb') do |f|
|
|
48
|
+
f.write(file)
|
|
49
|
+
end
|
|
48
50
|
end
|
|
49
51
|
end
|
|
50
52
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/lib/spigoter/log/log.rb
CHANGED
|
File without changes
|
data/lib/spigoter/utils.rb
CHANGED
|
@@ -13,7 +13,10 @@ module Spigoter
|
|
|
13
13
|
def self.loadyaml(path)
|
|
14
14
|
raise "File #{path} doesn't exists" unless File.exist?(path)
|
|
15
15
|
|
|
16
|
-
opts =
|
|
16
|
+
opts = {}
|
|
17
|
+
File.open(path, 'r') do |f|
|
|
18
|
+
opts = YAML.load(f)
|
|
19
|
+
end
|
|
17
20
|
|
|
18
21
|
raise "Malformed YAML file #{path}" unless opts.class == Hash
|
|
19
22
|
opts
|
data/lib/spigoter/version.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spigoter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Ramos
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-04-
|
|
11
|
+
date: 2016-04-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -200,7 +200,6 @@ files:
|
|
|
200
200
|
- lib/spigoter/webapi/devbukkit.rb
|
|
201
201
|
- lib/spigoter/webapi/plugin.rb
|
|
202
202
|
- lib/spigoter/webapi/spigot.rb
|
|
203
|
-
- pkg/.gitignore
|
|
204
203
|
- spigoter.gemspec
|
|
205
204
|
- tmp/.gitignore
|
|
206
205
|
homepage: https://github.com/DanielRamosAcosta/spigoter
|