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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d034f89a36b50a0d0c9b8b9a4831a064e5ba94040b420f87a5afd440ff219674
4
- data.tar.gz: 9b545a863f9eb98522ae8d039fae1c4f53d21c16d9a86427f919753327ff5d7d
3
+ metadata.gz: cfb41f3a25afd43037e59c1a38078ccc708eabae72b07e298f120e6aee0264be
4
+ data.tar.gz: f92d80db7fa985f68fe3050a65351586445487fdb9b07122f844c4f76becd991
5
5
  SHA512:
6
- metadata.gz: eb363e7384b897cf5a17f6be921881de912828a496ddf1d403be301c145bcfc85cebc76acca1b3938e7c823f1176f76ab4297ed8b45407ec83a90b18ed2adfbf
7
- data.tar.gz: ffa4369cfba089198cac8495cc1b4ccdc2c158a82feddbf6df88e33c5da77e0810fd372eb2fcd9c5d4f5cd343d1e99647a36c0ef9aa095e2d60f37c89f29456d
6
+ metadata.gz: a8551c6bc776407190501c1c284f7c0487f96960028bf1e42d7facd98d6545047ea643bbb2ca387e676479c846508ccff55b2e44e64f01e2f1dac0e62292374b
7
+ data.tar.gz: 81e40138cc534dab592c5847c30221a0b557c2d02598fe8eb53173d65f00316e085381c1b149934cd7bf969c37517d445bad55c5d38241518ade1d2c1607caa3
@@ -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)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eight_ball (2.0.0)
4
+ eight_ball (2.1.0)
5
5
  awrence (~> 1.1)
6
6
  plissken (~> 1.2)
7
7
 
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EightBall
4
- VERSION = '2.0.0'
4
+ VERSION = '2.1.0'
5
5
  end
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.0.0
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-17 00:00:00.000000000 Z
11
+ date: 2020-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awrence