easy_command 1.0.0.pre.rc1 → 1.0.0.pre.rc2
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/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +7 -0
- data/README.md +17 -2
- data/lib/easy_command/as_command.rb +3 -0
- data/lib/easy_command/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c7fc43563dedf6650d54c0ddaacb9d165c14b0253556a0a3e2b98962b3a7c38
|
4
|
+
data.tar.gz: ab236a4c93c325f6190d60ea98ed5943d772e37dea958f9d99ceaeb55b577d98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 067dd1ba44b6fd975c3503928ed3db90cd2b603b46d7a191f715d2726cd3aaeadcd69d32e402d9e8a69a85c7783002dec136ad63304456def597189470fa5189
|
7
|
+
data.tar.gz: 0e13ae10b0b594d1edc184033e59ace65d8d221194a09c1965e586abf14c393fc6d021341bc18897df6190f86248da0ef4a23719e35a0c67a3fe2f5f0464e608
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [1.0.0-rc2](https://github.com/Swile/easy_command/compare/v1.0.0-rc1...v1.0.0-rc2) (2024-06-20)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* Add smooth transition helper file ([31f01b8](https://github.com/Swile/easy_command/commit/31f01b80554b5d36552f86c732a6119f720db0f1))
|
9
|
+
|
3
10
|
## [1.0.0-rc1](https://github.com/Swile/easy_command/compare/v0.7.0...v1.0.0-rc1) (2024-06-20)
|
4
11
|
|
5
12
|
|
data/README.md
CHANGED
@@ -62,7 +62,7 @@ And then execute:
|
|
62
62
|
|
63
63
|
Or install it yourself as:
|
64
64
|
|
65
|
-
$ gem install
|
65
|
+
$ gem install easy_command
|
66
66
|
|
67
67
|
# Contributing
|
68
68
|
|
@@ -79,7 +79,7 @@ Please note that we are using auto release.
|
|
79
79
|
|
80
80
|
Gem publishing and releasing is now automated with [google-release-please](https://github.com/googleapis/release-please).
|
81
81
|
|
82
|
-
|
82
|
+
The exact configuration of the workflow can be found in `.github/workflows/release.yml`
|
83
83
|
|
84
84
|
# Usage
|
85
85
|
|
@@ -734,3 +734,18 @@ context "when called in a controller" do
|
|
734
734
|
end
|
735
735
|
|
736
736
|
```
|
737
|
+
|
738
|
+
# Using as `Command`
|
739
|
+
|
740
|
+
`EasyCommand` used to be called `Command`. While this was no issue for a private library, it could not stay named that
|
741
|
+
way as a public gem. For ease of use and to help smoother transitions, we provide another require entrypoint for the
|
742
|
+
library:
|
743
|
+
```ruby
|
744
|
+
gem 'easy_command', require: 'easy_command/as_command'
|
745
|
+
```
|
746
|
+
Requiring `easy_command/as_command` defines a `Command` alias that should provide the same functionality as when the gem was named as such.
|
747
|
+
|
748
|
+
**⚠️ This overwrites the toplevel `Command` constant - be sure to use it safely.**
|
749
|
+
|
750
|
+
**Also: do remember that any other `require`s should still be updated to `easy_command` though.**
|
751
|
+
For example `require 'easy_command/spec_helpers'`.
|
data/lib/easy_command/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy_command
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.pre.
|
4
|
+
version: 1.0.0.pre.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swile
|
@@ -49,6 +49,7 @@ files:
|
|
49
49
|
- README.md
|
50
50
|
- easy_command.gemspec
|
51
51
|
- lib/easy_command.rb
|
52
|
+
- lib/easy_command/as_command.rb
|
52
53
|
- lib/easy_command/chainable.rb
|
53
54
|
- lib/easy_command/errors.rb
|
54
55
|
- lib/easy_command/result.rb
|