sugarjar 1.0.1 → 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/Gemfile +0 -1
- data/README.md +11 -15
- data/lib/sugarjar/config.rb +2 -2
- data/lib/sugarjar/repoconfig.rb +1 -1
- data/lib/sugarjar/version.rb +1 -1
- data/sugarjar.gemspec +6 -1
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 017705b23c86a5a5c6f1695c5e7dabca591409d2f99039c592d9db14822d7cd2
|
4
|
+
data.tar.gz: e41d40f68013573e5074772d061aa8c55fc69f860d6f63688219a995ab409abc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54d411046b2f5cab10e97d740e0c4c335a17ec9c4cefcd363720f06660ba4a3310d8ab2a48e057f9047b16d116e30e0e1b082d78953fe9570cee3bee2d14f6f0
|
7
|
+
data.tar.gz: fefe49ca8cd8a8b8c80139a10cc874d24a08808349cae3a71237f47b263502c2fafc92a12d947bcf9b1c17a977bd4ffff8c3956f17bd0f1a18f68dfb566d8b2f
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -35,19 +35,16 @@ list here, and if so, use your package manager (or `gem`) to install it:
|
|
35
35
|
|
36
36
|
[](https://repology.org/project/sugarjar/versions)
|
37
37
|
|
38
|
-
For
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
(including Ruby), and install in `/opt/sugarjar` allowing you to manage the
|
49
|
-
installation with your package manager, but with as a hermetically sealed app
|
50
|
-
that doesn't depend on the rest of your distro.
|
38
|
+
For MacOS users, you can use our Homebrew Tap:
|
39
|
+
|
40
|
+
```shell
|
41
|
+
homebrew tap jaymzh/sugarjar
|
42
|
+
homebrew install sugarjar
|
43
|
+
```
|
44
|
+
|
45
|
+
You can also weigh in on [this
|
46
|
+
PR](https://github.com/Homebrew/homebrew-core/pull/157910) and tell the
|
47
|
+
Homebrew folks you'd like to see it in core.
|
51
48
|
|
52
49
|
Finally, if none of those work for you, you can clone this repo and run it
|
53
50
|
directly from there.
|
@@ -406,8 +403,7 @@ default to prefer `gh` in 1.0.0.
|
|
406
403
|
**I'd like to package SugarJar for my favorite distro/OS, is that OK?**
|
407
404
|
|
408
405
|
Of course! But I'd appreciate you emailing me to give me a heads up. Doing so
|
409
|
-
will allow me to make sure it shows up in the Repology badge above
|
410
|
-
stop building Omnibus packages for whatever distro.
|
406
|
+
will allow me to make sure it shows up in the Repology badge above.
|
411
407
|
|
412
408
|
**What platforms does it work on?**
|
413
409
|
|
data/lib/sugarjar/config.rb
CHANGED
@@ -23,9 +23,9 @@ class SugarJar
|
|
23
23
|
c = DEFAULTS.dup
|
24
24
|
_find_ordered_files.each do |f|
|
25
25
|
SugarJar::Log.debug("Loading config #{f}")
|
26
|
-
data = YAML.
|
26
|
+
data = YAML.safe_load_file(f)
|
27
27
|
# an empty file is a `nil` which you can't merge
|
28
|
-
c.merge!(YAML.
|
28
|
+
c.merge!(YAML.safe_load_file(f)) if data
|
29
29
|
SugarJar::Log.debug("Modified config: #{c}")
|
30
30
|
end
|
31
31
|
c
|
data/lib/sugarjar/repoconfig.rb
CHANGED
@@ -17,7 +17,7 @@ class SugarJar
|
|
17
17
|
|
18
18
|
def self.hash_from_file(config_file)
|
19
19
|
SugarJar::Log.debug("Loading repo config: #{config_file}")
|
20
|
-
YAML.
|
20
|
+
YAML.safe_load_file(config_file)
|
21
21
|
end
|
22
22
|
|
23
23
|
# wrapper for File.exist to make unittests easier
|
data/lib/sugarjar/version.rb
CHANGED
data/sugarjar.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.email = ['phil@ipom.com']
|
9
9
|
spec.license = 'Apache-2.0'
|
10
10
|
spec.homepage = 'https://github.com/jaymzh/sugarjar'
|
11
|
-
spec.required_ruby_version = '>=
|
11
|
+
spec.required_ruby_version = '>= 3.1'
|
12
12
|
docs = %w{README.md LICENSE Gemfile sugarjar.gemspec}
|
13
13
|
spec.extra_rdoc_files = docs
|
14
14
|
spec.executables << 'sj'
|
@@ -23,5 +23,10 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_dependency 'pastel'
|
24
24
|
spec.metadata = {
|
25
25
|
'rubygems_mfa_required' => 'true',
|
26
|
+
'bug_tracker_uri' => 'https://github.com/jaymzh/sugarjar/issues',
|
27
|
+
'changelog_uri' =>
|
28
|
+
'https://github.com/jaymzh/sugarjar/blob/main/CHANGELOG.md',
|
29
|
+
'homepage_uri' => 'https://github.com/jaymzh/sugajar',
|
30
|
+
'source_code_uri' => 'https://github.com/jaymzh/sugarjar',
|
26
31
|
}
|
27
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sugarjar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phil Dibowitz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deep_merge
|
@@ -94,6 +94,10 @@ licenses:
|
|
94
94
|
- Apache-2.0
|
95
95
|
metadata:
|
96
96
|
rubygems_mfa_required: 'true'
|
97
|
+
bug_tracker_uri: https://github.com/jaymzh/sugarjar/issues
|
98
|
+
changelog_uri: https://github.com/jaymzh/sugarjar/blob/main/CHANGELOG.md
|
99
|
+
homepage_uri: https://github.com/jaymzh/sugajar
|
100
|
+
source_code_uri: https://github.com/jaymzh/sugarjar
|
97
101
|
post_install_message:
|
98
102
|
rdoc_options: []
|
99
103
|
require_paths:
|
@@ -102,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
102
106
|
requirements:
|
103
107
|
- - ">="
|
104
108
|
- !ruby/object:Gem::Version
|
105
|
-
version:
|
109
|
+
version: '3.1'
|
106
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
111
|
requirements:
|
108
112
|
- - ">="
|