marvel-attribution 0.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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/marvel-attribution.rb +6 -0
  3. metadata +44 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6a14b6347d012a1b84e745c72b915234bddcf44e7ac32ec15156578c15dd8e27
4
+ data.tar.gz: 6c8ddacfa9e88c6e37b6f4078cc40e0fce01852328011bfb05dcfc202af1d508
5
+ SHA512:
6
+ metadata.gz: 37c193d09482b86dfbbd93f705679e742863aad0c21cf2a5afdb02bdd3ed3c715c6e3bb8eed52cd03ae918fe3f63f2c03682a647233551a59526f71d1c9cade6
7
+ data.tar.gz: f18b0bd8358fcec5053bab460ae405658782703ea19fb00e9c751f86547cb96e1bb9bdae4c08d21a8819e2b4c80a3de76e46919ea38370b26e48aecc5adf10e9
@@ -0,0 +1,6 @@
1
+ class MarvelAttribution
2
+ def self.currentAttribution
3
+ current_year = Time.now.year.to_s
4
+ return "Data provided by Marvel. © "+current_year+" Marvel"
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: marvel-attribution
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - paperjuice
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-05-09 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Creates an string with the current year for attributing the data from
14
+ Marvel API.
15
+ email: paperjuicecreative@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/marvel-attribution.rb
21
+ homepage: https://rubygems.org/gems/marvel-attribution
22
+ licenses:
23
+ - MIT
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubygems_version: 3.2.32
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: Marvel API attribution
44
+ test_files: []