law 0.1.1 → 0.1.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: 3492ad53cbc6aec4593a8992e9e3725350306057ddfcde3e557e0f06e6a0b1d0
4
- data.tar.gz: 7dfdf907d2bb6a0d87d31ce4b29b4f303435d969f56aa0729622e67193682d05
3
+ metadata.gz: b7e2945ef0bed8de2cf39e5360b284285ab4ccbb05516e1399c81ced429930cb
4
+ data.tar.gz: b298df8948c5131c6593571a3c7ad7b88f0863b9c004a80466d5a108eb29d498
5
5
  SHA512:
6
- metadata.gz: b646db6d863c688f091b2b78999a34be85c78895b4d79259e9f01d17fba9aaf4424e24b999834a6d61d99b38d3c7a4d9867d8de64b2eb4b2ad7cb82c6c86cfb9
7
- data.tar.gz: 0472a5af9b1ed53608bc96badeaafbe090897504c5d309bdaf83ee2341bab2f566998c054bd4e0651c002fd5db7c77309b0f9edbebfa8cb634949e9f297da9e2
6
+ metadata.gz: 7afa64f62d6ad2899cd0204f4c58252cda6a35aea9a3802ce52cf8b85973cec72feaa585bd21de5df382efe6d87aff35d0167746f94a6dcc08523238164d7323
7
+ data.tar.gz: 56b8c706eac2c46a6753d52110b0bd607aab8b91e8d90bc2ee5a1e0759ed5d2569bb667c33cad45f1097fb439c19e3780ffbe192beb3ade5f13995788fcc2c3e
data/lib/law/judgement.rb CHANGED
@@ -28,7 +28,7 @@ module Law
28
28
  end
29
29
 
30
30
  def authorized?
31
- violations.blank?
31
+ adjudicated? && violations.blank?
32
32
  end
33
33
 
34
34
  def judge
data/lib/law/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Law
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: law
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Garside
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-07 00:00:00.000000000 Z
11
+ date: 2020-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -78,28 +78,28 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '10.0'
81
+ version: '13.0'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '10.0'
88
+ version: '13.0'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: simplecov
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - "~>"
93
+ - - '='
94
94
  - !ruby/object:Gem::Version
95
- version: '0.16'
95
+ version: 0.17.1
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - "~>"
100
+ - - '='
101
101
  - !ruby/object:Gem::Version
102
- version: '0.16'
102
+ version: 0.17.1
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: timecop
105
105
  requirement: !ruby/object:Gem::Requirement