gembump 0.1.1 → 0.1.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/lib/rubygems/commands/bump_command.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10127687b78bd0c866de29804b03406b0f71db3cce5e1b99c0c5e83f1639fc76
|
4
|
+
data.tar.gz: 98b9fb41ec694be61dd2cf87f9aca56a454dee6b1f76e33c458ba417e3b61ab0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef58dbd5de001d55e9ab632691b6970fa01fff5438ca70481eb5a3d184ddb97472a9ad3bc781cef576059b0b3dd1d68d151e5df709300e055ae90c1fc55676e7
|
7
|
+
data.tar.gz: e3feea574c81fad17a98126baa681371bf0c9792f502534af77cdd451f6c7a4f528fcb8f4ec043977b0194f389c57b288b7117a51233d1ee001469e9a1fe0eb1
|
@@ -111,7 +111,8 @@ class Gem::Commands::BumpCommand < Gem::Command
|
|
111
111
|
|
112
112
|
def write_gemspec_file(filename)
|
113
113
|
@gemspec_lines[@version[:line]] = "#{@version[:variable]} = \"#{@version[:number]}\"\n"
|
114
|
-
|
114
|
+
gem_name = filename.split("/")[-1].split(".")[0]
|
115
|
+
puts "Bumping #{gem_name} from #{@old_version} to #{@version[:number]}"
|
115
116
|
File.open(filename, "w") do |f|
|
116
117
|
f.write @gemspec_lines.join
|
117
118
|
end
|