ez-settings 0.4.0 → 0.4.1

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: b0e61f349026e3e8e7f1d6c73f3dac27b1cf94759aaf0bd95804f3adc6ffb384
4
- data.tar.gz: 3c8169673fabafc9c60da04029f33d9f5336b6607e4a3e7f82522aa9db56480f
3
+ metadata.gz: 4c2b80ba9addccd16b71114a2a0503dd95f9bdca95776a5156d97307e19a0c72
4
+ data.tar.gz: 3a2b15e6e160ba5d4fcc1fd0c1be8be26744872db443ded5f0291a00be4ada11
5
5
  SHA512:
6
- metadata.gz: b75bf279db5b2d01e2c0c3d349f8e8f431487934dbf379e381b1ff034e134bc9802979b33b3cf55e95bfc469782372762419f62afb9cfe16836243afde07ac07
7
- data.tar.gz: d04873ffd18224f1ced6e1914fda9d0e836340e1b1d8e9672ac915494e89a6309297c3aa353fcaccf099fdc10d346710a2c2757857f1e2161ae047f796dc9251
6
+ metadata.gz: 3d31aa8d8974faa698b1a4944f72ed94e45eb8392c48160b035077bd14de9ab6bbdd4ddaa1a86a92bc3dc9d183e9059b36d31544b35f8010d2cc63fb685cd3bb
7
+ data.tar.gz: 84bb82cc4ba4edd07aa90e4ad9f9899b73040eac38f2593ff261025f3273c525f1981fa6fe0995bdffae4d519118f0af7199739a645e264d72d2c955ec1d632b
@@ -5,6 +5,10 @@ module Ez
5
5
  class SettingsController < Ez::Settings::ApplicationController
6
6
  include Ez::Settings::RequestDispatcher
7
7
 
8
+ if Ez::Settings.config.controller_context
9
+ instance_exec(&Ez::Settings.config.controller_context)
10
+ end
11
+
8
12
  def index
9
13
  view :index
10
14
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ez
4
4
  module Settings
5
- VERSION = '0.4.0'
5
+ VERSION = '0.4.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ez-settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volodya Sveredyuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-11 00:00:00.000000000 Z
11
+ date: 2019-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ez-core
@@ -289,7 +289,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
289
289
  - !ruby/object:Gem::Version
290
290
  version: '0'
291
291
  requirements: []
292
- rubygems_version: 3.0.6
292
+ rubygems_version: 3.0.3
293
293
  signing_key:
294
294
  specification_version: 4
295
295
  summary: Easy settings engine for Rails app.