trailblazer-rails 1.0.10 → 1.0.11

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: db779c924f25b07c73639fafabed8bb50358d608d4b431ae4442bcd41a8e9ac2
4
- data.tar.gz: c8638b5f985eee0365c133a67b78fdc27573ce3e73ce05e905e7ad3ae2773d28
3
+ metadata.gz: 6083dd3a2a300df874af17e718c2111bea4f1c6bd01b875e43682a72ac6e464e
4
+ data.tar.gz: b21728f595c427bbc915a7bd8750329aeb1422d520b18ad0b68d3eef5dc36356
5
5
  SHA512:
6
- metadata.gz: bc3da31ae65846ddd42e9127f9825e02698ecb5df8759ba9faa797cca1ed2d95d71748e13877b26f2d5da9075954ccb2126aee8400188a37b3f1b94fe9b1bee5
7
- data.tar.gz: ee91cb041f488ab42032a7be71592767be0a00d0827b0797483ddff2e8bf57785871a6d032846e59852aa68dccba2bb6cd7b238939535d3ff17572c4bff1d1a6
6
+ metadata.gz: 783a271a63667912a00f31df9bc7eb6f423e5a1e282219d2c27abb6d3ff3a622d6f04b41cca7b3a3fb26dedc07ea5b8844d9efdb1e9b54c6ed8ed105dd33b825
7
+ data.tar.gz: 501bc8046e61c384ad38a6590df27a9f876d2e9d066bfe5e02e66c6ca2349984c83d03ba782640a0bc806b23fba893d32511ad1e2f6a0593e3c1cc47c9bd0321
@@ -1,4 +1,5 @@
1
1
  AllCops:
2
+ TargetRubyVersion: 2.5.0
2
3
  DisplayCopNames: true
3
4
  Layout/CaseIndentation:
4
5
  IndentOneStep: true
@@ -99,3 +100,15 @@ Metrics/AbcSize:
99
100
  Max: 25
100
101
  Style/LambdaCall:
101
102
  Enabled: false
103
+ # This to fix lots of failure in trailblazer-operation tests
104
+ Style/Semicolon:
105
+ Enabled: false
106
+ Naming/UncommunicativeMethodParamName:
107
+ Enabled: false
108
+ Style/ClassAndModuleChildren:
109
+ Enabled: false
110
+ Layout/LeadingCommentSpace:
111
+ Exclude:
112
+ - 'test/docs/**/*'
113
+ Layout/AlignHash:
114
+ EnforcedHashRocketStyle: table
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.0.11
2
+
3
+ * Bug: Deprecation warning for use_loader always called (fixed)
4
+
1
5
  # 1.0.10
2
6
 
3
7
  * Reintroduced railtie dependency 4.x +
@@ -45,10 +45,10 @@ module Trailblazer
45
45
  # the trb autoloading has to be run after initializers have been loaded, so we can tweak inclusion of features in
46
46
  # initializers.
47
47
 
48
- # TODO: remove me in the next version!
48
+ # TODO: remove me in v1.1.0
49
49
  if config.trailblazer.use_loader.to_s.present?
50
50
  warn "DEPRECATION WARNING [trailblazer-rails]: please use config.trailblazer.enable_loader" \
51
- " to enable/disable the loader. config.trailblazer.use_loader will be removed from version > 2.1.6"
51
+ " to enable/disable the loader, config.trailblazer.use_loader will be removed from version 1.1.0"
52
52
  end
53
53
 
54
54
  if config.trailblazer.enable_loader || config.trailblazer.use_loader
@@ -9,7 +9,6 @@ module Trailblazer
9
9
  ## Accept also an Array of controllers
10
10
  config.trailblazer.application_controller ||= "ActionController::Base"
11
11
  config.trailblazer.enable_loader ||= true
12
- config.trailblazer.use_loader ||= true # TODO: remove with next release
13
12
 
14
13
  include Loader
15
14
  include ExtendApplicationController
@@ -1,5 +1,5 @@
1
1
  module Trailblazer
2
2
  module Rails
3
- VERSION = "1.0.10".freeze
3
+ VERSION = "1.0.11".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailblazer-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-04 00:00:00.000000000 Z
11
+ date: 2018-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties