drakkon 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/drakkon +1 -3
- data/lib/drakkon/build.rb +1 -1
- data/lib/drakkon/cli.rb +1 -1
- data/lib/drakkon/gem/bundle.rb +1 -1
- data/lib/drakkon/gem/cli.rb +1 -1
- data/lib/drakkon/gem/configure.rb +1 -1
- data/lib/drakkon/gem/helpers/general.rb +1 -1
- data/lib/drakkon/gem/install.rb +1 -1
- data/lib/drakkon/init.rb +1 -1
- data/lib/drakkon/lib/images/biggest.rb +1 -1
- data/lib/drakkon/lib/images/blur.rb +1 -1
- data/lib/drakkon/lib/images/bulk_rename.rb +1 -1
- data/lib/drakkon/lib/images/canvas.rb +1 -1
- data/lib/drakkon/lib/images/cli.rb +1 -1
- data/lib/drakkon/lib/images/desaturate.rb +1 -1
- data/lib/drakkon/lib/images/flip_flop.rb +1 -1
- data/lib/drakkon/lib/images/gif.rb +1 -1
- data/lib/drakkon/lib/images/list.rb +1 -1
- data/lib/drakkon/lib/images/modulate.rb +1 -1
- data/lib/drakkon/lib/images/resize.rb +1 -1
- data/lib/drakkon/lib/images/roll.rb +1 -1
- data/lib/drakkon/lib/images/rotate.rb +1 -1
- data/lib/drakkon/lib/images/scale.rb +1 -1
- data/lib/drakkon/lib/images/sepia.rb +1 -1
- data/lib/drakkon/lib/images/shift.rb +1 -1
- data/lib/drakkon/lib/images/split.rb +1 -1
- data/lib/drakkon/lib/images/spritesheet.rb +1 -1
- data/lib/drakkon/lib/images/trim.rb +1 -1
- data/lib/drakkon/lib/images/white.rb +1 -1
- data/lib/drakkon/lib/settings.rb +1 -1
- data/lib/drakkon/lib/version.rb +13 -2
- data/lib/drakkon/release.rb +1 -1
- data/lib/drakkon/run/helpers.rb +1 -1
- data/lib/drakkon/setup.rb +1 -1
- data/lib/drakkon/skeleton/cli.rb +1 -1
- data/lib/drakkon/skeleton/deploy.rb +1 -1
- data/lib/drakkon/skeleton/helpers/general.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5db163c25c83f46bb36aa080c194bf96a20b75b68802462996e194a4aac0819
|
4
|
+
data.tar.gz: 75739e556e865e0cd8ede19028fb011614fe7fc4f48240368b5974ca9994e80a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72563b36c206af8ec5d8021ffd22365c257ddb4157468e1df56875597ef55a9ab3f43254709d159a481cb3eecf7000a84b1d9dfc571400b063b790b2713c2be6
|
7
|
+
data.tar.gz: 324f45ccb596f4de69fbb438fe71ddfdae195bd4622063cbeba95237e7abb8a00081164e6738e76db6899538f34ff9ed34093452bc40b1d5c981981e614f769a
|
data/bin/drakkon
CHANGED
@@ -2,13 +2,11 @@
|
|
2
2
|
|
3
3
|
require 'drakkon'
|
4
4
|
|
5
|
-
# Signal.trap('INT') { exit }
|
6
|
-
|
7
5
|
flair = <<~FLAIR
|
8
6
|
_______________________________________
|
9
7
|
| ___ ____ ____ _ _ _ _ ____ __ _ |
|
10
8
|
| |__> |--< |--| |-:_ |-:_ [__] | \\| |
|
11
|
-
|
|
9
|
+
|______________________________#{Drakkon::VERSION.ljust(9, '_')}|
|
12
10
|
FLAIR
|
13
11
|
|
14
12
|
puts flair.pastel(:bright_red)
|
data/lib/drakkon/build.rb
CHANGED
data/lib/drakkon/cli.rb
CHANGED
data/lib/drakkon/gem/bundle.rb
CHANGED
data/lib/drakkon/gem/cli.rb
CHANGED
data/lib/drakkon/gem/install.rb
CHANGED
data/lib/drakkon/init.rb
CHANGED
data/lib/drakkon/lib/settings.rb
CHANGED
data/lib/drakkon/lib/version.rb
CHANGED
@@ -20,8 +20,19 @@ module Drakkon
|
|
20
20
|
|
21
21
|
# General Run
|
22
22
|
def self.install!(raw)
|
23
|
+
# Safety if nothing provided
|
24
|
+
if raw.nil? || raw.empty?
|
25
|
+
LogBot.fatal('Version', 'No Zip Provided!')
|
26
|
+
file = prompt.ask('Full path to DragonRuby Zip?')
|
27
|
+
unless File.exist?(file)
|
28
|
+
LogBot.fatal('Version', 'Not able to find zip!')
|
29
|
+
exit(1)
|
30
|
+
end
|
31
|
+
raw = [file]
|
32
|
+
end
|
33
|
+
|
23
34
|
zip = raw.first
|
24
|
-
if File.extname(zip) != '.zip'
|
35
|
+
if zip.nil? || File.extname(zip) != '.zip'
|
25
36
|
LogBot.fatal('Version', "Invalid Argument! Must be a zip file! '#{zip}'")
|
26
37
|
exit(1)
|
27
38
|
end
|
@@ -70,7 +81,7 @@ module Drakkon
|
|
70
81
|
end
|
71
82
|
|
72
83
|
def self.prompt
|
73
|
-
TTY::Prompt.new(active_color: :cyan)
|
84
|
+
TTY::Prompt.new(active_color: :cyan, interrupt: :exit)
|
74
85
|
end
|
75
86
|
|
76
87
|
#=======================================================
|
data/lib/drakkon/release.rb
CHANGED
data/lib/drakkon/run/helpers.rb
CHANGED
data/lib/drakkon/setup.rb
CHANGED
data/lib/drakkon/skeleton/cli.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: drakkon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Davin Walker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faker
|
@@ -288,7 +288,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
288
288
|
requirements:
|
289
289
|
- - ">="
|
290
290
|
- !ruby/object:Gem::Version
|
291
|
-
version: '3.
|
291
|
+
version: '3.0'
|
292
292
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
293
293
|
requirements:
|
294
294
|
- - ">="
|