decko 0.14.1 → 0.14.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: af62315a09fede42c5c70a8058d9883425e4d36e3d748eecfa227058c860bbf5
4
- data.tar.gz: 2b55d02d8645ec104f53547cdb15d0fc51383ce281c9b6968eb50a09078205cc
3
+ metadata.gz: 3c6db755b2db7ac79e35bb2b9d5f2b8b38edaeb528985cd00631c5b0e6f883e2
4
+ data.tar.gz: 7a6b0e083047509d211e77a8fd68e5c22bc2bc081d40c933f3777ee17e498aa3
5
5
  SHA512:
6
- metadata.gz: 8ed4cc24cb6ba65eae2b4079f4a6cf437d99560043aba36afa541d201af1b24a56abafb992ada7e461378ac564e2349ee0e96be8cb77b87c1cbb7016124faacc
7
- data.tar.gz: a380f25cb2a7f73559896d63038eb8e64372c13d105f5b9da27cbce0b8bc9204a084e0970e006853304318afd17d821832c522dc3ffd36031a8e1ad4d9860372
6
+ metadata.gz: 04ad5d539b80b8c5ae27f2c1bcc8d716c6a4a5ec36283410797320896f861a8124e141901bcdd0cc7e45522c46d516840c155e20b0812f6182353cd131c8c50c
7
+ data.tar.gz: bb637881c97f37183f475c952ee2af0ef71b5cc8089bbd854d729d72a9963c54038ace067b2ec238a9215daab02d97bd41114d1356d1a55c6830af905114ce8a
@@ -54,7 +54,8 @@ class CardController
54
54
  # Card::Cache.renew
55
55
  @card = success.target
56
56
  require_card_for_soft_redirect!
57
- self.params = Card::Env[:params] = soft_redirect_params
57
+ self.params = soft_redirect_params
58
+ Card::Env.reset self
58
59
  load_action
59
60
  show
60
61
  end
@@ -31,7 +31,7 @@ class CardController
31
31
  def setup
32
32
  Card::Assets.refresh_assets unless params[:explicit_file]
33
33
  Card::Cache.renew
34
- Card::Env.reset controller: self
34
+ Card::Env.reset self
35
35
  end
36
36
 
37
37
  def authenticate
@@ -64,7 +64,7 @@ class CardController
64
64
 
65
65
  # TODO: refactor this away this when new layout handling is ready
66
66
  def record_as_main
67
- Card::Env[:main_name] = params[:main] || card&.name || ""
67
+ Card::Env.main_name = params[:main] || card&.name || ""
68
68
  end
69
69
 
70
70
  def refresh_card
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decko
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.14.2
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-04 00:00:00.000000000 Z
13
+ date: 2022-01-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: actionpack
@@ -32,28 +32,28 @@ dependencies:
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 1.104.1
35
+ version: 1.104.2
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: 1.104.1
42
+ version: 1.104.2
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: card-mod-defaults
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.14.1
49
+ version: 0.14.2
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.14.1
56
+ version: 0.14.2
57
57
  description: a wiki approach to structured data, dynamic interaction, and web design
58
58
  email:
59
59
  - info@decko.org