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 +4 -4
- data/.rspec +0 -0
- data/.rubocop.yml +0 -0
- data/CHANGES.md +5 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +5 -4
- data/Guardfile +0 -0
- data/LICENSE.md +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/icarus-mod-tools.gemspec +0 -0
- data/imtconfig.sample.json +0 -0
- data/lib/icarus/mod/cli/add.rb +0 -0
- data/lib/icarus/mod/cli/base.rb +0 -0
- data/lib/icarus/mod/cli/command.rb +0 -0
- data/lib/icarus/mod/cli/list.rb +0 -0
- data/lib/icarus/mod/cli/subcommand_base.rb +0 -0
- data/lib/icarus/mod/cli/sync.rb +3 -0
- data/lib/icarus/mod/config.rb +0 -0
- data/lib/icarus/mod/firestore.rb +0 -0
- data/lib/icarus/mod/github.rb +0 -0
- data/lib/icarus/mod/tools/mod_sync.rb +0 -0
- data/lib/icarus/mod/tools/modinfo.rb +3 -2
- data/lib/icarus/mod/tools/modinfo_sync.rb +0 -0
- data/lib/icarus/mod/tools/sync_helpers.rb +0 -0
- data/lib/icarus/mod/tools.rb +0 -0
- data/lib/icarus/mod/version.rb +1 -1
- data/sig/database/sync/sync.rbs +0 -0
- 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: c0a960947869f1869c8fd0cfb500817169d4bdff4a725898d3d97459220e0843
|
4
|
+
data.tar.gz: 9bfa76062cdb5441198a176b273f49a915fa3c960f723268dc9395532b780ab5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
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-
|
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.
|
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
|
data/icarus-mod-tools.gemspec
CHANGED
File without changes
|
data/imtconfig.sample.json
CHANGED
File without changes
|
data/lib/icarus/mod/cli/add.rb
CHANGED
File without changes
|
data/lib/icarus/mod/cli/base.rb
CHANGED
File without changes
|
File without changes
|
data/lib/icarus/mod/cli/list.rb
CHANGED
File without changes
|
File without changes
|
data/lib/icarus/mod/cli/sync.rb
CHANGED
@@ -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"
|
data/lib/icarus/mod/config.rb
CHANGED
File without changes
|
data/lib/icarus/mod/firestore.rb
CHANGED
File without changes
|
data/lib/icarus/mod/github.rb
CHANGED
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
|
data/lib/icarus/mod/tools.rb
CHANGED
File without changes
|
data/lib/icarus/mod/version.rb
CHANGED
data/sig/database/sync/sync.rbs
CHANGED
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.
|
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-
|
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
|