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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf9c3c021566df9bd40e2806b3a2a7fb42675adaf55ee59e9382f23d94fb1e29
4
- data.tar.gz: 0fc2b9946640ee1d736bcca13f2e63917ef3f98e1ac8db032717f9560a1477a7
3
+ metadata.gz: 4090fe5f71d25f1cb3c85877ea4a4f6de50e30c913c0a79b3d719101047f4ab8
4
+ data.tar.gz: 9104b2f87fc98ce93be70c8c3a25c40146e1aefe5afee2131cdf6a751ad53575
5
5
  SHA512:
6
- metadata.gz: a64db00ae8c10cce7a0044f1db6097687d34dd5180fb30cf24b7321d374e377664b741607c92c5fdb0caa44586216b5656dd22073bae04a3c9344f1378180acc
7
- data.tar.gz: ea93ba4159bf18e2c69552c9cc504eadc78c8b31107967cdae920df5c84ae8760cadb750b4162af80f18d1d980fff4b97d4cddf006b9a83e7667e656c0e390a7
6
+ metadata.gz: 786d16b03c161c23b438ae98e12a49d4dbdad267473e840b15a5ddbc43703bba21b2b42a304b869cf73aaba21457284735d926a3b634eab0c8c7752af88eab9e
7
+ data.tar.gz: 194affb282bdd5ff84af1a9b6246b55d897dac27e1039314c377abf220fe6cc3965d28a94fb1254c5b3079e160df773bb428613c3109244d48c2bf6a42994e0f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- release-gem (0.1.14)
4
+ release-gem (0.1.15)
5
5
  colorize
6
6
  git_cli
7
7
  gvcs
@@ -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")
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Release
4
4
  module Gem
5
- VERSION = "0.1.14"
5
+ VERSION = "0.1.15"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: release-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris