parameter_substitution 1.3.1.pre.0 → 1.3.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85c67efeaefb3f001e0463995bc4fb9f3e74f355a0d90f1e88c9758098bdfcce
|
4
|
+
data.tar.gz: d40e06c430ee77c4c5955de0564f5dc3ec9cd728dd61904838110839b68d9553
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc93edd7f1370d8bc70bb5e54194dfd0931616951e91528849c7589de68be4b8d0dcdd5a1e02c20f3f696e4038f01e05a73914d1909d74132c02c59aea8213dd
|
7
|
+
data.tar.gz: 5409c67d415ba25c74369151dc109c32c3077967e56d449aaaf43bb8ef5213bbff69d002265bb5ca0e916f141f7fa110736637fd7ed434a162f3ccadadd7c0bf
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parameter_substitution
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.1
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Invoca Development
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -127,7 +127,6 @@ files:
|
|
127
127
|
- lib/parameter_substitution/formatters/split_after_colon.rb
|
128
128
|
- lib/parameter_substitution/formatters/split_and_find.rb
|
129
129
|
- lib/parameter_substitution/formatters/split_before_colon.rb
|
130
|
-
- lib/parameter_substitution/formatters/string_to_base64.rb
|
131
130
|
- lib/parameter_substitution/formatters/time_with_seconds.rb
|
132
131
|
- lib/parameter_substitution/formatters/trim.rb
|
133
132
|
- lib/parameter_substitution/formatters/upper.rb
|
@@ -153,9 +152,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
152
|
version: '0'
|
154
153
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
154
|
requirements:
|
156
|
-
- - "
|
155
|
+
- - ">="
|
157
156
|
- !ruby/object:Gem::Version
|
158
|
-
version:
|
157
|
+
version: '0'
|
159
158
|
requirements: []
|
160
159
|
rubygems_version: 3.1.6
|
161
160
|
signing_key:
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
class ParameterSubstitution::Formatters::StringToBase64 < ParameterSubstitution::Formatters::Base
|
4
|
-
def self.description
|
5
|
-
"Converts strings to base64 encoding"
|
6
|
-
end
|
7
|
-
|
8
|
-
def self.format(value)
|
9
|
-
return nil if value.nil?
|
10
|
-
|
11
|
-
[value].pack("m0")
|
12
|
-
end
|
13
|
-
end
|