sugarjar 1.0.1 → 1.1.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: d4282936baebdd165acf740d342b5f2e75a74dcaac6b77049842e903fe675957
4
- data.tar.gz: f200b2404a6b61444b8846f0b67af1c43585daaab22b89d6e916f3a5fe9b3b3e
3
+ metadata.gz: 017705b23c86a5a5c6f1695c5e7dabca591409d2f99039c592d9db14822d7cd2
4
+ data.tar.gz: e41d40f68013573e5074772d061aa8c55fc69f860d6f63688219a995ab409abc
5
5
  SHA512:
6
- metadata.gz: aa37f43fbbfbd68bf3a43f58706add2a3ea981a257e41cea1b894077cad51f2f10a1d3e95d9968ea59518bbd5b6a739678bd123cd279ec67016856666521452b
7
- data.tar.gz: 44a62d13863c21952264b4722a8fb6dd26fa3d1f548d7ab41f65d7dd0600c95f38fd333f49dfb0840734f9472ffa54050b6216a1140dc7edae2306d3b46b24b8
6
+ metadata.gz: 54d411046b2f5cab10e97d740e0c4c335a17ec9c4cefcd363720f06660ba4a3310d8ab2a48e057f9047b16d116e30e0e1b082d78953fe9570cee3bee2d14f6f0
7
+ data.tar.gz: fefe49ca8cd8a8b8c80139a10cc874d24a08808349cae3a71237f47b263502c2fafc92a12d947bcf9b1c17a977bd4ffff8c3956f17bd0f1a18f68dfb566d8b2f
data/Gemfile CHANGED
@@ -1,6 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'appbundler'
4
3
  gem 'sugarjar', :path => '.'
5
4
 
6
5
  group :test do
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
  [![Packaging status](https://repology.org/badge/vertical-allrepos/sugarjar.svg)](https://repology.org/project/sugarjar/versions)
37
37
 
38
- For Ubuntu users, Sugarjar will likely be available starting in the upcoming
39
- 23.04 release. Until then, for supported LTS releases starting 20.04 (focal)
40
- and the latest non-LTS release, you can use [this PPA](
41
- https://launchpad.net/~michel-slm/+archive/ubuntu/sugarjar) maintained by the
42
- Debian package maintainer.
43
-
44
- Another option is to use our [omnibus
45
- packages](https://github.com/jaymzh/sugarjar/releases). We keep Omnibus
46
- packages for most distros that do not package Sugarjar. Omnibus packages are
47
- distro packages (deb, rpm, etc.) that have all dependencies bundled up together
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 as well as
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
 
@@ -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.safe_load(File.read(f))
26
+ data = YAML.safe_load_file(f)
27
27
  # an empty file is a `nil` which you can't merge
28
- c.merge!(YAML.safe_load(File.read(f))) if data
28
+ c.merge!(YAML.safe_load_file(f)) if data
29
29
  SugarJar::Log.debug("Modified config: #{c}")
30
30
  end
31
31
  c
@@ -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.safe_load(File.read(config_file))
20
+ YAML.safe_load_file(config_file)
21
21
  end
22
22
 
23
23
  # wrapper for File.exist to make unittests easier
@@ -1,3 +1,3 @@
1
1
  class SugarJar
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.1.0'.freeze
3
3
  end
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 = '>= 2.6.0'
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.1
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-20 00:00:00.000000000 Z
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: 2.6.0
109
+ version: '3.1'
106
110
  required_rubygems_version: !ruby/object:Gem::Requirement
107
111
  requirements:
108
112
  - - ">="