showdown-team-import 0.3.2 → 0.4.0
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/VERSION +1 -1
- data/bin/showdown-team-import +6 -2
- data/showdown-team-import.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3dce6bbd32de27c4bc9a7034c1f8b73c2f6b181
|
4
|
+
data.tar.gz: 76aed0f616e136d55caa7a2ed49655ced2b85882
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 666b66128164d456d4d4c26e283822e90f63fcd641d27e6929742fdd0693823e60a4f3daae838c9721e1fb8b59279525596116a655a1d678018969c90b164716
|
7
|
+
data.tar.gz: 32379517f7baf6b89820fddc603a0d159f1d53556d3c47637b50bf0f52896ab723afaa83ac61d624ebd3aea5e58ecd604dab2a9623b81672b088756ed06c72c7
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
data/bin/showdown-team-import
CHANGED
@@ -49,11 +49,15 @@ teams.each do |team| # actual file writing
|
|
49
49
|
FileUtils::mkdir_p File.join(dir, team.tier)
|
50
50
|
else
|
51
51
|
FileUtils::mkdir_p dir
|
52
|
+
filename = "[#{team.tier}] " + filename
|
52
53
|
end
|
53
54
|
location = File.join(dir, filename) # saving in specified directory
|
54
55
|
else
|
55
|
-
|
56
|
-
|
56
|
+
unless @options[:no_dirs]
|
57
|
+
FileUtils::mkdir_p team.tier
|
58
|
+
location = filename # saving in current directory
|
59
|
+
else
|
60
|
+
location = "[#{team.tier}] " + filename
|
57
61
|
end
|
58
62
|
|
59
63
|
puts "Writing \"#{location}\"" unless @options[:silent]
|
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: showdown-team-import 0.
|
5
|
+
# stub: showdown-team-import 0.4.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "showdown-team-import"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.4.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|