logic 0.0.1 → 0.0.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.
data/bin/logic CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- $LOAD_PATH.unshift(File.dirname(__FILE__) + "/lib")
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__) + "/../lib")
3
3
 
4
4
  require 'rubygems'
5
5
  require 'treetop'
@@ -1,3 +1,3 @@
1
1
  When /^I run (.+) (.+) '(.+)'$/ do |ruby_file, command, decision|
2
- When "I run \"ruby #{APP_PATH}/#{ruby_file}.rb #{command} '#{decision}'\""
2
+ When "I run \"#{APP_PATH}/#{ruby_file} #{command} '#{decision}'\""
3
3
  end
@@ -1,6 +1,4 @@
1
- APP_PATH = File.expand_path(File.dirname(__FILE__) + '/../..')
2
-
3
- $LOAD_PATH.unshift("#{APP_PATH}/lib")
1
+ APP_PATH = File.expand_path(File.dirname(__FILE__) + '/../../bin/')
4
2
 
5
3
  require 'aruba'
6
4
  require 'fileutils'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Bryan Ash
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-18 00:00:00 -04:00
17
+ date: 2010-04-07 00:00:00 -04:00
18
18
  default_executable: logic
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -61,7 +61,6 @@ files:
61
61
  - features/support/env.rb
62
62
  - features/truth_table.feature
63
63
  - lib/integer.rb
64
- - lib/logic.rb
65
64
  - lib/logic_operations.rb
66
65
  - lib/logic_parser.treetop
67
66
  - lib/test_case.rb
@@ -72,7 +71,7 @@ files:
72
71
  - spec/spec.opts
73
72
  - spec/truth_table_spec.rb
74
73
  has_rdoc: true
75
- homepage: ""
74
+ homepage: http://github.com/bryan-ash/logic
76
75
  licenses: []
77
76
 
78
77
  post_install_message:
@@ -1,3 +0,0 @@
1
- class Logic
2
- VERSION = '1.0.0'
3
- end