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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d66c45b6c43c30c4ad20b1e649abdf0551f6321969cdaafab0d6631f9c94a215
4
- data.tar.gz: 670f4bd6b092b745992cf17bbeb74d7924c4e5aed9700b85425d978df6554ee7
3
+ metadata.gz: 9c7fc43563dedf6650d54c0ddaacb9d165c14b0253556a0a3e2b98962b3a7c38
4
+ data.tar.gz: ab236a4c93c325f6190d60ea98ed5943d772e37dea958f9d99ceaeb55b577d98
5
5
  SHA512:
6
- metadata.gz: 01376a81eb36ef32aee7cc9f1445620369c65d51b0059abf3104f798eebac44722cf8d322594471c7cf005bb71497adb67d7b43543e64327e6fe5eb9a9540787
7
- data.tar.gz: 4f64119cfbbb4f5e9b5cea8d735daefb8b6e0de100e9ad7e1bceb011aeb515ba9e885036d671735b0e8f84a834f2edc88d5fa9917398561d856860379d44bd2c
6
+ metadata.gz: 067dd1ba44b6fd975c3503928ed3db90cd2b603b46d7a191f715d2726cd3aaeadcd69d32e402d9e8a69a85c7783002dec136ad63304456def597189470fa5189
7
+ data.tar.gz: 0e13ae10b0b594d1edc184033e59ace65d8d221194a09c1965e586abf14c393fc6d021341bc18897df6190f86248da0ef4a23719e35a0c67a3fe2f5f0464e608
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "1.0.0-rc1"
2
+ ".": "1.0.0-rc2"
3
3
  }
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 command
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
- Workflow's configuration can be found in `.github/workflows/release.yml`
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'`.
@@ -0,0 +1,3 @@
1
+ Command = EasyCommand
2
+
3
+ require 'easy_command'
@@ -1,3 +1,3 @@
1
1
  module EasyCommand
2
- VERSION = '1.0.0-rc1'.freeze
2
+ VERSION = '1.0.0-rc2'.freeze
3
3
  end
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.rc1
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