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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb55c0209ee029e45d1868e1eb32d159ac3b50b6bdbc8ba469a818c1058c4f00
4
- data.tar.gz: 3c7febb9ba1368b82458221f2914348a344474cf50c5ef1bbbfd4247d853d18d
3
+ metadata.gz: f21f8363e6489243d1b2699575890fce89c28353f144feac6ab0987aaad0dd8f
4
+ data.tar.gz: 674224b331b65c0c7a778bf5be413b0189a2186a3e29fc10ec84ad147c5a8bb1
5
5
  SHA512:
6
- metadata.gz: 1ba7fd124b00dcaa9f789a43556ab4725d1f7a8f0ed4b4112eafe6dfad72fefb583f4779df2a5a7fed1b8062764a149890ae952d16c7dcb03680a4531d13a390
7
- data.tar.gz: b18b0f948baf4005b858cf38c162d66fd9620c62992f52a738c682be1b3abc7548529e03de36114123ebf89d060ccd3cba11877e11c8655bf33c461d342de79e
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
- module MyEngine
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"
@@ -1,3 +1,5 @@
1
+ require_relative "../application"
2
+
1
3
  module Figjam
2
4
  module Rails
3
5
  module Engine
@@ -1,3 +1,3 @@
1
1
  module Figjam
2
- VERSION = "2.2.0".freeze
2
+ VERSION = "2.2.1".freeze
3
3
  end
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.0
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-16 00:00:00.000000000 Z
11
+ date: 2025-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor