raketeer 0.2.2 → 0.2.3

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: e0fe188ca361d90c09d8cf7222b553aab685af3237b8e1ed6c7ffcc98376d5eb
4
- data.tar.gz: 000acde7b85235e3972207ebc8de75725d2d3b63de1df18325509d486762fdc7
3
+ metadata.gz: 5c38d651b22554d93b5986c5d12461efc2d3323f7d3b19aadfd7e361e611dd7a
4
+ data.tar.gz: 612dc5ab931a7e794c36a4f01925e008923c4894680edb6ea2e9a38f828d28ad
5
5
  SHA512:
6
- metadata.gz: 2ea1eb2f31032fcb5b676645805c0c2805c4f9d08fa5f20776b3a141998f79913e3515d0271ca06aff428a76d15f09f8288b86b5e0c80fba67cf503f765f74c1
7
- data.tar.gz: f056934701cff50e1b3aa278c63441825a3d543a5f388cbe3acb60061736a2ee9032ab488d0c9251090d044c721690ae853ca85d2eae73c6b0606f687b640cc7
6
+ metadata.gz: '0316239d48a10b37f972ae845813cd2bd50375d766cdeefe2227f419ed315f44da826e058d9a61c2dfae1a40eaa9847d45b7177fdffa16d845a6ed53e438c909'
7
+ data.tar.gz: c44703d264b50f802e7c7efc2d62f62269b5e83e430d5277304da246cf3ca0f46d527ce133eee7f81ec46545af1f778ab910a2e64fa48067a8409c0766f94252
data/CHANGELOG.md CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  Format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [[Unreleased]](https://github.com/esotericpig/raketeer/compare/v0.2.2...master)
5
+ ## [[Unreleased]](https://github.com/esotericpig/raketeer/compare/v0.2.3...master)
6
+
7
+ ## [v0.2.3] - 2019-07-30
8
+ ### Fixed
9
+ - Fixed 'yield' typo in some tasks
6
10
 
7
11
  ## [v0.2.2] - 2019-07-29
8
12
  ### Changed
@@ -50,13 +50,12 @@ module Raketeer
50
50
  @warning = true
51
51
 
52
52
  @irb_cmd = ['irb']
53
- @irb_cmd += ['-r','rubygems']
54
- @irb_cmd += ['-r','bundler/setup']
53
+ @irb_cmd.push('-r','rubygems')
54
+ @irb_cmd.push('-r','bundler/setup')
55
55
 
56
- # Yield before using changeable vars
57
- yielf self if block_given?()
56
+ yield self if block_given?()
58
57
 
59
- @irb_cmd += ['-r',@main_module] unless @main_module.nil?()
58
+ @irb_cmd.push('-r',@main_module) unless @main_module.nil?()
60
59
  @irb_cmd << '-w' if @warning
61
60
 
62
61
  define()
@@ -52,11 +52,10 @@ module Raketeer
52
52
  @warning = true
53
53
 
54
54
  @run_cmd = ['ruby']
55
- @run_cmd += ['-r','rubygems']
56
- @run_cmd += ['-r','bundler/setup']
55
+ @run_cmd.push('-r','rubygems')
56
+ @run_cmd.push('-r','bundler/setup')
57
57
 
58
- # Yield before using changeable vars
59
- yielf self if block_given?()
58
+ yield self if block_given?()
60
59
 
61
60
  @executable = Util.find_main_executable(@bin_dir) if @executable.nil?()
62
61
 
@@ -84,6 +83,9 @@ module Raketeer
84
83
  end
85
84
  end
86
85
 
86
+ # In case this is called more than once in some way
87
+ sh_cmd = @run_cmd.dup()
88
+
87
89
  # Are there args for the run command?
88
90
  if first_arg_index >= 0 && first_arg_index < ARGV.length
89
91
  run_args = ARGV.slice!(first_arg_index..-1)
@@ -92,10 +94,10 @@ module Raketeer
92
94
  # For older versions of rake, you didn't need "--", so check for it.
93
95
  run_args.slice!(0) if run_args[0] == '--'
94
96
 
95
- @run_cmd += run_args
97
+ sh_cmd.push(*run_args)
96
98
  end
97
99
 
98
- sh(*@run_cmd)
100
+ sh(*sh_cmd)
99
101
  end
100
102
  end
101
103
  end
@@ -22,5 +22,5 @@
22
22
 
23
23
 
24
24
  module Raketeer
25
- VERSION = '0.2.2'
25
+ VERSION = '0.2.3'
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raketeer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Bradley Whited (@esotericpig)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-29 00:00:00.000000000 Z
11
+ date: 2019-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake