acts_as_living 0.1.5 → 0.1.6

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: ac1707ac917d7ca82291b1653915c2c3000147c96d443500b30a6fa9788551b1
4
- data.tar.gz: ec6655308b3868412dfc7bc83b14e50a76c515d4e60906df6afc0af7fd59a376
3
+ metadata.gz: 1886e30cb7c12fb80faac2bb6268651d19770843f332ad8daa8c0283d4654ecb
4
+ data.tar.gz: 344f2f3cb2dd39378f757440e812eb192d818352776a044e3e684835d54ef1a0
5
5
  SHA512:
6
- metadata.gz: 2a37603ec1613cb1129b8b2778bac79d735e81ec8e76587f867bce38222a67820973d453e4c64b6f29b93cf4c25557a6a6296591923c6e8c1dac9952240b90fe
7
- data.tar.gz: 2c7d3c92eec9bbc6e25e6e8df18741ce016232622ac13eb70c3afabc909fd731512cd0138507ab7326848398c89737a51e54731f6ec6950d3e031b96f430098f
6
+ metadata.gz: ce3a6411127363f0635cc966dca7b04de9d5e504189c3bc1aa2a9d774ae7e12c66b2a771493c3260568b2673916af48633271f5fce44af3e53e74d3b2ba36381
7
+ data.tar.gz: cb8b39466ae50ddc3735101587c540e03d7369b89d7d36026dbf5f3888df78c7e655bc3f4c7abf9fa9f762041a595dd7930de72ae17f8be5414652972445eabe
@@ -5,13 +5,12 @@ module ActsAsLiving::ActsAsLiving
5
5
  extend ActiveSupport::Concern
6
6
 
7
7
  class_methods do
8
- def acts_as_living(keys, phases:, lock_on:, death:, spread:, column:)
8
+ def acts_as_living(keys, phases: [], lock_on: [], death: :cancelled, spread: 1)
9
9
  @stage_keys = keys
10
10
  @phases = phases
11
11
  @locked_stages = lock_on
12
12
  @death = death
13
13
  @spread = spread
14
- @column = column
15
14
 
16
15
  run_definers
17
16
  end
@@ -1,3 +1,3 @@
1
1
  module ActsAsLiving
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_living
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Andrade
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-12 00:00:00.000000000 Z
11
+ date: 2020-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord