jashmenn-apriori 0.2.0 → 0.2.1

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.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ == 0.2.1 2008-09-12
2
+ * updated requirements to check for the proper rubygems version
3
+
4
+ == 0.2.0 2008-09-12
5
+ * changed the formatting of the association rules to_s to be more intuitive to those not familiar with formal prob.
6
+
1
7
  == 0.1.2 2008-09-05
2
8
  * fixed some bugs for case-sensitive machines
3
9
 
@@ -2,6 +2,20 @@ require 'fileutils'
2
2
  include FileUtils
3
3
 
4
4
  require 'rubygems'
5
+
6
+ def check_rubygems_version
7
+ min_version = '1.2.0'
8
+ local_version = %x[gem --version].chomp
9
+
10
+ unless local_version >= min_version
11
+ puts "You need to update the RubyGems utility to #{min_version} using the following"
12
+ puts ""
13
+ puts " sudo gem update --system"
14
+ exit
15
+ end
16
+ end
17
+ check_rubygems_version
18
+
5
19
  %w[rake hoe newgem rubigen].each do |req_gem|
6
20
  begin
7
21
  require req_gem
@@ -2,7 +2,7 @@ module Apriori
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jashmenn-apriori
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Murray
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-12 00:00:00 -07:00
12
+ date: 2008-09-17 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency