eight_ball 2.0.0 → 2.1.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/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/eight_ball.rb +1 -1
- data/lib/eight_ball/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cfb41f3a25afd43037e59c1a38078ccc708eabae72b07e298f120e6aee0264be
|
|
4
|
+
data.tar.gz: f92d80db7fa985f68fe3050a65351586445487fdb9b07122f844c4f76becd991
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a8551c6bc776407190501c1c284f7c0487f96960028bf1e42d7facd98d6545047ea643bbb2ca387e676479c846508ccff55b2e44e64f01e2f1dac0e62292374b
|
|
7
|
+
data.tar.gz: 81e40138cc534dab592c5847c30221a0b557c2d02598fe8eb53173d65f00316e085381c1b149934cd7bf969c37517d445bad55c5d38241518ade1d2c1607caa3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.1.0]
|
|
4
|
+
- Add `features` parameter to `EightBall.marshall` to allow marshalling any Features, not just the ones
|
|
5
|
+
from the configured Provider.
|
|
6
|
+
|
|
3
7
|
## [2.0.0]
|
|
4
8
|
- [BREAKING] `Parsers` have been replaced with `Marshallers`, allowing bi-directional conversions
|
|
5
9
|
- Added `EightBall.marshall` as a way to output the Feature list to an external format (e.g. to create a JSON file)
|
data/Gemfile.lock
CHANGED
data/lib/eight_ball.rb
CHANGED
|
@@ -116,7 +116,7 @@ module EightBall
|
|
|
116
116
|
# If the {EightBall::Providers Provider} does not expose a
|
|
117
117
|
# {EightBall::Marshallers Marshaller}, this will default to the
|
|
118
118
|
# {EightBall::Marshallers::Json JSON Marshaller}.
|
|
119
|
-
def self.marshall(marshaller = nil)
|
|
119
|
+
def self.marshall(marshaller = nil, features = EightBall.features)
|
|
120
120
|
marshaller ||=
|
|
121
121
|
(provider.respond_to?(:marshaller) && provider.marshaller) ||
|
|
122
122
|
EightBall::Marshallers::Json.new
|
data/lib/eight_ball/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eight_ball
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rewind.io
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-06-
|
|
11
|
+
date: 2020-06-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: awrence
|