confset 1.0.1 → 1.0.3

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: 9b6d8777cb97c4f2de9b0586089b47f4a2aa27318179f920695a27bc06827af2
4
- data.tar.gz: 3ad5dd305f8ab4f75eda0ad714850e0f1ef99c14c14ca891204e7a517563557d
3
+ metadata.gz: ee921fe4009d09cc7bc14c73f8b8b92c34362519dc1f7c45d22ebfbdbbd672fc
4
+ data.tar.gz: 075edbaa190b9a44f9b0d772c73430bc19bf3cf6223d7849571d37d073fb19c6
5
5
  SHA512:
6
- metadata.gz: f41892256c646110e5c53d4de461dd22770abb9ef2c13e613df1eeff1ae2fc9f68b7155f8cafd7abdb751052b5c752b8e918c8f2858a847d4f8758d0742fa36a
7
- data.tar.gz: 24a5afc264bcaa53377a0a67deb12d74b9fb83c015ed6fafb7373534500937fce2c3d657df2f77ab388e549bc46c0ef1f260a3385cf47758ea77aa3e9c36caa0
6
+ metadata.gz: 907c3c7a16e7c4b6c78295b7ecb61c01680a8b21978bbf5c20895b87628fbf3c5892884fccf29b2342851e4c6e758dcbaa1f6f99667442eacf949e4e0418c148
7
+ data.tar.gz: 1f048671f6c483c98f84ca081c699a019414110fa062f2d9a9ccf839585b824c84e6f41a3434d4e05e3a61c57641db49dd5056c17a45938b84de00ee78dd4085
data/CHANGELOG.md CHANGED
@@ -1,20 +1,49 @@
1
1
  # Changelog
2
2
 
3
- ## v1.0.1-20220530 - [Danilo Carolino](@danilogco)
3
+ All notable changes to this project will be documented in this file.
4
4
 
5
- Fixes
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7
 
7
- * Avoid to crash the Rails application when there is an error
8
- parsing a variable <https://github.com/dcotecnologia/confset/pull/5>
8
+ ## [Unreleased]
9
+
10
+ ## [1.0.3] - 2023-02-17
11
+
12
+ ### Changed
13
+
14
+ - Update project dependencies by @danilogco
15
+ - Add `ruby v3.2.x` to the test matrix by @danilogco
16
+
17
+ ### Fixed
18
+
19
+ - Fix indentation warning (rubyconfig#322) by @lygaret
20
+ - Fix typo Padrino (rubyconfig#325) by @ytkg
21
+ - Fix CI setting for Ruby 3.0 (rubyconfig#326) by @ytkg
22
+ - Remove `Gemfile.lock` from the package by @danilogco
9
23
 
10
- ## v1.0.0-20220527 - [Danilo Carolino](@danilogco)
24
+ ## [1.0.2] - 2022-06-06
25
+
26
+ ### Changed
27
+
28
+ - Only load Railtie integration if Rails::Railtie is defined
29
+ [rubyconfig#31](https://github.com/rubyconfig/config/pull/319) - Thanks to Ufuk
30
+ Kayserilioglu <ufuk.kayserilioglu@shopify.com>
31
+ - CHANGELOG.md pattern changed to the [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
32
+
33
+ ## [1.0.1] - 2022-05-30
34
+
35
+ ### Fixed
36
+
37
+ - Avoid to crash the Rails application when there is an error
38
+ parsing a variable <https://github.com/dcotecnologia/confset/pull/5>
11
39
 
12
- Initial release
40
+ ## [1.0.0] - 2022-05-27
13
41
 
14
- Build
42
+ ### Added
15
43
 
16
- Refac the project focusing on the newer versions of the Ruby
17
- language and Ruby on Rails.
44
+ - Initial release
45
+ - Refac the project focusing on the newer versions of the
46
+ Ruby language and Ruby on Rails.
18
47
 
19
48
  ---------------------
20
49
 
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Downloads Total](https://img.shields.io/gem/dt/confset)](https://rubygems.org/gems/confset)
5
5
  [![Build](https://github.com/dcotecnologia/confset/actions/workflows/tests.yml/badge.svg)](https://github.com/dcotecnologia/confset/actions/workflows/tests.yml)
6
6
  [![CodeQL](https://github.com/dcotecnologia/confset/actions/workflows/codeql.yml/badge.svg)](https://github.com/dcotecnologia/confset/actions/workflows/codeql.yml)
7
- [![Release](https://github.com/dcotecnologia/confset/actions/workflows/release.yml/badge.svg)](https://github.com/dcotecnologia/confset/actions/workflows/release.yml)
7
+ [![Release](https://github.com/dcotecnologia/confset/actions/workflows/release.yml/badge.svg?branch=master)](https://github.com/dcotecnologia/confset/actions/workflows/release.yml)
8
8
 
9
9
  ## Summary
10
10
 
@@ -29,6 +29,7 @@ for the following interpreters and frameworks:
29
29
 
30
30
  * Interpreters
31
31
  * [Ruby](https://www.ruby-lang.org) `>= 2.7`
32
+ * Tested versions: 2.7.x, 3.0.x, 3.1.x and 3.2.x
32
33
  * Application frameworks
33
34
  * Rails `>= 6.0`
34
35
  * Padrino
@@ -39,14 +40,14 @@ for the following interpreters and frameworks:
39
40
  Add the gem to your `Gemfile` and run `bundle install` to install it:
40
41
 
41
42
  ```ruby
42
- gem "confset", "~> 1.0.0"
43
+ gem "confset", "~> 1.0.3"
43
44
  ```
44
45
 
45
46
  You can also install by the GitHub packages server:
46
47
 
47
48
  ```ruby
48
49
  source "https://rubygems.pkg.github.com/dcotecnologia" do
49
- gem "confset", "1.0.0"
50
+ gem "confset", "1.0.3"
50
51
  end
51
52
  ```
52
53
 
@@ -24,10 +24,10 @@ module Confset
24
24
 
25
25
  result || {}
26
26
 
27
- rescue Psych::SyntaxError => e
28
- raise "YAML syntax error occurred while parsing #{@path}. " \
29
- "Please note that YAML must be consistently indented using spaces. Tabs are not allowed. " \
30
- "Error: #{e.message}"
27
+ rescue Psych::SyntaxError => e
28
+ raise "YAML syntax error occurred while parsing #{@path}. " \
29
+ "Please note that YAML must be consistently indented using spaces. Tabs are not allowed. " \
30
+ "Error: #{e.message}"
31
31
  end
32
32
  end
33
33
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Confset
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.3"
5
5
  end
data/lib/confset.rb CHANGED
@@ -97,7 +97,7 @@ module Confset
97
97
  end
98
98
 
99
99
  # Rails integration
100
- require("confset/integrations/rails/railtie") if defined?(::Rails)
100
+ require("confset/integrations/rails/railtie") if defined?(::Rails::Railtie)
101
101
 
102
102
  # Sinatra integration
103
103
  require("confset/integrations/sinatra") if defined?(::Sinatra)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: confset
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Carolino
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2022-05-30 00:00:00.000000000 Z
14
+ date: 2023-02-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: deep_merge
@@ -59,118 +59,112 @@ dependencies:
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '3.9'
63
- - - ">="
64
- - !ruby/object:Gem::Version
65
- version: 3.9.0
62
+ version: 3.12.0
66
63
  type: :development
67
64
  prerelease: false
68
65
  version_requirements: !ruby/object:Gem::Requirement
69
66
  requirements:
70
67
  - - "~>"
71
68
  - !ruby/object:Gem::Version
72
- version: '3.9'
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: 3.9.0
69
+ version: 3.12.0
76
70
  - !ruby/object:Gem::Dependency
77
71
  name: rake
78
72
  requirement: !ruby/object:Gem::Requirement
79
73
  requirements:
80
74
  - - "~>"
81
75
  - !ruby/object:Gem::Version
82
- version: '13.0'
76
+ version: 13.0.6
83
77
  type: :development
84
78
  prerelease: false
85
79
  version_requirements: !ruby/object:Gem::Requirement
86
80
  requirements:
87
81
  - - "~>"
88
82
  - !ruby/object:Gem::Version
89
- version: '13.0'
83
+ version: 13.0.6
90
84
  - !ruby/object:Gem::Dependency
91
85
  name: simplecov
92
86
  requirement: !ruby/object:Gem::Requirement
93
87
  requirements:
94
88
  - - "~>"
95
89
  - !ruby/object:Gem::Version
96
- version: '0.21'
90
+ version: 0.22.0
97
91
  type: :development
98
92
  prerelease: false
99
93
  version_requirements: !ruby/object:Gem::Requirement
100
94
  requirements:
101
95
  - - "~>"
102
96
  - !ruby/object:Gem::Version
103
- version: '0.21'
97
+ version: 0.22.0
104
98
  - !ruby/object:Gem::Dependency
105
99
  name: mdl
106
100
  requirement: !ruby/object:Gem::Requirement
107
101
  requirements:
108
102
  - - "~>"
109
103
  - !ruby/object:Gem::Version
110
- version: '0.11'
104
+ version: 0.12.0
111
105
  type: :development
112
106
  prerelease: false
113
107
  version_requirements: !ruby/object:Gem::Requirement
114
108
  requirements:
115
109
  - - "~>"
116
110
  - !ruby/object:Gem::Version
117
- version: '0.11'
111
+ version: 0.12.0
118
112
  - !ruby/object:Gem::Dependency
119
113
  name: pry
120
114
  requirement: !ruby/object:Gem::Requirement
121
115
  requirements:
122
116
  - - "~>"
123
117
  - !ruby/object:Gem::Version
124
- version: '0.14'
118
+ version: 0.14.2
125
119
  type: :development
126
120
  prerelease: false
127
121
  version_requirements: !ruby/object:Gem::Requirement
128
122
  requirements:
129
123
  - - "~>"
130
124
  - !ruby/object:Gem::Version
131
- version: '0.14'
125
+ version: 0.14.2
132
126
  - !ruby/object:Gem::Dependency
133
127
  name: rubocop
134
128
  requirement: !ruby/object:Gem::Requirement
135
129
  requirements:
136
130
  - - "~>"
137
131
  - !ruby/object:Gem::Version
138
- version: '1.29'
132
+ version: 1.45.1
139
133
  type: :development
140
134
  prerelease: false
141
135
  version_requirements: !ruby/object:Gem::Requirement
142
136
  requirements:
143
137
  - - "~>"
144
138
  - !ruby/object:Gem::Version
145
- version: '1.29'
139
+ version: 1.45.1
146
140
  - !ruby/object:Gem::Dependency
147
141
  name: rubocop-packaging
148
142
  requirement: !ruby/object:Gem::Requirement
149
143
  requirements:
150
- - - "~>"
144
+ - - ">="
151
145
  - !ruby/object:Gem::Version
152
- version: '0.5'
146
+ version: '0'
153
147
  type: :development
154
148
  prerelease: false
155
149
  version_requirements: !ruby/object:Gem::Requirement
156
150
  requirements:
157
- - - "~>"
151
+ - - ">="
158
152
  - !ruby/object:Gem::Version
159
- version: '0.5'
153
+ version: '0'
160
154
  - !ruby/object:Gem::Dependency
161
155
  name: rubocop-performance
162
156
  requirement: !ruby/object:Gem::Requirement
163
157
  requirements:
164
- - - "~>"
158
+ - - ">="
165
159
  - !ruby/object:Gem::Version
166
- version: '1.14'
160
+ version: '0'
167
161
  type: :development
168
162
  prerelease: false
169
163
  version_requirements: !ruby/object:Gem::Requirement
170
164
  requirements:
171
- - - "~>"
165
+ - - ">="
172
166
  - !ruby/object:Gem::Version
173
- version: '1.14'
167
+ version: '0'
174
168
  description: 'Easiest way to manage multi-environment settings in any ruby project
175
169
  or framework: '
176
170
  email:
@@ -267,7 +261,7 @@ requirements: []
267
261
  rubygems_version: 3.3.7
268
262
  signing_key:
269
263
  specification_version: 4
270
- summary: Effortless multi-environment settings in Rails, Sinatra, Pandrino and others
264
+ summary: Effortless multi-environment settings in Rails, Sinatra, Padrino and others
271
265
  test_files:
272
266
  - spec/config_env_spec.rb
273
267
  - spec/config_spec.rb