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 +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/raketeer/irb_task.rb +4 -5
- data/lib/raketeer/run_task.rb +8 -6
- data/lib/raketeer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c38d651b22554d93b5986c5d12461efc2d3323f7d3b19aadfd7e361e611dd7a
|
4
|
+
data.tar.gz: 612dc5ab931a7e794c36a4f01925e008923c4894680edb6ea2e9a38f828d28ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
data/lib/raketeer/irb_task.rb
CHANGED
@@ -50,13 +50,12 @@ module Raketeer
|
|
50
50
|
@warning = true
|
51
51
|
|
52
52
|
@irb_cmd = ['irb']
|
53
|
-
@irb_cmd
|
54
|
-
@irb_cmd
|
53
|
+
@irb_cmd.push('-r','rubygems')
|
54
|
+
@irb_cmd.push('-r','bundler/setup')
|
55
55
|
|
56
|
-
|
57
|
-
yielf self if block_given?()
|
56
|
+
yield self if block_given?()
|
58
57
|
|
59
|
-
@irb_cmd
|
58
|
+
@irb_cmd.push('-r',@main_module) unless @main_module.nil?()
|
60
59
|
@irb_cmd << '-w' if @warning
|
61
60
|
|
62
61
|
define()
|
data/lib/raketeer/run_task.rb
CHANGED
@@ -52,11 +52,10 @@ module Raketeer
|
|
52
52
|
@warning = true
|
53
53
|
|
54
54
|
@run_cmd = ['ruby']
|
55
|
-
@run_cmd
|
56
|
-
@run_cmd
|
55
|
+
@run_cmd.push('-r','rubygems')
|
56
|
+
@run_cmd.push('-r','bundler/setup')
|
57
57
|
|
58
|
-
|
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
|
-
|
97
|
+
sh_cmd.push(*run_args)
|
96
98
|
end
|
97
99
|
|
98
|
-
sh(
|
100
|
+
sh(*sh_cmd)
|
99
101
|
end
|
100
102
|
end
|
101
103
|
end
|
data/lib/raketeer/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2019-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|