order_cop 0.2.0 → 0.2.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: e9db33624c2eb202e4a077391905aff8c3d2719ba36743ef86c169a3ebb44eab
4
- data.tar.gz: 499e5fa4966beccfcfe5f8dde8db48bff9f9d364bddcc2618b70240e25f76cca
3
+ metadata.gz: f04b2f958bd26504fa02f2a8c7933b34f6b2f32510c7bdd039741b968b4cf828
4
+ data.tar.gz: 2a5ce657241968b7fa4b3710efdd3171bab6b6f79371686985cf63afd440cfe4
5
5
  SHA512:
6
- metadata.gz: f883d3cd5e17aa8d612542585fe490bbcce29bfd239a039a738ebb22bcc55bf01ee07bcdd816ed650169cbc6b5c8ceeed5cb84530078c2571b8c7275bb502e66
7
- data.tar.gz: 9b4a1e48a5de4e49068cb9223dbab2e224453e81a26577bc2b7877800d06a985f0012ae1cacc5800db5e8f7b58d83a0a44b33142f60f776afa503da64a4728fa
6
+ metadata.gz: 33bc928727bb612bc378e8627a1f768692db2186311ae13099751ce386867b5d91af8fc2c7d022c60a9670397e9f13809ffd3774dfd481e9eddeeeaffb5392bd
7
+ data.tar.gz: 29661cd6a332cf92870f5d7fe5b2283483a915f3ef6654159c6f56abaa492332adaefa5730ec6721463a6cb828b889cabf963989829f5047a6d98421901af95b
@@ -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.1"
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,7 +1,7 @@
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gauthier Monserand