memflash 2.3.0 → 2.5.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: 22571b47b76ac68806e2ad6890defcfc7410c6488b202a6d980eb9d36f002752
4
- data.tar.gz: 5dddb2da8fc37b3ff9f6c8ef0f051dba1692f43b99412d6464bd6b8f71faf677
3
+ metadata.gz: a10f56b4cadb89bee5047494a7f9db199c4f714806432a4317410101bde7beff
4
+ data.tar.gz: dde53caae7cf6415f50f6167994425522a55754fb36e888188e8c40fa7f6f84c
5
5
  SHA512:
6
- metadata.gz: a29998949a6682a2d1f98099b7337898eee0bda8986ca10ca472fc15e333dae84a5d85e16da97d879646fc793e25d92c445d652426a28b2942c8647ef889ccdd
7
- data.tar.gz: 1d6eb07bfd0459db42b85f71588ac7a6debabce769d89ec44e8293b1b7e3a134ebe03ffc5e7bfbf7fc5e04b95bf2362a7a5259c96893baf51fe759735c47a305
6
+ metadata.gz: '089a18701b8e065737de321b0d32fd8dc8097102e75c4fe5b90def48a26f74b00ea1040436d6179bf364e0c72583b506d71fee84d40366e3388906b4ecfceb1d'
7
+ data.tar.gz: 6e10e9a302fc9b0416d0c17cb700bf9edafbc0fb437748dd2fe8db899ab90b99b9d090d4aff2f8df4e81a9eb89d8760e2ccf34aba4944a8a847a2ff7bbb6bb87
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://github.com/zendesk/memflash/workflows/test/badge.svg)](https://github.com/zendesk/memflash/actions)
1
+ [![Build Status](https://github.com/zendesk/memflash/workflows/test/badge.svg?branch=main)](https://github.com/zendesk/memflash/actions)
2
2
 
3
3
  Memflash is a gem which enables storing really long values in the Rails FlashHash
4
4
  without writing them to the session. Instead, it transparently uses `Rails.cache`, thus
@@ -1,3 +1,3 @@
1
1
  module Memflash
2
- VERSION = "2.3.0"
2
+ VERSION = "2.5.0"
3
3
  end
data/lib/memflash.rb CHANGED
@@ -32,7 +32,7 @@ module Memflash
32
32
  end
33
33
 
34
34
  def memflashed?(key, value)
35
- !!(value =~ /^Memflash-#{key}/)
35
+ /^Memflash-#{key}/.match?(value.to_s)
36
36
  end
37
37
  end
38
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memflash
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Andrijevik
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-22 00:00:00.000000000 Z
11
+ date: 2024-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '5.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.1'
22
+ version: '7.2'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '5.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.1'
32
+ version: '7.2'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rake
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -117,7 +117,7 @@ homepage: https://github.com/zendesk/memflash
117
117
  licenses:
118
118
  - Apache License Version 2.0
119
119
  metadata: {}
120
- post_install_message:
120
+ post_install_message:
121
121
  rdoc_options: []
122
122
  require_paths:
123
123
  - lib
@@ -125,15 +125,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
125
  requirements:
126
126
  - - ">="
127
127
  - !ruby/object:Gem::Version
128
- version: '2.6'
128
+ version: '2.7'
129
129
  required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  requirements:
131
131
  - - ">="
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  requirements: []
135
- rubygems_version: 3.3.7
136
- signing_key:
135
+ rubygems_version: 3.5.9
136
+ signing_key:
137
137
  specification_version: 4
138
138
  summary: Memflash is a gem which enables storing really long values in the Rails FlashHash
139
139
  without writing them to the session