gophish-ruby 1.0.0 → 1.1.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 +4 -4
- data/lib/gophish/base.rb +13 -0
- data/lib/gophish/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb5a14a2da71e0573dd88f9074654106acd42e09c1201ea190d221efb8a1c2c4
|
4
|
+
data.tar.gz: 4ac62c49163558c9910d024a6f1b2b84155b2a4c5c907b3a4993ebe52036f957
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b22b00bd893ca329310ea6eaf6ec52b637faafa9d191cb495b5beb9f76dd6ca7b4b529931e3355cf25a1b2fa215a03caa64796d8da7b5d590336e3dab76796b
|
7
|
+
data.tar.gz: 5230df28a171c07f8ec186af08eac6983683a3e284b6c31fa6afc89222c44f2abfe1271d1104c1e8a2dec65afebcb541a29dc46eae880557d4566771773ad6f3
|
data/lib/gophish/base.rb
CHANGED
@@ -184,5 +184,18 @@ module Gophish
|
|
184
184
|
def []=(attribute, value)
|
185
185
|
send "#{attribute}=", value if respond_to? "#{attribute}="
|
186
186
|
end
|
187
|
+
|
188
|
+
def to_s
|
189
|
+
attributes_hash = {}
|
190
|
+
self.class.attribute_names.each do |attr_name|
|
191
|
+
value = send(attr_name)
|
192
|
+
attributes_hash[attr_name.to_sym] = value unless value.nil?
|
193
|
+
end
|
194
|
+
attributes_hash.to_s
|
195
|
+
end
|
196
|
+
|
197
|
+
def inspect
|
198
|
+
to_s
|
199
|
+
end
|
187
200
|
end
|
188
201
|
end
|
data/lib/gophish/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gophish-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eli Sebastian Herrera Aguilar
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -111,14 +111,14 @@ files:
|
|
111
111
|
- lib/gophish/template.rb
|
112
112
|
- lib/gophish/version.rb
|
113
113
|
- sig/gophish/ruby.rbs
|
114
|
-
homepage: https://github.com/EliSebastian/
|
114
|
+
homepage: https://github.com/EliSebastian/gophish-ruby
|
115
115
|
licenses:
|
116
116
|
- MIT
|
117
117
|
metadata:
|
118
118
|
allowed_push_host: https://rubygems.org
|
119
|
-
homepage_uri: https://github.com/EliSebastian/
|
120
|
-
source_code_uri: https://github.com/EliSebastian/
|
121
|
-
changelog_uri: https://github.com/EliSebastian/
|
119
|
+
homepage_uri: https://github.com/EliSebastian/gophish-ruby
|
120
|
+
source_code_uri: https://github.com/EliSebastian/gophish-ruby
|
121
|
+
changelog_uri: https://github.com/EliSebastian/gophish-ruby/blob/main/CHANGELOG.md
|
122
122
|
post_install_message:
|
123
123
|
rdoc_options: []
|
124
124
|
require_paths:
|