trailblazer 2.0.5 → 2.0.6
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/CHANGES.md +4 -0
- data/Gemfile +1 -1
- data/lib/trailblazer/operation/wrap.rb +3 -1
- data/lib/trailblazer/version.rb +1 -1
- data/test/test_helper.rb +0 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 856c86ffb4c7cc3adfe5bf1f6a18b121a2e8869b
|
4
|
+
data.tar.gz: 1a79e03ac9dd720d86c7b5d13973316a1e71010b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95d7f47adc5eef009673170e5b423d0ce141884b35501cd6dafc7ef8194ff20e4e4d1ceb1859519961e6f1f983408fe053aede58fba3a6d23588dc2b0ef952bf
|
7
|
+
data.tar.gz: c0b9b10bf8fd45e1f55c41bbdd85b9f706f54831fc224915a9b37272e17047911e41c5ccfc220ccf4eed76bbc6ab62c424cb14ca079a5c86e90628dc93b85eaf
|
data/CHANGES.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# 2.0.6
|
2
|
+
|
3
|
+
* Fix what we broke in 2.0.5, where `Wrap` would always use the current operation subclass and not the empty `Trailblazer::Operation`. Thanks to @mensfeld.
|
4
|
+
|
1
5
|
# 2.0.5
|
2
6
|
|
3
7
|
* In Wrap, use `self` instead of a hard class reference. This allows using Wrap in the compat gem.
|
data/Gemfile
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
class Trailblazer::Operation
|
2
|
+
Base = self # TODO: we won't need this with 2.1.
|
3
|
+
|
2
4
|
def self.Wrap(wrap, &block)
|
3
|
-
operation = Class.new(
|
5
|
+
operation = Class.new(Base)
|
4
6
|
# DISCUSS: don't instance_exec when |pipe| given?
|
5
7
|
operation.instance_exec(&block) # evaluate the nested pipe.
|
6
8
|
|
data/lib/trailblazer/version.rb
CHANGED
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trailblazer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trailblazer-operation
|
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
243
|
version: '0'
|
244
244
|
requirements: []
|
245
245
|
rubyforge_project:
|
246
|
-
rubygems_version: 2.
|
246
|
+
rubygems_version: 2.5.2
|
247
247
|
signing_key:
|
248
248
|
specification_version: 4
|
249
249
|
summary: A high-level architecture for Ruby and Rails.
|