propose 1.0.0 → 1.0.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
- SHA1:
3
- metadata.gz: 8f15e9660afb53cc6be7586bde53edf6bd5c64ad
4
- data.tar.gz: fcf3ee3d5a1235979ba7184df8ad802205294763
2
+ SHA256:
3
+ metadata.gz: 2dcde828d9c11301db9bd54b24177938f8fd32f56d3016f1b04720789a7ad6ac
4
+ data.tar.gz: 831c3d481f69b456ae7199d4aa6ea80f21a1dbe1cf16b27ae4b03f9b6ca8cbec
5
5
  SHA512:
6
- metadata.gz: 637fb28214c23cf0f1eac3ed0ec809f2e95d7208c91ffd4427831b9adc7103cfcf83792f71cd40a8d0bd1eddd900d6a79f34986a024830eb889a28c633f69a15
7
- data.tar.gz: e445cc519a0f6ed2c871beb9b369f5a90bca1b83e214e10ebc7c2a07598414f5c8c9d55bccf3592c389b58ea0357643bd718de1d33a2d2cce952df66acd07b35
6
+ metadata.gz: cf3eae7d1bf7d3faae995e964ddc944e488fb3b859abe5508dede6f5cd7e0b7121252263829d55a39c62cfcb00e269be2d9270a8c31ff096b28ed2fcad54ad79
7
+ data.tar.gz: 77c0db8ffdbd2a679bce8456c1e213c0f974d7022d051108c2b267b237561a8592952fd0a0b49c5045c8aee9b14a20506e229087faad4b59ba7c0fc45d28b775
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require 'propose'
4
5
 
@@ -13,6 +13,14 @@ module Propose::Tree
13
13
  super || @name == other.name
14
14
  end
15
15
 
16
+ def eql?(other)
17
+ self == other
18
+ end
19
+
20
+ def hash
21
+ @name.hash
22
+ end
23
+
16
24
  def evaluate(assignment)
17
25
  assignment[self]
18
26
  end
@@ -1,4 +1,4 @@
1
1
  # Specifies the gem version.
2
2
  module Propose
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.0.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: propose
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane da Silva
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-21 00:00:00.000000000 Z
11
+ date: 2020-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -120,17 +120,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '2.0'
123
+ version: '2.4'
124
124
  required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  requirements:
126
126
  - - ">="
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
- rubyforge_project:
131
- rubygems_version: 2.4.5.1
130
+ rubygems_version: 3.1.1
132
131
  signing_key:
133
132
  specification_version: 4
134
133
  summary: Propositional logic sentence playground
135
134
  test_files: []
136
- has_rdoc: