sashite-gan 2.0.0 → 2.1.0

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: 5d75df37e1d20e65cbf461231526922a343dcff9e2c113a6c2dc9a85c4183c51
4
- data.tar.gz: 57c80ac8d301e5d06d1d65be1211802587524bda49c95b9b943b035d519f3eac
3
+ metadata.gz: 98ff4e830054d9585d2082ef02a8205fba75ab1c19c9de21e9f605620a371d45
4
+ data.tar.gz: 77f591221bedfdd114f73ab24d9a2d212ebc059a7eae38dfa3325fc0393378c2
5
5
  SHA512:
6
- metadata.gz: f63028d5668cd3f8d6f0b74b684f79d9664f7f896b1e606604775a113fd0554bebf2df5e461adbfe46baa4ef3f59df3057407406b19739f2d2ca9e7bb88bfdcb
7
- data.tar.gz: ab4807633db42b7d7cdd8d770822d50d9b983fb2210a9b1a2bbd8650304bb991f1399db86a639b79766141cc149f0e6af0cb5dd5fede120efa509b2cd59e7640
6
+ metadata.gz: da31d1468b2279902d969ce725a8f0c20c759b7b4e0ffe0991ea34ebe2a0348456e9e3ab9b67e13c2f860a18c2d9e6ab5a5e9638372c8f203d99440af0f88b72
7
+ data.tar.gz: 7fb6185ca5efd84d335f5359e15f75f1ab4b0274442dc5e7f15975e7135c29f3f4a5167264fe6db2265f958a2f725e3cfd7c1e2ce4f1bbb08f6237a41ca59615
@@ -40,6 +40,14 @@ module Sashite
40
40
  to_s
41
41
  end
42
42
 
43
+ def ==(other)
44
+ other.to_s == to_s
45
+ end
46
+
47
+ def eql?(other)
48
+ self == other
49
+ end
50
+
43
51
  private
44
52
 
45
53
  # rubocop:disable Naming/MethodName
@@ -98,6 +98,14 @@ module Sashite
98
98
  )
99
99
  end
100
100
 
101
+ def ==(other)
102
+ other.to_s == to_s
103
+ end
104
+
105
+ def eql?(other)
106
+ self == other
107
+ end
108
+
101
109
  private
102
110
 
103
111
  # @return [String] The style and the abbreviation of the piece (without
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sashite-gan
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Kato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-06 00:00:00.000000000 Z
11
+ date: 2020-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: brutal
@@ -141,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - ">="
143
143
  - !ruby/object:Gem::Version
144
- version: '0'
144
+ version: 2.3.0
145
145
  required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  requirements:
147
147
  - - ">="