object_identifier 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +3 -3
- data/bin/console +1 -0
- data/lib/object_identifier/version.rb +1 -1
- data/object_identifier.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a09ca4d686f91effd94a702a658c16d14f890af5983b7160d48ef944db02f2bf
|
4
|
+
data.tar.gz: 1255061dc146f0c6af842428effc308e4437dd0b1444df5ba950e600bae5ead6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e17b1fde5c741b58f862be50ecbcefc851c4ffada06ffc1a6211edf3b7a608ef2374b6c5f956c7cd5a4cb888a82b027b9936548a6749147f86ec2a006e31d35a
|
7
|
+
data.tar.gz: 8e78635d0ef5b5252ecc61ad1a92011b8e6c5f3ee1538a265717217712b9fd48ccbe9dd17c104ae93811c008d7c85dc03bc5b8693c369e9b672a48adff971155
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# Object Identifier
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/object_identifier.
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/object_identifier.svg)](https://badge.fury.io/rb/object_identifier)
|
4
4
|
[![Build Status](https://travis-ci.org/pdobb/object_identifier.svg?branch=master)](https://travis-ci.org/pdobb/object_identifier)
|
5
5
|
[![Test Coverage](https://api.codeclimate.com/v1/badges/0b737a72d16ec755c1ff/test_coverage)](https://codeclimate.com/github/pdobb/object_identifier/test_coverage)
|
6
6
|
[![Maintainability](https://api.codeclimate.com/v1/badges/0b737a72d16ec755c1ff/maintainability)](https://codeclimate.com/github/pdobb/object_identifier/maintainability)
|
7
7
|
|
8
|
-
Object Identifier allows quick, easy, and uniform identification of an object by inspecting its class name and outputting any desirable attributes/methods. It is great for
|
8
|
+
Object Identifier allows quick, easy, and uniform identification of an object by inspecting its class name and outputting any desirable attributes/methods. It is great for logging, sending descriptive notification messages, etc.
|
9
9
|
|
10
10
|
For example:
|
11
11
|
|
@@ -16,7 +16,7 @@ some_object.identify(:id, :name)
|
|
16
16
|
Which is the same as:
|
17
17
|
|
18
18
|
```ruby
|
19
|
-
"#{some_object.class.name}[id:#{some_object.id}, name
|
19
|
+
"#{some_object.class.name}[id:#{some_object.id}, name:\"#{some_object.name}\"]"
|
20
20
|
```
|
21
21
|
|
22
22
|
|
data/bin/console
CHANGED
data/object_identifier.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.email = ["paul.dobbins@icloud.com"]
|
10
10
|
|
11
11
|
spec.summary = %q{ObjectIdentifier identifies an object by its class name and attributes.}
|
12
|
-
spec.description = %q{Object Identifier allows quick, easy, and uniform identification of an object by inspecting its class name and outputting any desirable attributes/methods. It is great for
|
12
|
+
spec.description = %q{Object Identifier allows quick, easy, and uniform identification of an object by inspecting its class name and outputting any desirable attributes/methods. It is great for logging, sending descriptive notification messages, etc.}
|
13
13
|
spec.homepage = "https://github.com/pdobb/object_identifier"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: object_identifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Dobbins
|
@@ -125,7 +125,7 @@ dependencies:
|
|
125
125
|
version: '3.6'
|
126
126
|
description: Object Identifier allows quick, easy, and uniform identification of an
|
127
127
|
object by inspecting its class name and outputting any desirable attributes/methods.
|
128
|
-
It is great for
|
128
|
+
It is great for logging, sending descriptive notification messages, etc.
|
129
129
|
email:
|
130
130
|
- paul.dobbins@icloud.com
|
131
131
|
executables: []
|