geoserver-publish 0.7.0 → 1.0.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: f9db10b46d41ef044f7527b82aed3465f85382d743a04bc5fa1d6ada89cc848d
4
- data.tar.gz: 8143a50b59ab0e9fbfa3d77fa0332bafcda2db79b70121dd01ebd3d6e081ab67
3
+ metadata.gz: f3ad5cea5658a61dfea5760e6c877f6e21502e354c3e871d13fc17d50e51b02c
4
+ data.tar.gz: ed767aa60e5f578381f1d224b13b1518e910188b15734f545e8c4547d52881e2
5
5
  SHA512:
6
- metadata.gz: 5f2e5bc90e55b89bae11f1c577bbb0e95997425b7ab977035d0a1f9fd47f9bb64b944fb2c3c6be8559b2da9b222930839ed52dd45da0a5176fbef28029b4a800
7
- data.tar.gz: e59bc180f9764ef886f2f58bc4a440d617a4758ada9c518265c06d53196607ff58784b408944c75245772cea2a766fdf0ddc1cfd2c49cd04615df2058fba0dfb
6
+ metadata.gz: 0d2b681cfeaa1504af13969ce464e957eed4287dd0c57ab8ffeb7391bc03f48f905c86d79498c07e7dee1a58a115ca158ecc57a75fa0a18c98bb1d17d2d33dc4
7
+ data.tar.gz: 815c2c1c460981afd7f933e7fad6d80c3d4782106b8f953b4ebf80c5381a821e9d7cc3cf37229c101ab1329a446adf53d837082c9fefac3c588d1711e24f8175
@@ -10,7 +10,7 @@ jobs:
10
10
  - name: Set up Ruby
11
11
  uses: ruby/setup-ruby@v1
12
12
  with:
13
- ruby-version: 2.7
13
+ ruby-version: 3.3
14
14
  - name: Install dependencies
15
15
  run: bundle install
16
16
  - name: Run linter
@@ -24,16 +24,16 @@ jobs:
24
24
  - name: Set up Ruby
25
25
  uses: ruby/setup-ruby@v1
26
26
  with:
27
- ruby-version: 2.7
27
+ ruby-version: 3.3
28
28
 
29
29
  - name: Install bundler
30
- run: gem install bundler -v 2.1.1
30
+ run: gem install bundler
31
31
 
32
32
  - name: Install dependencies
33
- run: bundle _2.1.1_ install
33
+ run: bundle install
34
34
 
35
35
  - name: Run tests
36
- run: bundle exec rake spec
36
+ run: bundle exec rspec
37
37
 
38
38
  - name: Upload coverage artifacts
39
39
  uses: actions/upload-artifact@v2
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
  .rspec_status
11
11
  .tool-versions
12
12
  Gemfile.lock
13
+ *.gem
data/Gemfile CHANGED
@@ -7,7 +7,6 @@ gemspec
7
7
 
8
8
  group :development, :test do
9
9
  gem "bixby", require: false
10
- gem "coveralls", require: false
11
10
  gem "simplecov", require: false
12
11
  end
13
12
 
@@ -7,10 +7,17 @@ module Geoserver
7
7
 
8
8
  private
9
9
 
10
+ # :nocov:
10
11
  def config_yaml
11
12
  file_path = File.join(Geoserver::Publish.root, "config", "config.yml")
12
- YAML.safe_load(ERB.new(File.read(file_path)).result, [], [], true)
13
+ yaml_text = ERB.new(File.read(file_path)).result
14
+ if Gem::Version.new(Psych::VERSION) >= Gem::Version.new("3.1.0.pre1")
15
+ YAML.safe_load(yaml_text, aliases: true)
16
+ else
17
+ YAML.safe_load(yaml_text, [], [], true)
18
+ end
13
19
  end
20
+ # :nocov:
14
21
 
15
22
  module_function :config, :config_yaml
16
23
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Geoserver
3
3
  module Publish
4
- VERSION = "0.7.0"
4
+ VERSION = "1.0.0"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geoserver-publish
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eliot Jordan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-04 00:00:00.000000000 Z
11
+ date: 2024-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday