unifig-rails 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +4 -4
- data/lib/generators/unifig/config_generator.rb +1 -1
- data/lib/unifig/rails/version.rb +1 -1
- data/spec/generators/unifig/config_generator_spec.rb +2 -2
- data/spec/unifig/railtie_spec.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 74badf63e9b7f40a6ba17060cfc2efb6b492c8ce15e2989059347172ca18c446
|
|
4
|
+
data.tar.gz: ed267db6b594db09e440a5276dd8c1866e808c48af542c6d45240ab9a2105219
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cae2a7852b30e96d5baf803a981495a0c6fd2da60cd42778d28cbf6bea45324447c8f5b7f42d4459961bc150df749aa1b8517e0db6025fc72fc72698c50e99c2
|
|
7
|
+
data.tar.gz: 44bd69f3834e4f7d1d9323cccc7f829016a1c9609e0bda5e5d8a2cf74a57324ef9c662ee4c5de7f4d23d1263b7cba51e5105af3ae8b58713c118c612464c1213
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# [0.4.0][] (2022-09-01)
|
|
2
|
+
|
|
3
|
+
## Changed
|
|
4
|
+
|
|
5
|
+
- Support for Unifig increased to 0.4.0.
|
|
6
|
+
|
|
1
7
|
# [0.3.0][] (2022-08-03)
|
|
2
8
|
|
|
3
9
|
## Changed
|
|
@@ -18,6 +24,7 @@
|
|
|
18
24
|
|
|
19
25
|
Initial release.
|
|
20
26
|
|
|
27
|
+
[0.4.0]: https://github.com/AaronLasseigne/unifig-rails/compare/v0.3.0...v0.4.0
|
|
21
28
|
[0.3.0]: https://github.com/AaronLasseigne/unifig-rails/compare/v0.2.0...v0.3.0
|
|
22
29
|
[0.2.0]: https://github.com/AaronLasseigne/unifig-rails/compare/v0.1.0...v0.2.0
|
|
23
30
|
[0.1.0]: https://github.com/AaronLasseigne/unifig-rails/compare/v0.0.0...v0.1.0
|
data/README.md
CHANGED
|
@@ -10,13 +10,13 @@ Adds [Rails][] support to [Unifig][].
|
|
|
10
10
|
Add it to your Gemfile:
|
|
11
11
|
|
|
12
12
|
``` rb
|
|
13
|
-
gem 'unifig-rails', '~> 0.
|
|
13
|
+
gem 'unifig-rails', '~> 0.4.0'
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
Run the configuration generator:
|
|
17
17
|
|
|
18
18
|
``` sh
|
|
19
|
-
rails generate unifig:config
|
|
19
|
+
bundle exec rails generate unifig:config
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
This project uses [Semantic Versioning][].
|
|
@@ -30,8 +30,8 @@ For information on how to use Unifig see the [documentation][] for that gem.
|
|
|
30
30
|
|
|
31
31
|
If you need to know more information about the variables in Unifig you can run `rake unifig:vars` and get a listing.
|
|
32
32
|
|
|
33
|
-
```
|
|
34
|
-
>
|
|
33
|
+
```
|
|
34
|
+
> rake unifig:vars
|
|
35
35
|
┌────────┬────────────────┬──────────┬──────────┬─────────┐
|
|
36
36
|
│ │ │ │ │ │
|
|
37
37
|
│ Var │ Value │ Provider │ Required │ Method │
|
data/lib/unifig/rails/version.rb
CHANGED
|
@@ -10,7 +10,7 @@ RSpec.describe Unifig::ConfigGenerator do
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
expect(content).to eql <<~YML
|
|
13
|
-
|
|
13
|
+
unifig:
|
|
14
14
|
providers: local
|
|
15
15
|
|
|
16
16
|
|
|
@@ -20,7 +20,7 @@ RSpec.describe Unifig::ConfigGenerator do
|
|
|
20
20
|
context 'with an existing file' do
|
|
21
21
|
before do
|
|
22
22
|
write_config(<<~YML)
|
|
23
|
-
|
|
23
|
+
unifig:
|
|
24
24
|
providers: local
|
|
25
25
|
|
|
26
26
|
ONE:
|
data/spec/unifig/railtie_spec.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: unifig-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aaron Lasseigne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-09-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -44,14 +44,14 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 0.
|
|
47
|
+
version: 0.4.0
|
|
48
48
|
type: :runtime
|
|
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.4.0
|
|
55
55
|
description: Unifig support for Rails.
|
|
56
56
|
email:
|
|
57
57
|
- aaron.lasseigne@gmail.com
|