diff --git a/Gemfile.lock b/Gemfile.lock index a4bfa53..14ec512 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - object_identifier (0.1.0) + object_identifier (0.1.1) GEM remote: https://rubygems.org/ diff --git a/README.md b/README.md index acbb273..2f335a8 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Object Identifier -[![Gem Version](https://badge.fury.io/rb/object_identifier.png)](http://badge.fury.io/rb/object_identifier) +[![Gem Version](https://badge.fury.io/rb/object_identifier.svg)](https://badge.fury.io/rb/object_identifier) [![Build Status](https://travis-ci.org/pdobb/object_identifier.svg?branch=master)](https://travis-ci.org/pdobb/object_identifier) [![Test Coverage](https://api.codeclimate.com/v1/badges/0b737a72d16ec755c1ff/test_coverage)](https://codeclimate.com/github/pdobb/object_identifier/test_coverage) [![Maintainability](https://api.codeclimate.com/v1/badges/0b737a72d16ec755c1ff/maintainability)](https://codeclimate.com/github/pdobb/object_identifier/maintainability) -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. +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. For example: @@ -16,7 +16,7 @@ some_object.identify(:id, :name) Which is the same as: ```ruby -"#{some_object.class.name}[id:#{some_object.id}, name:'#{some_object.name}']" +"#{some_object.class.name}[id:#{some_object.id}, name:\"#{some_object.name}\"]" ``` diff --git a/bin/console b/bin/console index 6bc3565..e899c1c 100755 --- a/bin/console +++ b/bin/console @@ -2,6 +2,7 @@ require "bundler/setup" require "object_identifier" +require "ostruct" # You can add fixtures and/or initialization code here to make experimenting # with your gem easier. You can also use a different console, if you like. diff --git a/lib/object_identifier/version.rb b/lib/object_identifier/version.rb index 72ec7a4..c8656b1 100644 --- a/lib/object_identifier/version.rb +++ b/lib/object_identifier/version.rb @@ -1,3 +1,3 @@ module ObjectIdentifier - VERSION = "0.1.0" + VERSION = "0.1.1" end diff --git a/object_identifier.gemspec b/object_identifier.gemspec index 9c8f312..7bbec5b 100644 --- a/object_identifier.gemspec +++ b/object_identifier.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |spec| spec.email = ["paul.dobbins@icloud.com"] spec.summary = %q{ObjectIdentifier identifies an object by its class name and attributes.} - 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.} + 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.} spec.homepage = "https://github.com/pdobb/object_identifier" spec.license = "MIT"