closed_loop 0.1.0 → 0.2.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: b34de60db17b5f35bc766ec5d500aeeb7aaf71741084a8f2da94054941f70820
4
- data.tar.gz: 98a53ad41899e0a53b92c5c0ee584ec272c5c86e91812f2683dc94b3640d56d0
3
+ metadata.gz: 37a10edd09b0eb4aa81900e216de4d23d28a9a873150023b031c88f2c92c4d28
4
+ data.tar.gz: a0bab9ddd3e767fdaac03a5a802a8f5c484af48ca29adacb80aa263fdac09857
5
5
  SHA512:
6
- metadata.gz: 6853892b0d41c33093d1a1bbae4cd64e34d9e5743fb56912426fc3b24ff326ccdab3c8afccd4f624100f2d8e904ae12193ffdfae0527b741422e1c2d7edc13e5
7
- data.tar.gz: 97ea90aef5c24d89151881359b6a6c8b584116d264cb6ed1b2f192a897d3128e7afeb8b72df66a0d3cb37b85522924b055efdbd0f834ae854f85099920346260
6
+ metadata.gz: 2cc9587676d05f6b16e26885dcddcf22bfd7e608164e7cdc5b4cb109d5c7c79b1af257ad15daafcea4116b5c315e334c3a067d05c4cf4b398680ded790e15e3d
7
+ data.tar.gz: fdaf9e4dc643559f349e03aa38d47d5ab44037eb30125123bff1bdc6a1a14975ded883846ef53eb34832768536528ca2afb5533071f9b1c8291a145705f9e74b
data/Gemfile.lock CHANGED
@@ -23,6 +23,7 @@ GEM
23
23
  rspec-support (3.11.0)
24
24
 
25
25
  PLATFORMS
26
+ ruby
26
27
  x86_64-darwin-20
27
28
 
28
29
  DEPENDENCIES
@@ -1,9 +1,13 @@
1
+ require 'forwardable'
2
+
1
3
  module ClosedLoop
2
4
  module Machine
3
5
  class Instance
6
+ extend Forwardable
7
+
4
8
  attr_reader :configuration
5
9
 
6
- delegate :transition, :callback, :constraint, to: :@configuration
10
+ def_delegators :@configuration, :transition, :callback, :constraint
7
11
 
8
12
  def initialize
9
13
  @configuration = ClosedLoop::Machine::Configuration.new(self)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClosedLoop
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
data/lib/closed_loop.rb CHANGED
@@ -5,4 +5,4 @@ require_relative "closed_loop/machine"
5
5
 
6
6
  module ClosedLoop
7
7
  class Error < StandardError; end
8
- end
8
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: closed_loop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vilius Luneckas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-12 00:00:00.000000000 Z
11
+ date: 2022-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler