card-mod-session 0.14.2 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/data/real.yml +20 -0
  3. data/set/type/session.rb +2 -0
  4. metadata +9 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 289d0af9fac65389427bd398a6ae4d52754c439f2e42ebbffec72e0501fcbc29
4
- data.tar.gz: 20e4235f0fbf6d7560b89e3bf0eeecafe1329cf40a2a903e8c05e2348b72675f
3
+ metadata.gz: 192fa0a8ddaf926be56da5f9a27d7c82adfa4882faf14dc2a62e1fb1ffa67d19
4
+ data.tar.gz: 993a01f298e5d2f9f123a7076102ecc3aaae7c058a0d529df381c57e6375d2ce
5
5
  SHA512:
6
- metadata.gz: 70cf2803106e71bb27f9463cf44d75d1a351ba427ca2533140daaf96bea104357c06a27fb83afa73fc9ee83cc8608a0e0b4096a7a1177410408b7b6df09f9849
7
- data.tar.gz: a8c36123f48785a7ae0587ce323cb984ee3a7f9d677680e15e18978aa0d1194251bbba9b9e23dead0c76343fc2b496a2289d683f27d3c4bdf26562140368f73a
6
+ metadata.gz: 7a3dd8a3689a13e2044d27d59358a7b829c4d2dd136b89be2720f7b155a6e3b4efdeec726bb056440f34bf783b7791608a1658b8e0e492c71558710c0c7ba2e0
7
+ data.tar.gz: 80094f7d057aead7a866ec9b3c1229c0d1fec17ed4e1a27ca3dae6a1da43dd4e9b819461bbce69125a264d00c7f03d5a0698067a1ba3672bd9c1f4863ec4960a
data/data/real.yml ADDED
@@ -0,0 +1,20 @@
1
+ - :name: Session
2
+ :type: :cardtype
3
+ :codename: session
4
+ :fields:
5
+ :description: |-
6
+ Session cards are for non-permanent content. They are not stored in the database
7
+ and can have different values for different users.
8
+
9
+ # FIXME: this code is in rules, but neither session cards nor permissions are that early
10
+ - :name: "*recent settings"
11
+ # :type: :session
12
+ :codename: recent_settings
13
+ :fields:
14
+ :self:
15
+ :fields:
16
+ :update: Anyone
17
+ :read: Anyone
18
+ :content_options:
19
+ :type: :search_type
20
+ :content: '{"type":"setting"}'
data/set/type/session.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  include_set Pointer
2
2
 
3
+ basket[:non_createable_types] << :session
4
+
3
5
  def virtual?
4
6
  session_content.present?
5
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-session
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.2
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-01-08 00:00:00.000000000 Z
13
+ date: 2023-01-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: card
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.104.2
21
+ version: 1.105.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.104.2
28
+ version: 1.105.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: card-mod-list
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.14.2
35
+ version: 0.15.0
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.14.2
42
+ version: 0.15.0
43
43
  description: ''
44
44
  email:
45
45
  - info@decko.org
@@ -47,6 +47,7 @@ executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
+ - data/real.yml
50
51
  - set/all/location_history.rb
51
52
  - set/type/session.rb
52
53
  homepage: https://decko.org
@@ -59,6 +60,7 @@ metadata:
59
60
  wiki_uri: https://decko.org
60
61
  documentation_url: http://docs.decko.org/
61
62
  card-mod: session
63
+ card-mod-group: gem-defaults
62
64
  post_install_message:
63
65
  rdoc_options: []
64
66
  require_paths:
@@ -74,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
76
  - !ruby/object:Gem::Version
75
77
  version: '0'
76
78
  requirements: []
77
- rubygems_version: 3.2.15
79
+ rubygems_version: 3.3.11
78
80
  signing_key:
79
81
  specification_version: 4
80
82
  summary: session