bukkit 2.4.0 → 2.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +3 -1
- data/bin/bukkit +7 -5
- data/features/create.feature +8 -0
- data/features/step_definitions/bukkit_steps.rb +7 -0
- data/lib/bukkit/version.rb +1 -1
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8392883d62a6c2662cec7e4a1c7608cd0bcc2142
|
4
|
+
data.tar.gz: 8ac7005c32031430547b6200e4d61e79d1890b2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db6b1eb3801d451f20112e70c381b5ecd5c11ebf4300305c65790d5bf012b79431c91c0ce80a220f2b2cc95058d509cde143448b796a154cc3443a9e1c0523f1
|
7
|
+
data.tar.gz: 66f15f6200d65a77636f11a3e34b5600026445814b32b45351f3b00dd58f82ee228f51d751677a78f2749dad1911adc6fa2c48513d59bc742557194c3c15ef52
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -28,7 +28,9 @@ __To View Command Options run:__ `bukkit [command] [options: -[-h]elp]`
|
|
28
28
|
|
29
29
|
`bukkit [--help, -h]` Display global help.
|
30
30
|
|
31
|
-
`bukkit install my-favorite-plugin` Install a new bukkit plugin.
|
31
|
+
`bukkit install my-favorite-plugin` Install a new bukkit plugin. (case insensitive)
|
32
|
+
|
33
|
+
`bukkit uninstall my-not-so-favorite-plugin` Uninstall a plugin. (case insensitive)
|
32
34
|
|
33
35
|
`bukkit new my-awesome-server-name [options: --rb, --beta, --dev, -[-f]orce (Overwrite any conflicting dirs.)], ` Create a new Bukkit server.
|
34
36
|
|
data/bin/bukkit
CHANGED
@@ -20,12 +20,14 @@ command :new do |c|
|
|
20
20
|
c.option "--beta", "Create a new server with the beta build."
|
21
21
|
c.option "--dev", "Create a new server with the dev build."
|
22
22
|
c.option "-f", "--force", "Overwrites the chosen directory if it already exists."
|
23
|
+
c.option "--nostart", "Just creates a new server, doesn't start it."
|
23
24
|
|
24
25
|
c.action do |args, options|
|
25
|
-
rb
|
26
|
-
beta
|
27
|
-
dev
|
28
|
-
force
|
26
|
+
rb = options.rb
|
27
|
+
beta = options.beta
|
28
|
+
dev = options.dev
|
29
|
+
force = options.force
|
30
|
+
nostart = options.nostart
|
29
31
|
|
30
32
|
name = args.shift
|
31
33
|
|
@@ -63,7 +65,7 @@ command :new do |c|
|
|
63
65
|
# Now finally send the options to the method.
|
64
66
|
server = Bukkit::Server.new(name)
|
65
67
|
server.create(new_options)
|
66
|
-
Bukkit::Server.start
|
68
|
+
Bukkit::Server.start unless nostart == true
|
67
69
|
end
|
68
70
|
end
|
69
71
|
alias_command :create, :new
|
@@ -0,0 +1,8 @@
|
|
1
|
+
Feature: Create Server
|
2
|
+
In order to manage a server better.
|
3
|
+
As a server admin.
|
4
|
+
I want to be able to create a new server easily.
|
5
|
+
|
6
|
+
Scenario: Create a new server
|
7
|
+
When I run "bukkit new MC" with the options "--rb --no-start"
|
8
|
+
Then the file "MC/craftbukkit.jar" should exist
|
data/lib/bukkit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bukkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesse Herrick
|
@@ -168,6 +168,8 @@ files:
|
|
168
168
|
- Rakefile
|
169
169
|
- bin/bukkit
|
170
170
|
- bukkit.gemspec
|
171
|
+
- features/create.feature
|
172
|
+
- features/step_definitions/bukkit_steps.rb
|
171
173
|
- lib/bukkit.rb
|
172
174
|
- lib/bukkit/create.rb
|
173
175
|
- lib/bukkit/download.rb
|
@@ -207,6 +209,8 @@ signing_key:
|
|
207
209
|
specification_version: 4
|
208
210
|
summary: A command line wrapper for CraftBukkit. Manage your server easier.
|
209
211
|
test_files:
|
212
|
+
- features/create.feature
|
213
|
+
- features/step_definitions/bukkit_steps.rb
|
210
214
|
- test/test_create.rb
|
211
215
|
- test/test_download.rb
|
212
216
|
- test/test_install.rb
|