icersplicer 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa5eaf273fcb7862ad081ad0944b41c60d2def7e
4
- data.tar.gz: 7fcc0e5257079277bb47ff0c5a1b2da401b1444e
3
+ metadata.gz: cf257b4cdb2dd63a7f4cd2228d50e80761aacf5f
4
+ data.tar.gz: 38982829440b3ab9fdba0b07007cbf8e48c191ac
5
5
  SHA512:
6
- metadata.gz: 2c51ec7c9aa16508578711e364fe5f4e03fae680fb151831e606723bfaecd0d59d3ace135ad3f39f1fa98b350ba40f30850521bcd885e51a1f53212c3c18cf6c
7
- data.tar.gz: 79ae4c37b6f96ab03a846d2378308730553a034d864a5e5c57a10a48b55c57bd79074cad8b28a1ef5aa4628644e01ae7d5f0da3e53abc9ffeeec1839125c7449
6
+ metadata.gz: 8278682529e6f0a75bb1a10b6eabbde3174917199866a441ace85ace7d8bc5c4a75f42f02dbbe23b897465b49c7720b3bb0b0aba22765a627ed2f674b8e137c1
7
+ data.tar.gz: 0a8bb5be1ea072b79cb90a83639cfa5ddd8eebc177dfbe4c7b334bc9fadc75e65b750013a8f9d467ca7c60c7393a63acf355a1577c72b0c2e2d6e8e5e9725d44
data/bin/icersplicer CHANGED
@@ -20,7 +20,10 @@ require 'pp'
20
20
  require File.expand_path(File.join(
21
21
  File.dirname(__FILE__),
22
22
  "../lib/icersplicer.rb"))
23
-
23
+ require File.expand_path(File.join(
24
+ File.dirname(__FILE__),
25
+ "../lib/version.rb"))
26
+
24
27
  include Icersplicer
25
28
 
26
29
  trap("INT") {
data/lib/icersplicer.rb CHANGED
@@ -10,18 +10,6 @@
10
10
  ########################################################################
11
11
  require 'file-tail'
12
12
 
13
- module Icersplicer
14
-
15
- module VERSION #:nodoc:
16
- MAJOR = 0
17
- MINOR = 9
18
- TINY = 0
19
- CODENAME = "Icey Sea !"
20
- STRING = [MAJOR, MINOR, TINY].join('.')
21
- end
22
-
23
- end
24
-
25
13
  module Icersplicer
26
14
 
27
15
  class FileProcessor
@@ -64,7 +52,7 @@ module Icersplicer
64
52
  def load_keywords(file)
65
53
  keys = Hash.new
66
54
  linenum = 0
67
- unless Dir.exists?("#{Dir.home}/.icersplicer")
55
+ unless Dir.exist?("#{Dir.home}/.icersplicer")
68
56
  Dir.mkdir("#{Dir.home}/.icersplicer")
69
57
  end
70
58
  if File.exists?("#{Dir.home}/.icersplicer/#{file}")
data/lib/version.rb ADDED
@@ -0,0 +1,12 @@
1
+
2
+ module Icersplicer
3
+
4
+ module VERSION #:nodoc:
5
+ MAJOR = 0
6
+ MINOR = 9
7
+ TINY = 2
8
+ CODENAME = "Ice Wolf!"
9
+ STRING = [MAJOR, MINOR, TINY].join('.')
10
+ end
11
+
12
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icersplicer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Hood
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-26 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: walltime
@@ -50,6 +50,7 @@ files:
50
50
  - examples/files/voc_dump.sql
51
51
  - examples/keywords.ice
52
52
  - lib/icersplicer.rb
53
+ - lib/version.rb
53
54
  homepage: https://github.com/puppetpies/icersplicer
54
55
  licenses:
55
56
  - GPLv2