figjam 2.2.0 → 2.2.1
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/README.md +6 -6
- data/lib/figjam/rails/engine.rb +2 -0
- data/lib/figjam/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f21f8363e6489243d1b2699575890fce89c28353f144feac6ab0987aaad0dd8f
|
4
|
+
data.tar.gz: 674224b331b65c0c7a778bf5be413b0189a2186a3e29fc10ec84ad147c5a8bb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5aa4280564d35e30311e765736bff50ea661e08b69b81baedd5f99452c8465fc4498d152feb82be27d9236918bf71b03091c2e85b8d3f249b59b4f2ffc8d162a
|
7
|
+
data.tar.gz: f2ed121a67a57f9669a94ac82daa52919f6faffa051261707eee3f53745e896b4b7728faed64ed558ff32b0a5f949d284b7e80ee83deeb1005de376de133e856
|
data/README.md
CHANGED
@@ -62,15 +62,13 @@ they can be loaded independently or in addition of the main application. To do t
|
|
62
62
|
you can create a `config/application.yml` file in your engine, and add this to the `Rails::Engine`:
|
63
63
|
|
64
64
|
```ruby
|
65
|
-
|
66
|
-
class Engine < ::Rails::Engine
|
67
|
-
Figjam::Rails::Engine.configure(self)
|
68
|
-
end
|
69
|
-
end
|
65
|
+
require "figjam/rails/engine"
|
70
66
|
|
71
|
-
# Or if you wish to pass in a specific value for the environment:
|
72
67
|
module MyEngine
|
73
68
|
class Engine < ::Rails::Engine
|
69
|
+
Figjam::Rails::Engine.configure(self)
|
70
|
+
|
71
|
+
# Or if you wish to pass in a specific value for the environment:
|
74
72
|
Figjam::Rails::Engine.configure(self, "my_engine_environment")
|
75
73
|
end
|
76
74
|
end
|
@@ -86,6 +84,8 @@ do this as many times as you like. If you have multiple internal gems, they can
|
|
86
84
|
all use `figjam` to load their own configuration independently.
|
87
85
|
|
88
86
|
```ruby
|
87
|
+
require "figjam/application"
|
88
|
+
|
89
89
|
Figjam::Application.new(
|
90
90
|
environment: "some_environment_key",
|
91
91
|
path: "#{__dir__}/application.yml"
|
data/lib/figjam/rails/engine.rb
CHANGED
data/lib/figjam/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: figjam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Harry Lascelles
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|