bake 0.13.0 → 0.14.0
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/README.md +10 -13
- data/bake.gemspec +0 -4
- data/gems.rb +7 -0
- data/guides/getting-started/README.md +109 -0
- data/guides/links.yaml +8 -0
- data/lib/bake/base.rb +9 -9
- data/lib/bake/context.rb +6 -6
- data/lib/bake/documentation.rb +13 -10
- data/lib/bake/loader.rb +4 -4
- data/lib/bake/loaders.rb +5 -5
- data/lib/bake/recipe.rb +11 -11
- data/lib/bake/scope.rb +4 -4
- data/lib/bake/types/any.rb +5 -5
- data/lib/bake/version.rb +1 -1
- metadata +8 -48
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c21d6d91f4610a4abdca6e513279db3532f535b879fd284efd0d93f39915bb1c
|
4
|
+
data.tar.gz: 52648fc8729a487d1873eca3c90a5222a0837a5b66934810e197ee75d7740cc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6642cfd94507b0654e3cfef28a9c89440bae8f2c28b219d3e742c7eb089f3230596c23e0a7c278cd956dcfa3d664ca90d3becb9ebb041539171d3e093f3885da
|
7
|
+
data.tar.gz: f13b33176b5be8a0bc5083e2832022fbb5e8f11c6242d20679f768a35e03e6e92e0db3fe25ead0da5fe7eb5c5b1f8678debfca8913e0725d8878eeb329eb5fdd
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ Bake is a task execution tool, inspired by Rake, but codifying many of the use c
|
|
4
4
|
|
5
5
|
[](https://github.com/ioquatix/bake/actions?workflow=Development)
|
6
6
|
|
7
|
-
##
|
7
|
+
## Features
|
8
8
|
|
9
9
|
Rake is an awesome tool and loved by the community. So, why reinvent it? Bake provides the following features that Rake does not:
|
10
10
|
|
@@ -15,23 +15,20 @@ Rake is an awesome tool and loved by the community. So, why reinvent it? Bake pr
|
|
15
15
|
|
16
16
|
That being said, Rake and Bake can exist side by side in the same project.
|
17
17
|
|
18
|
-
## Installation
|
19
|
-
|
20
|
-
Execute the following in your project:
|
21
|
-
|
22
|
-
bundle add bake
|
23
|
-
|
24
18
|
## Usage
|
25
19
|
|
26
|
-
Please see the
|
20
|
+
Please see the [project documentation](https://ioquatix.github.io/bake/).
|
27
21
|
|
28
22
|
## Contributing
|
29
23
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
24
|
+
We welcome contributions to this project.
|
25
|
+
|
26
|
+
1. Fork it.
|
27
|
+
2. Create your feature branch (`git checkout -b my-new-feature`).
|
28
|
+
3. Commit your changes (`git commit -am 'Add some feature'`).
|
29
|
+
4. Push to the branch (`git push origin my-new-feature`).
|
30
|
+
5. Create new Pull Request.
|
31
|
+
|
35
32
|
|
36
33
|
## See Also
|
37
34
|
|
data/bake.gemspec
CHANGED
@@ -23,11 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.add_dependency 'samovar', '~> 2.1'
|
25
25
|
|
26
|
-
spec.add_development_dependency 'bake-bundler'
|
27
|
-
|
28
|
-
spec.add_development_dependency 'utopia-project'
|
29
26
|
spec.add_development_dependency 'covered'
|
30
27
|
spec.add_development_dependency 'bundler'
|
31
28
|
spec.add_development_dependency 'rspec'
|
32
|
-
spec.add_development_dependency 'rake'
|
33
29
|
end
|
data/gems.rb
CHANGED
@@ -0,0 +1,109 @@
|
|
1
|
+
# Getting Started
|
2
|
+
|
3
|
+
This guide gives a general overview of `bake` and how to use it.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add the gem to your project:
|
8
|
+
|
9
|
+
~~~ bash
|
10
|
+
$ bundle add bake
|
11
|
+
~~~
|
12
|
+
|
13
|
+
## Core Concepts
|
14
|
+
|
15
|
+
`bake` has several core concepts:
|
16
|
+
|
17
|
+
- A `bake` executable used for invoking one or more tasks.
|
18
|
+
- A {ruby Bake::Context} instance which is bound to a project or gem and exposes a hierarchy of runnable tasks.
|
19
|
+
- A {ruby Bake::Loaders} instance which is used for on-demand loading of bake files from the current project and all available gems.
|
20
|
+
|
21
|
+
## Executing Tasks
|
22
|
+
|
23
|
+
The `bake` executable can be used to execute tasks in a `bake.rb` file in the same directory.
|
24
|
+
|
25
|
+
``` ruby
|
26
|
+
# bake.rb
|
27
|
+
|
28
|
+
def add(x, y)
|
29
|
+
puts Integer(x) + Integer(y)
|
30
|
+
end
|
31
|
+
```
|
32
|
+
|
33
|
+
You can execute this task from the command line:
|
34
|
+
|
35
|
+
``` shell
|
36
|
+
% bake add 10 20
|
37
|
+
30
|
38
|
+
```
|
39
|
+
|
40
|
+
### Using Types
|
41
|
+
|
42
|
+
You can annotate your task with a type signature and `bake` will coerce your arguments to these types:
|
43
|
+
|
44
|
+
``` ruby
|
45
|
+
# bake.rb
|
46
|
+
|
47
|
+
# @parameter x [Integer]
|
48
|
+
# @parameter y [Integer]
|
49
|
+
def add(x, y)
|
50
|
+
puts x + y
|
51
|
+
end
|
52
|
+
```
|
53
|
+
|
54
|
+
You can execute this task from the command line:
|
55
|
+
|
56
|
+
``` shell
|
57
|
+
% bake add 10 20
|
58
|
+
30
|
59
|
+
```
|
60
|
+
|
61
|
+
The values are automatically coerced to `Integer`.
|
62
|
+
|
63
|
+
### Extending With Documentation
|
64
|
+
|
65
|
+
You can add documentation to your tasks and parameters (using Markdown formatting).
|
66
|
+
|
67
|
+
``` ruby
|
68
|
+
# bake.rb
|
69
|
+
|
70
|
+
# Add the x and y coordinate together and print the result.
|
71
|
+
# @parameter x [Integer] The x offset.
|
72
|
+
# @parameter y [Integer] The y offset.
|
73
|
+
def add(x, y)
|
74
|
+
puts x + y
|
75
|
+
end
|
76
|
+
```
|
77
|
+
|
78
|
+
You can see this documentation in the task listing:
|
79
|
+
|
80
|
+
``` shell
|
81
|
+
% bake list add
|
82
|
+
Bake::Context getting-started
|
83
|
+
|
84
|
+
add x y
|
85
|
+
Add the x and y coordinate together and print the result.
|
86
|
+
x [Integer] The x offset.
|
87
|
+
y [Integer] The y offset.
|
88
|
+
```
|
89
|
+
|
90
|
+
### Private Methods
|
91
|
+
|
92
|
+
If you want to add helper methods which don't show up as tasks, define them as `protected` or `private`.
|
93
|
+
|
94
|
+
``` ruby
|
95
|
+
# bake.rb
|
96
|
+
|
97
|
+
# Add the x and y coordinate together and print the result.
|
98
|
+
# @parameter x [Integer] The x offset.
|
99
|
+
# @parameter y [Integer] The y offset.
|
100
|
+
def add(x, y)
|
101
|
+
puts x + y
|
102
|
+
end
|
103
|
+
|
104
|
+
private
|
105
|
+
|
106
|
+
def puts(*arguments)
|
107
|
+
$stdout.puts arguments.inspect
|
108
|
+
end
|
109
|
+
```
|
data/guides/links.yaml
ADDED
data/lib/bake/base.rb
CHANGED
@@ -25,7 +25,7 @@ module Bake
|
|
25
25
|
# The base class for including {Scope} instances which define {Recipe} instances.
|
26
26
|
class Base < Struct.new(:context)
|
27
27
|
# Generate a base class for the specified path.
|
28
|
-
# @
|
28
|
+
# @parameter path [Array(String)] The command path.
|
29
29
|
def self.derive(path = [])
|
30
30
|
klass = Class.new(self)
|
31
31
|
|
@@ -35,7 +35,7 @@ module Bake
|
|
35
35
|
end
|
36
36
|
|
37
37
|
# Format the class as a command.
|
38
|
-
# @
|
38
|
+
# @returns [String]
|
39
39
|
def self.to_s
|
40
40
|
if path = self.path
|
41
41
|
path.join(':')
|
@@ -53,7 +53,7 @@ module Bake
|
|
53
53
|
end
|
54
54
|
|
55
55
|
# The path of this derived base class.
|
56
|
-
# @
|
56
|
+
# @returns [Array(String)]
|
57
57
|
def self.path
|
58
58
|
self.const_get(:PATH)
|
59
59
|
rescue
|
@@ -61,22 +61,22 @@ module Bake
|
|
61
61
|
end
|
62
62
|
|
63
63
|
# The path for this derived base class.
|
64
|
-
# @
|
64
|
+
# @returns [Array(String)]
|
65
65
|
def path
|
66
66
|
self.class.path
|
67
67
|
end
|
68
68
|
|
69
69
|
# Proxy a method call using command line arguments through to the {Context} instance.
|
70
|
-
# @
|
70
|
+
# @parameter arguments [Array(String)]
|
71
71
|
def call(*arguments)
|
72
72
|
self.context.call(*arguments)
|
73
73
|
end
|
74
74
|
|
75
75
|
# Recipes defined in this scope.
|
76
76
|
#
|
77
|
-
# @
|
78
|
-
#
|
79
|
-
# @
|
77
|
+
# @yields {|recipe| ...}
|
78
|
+
# @parameter recipe [Recipe]
|
79
|
+
# @returns [Enumerable]
|
80
80
|
def recipes
|
81
81
|
return to_enum(:recipes) unless block_given?
|
82
82
|
|
@@ -89,7 +89,7 @@ module Bake
|
|
89
89
|
|
90
90
|
# Look up a recipe with a specific name.
|
91
91
|
#
|
92
|
-
# @
|
92
|
+
# @parameter name [String] The instance method to look up.
|
93
93
|
def recipe_for(name)
|
94
94
|
Recipe.new(self, name)
|
95
95
|
end
|
data/lib/bake/context.rb
CHANGED
@@ -28,7 +28,7 @@ module Bake
|
|
28
28
|
class Context
|
29
29
|
# Search upwards from the specified path for a {BAKEFILE}.
|
30
30
|
# If path points to a file, assume it's a `bake.rb` file. Otherwise, recursively search up the directory tree starting from `path` to find the specified bakefile.
|
31
|
-
# @
|
31
|
+
# @returns [String | Nil] The path to the bakefile if it could be found.
|
32
32
|
def self.bakefile_path(path, bakefile: BAKEFILE)
|
33
33
|
if File.file?(path)
|
34
34
|
return path
|
@@ -74,7 +74,7 @@ module Bake
|
|
74
74
|
end
|
75
75
|
|
76
76
|
# Initialize the context with the specified loaders.
|
77
|
-
# @
|
77
|
+
# @parameter loaders [Loaders]
|
78
78
|
def initialize(loaders, scope = nil, root = nil)
|
79
79
|
@loaders = loaders
|
80
80
|
|
@@ -106,11 +106,11 @@ module Bake
|
|
106
106
|
attr :scope
|
107
107
|
|
108
108
|
# The root path of this context.
|
109
|
-
# @
|
109
|
+
# @returns [String | Nil]
|
110
110
|
attr :root
|
111
111
|
|
112
112
|
# Invoke recipes on the context using command line arguments.
|
113
|
-
# @
|
113
|
+
# @parameter commands [Array(String)]
|
114
114
|
def call(*commands)
|
115
115
|
last_result = nil
|
116
116
|
|
@@ -127,7 +127,7 @@ module Bake
|
|
127
127
|
end
|
128
128
|
|
129
129
|
# Lookup a recipe for the given command name.
|
130
|
-
# @
|
130
|
+
# @parameter command [String] The command name, e.g. `bundler:release`.
|
131
131
|
def lookup(command)
|
132
132
|
@recipes[command]
|
133
133
|
end
|
@@ -164,7 +164,7 @@ module Bake
|
|
164
164
|
end
|
165
165
|
end
|
166
166
|
|
167
|
-
# @
|
167
|
+
# @parameter path [Array<String>] the path for the scope.
|
168
168
|
def base_for(path)
|
169
169
|
base = nil
|
170
170
|
|
data/lib/bake/documentation.rb
CHANGED
@@ -25,7 +25,7 @@ module Bake
|
|
25
25
|
class Documentation
|
26
26
|
# Initialize the documentation with an array of comments.
|
27
27
|
#
|
28
|
-
# @
|
28
|
+
# @parameter comments [Array(String)] An array of comment lines.
|
29
29
|
def initialize(comments)
|
30
30
|
@comments = comments
|
31
31
|
end
|
@@ -34,8 +34,9 @@ module Bake
|
|
34
34
|
|
35
35
|
# The text-only lines of the comment block.
|
36
36
|
#
|
37
|
-
# @
|
38
|
-
#
|
37
|
+
# @yields {|match| ...}
|
38
|
+
# @parameter match [MatchData] The regular expression match for each line of documentation.
|
39
|
+
# @returns [Enumerable] If no block given.
|
39
40
|
def description
|
40
41
|
return to_enum(:description) unless block_given?
|
41
42
|
|
@@ -63,10 +64,11 @@ module Bake
|
|
63
64
|
ATTRIBUTE = /\A\s*@(?<name>.*?)\s+(?<value>.*?)\z/
|
64
65
|
|
65
66
|
# The attribute lines of the comment block.
|
66
|
-
# e.g. `@
|
67
|
+
# e.g. `@returns [String]`.
|
67
68
|
#
|
68
|
-
# @
|
69
|
-
#
|
69
|
+
# @yields {|match| ...}
|
70
|
+
# @parameter match [MatchData] The regular expression match with `name` and `value` keys.
|
71
|
+
# @returns [Enumerable] If no block given.
|
70
72
|
def attributes
|
71
73
|
return to_enum(:attributes) unless block_given?
|
72
74
|
|
@@ -77,13 +79,14 @@ module Bake
|
|
77
79
|
end
|
78
80
|
end
|
79
81
|
|
80
|
-
PARAMETER = /\A\s*@param
|
82
|
+
PARAMETER = /\A\s*@param(eter)?\s+(?<name>.*?)\s+\[(?<type>.*?)\](\s+(?<details>.*?))?\z/
|
81
83
|
|
82
84
|
# The parameter lines of the comment block.
|
83
|
-
# e.g. `@
|
85
|
+
# e.g. `@parameter value [String] The value.`
|
84
86
|
#
|
85
|
-
# @
|
86
|
-
#
|
87
|
+
# @yields {|match| ...}
|
88
|
+
# @parameter match [MatchData] The regular expression match with `name`, `type` and `details` keys.
|
89
|
+
# @returns [Enumerable] If no block given.
|
87
90
|
def parameters
|
88
91
|
return to_enum(:parameters) unless block_given?
|
89
92
|
|
data/lib/bake/loader.rb
CHANGED
@@ -24,7 +24,7 @@ module Bake
|
|
24
24
|
# Represents a directory which contains bakefiles.
|
25
25
|
class Loader
|
26
26
|
# Initialize the loader with the specified root path.
|
27
|
-
# @
|
27
|
+
# @parameter root [String] A file-system path.
|
28
28
|
def initialize(root, name: nil)
|
29
29
|
@root = root
|
30
30
|
@name = name
|
@@ -38,8 +38,8 @@ module Bake
|
|
38
38
|
attr :root
|
39
39
|
|
40
40
|
# Enumerate all bakefiles within the loaders root directory.
|
41
|
-
# @
|
42
|
-
#
|
41
|
+
# @yields {|path| ...}
|
42
|
+
# @parameter path [String] The Ruby source file path.
|
43
43
|
def each
|
44
44
|
return to_enum unless block_given?
|
45
45
|
|
@@ -49,7 +49,7 @@ module Bake
|
|
49
49
|
end
|
50
50
|
|
51
51
|
# Load the {Scope} for the specified relative path within this loader, if it exists.
|
52
|
-
# @
|
52
|
+
# @parameter path [Array(String)] A relative path.
|
53
53
|
def scope_for(path)
|
54
54
|
*directory, file = *path
|
55
55
|
|
data/lib/bake/loaders.rb
CHANGED
@@ -28,7 +28,7 @@ module Bake
|
|
28
28
|
include Enumerable
|
29
29
|
|
30
30
|
# Create a loader using the specified working directory.
|
31
|
-
# @
|
31
|
+
# @parameter working_directory [String]
|
32
32
|
def self.default(working_directory)
|
33
33
|
loaders = self.new
|
34
34
|
|
@@ -44,13 +44,13 @@ module Bake
|
|
44
44
|
end
|
45
45
|
|
46
46
|
# Whether any loaders are defined.
|
47
|
-
# @
|
47
|
+
# @returns [Boolean]
|
48
48
|
def empty?
|
49
49
|
@ordered.empty?
|
50
50
|
end
|
51
51
|
|
52
52
|
# Add loaders according to the current working directory and loaded gems.
|
53
|
-
# @
|
53
|
+
# @parameter working_directory [String]
|
54
54
|
def append_defaults(working_directory)
|
55
55
|
# Load recipes from working directory:
|
56
56
|
self.append_path(working_directory)
|
@@ -66,7 +66,7 @@ module Bake
|
|
66
66
|
|
67
67
|
# Append a specific project path to the search path for recipes.
|
68
68
|
# The computed path will have `bake` appended to it.
|
69
|
-
# @
|
69
|
+
# @parameter current [String] The path to add.
|
70
70
|
def append_path(current = Dir.pwd, **options)
|
71
71
|
bake_path = File.join(current, "bake")
|
72
72
|
|
@@ -78,7 +78,7 @@ module Bake
|
|
78
78
|
end
|
79
79
|
|
80
80
|
# Search from the current working directory until a suitable bakefile is found and add it.
|
81
|
-
# @
|
81
|
+
# @parameter current [String] The path to start searching from.
|
82
82
|
def append_from_root(current = Dir.pwd, **options)
|
83
83
|
while current
|
84
84
|
append_path(current, **options)
|
data/lib/bake/recipe.rb
CHANGED
@@ -26,9 +26,9 @@ module Bake
|
|
26
26
|
class Recipe
|
27
27
|
# Initialize the recipe.
|
28
28
|
#
|
29
|
-
# @
|
30
|
-
# @
|
31
|
-
# @
|
29
|
+
# @parameter instance [Base] The instance this recipe is attached to.
|
30
|
+
# @parameter name [String] The method name.
|
31
|
+
# @parameter method [Method | Nil] The method if already known.
|
32
32
|
def initialize(instance, name, method = nil)
|
33
33
|
@instance = instance
|
34
34
|
@name = name
|
@@ -63,7 +63,7 @@ module Bake
|
|
63
63
|
end
|
64
64
|
|
65
65
|
# The recipe's formal parameters, if any.
|
66
|
-
# @
|
66
|
+
# @returns [Array | Nil]
|
67
67
|
def parameters
|
68
68
|
parameters = method.parameters
|
69
69
|
|
@@ -73,7 +73,7 @@ module Bake
|
|
73
73
|
end
|
74
74
|
|
75
75
|
# Whether this recipe has optional arguments.
|
76
|
-
# @
|
76
|
+
# @returns [Boolean]
|
77
77
|
def options?
|
78
78
|
if parameters = self.parameters
|
79
79
|
type, name = parameters.last
|
@@ -101,9 +101,9 @@ module Bake
|
|
101
101
|
end
|
102
102
|
|
103
103
|
# Process command line arguments into the ordered and optional arguments.
|
104
|
-
# @
|
105
|
-
# @
|
106
|
-
# @
|
104
|
+
# @parameter arguments [Array(String)] The command line arguments
|
105
|
+
# @returns ordered [Array]
|
106
|
+
# @returns options [Hash]
|
107
107
|
def prepare(arguments)
|
108
108
|
offset = 0
|
109
109
|
ordered = []
|
@@ -152,19 +152,19 @@ module Bake
|
|
152
152
|
end
|
153
153
|
|
154
154
|
# Any comments associated with the source code which defined the method.
|
155
|
-
# @
|
155
|
+
# @returns [Array(String)] The comment lines.
|
156
156
|
def comments
|
157
157
|
@comments ||= read_comments
|
158
158
|
end
|
159
159
|
|
160
160
|
# The documentation object which provides structured access to the {comments}.
|
161
|
-
# @
|
161
|
+
# @returns [Documentation]
|
162
162
|
def documentation
|
163
163
|
@documentation ||= Documentation.new(self.comments)
|
164
164
|
end
|
165
165
|
|
166
166
|
# The documented type signature of the recipe.
|
167
|
-
# @
|
167
|
+
# @returns [Array] An array of {Types} instances.
|
168
168
|
def types
|
169
169
|
@types ||= read_types
|
170
170
|
end
|
data/lib/bake/scope.rb
CHANGED
@@ -42,9 +42,9 @@ module Bake
|
|
42
42
|
|
43
43
|
# Recipes defined in this scope.
|
44
44
|
#
|
45
|
-
# @
|
46
|
-
#
|
47
|
-
# @
|
45
|
+
# @yields {|recipe| ...}
|
46
|
+
# @parameter recipe [Recipe]
|
47
|
+
# @returns [Enumerable]
|
48
48
|
def recipes
|
49
49
|
return to_enum(:recipes) unless block_given?
|
50
50
|
|
@@ -62,7 +62,7 @@ module Bake
|
|
62
62
|
|
63
63
|
# Look up a recipe with a specific name.
|
64
64
|
#
|
65
|
-
# @
|
65
|
+
# @parameter name [String] The instance method to look up.
|
66
66
|
def recipe_for(name)
|
67
67
|
Recipe.new(self, name, self.instance_method(name))
|
68
68
|
end
|
data/lib/bake/types/any.rb
CHANGED
@@ -28,25 +28,25 @@ module Bake
|
|
28
28
|
#
|
29
29
|
class Any
|
30
30
|
# Initialize the instance with an array of types.
|
31
|
-
# @
|
31
|
+
# @parameter types [Array] the array of types.
|
32
32
|
def initialize(types)
|
33
33
|
@types = types
|
34
34
|
end
|
35
35
|
|
36
36
|
# Create a copy of the current instance with the other type appended.
|
37
|
-
# @
|
37
|
+
# @parameter other [Type] the type instance to append.
|
38
38
|
def | other
|
39
39
|
self.class.new([*@types, other])
|
40
40
|
end
|
41
41
|
|
42
42
|
# Whether any of the listed types is a composite type.
|
43
|
-
# @
|
43
|
+
# @returns [Boolean] true if any of the listed types is `composite?`.
|
44
44
|
def composite?
|
45
45
|
@types.any?{|type| type.composite?}
|
46
46
|
end
|
47
47
|
|
48
48
|
# Parse an input string, trying the listed types in order, returning the first one which doesn't raise an exception.
|
49
|
-
# @
|
49
|
+
# @parameter input [String] the input to parse, e.g. `"5"`.
|
50
50
|
def parse(input)
|
51
51
|
@types.each do |type|
|
52
52
|
return type.parse(input)
|
@@ -69,7 +69,7 @@ module Bake
|
|
69
69
|
# An extension module which allows constructing `Any` types using the `|` operator.
|
70
70
|
module Type
|
71
71
|
# Create an instance of `Any` with the arguments as types.
|
72
|
-
# @
|
72
|
+
# @parameter other [Type] the alternative type to match.
|
73
73
|
def | other
|
74
74
|
Any.new([self, other])
|
75
75
|
end
|
data/lib/bake/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: samovar
|
@@ -24,34 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.1'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: bake-bundler
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: utopia-project
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
27
|
- !ruby/object:Gem::Dependency
|
56
28
|
name: covered
|
57
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,21 +66,7 @@ dependencies:
|
|
94
66
|
- - ">="
|
95
67
|
- !ruby/object:Gem::Version
|
96
68
|
version: '0'
|
97
|
-
|
98
|
-
name: rake
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
description:
|
69
|
+
description:
|
112
70
|
email:
|
113
71
|
- samuel.williams@oriontransfer.co.nz
|
114
72
|
executables:
|
@@ -126,6 +84,8 @@ files:
|
|
126
84
|
- gems.rb
|
127
85
|
- guides/command-line-interface/README.md
|
128
86
|
- guides/gem-integration/README.md
|
87
|
+
- guides/getting-started/README.md
|
88
|
+
- guides/links.yaml
|
129
89
|
- guides/project-integration/README.md
|
130
90
|
- lib/bake.rb
|
131
91
|
- lib/bake/base.rb
|
@@ -159,7 +119,7 @@ licenses:
|
|
159
119
|
- MIT
|
160
120
|
metadata:
|
161
121
|
donation_uri: https://github.com/sponsors/ioquatix
|
162
|
-
post_install_message:
|
122
|
+
post_install_message:
|
163
123
|
rdoc_options: []
|
164
124
|
require_paths:
|
165
125
|
- lib
|
@@ -175,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
135
|
version: '0'
|
176
136
|
requirements: []
|
177
137
|
rubygems_version: 3.1.2
|
178
|
-
signing_key:
|
138
|
+
signing_key:
|
179
139
|
specification_version: 4
|
180
140
|
summary: A replacement for rake with a simpler syntax.
|
181
141
|
test_files: []
|