prius 3.0.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +8 -13
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +7 -0
- data/Gemfile +2 -0
- data/README.md +1 -1
- data/lib/prius/errors.rb +2 -0
- data/lib/prius/railtie.rb +2 -0
- data/lib/prius/registry.rb +2 -0
- data/lib/prius/version.rb +3 -1
- data/lib/prius.rb +2 -0
- data/prius.gemspec +5 -4
- data/spec/prius/registry_spec.rb +2 -0
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2e2b95c7456b01442cf90ba9ad16d4a4ca872bbcf765f15aefeb0b5ff132003
|
4
|
+
data.tar.gz: 1f3cf76e9746fc2433d297e0090a1f4ab166ceda25de176ccee0826e02b99c50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb70cd3bc19f29b24ed2a980d713a45476a8ff1006f853b6dbc8ab2091f743208d819eaffdf098234114c847420729bf7c7d119c8726f8ca8a02fabc0c95c68f
|
7
|
+
data.tar.gz: 53df6a3b348e74b69c193a36ad56b3d5e4c5dc0360347eadd7f570a06b820ebdef8344d921467d7cd6e5221f61499d8890fa7bea5264e1b563a6d760397210f4
|
data/.circleci/config.yml
CHANGED
@@ -33,14 +33,6 @@ references:
|
|
33
33
|
|
34
34
|
- run: bundle exec rubocop
|
35
35
|
jobs:
|
36
|
-
build-ruby24:
|
37
|
-
docker:
|
38
|
-
- image: ruby:2.4
|
39
|
-
steps: *steps
|
40
|
-
build-ruby25:
|
41
|
-
docker:
|
42
|
-
- image: ruby:2.5
|
43
|
-
steps: *steps
|
44
36
|
build-ruby26:
|
45
37
|
docker:
|
46
38
|
- image: ruby:2.6
|
@@ -49,17 +41,20 @@ jobs:
|
|
49
41
|
docker:
|
50
42
|
- image: ruby:2.7
|
51
43
|
steps: *steps
|
52
|
-
build-
|
44
|
+
build-ruby3:
|
45
|
+
docker:
|
46
|
+
- image: ruby:3
|
47
|
+
steps: *steps
|
48
|
+
build-jruby93:
|
53
49
|
docker:
|
54
|
-
- image: jruby:9.
|
50
|
+
- image: jruby:9.3
|
55
51
|
steps: *steps
|
56
52
|
|
57
53
|
workflows:
|
58
54
|
version: 2
|
59
55
|
tests:
|
60
56
|
jobs:
|
61
|
-
- build-ruby24
|
62
|
-
- build-ruby25
|
63
57
|
- build-ruby26
|
64
58
|
- build-ruby27
|
65
|
-
- build-
|
59
|
+
- build-ruby3
|
60
|
+
- build-jruby93
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# 4.0.0
|
2
|
+
|
3
|
+
* Add support for Ruby 3.0
|
4
|
+
* Enforce Ruby 2.6 as minimum required version
|
5
|
+
* Drop support for Ruby 2.2, 2.3, 2.4, 2.5
|
6
|
+
* Drop support for JRuby versions < 9.3.x (implicity enforced by C Ruby version 2.6 as minimum)
|
7
|
+
|
1
8
|
# 3.0.0
|
2
9
|
|
3
10
|
* Enforce Ruby 2.2 as minimum required version
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Environmentally-friendly application config for Ruby.
|
3
3
|
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/prius.svg)](http://badge.fury.io/rb/prius)
|
5
|
-
[![Build Status](https://
|
5
|
+
[![Build Status](https://circleci.com/gh/gocardless/prius.svg?style=svg)](https://app.circleci.com/pipelines/github/gocardless/prius)
|
6
6
|
|
7
7
|
Prius helps you guarantee that your environment variables are:
|
8
8
|
|
data/lib/prius/errors.rb
CHANGED
data/lib/prius/railtie.rb
CHANGED
data/lib/prius/registry.rb
CHANGED
data/lib/prius/version.rb
CHANGED
data/lib/prius.rb
CHANGED
data/prius.gemspec
CHANGED
@@ -6,7 +6,7 @@ require 'prius/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "prius"
|
8
8
|
spec.version = Prius::VERSION
|
9
|
-
spec.authors = ["
|
9
|
+
spec.authors = ["GoCardless Engineering"]
|
10
10
|
spec.email = ["engineering@gocardless.com"]
|
11
11
|
spec.description = %q{Environmentally-friendly config}
|
12
12
|
spec.summary = spec.description
|
@@ -18,9 +18,10 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.required_ruby_version = ">= 2.
|
21
|
+
spec.required_ruby_version = ">= 2.6"
|
22
22
|
|
23
23
|
spec.add_development_dependency "rspec", "~> 3.1"
|
24
|
-
spec.add_development_dependency "rubocop", "~>
|
25
|
-
spec.add_development_dependency "rspec_junit_formatter", "~> 0.
|
24
|
+
spec.add_development_dependency "rubocop", "~> 1.24"
|
25
|
+
spec.add_development_dependency "rspec_junit_formatter", "~> 0.5.1"
|
26
|
+
spec.add_development_dependency "rubocop-performance", "~> 1.13"
|
26
27
|
end
|
data/spec/prius/registry_spec.rb
CHANGED
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prius
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- GoCardless Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
@@ -30,28 +30,42 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '1.24'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '1.24'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec_junit_formatter
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.5.1
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.5.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rubocop-performance
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.13'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.13'
|
55
69
|
description: Environmentally-friendly config
|
56
70
|
email:
|
57
71
|
- engineering@gocardless.com
|
@@ -86,7 +100,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
86
100
|
requirements:
|
87
101
|
- - ">="
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: '2.
|
103
|
+
version: '2.6'
|
90
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
105
|
requirements:
|
92
106
|
- - ">="
|