order_cop 0.2.0 → 0.2.2

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: e9db33624c2eb202e4a077391905aff8c3d2719ba36743ef86c169a3ebb44eab
4
- data.tar.gz: 499e5fa4966beccfcfe5f8dde8db48bff9f9d364bddcc2618b70240e25f76cca
3
+ metadata.gz: 1d24dd6bfe948fbc5927f0e49ca32795df0e68d41d2103eddf0779870118df7f
4
+ data.tar.gz: f3991ed96ead7fd3286bd92224532947a504a716712bb04c43c5cfd534679eed
5
5
  SHA512:
6
- metadata.gz: f883d3cd5e17aa8d612542585fe490bbcce29bfd239a039a738ebb22bcc55bf01ee07bcdd816ed650169cbc6b5c8ceeed5cb84530078c2571b8c7275bb502e66
7
- data.tar.gz: 9b4a1e48a5de4e49068cb9223dbab2e224453e81a26577bc2b7877800d06a985f0012ae1cacc5800db5e8f7b58d83a0a44b33142f60f776afa503da64a4728fa
6
+ metadata.gz: e04ad1f84754c6df5ca457af7c40cff47a3243deecc9dd4975813e3de66b7fd5f6f532d7779a889bbb6488f0814b63e4d21826cfd68a79b082f25846272944ba
7
+ data.tar.gz: 7ad6da6dfe4278af541afbe369b102d0ca72f8f06d9af0fe466a5bed4c7c00d6d9084ca79db7d2ccd7183e07db4848a4033b77e3e04cbfa0dc600a6f5e0e369e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- order_cop (0.2.0)
4
+ order_cop (0.2.2)
5
5
  binding_of_caller (~> 1.0)
6
6
  rails (~> 7.0)
7
7
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OrderCop
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.2"
5
5
  end
data/lib/order_cop.rb CHANGED
@@ -40,11 +40,11 @@ module OrderCop
40
40
  end
41
41
 
42
42
  def self.disabled?
43
- !@config.enabled
43
+ !config.enabled
44
44
  end
45
45
 
46
46
  def self.enabled?
47
- @config.enabled
47
+ config.enabled
48
48
  end
49
49
 
50
50
  module OrderCopMixin
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: order_cop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gauthier Monserand
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-19 00:00:00.000000000 Z
11
+ date: 2023-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails