hotcell-core 1.0.0 → 1.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: 4ac0a31676cceabda5fb0e56151f9d713473749b37dd72a0c90fe95140e6b6e4
4
- data.tar.gz: 8646bb8a3ca0ee5f3f9a84d9ebed559bbe3093c4f19cb07c3745861353ca4dfc
3
+ metadata.gz: cee7ec2d2cf66191fe36c65ee799ebead567515b4d8815fd194ee2f4e21b2e68
4
+ data.tar.gz: efbf59f1ee0b4579d8e7d98a65200eed5bc6b5546782a403216784fb5f8075cd
5
5
  SHA512:
6
- metadata.gz: 77514a9e158b03b8831554a3fc65babd155a85c30a23114c74dd0577fb4267ffd5443dbd376ed89e25443b797678afcb3b6bd5804b63a821046a868e6bf0c883
7
- data.tar.gz: 56d73aa43673d921a3864a5e7eff0be8fd0cd66082686c73a7f5911df03dd149d5543495f9bf52a4852a72ff097a3f107b206febe3cc457623b0bcdcff85eeb9
6
+ metadata.gz: 4ab338d0b9c68b834e1e70021013bb8a7f1f3335c1c7a49a5e5e59ce44d0009cd5ddc72be724439c29902e940c6924ba58c45b24770d920656e9ec8e232c6b5e
7
+ data.tar.gz: 283063e9416cbdb6ea1dd9ba103adc727ce3a478fe9f5f03918e9bbc62537d8f2f63167dbefa3a4999cfa0841d9ad4ed5e6f279700b0a6179947f6239ec5b2a6
@@ -100,6 +100,10 @@ module HotCell
100
100
 
101
101
  KILLED = "killed"
102
102
 
103
+ # A cause for `unreadable`, which is permanent whatever its cause: the document demands credentials the
104
+ # cell does not have. It lets a caller show a locked document differently from a broken one.
105
+ PROTECTED = "protected"
106
+
103
107
  class << self
104
108
  def permanent?(code, cause: nil)
105
109
  code = code.to_s
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HotCell
4
- VERSION = "1.0.0"
4
+ VERSION = "1.1.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hotcell-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Dalessio
@@ -43,8 +43,8 @@ licenses:
43
43
  - MIT
44
44
  metadata:
45
45
  homepage_uri: https://github.com/basecamp/hotcell
46
- source_code_uri: https://github.com/basecamp/hotcell/tree/v1.0.0/hotcell-core
47
- changelog_uri: https://github.com/basecamp/hotcell/blob/v1.0.0/CHANGELOG.md
46
+ source_code_uri: https://github.com/basecamp/hotcell/tree/v1.1.0/hotcell-core
47
+ changelog_uri: https://github.com/basecamp/hotcell/blob/v1.1.0/CHANGELOG.md
48
48
  documentation_uri: https://basecamp.github.io/hotcell/
49
49
  bug_tracker_uri: https://github.com/basecamp/hotcell/issues
50
50
  rubygems_mfa_required: 'true'
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubygems_version: 4.0.6
65
+ rubygems_version: 4.0.16
66
66
  specification_version: 4
67
67
  summary: The wire protocol shared by both sides of a HotCell.
68
68
  test_files: []