-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify/clarify code, documentation, and README. Remove dependency on Rails. Add Travis CI. Add SimpleCov.
- Loading branch information
Showing
59 changed files
with
438 additions
and
971 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
.bundle/ | ||
.yardoc/ | ||
doc/ | ||
log/*.log | ||
pkg/ | ||
test/dummy/db/*.sqlite3 | ||
test/dummy/db/*.sqlite3-journal | ||
test/dummy/log/*.log | ||
test/dummy/tmp/ | ||
test/dummy/.sass-cache | ||
/.bundle/ | ||
/.yardoc | ||
/_yardoc/ | ||
/coverage/ | ||
/doc/ | ||
/pkg/ | ||
/spec/reports/ | ||
/tmp/ | ||
.byebug_history | ||
*.gem | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
env: | ||
global: | ||
- CC_TEST_REPORTER_ID=3b57e55dcd3cc40ee073715e7d75fa80ab7b7687cb8a420eac500d27b5cb28db | ||
sudo: false | ||
language: ruby | ||
rvm: | ||
- 2.2.10 | ||
- 2.3.7 | ||
- 2.4.4 | ||
- 2.5.1 | ||
- ruby-head | ||
notifications: | ||
email: false | ||
before_install: gem install bundler -v 1.16.1 | ||
cache: bundler | ||
before_script: | ||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter | ||
- chmod +x ./cc-test-reporter | ||
- ./cc-test-reporter before-build | ||
after_script: | ||
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
### 0.1.0 - 2018-04-14 | ||
|
||
* Revamp gem | ||
* Update gem dependencies | ||
* Now returns "[no objects]" even if given a :klass option | ||
|
||
|
||
### 0.0.6 - 2016-02-06 | ||
|
||
* Fix: identify method now supports private & protected methods |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
source "https://rubygems.org" | ||
|
||
# Declare your gem's dependencies in object_identifier.gemspec. | ||
# Bundler will treat runtime dependencies like base dependencies, and | ||
# development dependencies will be added by default to the :development group. | ||
gemspec | ||
|
||
# Declare any dependencies that are still in development here instead of in | ||
# your gemspec. These might include edge Rails or gems from your path or | ||
# Git. Remember to move these dependencies to your gemspec before releasing | ||
# your gem to rubygems.org. | ||
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } | ||
|
||
# gem "byebug" | ||
# gem "pry" | ||
# gem "pry-byebug" | ||
# gem "pry-stack_explorer" | ||
# Specify your gem's dependencies in object_identifier.gemspec | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,96 +1,51 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
object_identifier (0.0.5) | ||
rails (>= 3.0.0) | ||
object_identifier (0.1.0) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actionmailer (4.1.5) | ||
actionpack (= 4.1.5) | ||
actionview (= 4.1.5) | ||
mail (~> 2.5.4) | ||
actionpack (4.1.5) | ||
actionview (= 4.1.5) | ||
activesupport (= 4.1.5) | ||
rack (~> 1.5.2) | ||
rack-test (~> 0.6.2) | ||
actionview (4.1.5) | ||
activesupport (= 4.1.5) | ||
builder (~> 3.1) | ||
erubis (~> 2.7.0) | ||
activemodel (4.1.5) | ||
activesupport (= 4.1.5) | ||
builder (~> 3.1) | ||
activerecord (4.1.5) | ||
activemodel (= 4.1.5) | ||
activesupport (= 4.1.5) | ||
arel (~> 5.0.0) | ||
activesupport (4.1.5) | ||
i18n (~> 0.6, >= 0.6.9) | ||
json (~> 1.7, >= 1.7.7) | ||
minitest (~> 5.1) | ||
thread_safe (~> 0.1) | ||
tzinfo (~> 1.1) | ||
arel (5.0.1.20140414130214) | ||
builder (3.2.2) | ||
erubis (2.7.0) | ||
hike (1.2.3) | ||
i18n (0.6.11) | ||
json (1.8.1) | ||
mail (2.5.4) | ||
mime-types (~> 1.16) | ||
treetop (~> 1.4.8) | ||
mime-types (1.25.1) | ||
ansi (1.5.0) | ||
builder (3.2.3) | ||
byebug (10.0.2) | ||
coderay (1.1.2) | ||
docile (1.3.0) | ||
json (2.1.0) | ||
method_source (0.9.0) | ||
minitest (5.4.1) | ||
minitest-rails (2.1.0) | ||
minitest (~> 5.4) | ||
railties (~> 4.1) | ||
multi_json (1.10.1) | ||
polyglot (0.3.5) | ||
rack (1.5.2) | ||
rack-test (0.6.2) | ||
rack (>= 1.0) | ||
rails (4.1.5) | ||
actionmailer (= 4.1.5) | ||
actionpack (= 4.1.5) | ||
actionview (= 4.1.5) | ||
activemodel (= 4.1.5) | ||
activerecord (= 4.1.5) | ||
activesupport (= 4.1.5) | ||
bundler (>= 1.3.0, < 2.0) | ||
railties (= 4.1.5) | ||
sprockets-rails (~> 2.0) | ||
railties (4.1.5) | ||
actionpack (= 4.1.5) | ||
activesupport (= 4.1.5) | ||
rake (>= 0.8.7) | ||
thor (>= 0.18.1, < 2.0) | ||
minitest-reporters (1.2.0) | ||
ansi | ||
builder | ||
minitest (>= 5.0) | ||
ruby-progressbar | ||
pry (0.11.3) | ||
coderay (~> 1.1.0) | ||
method_source (~> 0.9.0) | ||
pry-byebug (3.6.0) | ||
byebug (~> 10.0) | ||
pry (~> 0.10) | ||
rake (10.3.2) | ||
sprockets (2.12.1) | ||
hike (~> 1.2) | ||
multi_json (~> 1.0) | ||
rack (~> 1.0) | ||
tilt (~> 1.1, != 1.3.0) | ||
sprockets-rails (2.1.3) | ||
actionpack (>= 3.0) | ||
activesupport (>= 3.0) | ||
sprockets (~> 2.8) | ||
sqlite3 (1.3.9) | ||
thor (0.19.1) | ||
thread_safe (0.3.4) | ||
tilt (1.4.1) | ||
treetop (1.4.15) | ||
polyglot | ||
polyglot (>= 0.3.1) | ||
tzinfo (1.2.2) | ||
thread_safe (~> 0.1) | ||
ruby-progressbar (1.9.0) | ||
simplecov (0.16.1) | ||
docile (~> 1.1) | ||
json (>= 1.8, < 3) | ||
simplecov-html (~> 0.10.0) | ||
simplecov-html (0.10.2) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
minitest-rails | ||
bundler (~> 1.16) | ||
byebug (~> 10.0) | ||
minitest (~> 5.0) | ||
minitest-reporters (~> 1.2) | ||
object_identifier! | ||
sqlite3 | ||
pry (~> 0.11) | ||
pry-byebug (~> 3.6) | ||
rake (~> 10.0) | ||
simplecov (~> 0.16) | ||
|
||
BUNDLED WITH | ||
1.16.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2018 Paul Dobbins | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.