Icarus-Mod-Tools 1.5.1 → 1.6.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: 8f68f524c29cc673a82735bffc97c0fb93fc4170466e774879f39935aa08729f
4
- data.tar.gz: d4e336be0968b54baade6752f66b5e56ad0139fe371eec58dc72d74decd4e2ab
3
+ metadata.gz: c0a960947869f1869c8fd0cfb500817169d4bdff4a725898d3d97459220e0843
4
+ data.tar.gz: 9bfa76062cdb5441198a176b273f49a915fa3c960f723268dc9395532b780ab5
5
5
  SHA512:
6
- metadata.gz: 3cd31a2d76b7ab415242cf8755c59139c50bcd8e07d6ab011efb21a2f146147583c461ae19b7fa3378f919c7405bb55248be8c38c89a66708fd25614a8d1167a
7
- data.tar.gz: 2121ab82950054dd62990c4d41f2d5c7c13bb62ea909d8e9959b2c44040de1dafa2d6878e38e28644caf390a8a6ec4b51b83a68dd4c420235a6606a5360115c1
6
+ metadata.gz: 2266c6ffd007d98c9cd0269889634204f10e1a04bf217b68c915c194aec584851e84e11b0b2c8c55204420e302d92a6df638e24e9dc15aa64b3db3ebb1b21597
7
+ data.tar.gz: db7ee61fafa8279e1604de8fea770936548c6abeb4ade7d36a2b187c7514f2f1ef093238c8409aa3af1df477136bb2339c647982b1db64350a934cca19030a2d
data/.rspec CHANGED
File without changes
data/.rubocop.yml CHANGED
File without changes
data/CHANGES.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## History (reverse chronological order)
6
6
 
7
+ ### v1.6 - 2023-15
8
+
9
+ - Added `--check` to `sync mods` to check for updates without downloading
10
+ - Added support for `readmeURL` in `modinfo.json`
11
+
7
12
  ### v1.5 - 2023-08
8
13
 
9
14
  - Moved source into the DonovanMods Github organization
data/Gemfile CHANGED
File without changes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- Icarus-Mod-Tools (1.5.1)
4
+ Icarus-Mod-Tools (1.6.0)
5
5
  google-cloud-firestore (~> 2.7)
6
6
  octokit (~> 6.0)
7
7
  thor (~> 1.2)
@@ -49,7 +49,7 @@ GEM
49
49
  google-cloud-location (0.2.0)
50
50
  gapic-common (>= 0.10, < 2.a)
51
51
  google-cloud-errors (~> 1.0)
52
- google-protobuf (3.21.12-x86_64-linux)
52
+ google-protobuf (3.21.12-x86_64-darwin)
53
53
  googleapis-common-protos (1.4.0)
54
54
  google-protobuf (~> 3.14)
55
55
  googleapis-common-protos-types (~> 1.2)
@@ -63,7 +63,7 @@ GEM
63
63
  multi_json (~> 1.11)
64
64
  os (>= 0.9, < 2.0)
65
65
  signet (>= 0.16, < 2.a)
66
- grpc (1.50.0-x86_64-linux)
66
+ grpc (1.50.0-x86_64-darwin)
67
67
  google-protobuf (~> 3.21)
68
68
  googleapis-common-protos-types (~> 1.0)
69
69
  guard (2.18.0)
@@ -137,7 +137,7 @@ GEM
137
137
  unicode-display_width (>= 2.4.0, < 3.0)
138
138
  rubocop-ast (1.24.1)
139
139
  parser (>= 3.1.1.0)
140
- rubocop-rspec (2.16.0)
140
+ rubocop-rspec (2.17.0)
141
141
  rubocop (~> 1.33)
142
142
  ruby-progressbar (1.11.0)
143
143
  ruby2_keywords (0.0.5)
@@ -154,6 +154,7 @@ GEM
154
154
  unicode-display_width (2.4.2)
155
155
 
156
156
  PLATFORMS
157
+ x86_64-darwin-22
157
158
  x86_64-linux
158
159
 
159
160
  DEPENDENCIES
data/Guardfile CHANGED
File without changes
data/LICENSE.md CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -28,6 +28,7 @@ module Icarus
28
28
  end
29
29
 
30
30
  desc "mods", "Reads from 'meta/modinfo/list' and updates the 'mods' database accordingly"
31
+ method_option :check, type: :boolean, default: false, desc: "Validate modinfo without applying changes"
31
32
  def mods
32
33
  modsync = Icarus::Mod::Tools::ModSync.new
33
34
 
@@ -37,6 +38,8 @@ module Icarus
37
38
  puts "Retrieving mod Data..." if verbose?
38
39
  mod_array = modsync.mods
39
40
 
41
+ return if options[:check]
42
+
40
43
  puts "Updating mod Data..." if verbose?
41
44
  modinfo_array.each do |mod|
42
45
  verb = "Creating"
File without changes
File without changes
File without changes
File without changes
@@ -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 long_description fileType fileURL imageURL].freeze
10
+ HASHKEYS = %i[name author version compatibility description long_description fileType fileURL imageURL readmeURL].freeze
11
11
 
12
12
  def initialize(data, id: nil, created: nil, updated: nil)
13
13
  @id = id
@@ -40,7 +40,8 @@ module Icarus
40
40
  long_description:,
41
41
  fileType:,
42
42
  fileURL:,
43
- imageURL:
43
+ imageURL:,
44
+ readmeURL:
44
45
  }
45
46
  end
46
47
 
File without changes
File without changes
File without changes
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Icarus
4
4
  module Mod
5
- VERSION = "1.5.1"
5
+ VERSION = "1.6.0"
6
6
  end
7
7
  end
File without changes
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.5.1
4
+ version: 1.6.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-14 00:00:00.000000000 Z
11
+ date: 2023-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-firestore