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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5aa8e15b03974f318ca804a5710a68c39e957d6
4
- data.tar.gz: 587a9ae733a13b21003d63396a6d5c312c5f5c01
3
+ metadata.gz: b3dce6bbd32de27c4bc9a7034c1f8b73c2f6b181
4
+ data.tar.gz: 76aed0f616e136d55caa7a2ed49655ced2b85882
5
5
  SHA512:
6
- metadata.gz: 4066fd5b7f8fe27900f81be8c943729d19662d0ca2bca22def07859d0a2da0756b7ea163d2cff70db32ecae15f70c667c1daa7da91f99c1dd497aeda5cd8a8b2
7
- data.tar.gz: d6d5967180a04ef77747f37ed67b6768c507399eb00250470191ea7e62c8bdd6d080fa338879af89fa391672947a383787f7e4645b196a6e60fc798ac51b9014
6
+ metadata.gz: 666b66128164d456d4d4c26e283822e90f63fcd641d27e6929742fdd0693823e60a4f3daae838c9721e1fb8b59279525596116a655a1d678018969c90b164716
7
+ data.tar.gz: 32379517f7baf6b89820fddc603a0d159f1d53556d3c47637b50bf0f52896ab723afaa83ac61d624ebd3aea5e58ecd604dab2a9623b81672b088756ed06c72c7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.4.0
@@ -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
- FileUtils::mkdir_p team.tier unless @options[:no_dirs]
56
- location = filename # saving in current directory
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.3.2 ruby lib
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.3.2"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: showdown-team-import
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - apt-get