name_sort 0.1.1 → 0.1.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: 378ac4f103e7982bb9c36f2f035ba05c93a5dab9
4
- data.tar.gz: 2a7592bcc4484bb0065dfc2a68bae36954704016
3
+ metadata.gz: 5f8b2877808cf91719fafc7d1e3e58c01def6284
4
+ data.tar.gz: a3e71af3acc4b0e982bb1c63e9a6699e6726f98e
5
5
  SHA512:
6
- metadata.gz: b62c13e0f37397ffe1c1bd59aeaab1da1ac043781286a0de3c08b7aea7a71cc1bd6e02c9c62a93833c4391f832afe693582bbc7962f65168d77ea3740b637321
7
- data.tar.gz: 70dd5482f0a3c71e2845039ec65193a2a3bc9d8ad8dbabb7e1684be5acc0815ed7493ea12b738a0d969d7862799c7986cafe680a52ff033ec6bbe9900033e2e9
6
+ metadata.gz: ac459faae84629dd8b1525827a4e4fb2dd9ac65151dfeb8c90d3aedd807347b0006e6d6b682b2ddd2538ed53c6507ae6590e40fe7ed61b0a1a4840f61abcdba2
7
+ data.tar.gz: 8443894217e43a5fb5202fd1a1ee981004d2e592351714648ddd062da22400dbef90c940a58a2ea1141e74f5360fd2baf1954c94eb7b501dc2fc3caea0d05a24
data/exe/demo_name_sort CHANGED
@@ -5,9 +5,9 @@ require "name_sort"
5
5
 
6
6
  sorter = NameSort::Sorter.new
7
7
  {
8
- "|" => "./data/pipe.txt",
9
- " " => "./data/space.txt",
10
- "," => "./data/comma.txt"
8
+ "|" => File.expand_path(File.join(File.dirname(__FILE__), "..", "data", "pipe.txt")),
9
+ " " => File.expand_path(File.join(File.dirname(__FILE__), "..", "data", "space.txt")),
10
+ "," => File.expand_path(File.join(File.dirname(__FILE__), "..", "data", "comma.txt"))
11
11
  }.each_pair do |k,v|
12
12
  sorter.input(k,v)
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module NameSort
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: name_sort
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Jording