object_shadow 1.1.0 → 1.1.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: 503cc7d716417cc40c00e2b193b89ffb8f3946f140d3c04699b6ca36ed31c6d1
4
- data.tar.gz: 3fc4e0ed0b2f42afd5d0ec4f670ba361214fe992bc6a78d7fbe47f04318361be
3
+ metadata.gz: b797b35dfd1f1b5d3018dfe1e8db3a762db692662269f2b2f760f9b154337d39
4
+ data.tar.gz: 93269d2fcd22a31f77fd8d3e608ef15efb99b946c03f63aa5ba669d5d78b5faf
5
5
  SHA512:
6
- metadata.gz: f27bf9d3d9df00608b20b6c4500720c2db309f89e01df17a85ea0297b63a3ced0715c3d8608975e430db58015c8a850cdfdac1b63344bd914e0e6587eb12d835
7
- data.tar.gz: cdb3f92aeaf8b2a3718ee211037b87037ded6f020359af6d3418437b88648f5f61d579742f241d4a66c837dc1926cd155b8888b91c84fa7865364ffe7e67782a
6
+ metadata.gz: f8ebaf9cbd5e3b285f689a1e3357aaaf01866632d042187f758ff0c9553c8f20e693c2b30d3cce105eba867d7c84b39cc35b023eb81683bab5b87236badd2862
7
+ data.tar.gz: 16ec12a96de09a4fc23a48a6637c789cc5b1c0fc9f5a8e3c8bd4011fcf33672e544b840c892b315fa9e8a97a7cac672b103ab70d27186b12a09fcefc2f861c33
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.1.1
4
+
5
+ * Relax Ruby requirement to allow Ruby 3.0
6
+
3
7
  ### 1.1.0
4
8
 
5
9
  * Add DeepInspect mode
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2019-2020 Jan Lelis, https://janlelis.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Object#shadow [![[version]](https://badge.fury.io/rb/object_shadow.svg)](https://badge.fury.io/rb/object_shadow) [![[travis]](https://travis-ci.org/janlelis/object_shadow.svg)](https://travis-ci.org/janlelis/object_shadow)
1
+ # Object#shadow [![[version]](https://badge.fury.io/rb/object_shadow.svg)](https://badge.fury.io/rb/object_shadow) [![[ci]](https://github.com/janlelis/object_shadow/workflows/Test/badge.svg)](https://github.com/janlelis/object_shadow/actions?query=workflow%3ATest)
2
2
 
3
3
  Have you ever been [confused by some of Ruby's meta-programming methods?](https://idiosyncratic-ruby.com/25-meta-methodology.html)
4
4
 
@@ -6,7 +6,7 @@ If your answer is *Yes*, you have come to the right place:
6
6
 
7
7
  ![Object and Shadow](/object_shadow.png)
8
8
 
9
- With **shadow**, every Ruby object has a shadow which encapsulates a clean API to access the object's variables and methods.
9
+ With **shadow**, every Ruby object has a shadow which provides a clean API to access the object's variables and methods.
10
10
 
11
11
  Never again you will have to do the `x.methods - Object.methods` trick to get a meaningful method list.
12
12
 
@@ -204,6 +204,6 @@ Requires the following gems: **paint**, **wirb**, **io-console**
204
204
 
205
205
  ## J-_-L
206
206
 
207
- Copyright (C) 2019 Jan Lelis <https://janlelis.com>. Released under the MIT license.
207
+ Copyright (C) 2019-2020 Jan Lelis <https://janlelis.com>. Released under the MIT license.
208
208
 
209
209
  PS: This gem would not exist if the [instance gem](https://rubyworks.github.io/instance/) did not come up with the idea.
data/Rakefile CHANGED
@@ -32,7 +32,8 @@ end
32
32
 
33
33
  desc "#{gemspec.name} | Spec"
34
34
  task :spec do
35
- sh "for file in spec/*_spec.rb; do ruby $file; done"
35
+ ruby "spec/object_shadow_instance_variables_spec.rb"
36
+ ruby "spec/object_shadow_method_introspection_spec.rb"
36
37
  end
37
38
  task default: :spec
38
39
 
@@ -3,5 +3,5 @@
3
3
  require_relative "basic_object"
4
4
 
5
5
  class ObjectShadow
6
- VERSION = "1.1.0"
6
+ VERSION = "1.1.1"
7
7
  end
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
8
8
  gem.summary = "Metaprogramming Level 2"
9
9
  gem.description = "provides a simple convenient API for accessing an object's state."
10
10
  gem.authors = ["Jan Lelis"]
11
- gem.email = ["mail@janlelis.de"]
11
+ gem.email = ["hi@ruby.consulting"]
12
12
  gem.homepage = "https://github.com/janlelis/object_shadow"
13
13
  gem.license = "MIT"
14
14
 
@@ -17,5 +17,5 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.required_ruby_version = "~> 2.0"
20
+ gem.required_ruby_version = ">= 2.0", "< 4.0"
21
21
  end
metadata CHANGED
@@ -1,24 +1,23 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: object_shadow
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-10 00:00:00.000000000 Z
11
+ date: 2020-12-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: provides a simple convenient API for accessing an object's state.
14
14
  email:
15
- - mail@janlelis.de
15
+ - hi@ruby.consulting
16
16
  executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
20
  - ".gitignore"
21
- - ".travis.yml"
22
21
  - CHANGELOG.md
23
22
  - CODE_OF_CONDUCT.md
24
23
  - Gemfile
@@ -48,16 +47,19 @@ require_paths:
48
47
  - lib
49
48
  required_ruby_version: !ruby/object:Gem::Requirement
50
49
  requirements:
51
- - - "~>"
50
+ - - ">="
52
51
  - !ruby/object:Gem::Version
53
52
  version: '2.0'
53
+ - - "<"
54
+ - !ruby/object:Gem::Version
55
+ version: '4.0'
54
56
  required_rubygems_version: !ruby/object:Gem::Requirement
55
57
  requirements:
56
58
  - - ">="
57
59
  - !ruby/object:Gem::Version
58
60
  version: '0'
59
61
  requirements: []
60
- rubygems_version: 3.0.3
62
+ rubygems_version: 3.2.3
61
63
  signing_key:
62
64
  specification_version: 4
63
65
  summary: Metaprogramming Level 2
@@ -1,18 +0,0 @@
1
- sudo: false
2
- language: ruby
3
-
4
- rvm:
5
- - 2.6
6
- - 2.5
7
- - 2.4
8
- - 2.3
9
- - ruby-head
10
- - jruby-9.2.6.0
11
- - truffleruby
12
-
13
- matrix:
14
- allow_failures:
15
- - rvm: ruby-head
16
- - rvm: truffleruby
17
- - rvm: 2.3
18
- # fast_finish: true