microfsm 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9530a8ccd601fdf346563647d0c922bd8356804abdf20a9291c6f68fd3e7b7b6
4
- data.tar.gz: 07efd68084a2dbefdb91eddab4c3242d27e727b573130264a13104c478ab3595
3
+ metadata.gz: f001afae7bd77ec4b88a0d8e4d1ff5cab0c3f0ee03f3db230fb2e6ae9124b47b
4
+ data.tar.gz: ed4b2860cca3cfe1b8f1f135a4180c77d2da8c2a6013191dfe60ea11c0dc74ec
5
5
  SHA512:
6
- metadata.gz: 603bc3daaff107a5d2825bc80b0e6a671a00e35750a4ce9e514904c632e793db693cb20e77bce23c5650d610e2b238c076df963fe26bd6fe762939952655578e
7
- data.tar.gz: 75adc3290862ff30a86bf6ebcbf0e6b19179c45ffb205ef414e7523e158c9fc791f181c6fdce289c46c95001c4b5e6341c5f75c8ab95b6f66fc5b8bd5803fde2
6
+ metadata.gz: 59659548f32f60823744f452cad8ebb4a5d2a193d2fc63c37978844056ac89f7592e95d32ac4da12bf5571fb8e6302415952c455b8a8d8cbcfab8764f5eb55f8
7
+ data.tar.gz: ca69ff6bf93b10d190b522998091474288e56ae2b8569010b558ecf206d7235f02a72f6a1f00ade1bd68fe8d934d8f0e0d6886e3bdd796e69e55785a48012fb2
data/.travis.yml CHANGED
@@ -1,10 +1,15 @@
1
1
  language: ruby
2
+ sudo: false
2
3
 
3
- bundle config set without production
4
- script: "bundle exec rake test"
4
+ bundler_args: --without production
5
+ # bundle config set without production
6
+ script: 'bundle exec rake test'
5
7
 
6
8
  rvm:
7
- - 2.7.2 # 2020-10-26
9
+ - 2.7.2 # 2020-10-26
10
+
11
+ matrix:
12
+ fast_finish: true
8
13
 
9
14
  notifications:
10
15
  email: false
data/README.md CHANGED
@@ -39,6 +39,7 @@ require 'microfsm'
39
39
  fsm = MicroFSM.new(:new) # Initial state.
40
40
 
41
41
  # Define the possible transitions for each event.
42
+ # Template: fsm.when(<event>, <from> => <to>)
42
43
  fsm.when(:confirm, :new => :confirmed)
43
44
  fsm.when(:ignore, :new => :ignored)
44
45
  fsm.when(:reset, :confirmed => :new, :ignored => :new)
data/lib/version.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class MicroFSM
4
- VERSION = '0.1.1' # 2021-02-08
4
+ VERSION = '0.1.2' # 2021-02-10
5
+ # VERSION = '0.1.1' # 2021-02-08
5
6
  # VERSION = '0.0.1' # 2021-01-24
6
7
  end
data/microfsm.gemspec CHANGED
@@ -11,6 +11,8 @@ Gem::Specification.new do |s|
11
11
  s.homepage = 'https://github.com/matique'
12
12
  s.license = "MIT"
13
13
 
14
+ s.metadata['source_code_uri'] = 'https://github.com/matique/microfsm'
15
+
14
16
  s.files = `git ls-files`.split("\n")
15
17
 
16
18
  s.add_development_dependency 'bundler'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: microfsm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -82,7 +82,8 @@ files:
82
82
  homepage: https://github.com/matique
83
83
  licenses:
84
84
  - MIT
85
- metadata: {}
85
+ metadata:
86
+ source_code_uri: https://github.com/matique/microfsm
86
87
  post_install_message:
87
88
  rdoc_options: []
88
89
  require_paths: