release-gem 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/release/gem/release_infector.rb +6 -6
- data/lib/release/gem/version.rb +1 -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: 4090fe5f71d25f1cb3c85877ea4a4f6de50e30c913c0a79b3d719101047f4ab8
|
4
|
+
data.tar.gz: 9104b2f87fc98ce93be70c8c3a25c40146e1aefe5afee2131cdf6a751ad53575
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 786d16b03c161c23b438ae98e12a49d4dbdad267473e840b15a5ddbc43703bba21b2b42a304b869cf73aaba21457284735d926a3b634eab0c8c7752af88eab9e
|
7
|
+
data.tar.gz: 194affb282bdd5ff84af1a9b6246b55d897dac27e1039314c377abf220fe6cc3965d28a94fb1254c5b3079e160df773bb428613c3109244d48c2bf6a42994e0f
|
data/Gemfile.lock
CHANGED
@@ -44,17 +44,17 @@ module Release
|
|
44
44
|
|
45
45
|
cmd = "cd #{@root} && bundle update 2>&1 && rake gem:release"
|
46
46
|
if block
|
47
|
-
terminal = block.call(:select_terminal, name: @name, options: poss)
|
47
|
+
terminal = block.call(:select_terminal, name: @name, options: poss) if block
|
48
48
|
if terminal != :skip
|
49
49
|
terminal = poss.first if is_empty?(terminal)
|
50
50
|
|
51
|
-
block.call(:new_terminal_launching, name: @name, terminal: terminal)
|
51
|
+
block.call(:new_terminal_launching, name: @name, terminal: terminal) if block
|
52
52
|
tu_new_terminal(terminal, cmd)
|
53
53
|
end
|
54
54
|
|
55
55
|
else
|
56
56
|
terminal = poss.first
|
57
|
-
block.call(:new_terminal_launching, name: @name, terminal: terminal)
|
57
|
+
block.call(:new_terminal_launching, name: @name, terminal: terminal) if block
|
58
58
|
tu_new_terminal(terminal, cmd)
|
59
59
|
end
|
60
60
|
|
@@ -121,7 +121,7 @@ module Release
|
|
121
121
|
f.puts " spec.add_development_dependency 'release-gem'"
|
122
122
|
f.puts "end"
|
123
123
|
end
|
124
|
-
block.call(:gemspec_updated, name: @name, gemspec: gs )
|
124
|
+
block.call(:gemspec_updated, name: @name, gemspec: gs ) if block
|
125
125
|
|
126
126
|
end # add_to_gemspec
|
127
127
|
|
@@ -141,13 +141,13 @@ RSpec::Core::RakeTask.new(:spec)
|
|
141
141
|
|
142
142
|
task default: :spec
|
143
143
|
END
|
144
|
-
block.call(:creating_new_rakefile, rakefile: rf )
|
144
|
+
block.call(:creating_new_rakefile, rakefile: rf ) if block
|
145
145
|
File.open(rf,"w") do |f|
|
146
146
|
f.write rfCont
|
147
147
|
end
|
148
148
|
else
|
149
149
|
|
150
|
-
block.call(:adding_to_rakefile, rakefile: rf )
|
150
|
+
block.call(:adding_to_rakefile, rakefile: rf ) if block
|
151
151
|
|
152
152
|
cont = File.read(rf)
|
153
153
|
FileUtils.mv(rf, "#{rf}.bak")
|
data/lib/release/gem/version.rb
CHANGED