object_identifier 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15ea208b08827813706ca4351a58709ec064d4ba9ad365084c6ef954daf40148
4
- data.tar.gz: 9044d50b67314cd0a7da45d27874acf807fc13829fd0ef5f10eb5d1a0a3f23c6
3
+ metadata.gz: a09ca4d686f91effd94a702a658c16d14f890af5983b7160d48ef944db02f2bf
4
+ data.tar.gz: 1255061dc146f0c6af842428effc308e4437dd0b1444df5ba950e600bae5ead6
5
5
  SHA512:
6
- metadata.gz: 79481c060a1469918bf2e4e9ebcc99f469132ded28794b1ef5cb6944e3a39159052db3a87a323f605e786efeb71ae10fafa2c6f37ea286517d6a595536d74597
7
- data.tar.gz: 20e1a1255476b06f0f5a9804daec02703b7c7d913f401b38fd6d632df7327df74c74ba784e380881d2b6938a10bc51d73104f1ebe16cd5a1e043503d0e703f65
6
+ metadata.gz: e17b1fde5c741b58f862be50ecbcefc851c4ffada06ffc1a6211edf3b7a608ef2374b6c5f956c7cd5a4cb888a82b027b9936548a6749147f86ec2a006e31d35a
7
+ data.tar.gz: 8e78635d0ef5b5252ecc61ad1a92011b8e6c5f3ee1538a265717217712b9fd48ccbe9dd17c104ae93811c008d7c85dc03bc5b8693c369e9b672a48adff971155
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- object_identifier (0.1.0)
4
+ object_identifier (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # Object Identifier
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/object_identifier.png)](http://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 quickly logging, sending descriptive notification messages, etc.
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:'#{some_object.name}']"
19
+ "#{some_object.class.name}[id:#{some_object.id}, name:\"#{some_object.name}\"]"
20
20
  ```
21
21
 
22
22
 
data/bin/console CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  require "bundler/setup"
4
4
  require "object_identifier"
5
+ require "ostruct"
5
6
 
6
7
  # You can add fixtures and/or initialization code here to make experimenting
7
8
  # with your gem easier. You can also use a different console, if you like.
@@ -1,3 +1,3 @@
1
1
  module ObjectIdentifier
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -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 quickly logging, sending descriptive notification messages, etc.}
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.0
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 quickly logging, sending descriptive notification messages, etc.
128
+ It is great for logging, sending descriptive notification messages, etc.
129
129
  email:
130
130
  - paul.dobbins@icloud.com
131
131
  executables: []