unifig-rails 0.2.0 → 0.3.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: 845d1f196214b0b01f0817ea2e8663d4266d1886ba791821fdfc20cda69b77f6
4
- data.tar.gz: 4b82e59b5ce9cf8cfc1e8e354b1e4e5d6aa7580cccb3cc24cb00222cf7118060
3
+ metadata.gz: da0f60e60a062264ab0ffeca7a196182cfc33a470ec1b778350eb2bfc7f3606a
4
+ data.tar.gz: 78e9d12ba53db07e32d66c4feca9fa11c65cf912911429baeb7490cb3d4bdeee
5
5
  SHA512:
6
- metadata.gz: d524e9eea1e744e2e5d95f7432753a34659b13f354dbb780e4f97fb4374341e9b828eb4afa97792a7b280195db54dda23f111011632e372cc9e8b6532946dd8a
7
- data.tar.gz: 7e951eff545d8f6b265c9f6966e6fcac3c37fcdb416f9ddb1206c209bed5315e3af3ba4b8950701ef390c3d4f566859a50f7a846ab2d0c08896ac7cf9e5adb6c
6
+ metadata.gz: e581b11efcd48cb1944bfd2197b72ff23569146e7f4a9dcf02f8d179de5ddc402d2386c4ca3bd5438224baa242e94c2d7e5f3fb7ab1d02729a14816ba08c2b3b
7
+ data.tar.gz: bbfbd1a7900fc5c0ce5aeb7c6acc2b23010a068b0cfe3939797d5c3a7d13e1becac1e24ee83ee5d0adef772750519955419b1a2a751e8057375a4f5dbaa93e33
data/CHANGELOG.md CHANGED
@@ -1,12 +1,23 @@
1
+ # [0.3.0][] (2022-08-03)
2
+
3
+ ## Changed
4
+
5
+ - Support for Unifig increased to 0.3.2.
6
+
7
+ ## Added
8
+
9
+ - A Rake task `unifig:vars` which prints out a table of variable information.
10
+
1
11
  # [0.2.0][] (2022-07-31)
2
12
 
3
13
  ## Changed
4
14
 
5
- - Support for Unifig increased to 0.3.0
15
+ - Support for Unifig increased to 0.3.0.
6
16
 
7
17
  # [0.1.0][] (2022-07-24)
8
18
 
9
19
  Initial release.
10
20
 
21
+ [0.3.0]: https://github.com/AaronLasseigne/unifig-rails/compare/v0.2.0...v0.3.0
11
22
  [0.2.0]: https://github.com/AaronLasseigne/unifig-rails/compare/v0.1.0...v0.2.0
12
23
  [0.1.0]: https://github.com/AaronLasseigne/unifig-rails/compare/v0.0.0...v0.1.0
data/README.md CHANGED
@@ -10,7 +10,7 @@ Adds [Rails][] support to [Unifig][].
10
10
  Add it to your Gemfile:
11
11
 
12
12
  ``` rb
13
- gem 'unifig-rails', '~> 0.2.0'
13
+ gem 'unifig-rails', '~> 0.3.0'
14
14
  ```
15
15
 
16
16
  Run the configuration generator:
@@ -28,6 +28,24 @@ Once your Rails app has been started you will be able use Unifig with the setup
28
28
 
29
29
  For information on how to use Unifig see the [documentation][] for that gem.
30
30
 
31
+ If you need to know more information about the variables in Unifig you can run `rake unifig:vars` and get a listing.
32
+
33
+ ```sh
34
+ > be rake unifig:vars
35
+ ┌────────┬────────────────┬──────────┬──────────┬─────────┐
36
+ │ │ │ │ │ │
37
+ │ Var │ Value │ Provider │ Required │ Method │
38
+ ├────────┼────────────────┼──────────┼──────────┼─────────┤
39
+ │ │ │ │ │ │
40
+ │ HOME │ "/Users/aaron" │ env │ true │ .home │
41
+ │ │ │ │ │ │
42
+ │ NAME │ "Aaron" │ local │ true │ .name │
43
+ │ │ │ │ │ │
44
+ │ HELLO │ "hi \"Aaron\"" │ local │ false │ .hello │
45
+ └────────┴────────────────┴──────────┴──────────┴─────────┘
46
+
47
+ ```
48
+
31
49
  ## Contributing
32
50
 
33
51
  If you want to contribute to Unifig::Rails, please read [our contribution guidelines][].
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Unifig
4
4
  module Rails
5
- VERSION = '0.2.0'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
@@ -8,5 +8,9 @@ module Unifig
8
8
  config.before_configuration do
9
9
  Rails.run
10
10
  end
11
+
12
+ rake_tasks do
13
+ load 'tasks/unifig.rake'
14
+ end
11
15
  end
12
16
  end
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.2.0
4
+ version: 0.3.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-07-31 00:00:00.000000000 Z
11
+ date: 2022-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -24,20 +24,34 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: tty-table
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 0.12.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.12.0
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: unifig
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: 0.3.0
47
+ version: 0.3.2
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: 0.3.0
54
+ version: 0.3.2
41
55
  description: Unifig support for Rails.
42
56
  email:
43
57
  - aaron.lasseigne@gmail.com