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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82b6cf00671c57a486e613e87ccdbe34978560a9bb19fd0e285f534eb8ee0005
4
- data.tar.gz: 77a611c64210e71ccc9b8ec60bd0d71ce74e14bf7b53ec3bb76f2977422476b0
3
+ metadata.gz: a2e2b95c7456b01442cf90ba9ad16d4a4ca872bbcf765f15aefeb0b5ff132003
4
+ data.tar.gz: 1f3cf76e9746fc2433d297e0090a1f4ab166ceda25de176ccee0826e02b99c50
5
5
  SHA512:
6
- metadata.gz: 45db2c76a6298dca7c750dfb4773f56400ccd119e4bdb1548da6f115d2c74cc13c309121e056a221b09e302fa575a0351144df0c85b7b0f2f1d345472f91d316
7
- data.tar.gz: 86d7ec82467bdda55ad580e966ca814ff77c33481d43180fcfce229a45abf08bd5a775b6f4d88ae3cd43b635a3420273e3467b584468725ce563510823a9e3db
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-jruby91:
44
+ build-ruby3:
45
+ docker:
46
+ - image: ruby:3
47
+ steps: *steps
48
+ build-jruby93:
53
49
  docker:
54
- - image: jruby:9.1
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-jruby91
59
+ - build-ruby3
60
+ - build-jruby93
data/.rubocop.yml CHANGED
@@ -2,7 +2,7 @@ AllCops:
2
2
  Exclude:
3
3
  - prius.gemspec
4
4
  - vendor/**/*
5
- TargetRubyVersion: 2.2
5
+ TargetRubyVersion: 2.6
6
6
 
7
7
  # Limit lines to 80 characters.
8
8
  LineLength:
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
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source "https://rubygems.org"
2
4
 
3
5
  gemspec
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://travis-ci.org/gocardless/prius.svg?branch=master)](https://travis-ci.org/gocardless/prius)
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
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Prius
2
4
  class MissingValueError < StandardError; end
3
5
  class TypeMismatchError < StandardError; end
data/lib/prius/railtie.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Prius
2
4
  class Railtie < Rails::Railtie
3
5
  config.before_configuration do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "prius/errors"
2
4
 
3
5
  module Prius
data/lib/prius/version.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Prius
2
- VERSION = "3.0.0".freeze
4
+ VERSION = "4.0.0"
3
5
  end
data/lib/prius.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "prius/registry"
2
4
  require "prius/railtie" if defined?(Rails)
3
5
 
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 = ["Harry Marr"]
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.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", "~> 0.68.1"
25
- spec.add_development_dependency "rspec_junit_formatter", "~> 0.4.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
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "prius/registry"
2
4
 
3
5
  describe Prius::Registry do
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: 3.0.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - Harry Marr
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: 0.68.1
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: 0.68.1
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.4.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.4.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.2'
103
+ version: '2.6'
90
104
  required_rubygems_version: !ruby/object:Gem::Requirement
91
105
  requirements:
92
106
  - - ">="