kick_the_tires 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: 3cb8898b70655df647e6740ea327787223b78189
4
- data.tar.gz: 746c8ce5fa4e07751a7346f0d7f5f97c01570c7d
3
+ metadata.gz: cd3cab9291f55d82adf3f8398a19aa73bc319435
4
+ data.tar.gz: 190215f9daa6ff2865290ee6f295d768400bc6cf
5
5
  SHA512:
6
- metadata.gz: d9b655a60edde655c7028b2b0576ed2594cf5d09e6949432230e9331057391cfa9d57486bef9cb20a07e02d2abcc981ebbf32f915864d37d9d8da78e21806b1b
7
- data.tar.gz: 29bcadf9a3684ff7ceafb04a30ac6b31829618060afcb517a6fb109c487efd0f272a034fe30c9c2318ef1a6b9adaec18f02cd7c90b4dfc3ccd3643ef3cc0698c
6
+ metadata.gz: dccb387f8a2b44c1711fcb6f09be1f3da20c068539ce3682333b6493660a93977f3adbc4325464a73cf0c0b57f7d92fa4c2b9e720d4e253195c2fff3583757dc
7
+ data.tar.gz: 0417e2fbcae7526efb8fd7893813a2aa3c84c00d36cde9f9333ed01d4c8447dd47e1a0f44b84d9ae7c4b52157fa2a57ec842719f5b642c813c15fdfe963672ab
data/README.md CHANGED
@@ -3,18 +3,18 @@
3
3
  Provides some basic methods/assertions that are handy for exploring a new ruby library.
4
4
 
5
5
  Sometimes when you hear about a new library/gem you just wat to kick the
6
- kick_the_tires to see what it can do. Sometimes you start with some REPL
7
- example from the authors or some sample code or tests that the author has
8
- provided. This little gem allowed_push_host you to load up a few basic
6
+ tires to see what it can do. Sometimes you start with some REPL
7
+ example from the author's readme or some sample code or tests that the author has
8
+ provided. This little gem allows you to load up a few basic
9
9
  asserts/refutes/shows to explore the library's objects and method results.
10
10
  When you have finished kicking the tires you may want to take the library out
11
11
  for a spin with some functional, application-line code and you don't want
12
- any of the tire kicking out to STDOUT.
12
+ any of the tire kicking to leak to STDOUT.
13
13
 
14
- It would be a good idea to reuse someone's general purpose assertations library.
14
+ It would be a good idea to reuse someone's general purpose assertions library.
15
15
  I did a quick look and didn't find any that were not tightly coupled with a
16
- testing framework. Its an API exploration tool to learn the methods and
17
- objects introduced by a new gem that you have never seen before.
16
+ testing framework. kick_the_tires is an API exploration tool to learn the methods
17
+ and objects introduced by a new gem that you have never seen before.
18
18
 
19
19
  You would never buy a used car without first kicking the tires and taking it
20
20
  for a spin. Why would you start using a new gem without playing with it for
@@ -56,6 +56,13 @@ assert sngte.nil? # active again, will display error stuff if object is not nil
56
56
 
57
57
  ```
58
58
 
59
+ take a look at this public file. I was looking at how I might be able to
60
+ use wordnet (brew/yum install wordnet) through the 'words gem (gem install words).' After I had worked with it a while I decided to write some application-like code so you should see around line #7 where I decided to 'take_it_for_a_spin' which deactivated the subsequent asserts/refutes/shows. My application-like code starts after line #100.
61
+
62
+ http://github.com/MadBomber/experiments/blob/master/wordnet_related/test_words.rb
63
+
64
+
65
+
59
66
  ## Contributing
60
67
 
61
68
  1. Fork it ( https://github.com/[my-github-username]/kick_the_tires/fork )
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "kick_the_tires"
7
- spec.version = '0.0.1'
7
+ spec.version = '0.0.2'
8
8
  spec.authors = ["Dewayne VanHoozer"]
9
9
  spec.email = ["dvanhoozer@gmail.com"]
10
10
 
@@ -26,7 +26,7 @@ module KickTheTires
26
26
  puts "-"*75
27
27
  a_string = caller.last
28
28
  source_line = a_string.split(' ').first.split(':')[1].to_i
29
- puts "Source #=> #{SOURCE[source_line-1]}" # MAGIC: zero-based index
29
+ puts "Source #=> [#{source_line}] #{SOURCE[source_line-1]}" # MAGIC: zero-based index
30
30
  end
31
31
 
32
32
  def show(a_thing)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kick_the_tires
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dewayne VanHoozer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-25 00:00:00.000000000 Z
11
+ date: 2015-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -62,21 +62,14 @@ description: "\n Sometimes when you hear about a new library/gem you just wat
62
62
  want any of the tire kicking out to STDOUT.\n "
63
63
  email:
64
64
  - dvanhoozer@gmail.com
65
- executables:
66
- - console
67
- - setup
65
+ executables: []
68
66
  extensions: []
69
67
  extra_rdoc_files: []
70
68
  files:
71
69
  - ".gitignore"
72
- - ".travis.yml"
73
- - CODE_OF_CONDUCT.md
74
70
  - Gemfile
75
- - LICENSE.txt
76
71
  - README.md
77
72
  - Rakefile
78
- - bin/console
79
- - bin/setup
80
73
  - kick_the_tires.gemspec
81
74
  - lib/kick_the_tires.rb
82
75
  homepage: http://github.com/MadBomber/kick_the_tires
data/.travis.yml DELETED
@@ -1,3 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.0
data/CODE_OF_CONDUCT.md DELETED
@@ -1,13 +0,0 @@
1
- # Contributor Code of Conduct
2
-
3
- As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
-
5
- We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6
-
7
- Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
-
9
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
-
11
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
-
13
- This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015 Dewayne VanHoozer
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "kick_the_tires"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here