sinatra-hexacta 1.7.11 → 1.7.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sinatra/extensions/mail.rb +1 -1
- data/lib/sinatra/extensions/mailsender.rb +1 -1
- data/lib/sinatra/public/js/app.js +8 -2
- metadata +5 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e86000ada810a4d9c6da30085fcce0c7110ed2d0021fce60403621191710bcf1
|
4
|
+
data.tar.gz: 2d6399a6e611a630abff7309c9b7f644e0282b2ae24643b56b1d01da1ca2d4e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e04301baf89a9dd388f8030875f6e908a5cbdf4a347392393331276c2b85f77ec1808b01ed4d4763f0b0298935a4b4fcec91281d565557780fc8eed58f86689
|
7
|
+
data.tar.gz: 289221b4f09f731b5c8721128a2ad97e63de15dcc6d68c6e79f0b097aff44b93ecfe4af8a615124e712ff3fcc572082f2fc24acdfa6253b0c2f50e0c26a17355
|
@@ -64,7 +64,7 @@ class MailSender
|
|
64
64
|
for key in to_map.keys
|
65
65
|
index = to_map.keys.index(key)
|
66
66
|
values << ["ResourcesRequest[#{index}].TypeGroup", to_map[key]]
|
67
|
-
values << ["ResourcesRequest[#{index}].
|
67
|
+
values << ["ResourcesRequest[#{index}].Identifier", key]
|
68
68
|
end
|
69
69
|
values
|
70
70
|
end
|
@@ -684,6 +684,12 @@ function capitalize(word) {
|
|
684
684
|
if (word == "") {
|
685
685
|
return "";
|
686
686
|
} else {
|
687
|
-
|
687
|
+
const words = word.split(" ");
|
688
|
+
for (let i = 0; i < words.length; i++) {
|
689
|
+
if (words[i][0] != undefined) {
|
690
|
+
words[i] = words[i][0].toUpperCase() + words[i].substr(1);
|
691
|
+
}
|
692
|
+
}
|
693
|
+
return words.join(" ");
|
688
694
|
}
|
689
|
-
}
|
695
|
+
}
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-hexacta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marco Zanger
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-05-07 00:00:00.000000000 Z
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 0.3.1
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: caxlsx
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - '='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 3.1.1
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - '='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 3.1.1
|
97
83
|
description: A gem to support general functionality accross all apps
|
98
84
|
email: mzanger@hexacta.com
|
99
85
|
executables: []
|
@@ -265,7 +251,7 @@ homepage: https://rubygems.org/gems/sinatra-hexacta
|
|
265
251
|
licenses:
|
266
252
|
- MIT
|
267
253
|
metadata: {}
|
268
|
-
post_install_message:
|
254
|
+
post_install_message:
|
269
255
|
rdoc_options: []
|
270
256
|
require_paths:
|
271
257
|
- lib
|
@@ -280,8 +266,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
280
266
|
- !ruby/object:Gem::Version
|
281
267
|
version: '0'
|
282
268
|
requirements: []
|
283
|
-
rubygems_version: 3.0.
|
284
|
-
signing_key:
|
269
|
+
rubygems_version: 3.0.3.1
|
270
|
+
signing_key:
|
285
271
|
specification_version: 4
|
286
272
|
summary: Hexacta general tools!
|
287
273
|
test_files: []
|