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 +4 -4
- data/lib/hot_cell/codes.rb +4 -0
- data/lib/hot_cell/core/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cee7ec2d2cf66191fe36c65ee799ebead567515b4d8815fd194ee2f4e21b2e68
|
|
4
|
+
data.tar.gz: efbf59f1ee0b4579d8e7d98a65200eed5bc6b5546782a403216784fb5f8075cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ab338d0b9c68b834e1e70021013bb8a7f1f3335c1c7a49a5e5e59ce44d0009cd5ddc72be724439c29902e940c6924ba58c45b24770d920656e9ec8e232c6b5e
|
|
7
|
+
data.tar.gz: 283063e9416cbdb6ea1dd9ba103adc727ce3a478fe9f5f03918e9bbc62537d8f2f63167dbefa3a4999cfa0841d9ad4ed5e6f279700b0a6179947f6239ec5b2a6
|
data/lib/hot_cell/codes.rb
CHANGED
|
@@ -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
|
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.
|
|
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.
|
|
47
|
-
changelog_uri: https://github.com/basecamp/hotcell/blob/v1.
|
|
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.
|
|
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: []
|