yabeda-rails 0.2.0 → 0.4.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: 33b19f37d8fc8d0ee84bed04a0f13658901ab18ac5e1d1c9db5db5f8fdea981d
4
- data.tar.gz: 3a6007be6f1e141264d05a0966cb5e43db5f0849b382122b88758f6b64337fa6
3
+ metadata.gz: ac9beead9964f1586249a58f318146802587bfc75879535602276f8ad251266a
4
+ data.tar.gz: 880a1219134f862512056785c5b6ed0bc03f50b8a688ca6489f1097a8986b42d
5
5
  SHA512:
6
- metadata.gz: ae3d4bb58b49bff48dc3d49638f26ee24b7371689e82918fb0a5666c4f82e109e74922973add0bfac6f6b78f4c6c5a4abf834b78b764461c014e13c55f902cff
7
- data.tar.gz: 99ada92e2f220c78e4051d92a1b3bd0fad9c39414c4a24d5959ce9c199e3e6aede953f18d2c9f6f3cb27ff2e98f169bea0bb356043e97e155b10091527bbd669
6
+ metadata.gz: 8e3866ea3c189ccd8c8387b004c93191146a404334a3b39dac8ae4a09e888acf240e8e938003689ab712c4a29c3d589d6f6d957fef0c2c93004cfd76a7c71150
7
+ data.tar.gz: 9c1483ceb2c14d6f645678a2e73b0ae43a3a4d0eecf4c7c758586e0ca14999c5f4045fec1fb3bc6fe29c069846a9b96e5ccf068f1d511be1b9cecc77187ec23f
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 0.4.0 - 2020-01-28
9
+
10
+ ### Changed
11
+
12
+ - Configure Yabeda after application initialization as since 0.4.0 Yabeda requires to call configuration logic explicitly. @Envek
13
+
8
14
  ## 0.2.0 - 2020-01-14
9
15
 
10
16
  ### Changed
@@ -12,9 +12,8 @@ module Yabeda
12
12
  end
13
13
 
14
14
  config.after_initialize do
15
- next unless rails_server? || puma_server?
16
-
17
- ::Yabeda::Rails.install!
15
+ ::Yabeda::Rails.install! if rails_server? || puma_server?
16
+ Yabeda.configure! unless Yabeda.already_configured?
18
17
  end
19
18
  end
20
19
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Yabeda
4
4
  module Rails
5
- VERSION = "0.2.0"
5
+ VERSION = "0.4.0"
6
6
  end
7
7
  end
data/yabeda-rails.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_dependency "yabeda", "~> 0.2"
25
+ spec.add_dependency "yabeda", "~> 0.4"
26
26
  spec.add_dependency "rails"
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 1.16"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yabeda-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Novikov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-14 00:00:00.000000000 Z
11
+ date: 2020-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yabeda
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.2'
19
+ version: '0.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.2'
26
+ version: '0.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement