Icarus-Mod-Tools 1.4.1 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89461794093b038743439ad84c47a59e8411680f347cabd5b8e664bbc30bdc9c
4
- data.tar.gz: aec9c6996f8c4d2fa6f5e310cfee1f210cc9a0b65a933a43c59ba4f792843853
3
+ metadata.gz: 1d6eb166c9060d92ba85aeac7876bc1160ed775f6ef1f0f3408ca5cd5faa36da
4
+ data.tar.gz: 43849af1d46cc903e2beafee089dc64c24469c30a89033968285505a960d5ff1
5
5
  SHA512:
6
- metadata.gz: d0eb9d8eaedc23e25e7c5327f640c5bb8f62c8afec90cdcf90c9458d0cce72c3b66535bbd3f592160d4f578a61364489e791bcbd7eb6d4908d71771c253148a4
7
- data.tar.gz: a9869c83680cd34d0ed8370d05d18b688de83013dc3646178d65a77db36f98d021f74d7317360a82926b0b8a92fb2b3af190cbbea80cced5f139e37ae01a4409
6
+ metadata.gz: 86c344b70fcff28597a5b638d3898fd0ed52fd9894ef65ce304d37a459e94489412e37806de6415b61d501e647fc6b28ec12222a5cdb276078b95707b03cdb9a
7
+ data.tar.gz: 7074fbe10cbcc7170305fe4f651ee06ec8c6f7a4799d7a2a2923beff53b69eae5ad1524afa6ac5be47c55ddc443152e7ef918dfb50b3437d0df0d923073ee858
data/CHANGES.md CHANGED
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## History (reverse chronological order)
6
6
 
7
+ ### v1.5 - 2023-08
8
+
9
+ - Moved source into the DonovanMods Github organization
10
+ - Added `long_description` to `modinfo.json`
11
+ - Added `imageURL` to `modinfo.json`
12
+ - bugfixes
13
+
7
14
  ### v1.4 - 2023-03
8
15
 
9
16
  **BREAKING CHANGES!**
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- Icarus-Mod-Tools (1.4.1)
4
+ Icarus-Mod-Tools (1.5.0)
5
5
  google-cloud-firestore (~> 2.7)
6
6
  octokit (~> 6.0)
7
7
  thor (~> 1.2)
@@ -37,7 +37,7 @@ GEM
37
37
  google-cloud-env (1.6.0)
38
38
  faraday (>= 0.17.3, < 3.0)
39
39
  google-cloud-errors (1.3.0)
40
- google-cloud-firestore (2.7.2)
40
+ google-cloud-firestore (2.8.0)
41
41
  concurrent-ruby (~> 1.0)
42
42
  google-cloud-core (~> 1.5)
43
43
  google-cloud-firestore-v1 (~> 0.0)
@@ -54,7 +54,7 @@ GEM
54
54
  google-protobuf (~> 3.14)
55
55
  googleapis-common-protos-types (~> 1.2)
56
56
  grpc (~> 1.27)
57
- googleapis-common-protos-types (1.4.0)
57
+ googleapis-common-protos-types (1.5.0)
58
58
  google-protobuf (~> 3.14)
59
59
  googleauth (1.3.0)
60
60
  faraday (>= 0.17.3, < 3.a)
data/README.md CHANGED
@@ -105,4 +105,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
105
105
 
106
106
  ## Contributing
107
107
 
108
- Bug reports and pull requests are welcome on GitHub at https://github.com/donovan522/icarus-mod-tools.
108
+ Bug reports and pull requests are welcome on GitHub at https://github.com/DonovanMods/icarus-mod-tools.
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = "Various tools for Icarus Modding"
12
12
  spec.description = spec.summary
13
- spec.homepage = "https://github.com/Donovan522/icarus-mod-tools"
13
+ spec.homepage = "https://github.com/DonovanMods/icarus-mod-tools"
14
14
  spec.required_ruby_version = ">= 3.1"
15
15
 
16
16
  spec.metadata["homepage_uri"] = spec.homepage
@@ -7,7 +7,7 @@ module Icarus
7
7
  class Modinfo
8
8
  attr_reader :data, :id, :created_at, :updated_at
9
9
 
10
- HASHKEYS = %i[name author version compatibility description fileType fileURL].freeze
10
+ HASHKEYS = %i[name author version compatibility description long_description fileType fileURL imageURL].freeze
11
11
 
12
12
  def initialize(data, id: nil, created: nil, updated: nil)
13
13
  @id = id
@@ -31,15 +31,25 @@ module Icarus
31
31
  end
32
32
 
33
33
  def to_h
34
- @data || {}
34
+ {
35
+ name:,
36
+ author:,
37
+ version:,
38
+ compatibility:,
39
+ description:,
40
+ long_description:,
41
+ fileType:,
42
+ fileURL:,
43
+ imageURL:
44
+ }
35
45
  end
36
46
 
37
47
  def method_missing(method_name, *_args, &)
38
- to_h[method_name.to_sym]&.strip
48
+ @data[method_name.to_sym]&.strip
39
49
  end
40
50
 
41
51
  def respond_to_missing?(method_name, include_private = false)
42
- @data&.key?(method_name.to_sym) || super
52
+ HASHKEYS.include?(method_name.to_sym) || super
43
53
  end
44
54
  end
45
55
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Icarus
4
4
  module Mod
5
- VERSION = "1.4.1"
5
+ VERSION = "1.5.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Icarus-Mod-Tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Donovan Young
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-08 00:00:00.000000000 Z
11
+ date: 2023-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-firestore
@@ -88,12 +88,12 @@ files:
88
88
  - lib/icarus/mod/tools/sync_helpers.rb
89
89
  - lib/icarus/mod/version.rb
90
90
  - sig/database/sync/sync.rbs
91
- homepage: https://github.com/Donovan522/icarus-mod-tools
91
+ homepage: https://github.com/DonovanMods/icarus-mod-tools
92
92
  licenses: []
93
93
  metadata:
94
- homepage_uri: https://github.com/Donovan522/icarus-mod-tools
95
- source_code_uri: https://github.com/Donovan522/icarus-mod-tools
96
- changelog_uri: https://github.com/Donovan522/icarus-mod-tools/blob/main/CHANGES.md
94
+ homepage_uri: https://github.com/DonovanMods/icarus-mod-tools
95
+ source_code_uri: https://github.com/DonovanMods/icarus-mod-tools
96
+ changelog_uri: https://github.com/DonovanMods/icarus-mod-tools/blob/main/CHANGES.md
97
97
  rubygems_mfa_required: 'true'
98
98
  post_install_message:
99
99
  rdoc_options: []