pics_or_it_didnt_happen 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pics_or_it_didnt_happen.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6499a083ae19e977da132e5a4e3d9cfc87ebcd8f15ecfc5ca58abaa238e1e927
|
4
|
+
data.tar.gz: beeb9e58fed600d2eb51ef9a09ad34fa6e93106d09e585c3fa4356f8f2afdfa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88c6e124dcc03b22a851b26ba212c5e63ec831c53a998968c5379cffbc26759ead5363e7c2ddbd27012773b92d94a0131a839add5fdde97bee3be7bfeaa4dc9e
|
7
|
+
data.tar.gz: aab98afa1b45ca028cc70a8cbe8c1ee174f4adaed037ff89e8ee652e36e1258ab5c7557f7414b99a7497ae7adab75da92e2a75048779ecf31ebbfb5ecf18a3bb
|
@@ -11,7 +11,7 @@ module PicsOrItDidntHappen
|
|
11
11
|
html_string = "<img src=\"#{src_string}\""
|
12
12
|
html_string += " alt=\"#{alt_text}\"" if alt_text
|
13
13
|
html_string += " class=\"#{classes}\"" if classes
|
14
|
-
return html_string
|
14
|
+
return html_string.strip + ">"
|
15
15
|
end
|
16
16
|
|
17
17
|
# this method was inspired by a Alain Beauvois's StackOverflow answer: https://stackoverflow.com/a/16635245
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pics_or_it_didnt_happen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Matthew Crossley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
Sometimes, you might want your HTML to include a one-off image file that is just for one person. Making this file public may be undesireable for security reasons, or perhaps simply because it is not worth the overhead of multiple HTTP requests.
|