sortviz 0.5.2 → 0.5.3

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: b212635c737033687fa8fd584a29bba5a6a4bdc1
4
- data.tar.gz: 6786147038a1092d595facfa0df0888b5aac1515
3
+ metadata.gz: 7e30b9e51cccc9c3a759b30c48bd2ea23770181b
4
+ data.tar.gz: 846ec151c0cbf34fd73d3eca5a125d18b7b40ef0
5
5
  SHA512:
6
- metadata.gz: 6b407fb6f5332ecd5e45a22105585712077fbe2240db5db67324af79730e9e744344f15e302b970f70bce4bc227c4c84f01deca106365a02a2f4d9961c1c88cd
7
- data.tar.gz: f576f741da8b1f7c958d2c932ea51b8fb646fc71585f950e05203e0cbee30a94697269df92b04c727e11cc3fd0dcdd43902ba752bbc16ffb79532f85753efd45
6
+ metadata.gz: 096d616309245732d9e35b263b89b883332fb56b6b28f5c06130b59ff4231a21f08234c42db951cd4ca48cba55b3ebdeb1e0b05aad0ce0666290b66d2bce70ae
7
+ data.tar.gz: 4dbc3f8bb250a8cebdd6e5d89024476274d3c485aca2eb9d718bafae4df4bb14917e48c79ef4420e9aa4611404e36cd493e2e7b125f8426fc0f4dafe1fdbf23f
File without changes
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module Sortviz
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
@@ -27,7 +27,7 @@ module Sortviz
27
27
  def visualize
28
28
  begin
29
29
  banner
30
- # NOTICE: :Cavet: It's important to setup the canvas AFTER displaying
30
+ # NOTICE: :caveat: It's important to setup the canvas AFTER displaying
31
31
  # the banner, so the canvas would correctly calculate its offsets
32
32
  # based on the current cursor position, as in, after printing banner
33
33
  @canvas.setup
data/lib/sortviz.rb CHANGED
@@ -6,9 +6,8 @@ require 'sortviz/canvas'
6
6
  require 'sortviz/visualizer'
7
7
  require 'sortviz/plugins'
8
8
 
9
- dir = './algorithms'
10
- $LOAD_PATH.unshift(dir)
11
- Dir[File.join(dir, '*.rb')].each {|file| require File.basename(file) }
9
+ libdir = File.dirname(__FILE__)
10
+ Dir[libdir + '/algorithms/*.rb'].each {|file| require file }
12
11
 
13
12
  module Sortviz
14
13
  extend self
data/sortviz.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{Terminal based sorting algorithms visualizer}
13
13
  spec.description = %q{Visualize sorting algorithms with Ruby and Curses lib}
14
- spec.homepage = "http://hadyahmed.com/sortviz"
14
+ spec.homepage = "http://hadyahmed.com"
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sortviz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hady Ahmed
@@ -84,12 +84,12 @@ files:
84
84
  - LICENSE.txt
85
85
  - README.md
86
86
  - Rakefile
87
- - algorithms/bubblesort.rb
88
- - algorithms/insertionsort.rb
89
- - algorithms/selectionsort.rb
90
87
  - bin/console
91
88
  - bin/setup
92
89
  - exe/sortviz
90
+ - lib/algorithms/bubblesort.rb
91
+ - lib/algorithms/insertionsort.rb
92
+ - lib/algorithms/selectionsort.rb
93
93
  - lib/sortviz.rb
94
94
  - lib/sortviz/canvas.rb
95
95
  - lib/sortviz/cursor.rb
@@ -98,7 +98,7 @@ files:
98
98
  - lib/sortviz/visualizer.rb
99
99
  - screenshot.png
100
100
  - sortviz.gemspec
101
- homepage: http://hadyahmed.com/sortviz
101
+ homepage: http://hadyahmed.com
102
102
  licenses:
103
103
  - MIT
104
104
  metadata: {}