bake 0.24.1 → 0.25.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
- checksums.yaml.gz.sig +0 -0
- data/lib/bake/arguments.rb +6 -6
- data/lib/bake/command/list.rb +1 -1
- data/lib/bake/registry/aggregate.rb +4 -4
- data/lib/bake/version.rb +1 -1
- data/readme.md +20 -0
- data/releases.md +4 -0
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 35fbfcdd142968a59a5538452f25fac07eb911eb090951bcf71b427258d54cce
|
|
4
|
+
data.tar.gz: 4b6a66ed1b0eab7916d8dd866f232e7e7780b3d5cabf1faac91754e11a39f974
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 24dd4b66f92ae00e311fde00ad12a3162ca743ca08aa5cb37462faa0d30054f1a74cb10ff93d2d5efdd32b3bf6e2372a9a4aa148f278a29a348f27cfb7cc4b62
|
|
7
|
+
data.tar.gz: 4383b3c84f2a91bbd80412f736683b297c0d9f07a2c33e121ec9267a2239f892eba741e2da2c04bc5d2484f8ab346d3b84e69e28e32ffd4be74c2f76e7d707a6
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/bake/arguments.rb
CHANGED
|
@@ -44,6 +44,12 @@ module Bake
|
|
|
44
44
|
|
|
45
45
|
# Extract the trailing arguments:
|
|
46
46
|
@options[name] = extract_arguments(name, arguments)
|
|
47
|
+
elsif @ordered.size < @arity
|
|
48
|
+
_, name = @parameters.shift
|
|
49
|
+
value = arguments.shift
|
|
50
|
+
|
|
51
|
+
# Consume it:
|
|
52
|
+
@ordered << extract_argument(name, value)
|
|
47
53
|
elsif /^(?<name>.*?)=(?<value>.*)$/ =~ argument
|
|
48
54
|
# Consume the argument:
|
|
49
55
|
arguments.shift
|
|
@@ -52,12 +58,6 @@ module Bake
|
|
|
52
58
|
|
|
53
59
|
# Extract the single argument:
|
|
54
60
|
@options[name] = extract_argument(name, value)
|
|
55
|
-
elsif @ordered.size < @arity
|
|
56
|
-
_, name = @parameters.shift
|
|
57
|
-
value = arguments.shift
|
|
58
|
-
|
|
59
|
-
# Consume it:
|
|
60
|
-
@ordered << extract_argument(name, value)
|
|
61
61
|
else
|
|
62
62
|
break
|
|
63
63
|
end
|
data/lib/bake/command/list.rb
CHANGED
|
@@ -84,7 +84,7 @@ module Bake
|
|
|
84
84
|
# Enumerate all loaded gems and add them.
|
|
85
85
|
def append_from_gems
|
|
86
86
|
::Gem.loaded_specs.each do |name, spec|
|
|
87
|
-
Console.debug(self)
|
|
87
|
+
Console.debug(self){"Checking gem #{name}: #{spec.full_gem_path}..."}
|
|
88
88
|
|
|
89
89
|
if path = spec.full_gem_path and File.directory?(path)
|
|
90
90
|
append_path(path, name: spec.full_name)
|
|
@@ -96,12 +96,12 @@ module Bake
|
|
|
96
96
|
|
|
97
97
|
def insert(directory, **options)
|
|
98
98
|
unless @roots.key?(directory)
|
|
99
|
-
Console.debug(self)
|
|
100
|
-
|
|
99
|
+
Console.debug(self){"Adding #{directory.inspect}"}
|
|
100
|
+
|
|
101
101
|
loader = DirectoryLoader.new(directory, **options)
|
|
102
102
|
@roots[directory] = loader
|
|
103
103
|
@ordered << loader
|
|
104
|
-
|
|
104
|
+
|
|
105
105
|
return true
|
|
106
106
|
end
|
|
107
107
|
|
data/lib/bake/version.rb
CHANGED
data/readme.md
CHANGED
|
@@ -33,6 +33,10 @@ Please see the [project documentation](https://ioquatix.github.io/bake/) for mor
|
|
|
33
33
|
|
|
34
34
|
Please see the [project releases](https://ioquatix.github.io/bake/releases/index) for all releases.
|
|
35
35
|
|
|
36
|
+
### v0.25.0
|
|
37
|
+
|
|
38
|
+
- Prefer positional arguments before interpreting `name=value` optional arguments.
|
|
39
|
+
|
|
36
40
|
### v0.24.1
|
|
37
41
|
|
|
38
42
|
- Add agent context.
|
|
@@ -57,6 +61,22 @@ We welcome contributions to this project.
|
|
|
57
61
|
4. Push to the branch (`git push origin my-new-feature`).
|
|
58
62
|
5. Create new Pull Request.
|
|
59
63
|
|
|
64
|
+
### Running Tests
|
|
65
|
+
|
|
66
|
+
To run the test suite:
|
|
67
|
+
|
|
68
|
+
``` shell
|
|
69
|
+
bundle exec sus
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Making Releases
|
|
73
|
+
|
|
74
|
+
To make a new release:
|
|
75
|
+
|
|
76
|
+
``` shell
|
|
77
|
+
bundle exec bake gem:release:patch # or minor or major
|
|
78
|
+
```
|
|
79
|
+
|
|
60
80
|
### Developer Certificate of Origin
|
|
61
81
|
|
|
62
82
|
In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
|
data/releases.md
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bake
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.25.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -133,14 +133,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
133
133
|
requirements:
|
|
134
134
|
- - ">="
|
|
135
135
|
- !ruby/object:Gem::Version
|
|
136
|
-
version: '3.
|
|
136
|
+
version: '3.3'
|
|
137
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
requirements:
|
|
139
139
|
- - ">="
|
|
140
140
|
- !ruby/object:Gem::Version
|
|
141
141
|
version: '0'
|
|
142
142
|
requirements: []
|
|
143
|
-
rubygems_version:
|
|
143
|
+
rubygems_version: 4.0.3
|
|
144
144
|
specification_version: 4
|
|
145
145
|
summary: A replacement for rake with a simpler syntax.
|
|
146
146
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|