structure 2.0.0.beta.2 → 2.0.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: 29a70d1a2fd15666410907a7868ae65e78ea18d6c6167e7b8142a4eaac35c4e4
4
- data.tar.gz: b8cd311d8398866e76b5c776a9f97d2b0dc6c521aba11bbe0d2578993d95c72f
3
+ metadata.gz: 064e6d8430e533240d9469a4187b385a037ee8e2b3a27931fc9325a74b268e4a
4
+ data.tar.gz: 2c30bba3a9e86f144f35ec400797e51e58df496f0794d36189a6a0087b1ceb8f
5
5
  SHA512:
6
- metadata.gz: 7dfe13a99479e042c55d76db3b5bdb1ab52ca601097f5a0db569328ddfc02f97422a50b123267004c6af7b74711132a4977640a3e846348523b6007b1a1e0052
7
- data.tar.gz: 322b7d2757a6135f8fb95ca258d3f607911d4408bd52c3ca1b7f0b319c1bea6f679b565df4758146a2c3b6d3c17882b910b04f9d3e1358921d84f5f21d212d0c
6
+ metadata.gz: b1f320c939dc31be46b1b4e773cff83dfcaf2d8cf8698d1a4d73998f14d15ad8631805e659bf981c33221096186697a7febe971596f08e2a3edafcd7ea9397b5
7
+ data.tar.gz: eb93e79d606b29dcd09bba61a86ca6cde493cc9b79336d78cf4fdbb1491633663b3c9723f0dcc1913685354e66b6030acd742ee635e33b9077adf20bcd9c8bdd
data/lib/structure.rb CHANGED
@@ -25,7 +25,7 @@ module Structure
25
25
  alias attributes to_h
26
26
 
27
27
  def inspect
28
- detail = if self.class.method_defined?(:to_s, false)
28
+ detail = if public_methods(false).include?(:to_s)
29
29
  to_s
30
30
  else
31
31
  to_a.map { |key, val| "#{key}=#{val.inspect}" }.join(', ')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Structure
4
- VERSION = '2.0.0.beta.2'
4
+ VERSION = '2.0.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: structure
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta.2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hakan Ensari
@@ -75,9 +75,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
75
75
  version: '2.4'
76
76
  required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
- - - ">"
78
+ - - ">="
79
79
  - !ruby/object:Gem::Version
80
- version: 1.3.1
80
+ version: '0'
81
81
  requirements: []
82
82
  rubygems_version: 3.0.3
83
83
  signing_key: