neo4jr-simple 0.1.3 → 0.1.5

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.
Files changed (42) hide show
  1. data/VERSION +1 -1
  2. data/lib/neo4jr/configuration.rb +1 -1
  3. data/lib/neo4jr/db.rb +11 -12
  4. data/lib/neo4jr/embedded_neo_extension.rb +17 -0
  5. data/lib/neo4jr/int_array_iterator_extension.rb +7 -0
  6. data/lib/neo4jr/property_container_extension.rb +12 -0
  7. data/lib/neo4jr/relationship_type.rb +8 -1
  8. data/lib/neo4jr-simple.rb +8 -1
  9. data/spec/embedded_neo_extension_spec.rb +18 -0
  10. data/spec/int_array_iterator_extension_spec.rb +5 -0
  11. data/spec/node_extension_spec.rb +5 -0
  12. data/spec/property_container_extension_spec.rb +11 -0
  13. data/spec/relationship_type_spec.rb +21 -0
  14. data/spec/spec_helper.rb +1 -1
  15. metadata +11 -39
  16. data/.document +0 -5
  17. data/.gitignore +0 -27
  18. data/Rakefile +0 -45
  19. data/neo4jr-simple.gemspec +0 -108
  20. data/spec/test-imdb-database/active_tx_log +0 -1
  21. data/spec/test-imdb-database/neostore +0 -0
  22. data/spec/test-imdb-database/neostore.id +0 -0
  23. data/spec/test-imdb-database/neostore.nodestore.db +0 -0
  24. data/spec/test-imdb-database/neostore.nodestore.db.id +0 -0
  25. data/spec/test-imdb-database/neostore.propertystore.db +0 -0
  26. data/spec/test-imdb-database/neostore.propertystore.db.arrays +0 -0
  27. data/spec/test-imdb-database/neostore.propertystore.db.arrays.id +0 -0
  28. data/spec/test-imdb-database/neostore.propertystore.db.id +0 -0
  29. data/spec/test-imdb-database/neostore.propertystore.db.index +0 -0
  30. data/spec/test-imdb-database/neostore.propertystore.db.index.id +0 -0
  31. data/spec/test-imdb-database/neostore.propertystore.db.index.keys +0 -0
  32. data/spec/test-imdb-database/neostore.propertystore.db.index.keys.id +0 -0
  33. data/spec/test-imdb-database/neostore.propertystore.db.strings +0 -0
  34. data/spec/test-imdb-database/neostore.propertystore.db.strings.id +0 -0
  35. data/spec/test-imdb-database/neostore.relationshipstore.db +0 -0
  36. data/spec/test-imdb-database/neostore.relationshipstore.db.id +0 -0
  37. data/spec/test-imdb-database/neostore.relationshiptypestore.db +0 -0
  38. data/spec/test-imdb-database/neostore.relationshiptypestore.db.id +0 -0
  39. data/spec/test-imdb-database/neostore.relationshiptypestore.db.names +0 -0
  40. data/spec/test-imdb-database/neostore.relationshiptypestore.db.names.id +0 -0
  41. data/spec/test-imdb-database/nioneo_logical.log.active +0 -0
  42. data/spec/test-imdb-database/tm_tx_log.1 +0 -0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.5
@@ -2,7 +2,7 @@ module Neo4jr
2
2
  class Configuration
3
3
  class << self
4
4
  def database_path
5
- @database_path ||= Dir.mktmpdir #Dir.tmpdir + '/tmp-neo4j-db'
5
+ @database_path ||= (System.getProperty('neo4jr.database') || Dir.mktmpdir)
6
6
  end
7
7
 
8
8
  def database_path=(value)
data/lib/neo4jr/db.rb CHANGED
@@ -3,8 +3,8 @@ module Neo4jr
3
3
  class << self
4
4
  def instance
5
5
  @neo ||= begin
6
- neo = org.neo4j.api.core.EmbeddedNeo.new(Configuration.database_path)
7
- neo.enable_remote_shell
6
+ neo = EmbeddedNeo.new(Configuration.database_path)
7
+ neo.enable_remote_shell if ENV['enable_neo_shell']
8
8
  at_exit do
9
9
  neo.shutdown
10
10
  end
@@ -13,18 +13,17 @@ module Neo4jr
13
13
  end
14
14
 
15
15
  def getNodeById(node_id)
16
- n = nil
17
16
  execute do |neo|
18
- n = neo.getNodeById(node_id)
17
+ neo.getNodeById(node_id)
19
18
  end
20
- return n
21
19
  end
22
20
 
23
21
  def execute
24
22
  neo = instance
23
+ result = nil
25
24
  transaction = neo.beginTx();
26
25
  begin
27
- yield neo
26
+ result = yield neo
28
27
  transaction.success
29
28
  rescue Exception => e
30
29
  transaction.failure
@@ -32,6 +31,7 @@ module Neo4jr
32
31
  ensure
33
32
  transaction.finish
34
33
  end
34
+ result
35
35
  end
36
36
 
37
37
  def node_count
@@ -39,15 +39,14 @@ module Neo4jr
39
39
  end
40
40
 
41
41
  def stats
42
- info = ['== Database Stats ==']
43
- info << "Path: #{Configuration.database_path}"
44
- info << "Nodes: #{node_count}"
45
- info << '===================='
46
- info.join("\n")
42
+ {
43
+ :path => Configuration.database_path,
44
+ :nodes => node_count
45
+ }
47
46
  end
48
47
 
49
48
  def to_s
50
- stats
49
+ stats.inspect
51
50
  end
52
51
  end
53
52
  end
@@ -0,0 +1,17 @@
1
+ org.neo4j.api.core.EmbeddedNeo.java_class.ruby_class.class_eval do
2
+
3
+ alias :orginalGetNodeById :getNodeById
4
+ def getNodeById(id)
5
+ orginalGetNodeById(id.to_i)
6
+ end
7
+
8
+ alias :orginalCreateNode :createNode
9
+ def createNode(hash = nil)
10
+ node = orginalCreateNode
11
+ node.update_properties(hash)
12
+ node
13
+ end
14
+ alias :create_node :createNode
15
+
16
+
17
+ end
@@ -0,0 +1,7 @@
1
+ org.neo4j.impl.core.IntArrayIterator.java_class.ruby_class.class_eval do
2
+
3
+ def hashify_objects
4
+ map{|object| object.to_hash }
5
+ end
6
+
7
+ end
@@ -23,4 +23,16 @@ org.neo4j.api.core.PropertyContainer.java_class.ruby_class.class_eval do
23
23
  properties
24
24
  end
25
25
 
26
+ def update_properties(hash)
27
+ hash.each_pair do |key, value|
28
+ self[key] = convert(value) unless value.nil?
29
+ end unless hash.nil?
30
+ end
31
+
32
+ private
33
+ def convert(value)
34
+ return value.to_s if value.is_a? Symbol
35
+ value
36
+ end
37
+
26
38
  end
@@ -9,6 +9,10 @@ module Neo4jr
9
9
  return @@names[name] if @@names.include?(name)
10
10
  @@names[name] = RelationshipType.new(name)
11
11
  end
12
+
13
+ def instances(*names)
14
+ names.map{|name| instance(name)}.to_java(org.neo4j.api.core.RelationshipType)
15
+ end
12
16
 
13
17
  def outgoing(type)
14
18
  covert_to_relationship_type(Neo4jr::Direction::OUTGOING, type)
@@ -33,13 +37,16 @@ module Neo4jr
33
37
  def to_s
34
38
  self.class.to_s + " name='#{@name}'"
35
39
  end
40
+
41
+ def to_a
42
+ [self].to_java(org.neo4j.api.core.RelationshipType)
43
+ end
36
44
 
37
45
  def name
38
46
  @name
39
47
  end
40
48
 
41
49
  private
42
-
43
50
  def initialize(name)
44
51
  @name = name.to_s
45
52
  raise ArgumentError.new("Expect type of relationship to be a name of at least one character") if @name.empty?
data/lib/neo4jr-simple.rb CHANGED
@@ -1,20 +1,27 @@
1
+ $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__)))
2
+
1
3
  include Java
2
4
 
3
5
  module Neo4jr
4
- require 'jars/neo-1.0-b10.jar'
5
6
  require 'jars/shell-1.0-b10.jar'
7
+ require 'jars/neo-1.0-b10.jar'
6
8
  require 'jars/jta-1.1.jar'
7
9
  require 'jars/graph-algo-0.2-20090815.182816-1.jar'
8
10
 
11
+ include_class 'java.lang.System'
12
+
13
+ EmbeddedNeo = org.neo4j.api.core.EmbeddedNeo
9
14
  AllSimplePaths = org.neo4j.graphalgo.AllSimplePaths
10
15
  end
11
16
 
12
17
  require 'neo4jr/configuration'
13
18
  require 'neo4jr/db'
14
19
  require 'neo4jr/relationship_type'
20
+ require 'neo4jr/embedded_neo_extension'
15
21
  require 'neo4jr/node_extension'
16
22
  require 'neo4jr/relationship_extension'
17
23
  require 'neo4jr/property_container_extension'
24
+ require 'neo4jr/int_array_iterator_extension'
18
25
  require 'neo4jr/traverser_extension'
19
26
  require 'neo4jr/returnable_evaluator'
20
27
  require 'neo4jr/stop_evaluator'
@@ -0,0 +1,18 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe Neo4jr::EmbeddedNeo do
4
+
5
+ it 'should retreive nodes by string' do
6
+ lambda{
7
+ Neo4jr::DB.getNodeById("0")
8
+ }.should_not raise_error
9
+ end
10
+
11
+ it 'accepts a hash when creating a node' do
12
+ node_created = Neo4jr::DB.execute do |embedded_neo|
13
+ embedded_neo.create_node(:a => 'b')
14
+ end
15
+ node_created[:a].should == 'b'
16
+ end
17
+
18
+ end
@@ -0,0 +1,5 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe 'IntArrayIterartor' do
4
+
5
+ end
@@ -0,0 +1,5 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe 'node extension' do
4
+
5
+ end
@@ -14,4 +14,15 @@ describe 'property container extension' do
14
14
  tom_hanks[:testing].should == '123'
15
15
  end
16
16
  end
17
+
18
+ it 'mass updates properties from a hash' do
19
+ hash = {:a => :b}
20
+ node_created = Neo4jr::DB.execute do |neo|
21
+ node = neo.createNode
22
+ node.update_properties(hash)
23
+ node
24
+ end
25
+ node_created[:a].should == 'b'
26
+ end
27
+
17
28
  end
@@ -0,0 +1,21 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe Neo4jr::RelationshipType do
4
+
5
+ it 'converts a string into a RelationshipType' do
6
+ Neo4jr::RelationshipType.instance('worked_in').should be_is_a(Neo4jr::RelationshipType)
7
+ end
8
+
9
+ it 'converts multiople types into an typed array of RelationshipType' do
10
+ relationship_types = Neo4jr::RelationshipType.instances('worked_in', 'acted_in')
11
+ relationship_types.size.should == 2
12
+ relationship_types[0].should be_is_a(Neo4jr::RelationshipType)
13
+ relationship_types[1].should be_is_a(Neo4jr::RelationshipType)
14
+ end
15
+
16
+ it 'can covert one relationship type to a java array so it can be used with the neo4j API' do
17
+ relationship_type = Neo4jr::RelationshipType.instance('worked_in')
18
+ relationship_type.to_a.class.java_class.to_s.should == '[Lorg.neo4j.api.core.RelationshipType;'
19
+ end
20
+
21
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,11 +1,11 @@
1
1
  $LOAD_PATH.unshift(File.dirname(__FILE__))
2
2
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
+
3
4
  require 'neo4jr-simple'
4
5
  require 'spec'
5
6
  require 'spec/autorun'
6
7
 
7
8
  Neo4jr::Configuration.database_path = File.join(File.expand_path(File.dirname(__FILE__)), 'test-imdb-database')
8
- puts Neo4jr::DB
9
9
 
10
10
  Spec::Runner.configure do |config|
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4jr-simple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Deiters
@@ -32,12 +32,6 @@ extra_rdoc_files:
32
32
  - LICENSE
33
33
  - README.rdoc
34
34
  files:
35
- - .document
36
- - .gitignore
37
- - LICENSE
38
- - README.rdoc
39
- - Rakefile
40
- - VERSION
41
35
  - bin/neosh
42
36
  - lib/jars/graph-algo-0.2-20090815.182816-1.jar
43
37
  - lib/jars/jta-1.1.jar
@@ -48,6 +42,8 @@ files:
48
42
  - lib/neo4jr/configuration.rb
49
43
  - lib/neo4jr/db.rb
50
44
  - lib/neo4jr/direction.rb
45
+ - lib/neo4jr/embedded_neo_extension.rb
46
+ - lib/neo4jr/int_array_iterator_extension.rb
51
47
  - lib/neo4jr/node_extension.rb
52
48
  - lib/neo4jr/order.rb
53
49
  - lib/neo4jr/property_container_extension.rb
@@ -57,38 +53,8 @@ files:
57
53
  - lib/neo4jr/stop_evaluator.rb
58
54
  - lib/neo4jr/traverser_extension.rb
59
55
  - lib/neo4jr/version.rb
60
- - neo4jr-simple.gemspec
61
- - spec/db_spec.rb
62
- - spec/direction_spec.rb
63
- - spec/functional_example_spec.rb
64
- - spec/property_container_extension_spec.rb
65
- - spec/returnable_evaluator_spec.rb
66
- - spec/spec.opts
67
- - spec/spec_helper.rb
68
- - spec/stop_evaluator_spec.rb
69
- - spec/test-imdb-database/active_tx_log
70
- - spec/test-imdb-database/neostore
71
- - spec/test-imdb-database/neostore.id
72
- - spec/test-imdb-database/neostore.nodestore.db
73
- - spec/test-imdb-database/neostore.nodestore.db.id
74
- - spec/test-imdb-database/neostore.propertystore.db
75
- - spec/test-imdb-database/neostore.propertystore.db.arrays
76
- - spec/test-imdb-database/neostore.propertystore.db.arrays.id
77
- - spec/test-imdb-database/neostore.propertystore.db.id
78
- - spec/test-imdb-database/neostore.propertystore.db.index
79
- - spec/test-imdb-database/neostore.propertystore.db.index.id
80
- - spec/test-imdb-database/neostore.propertystore.db.index.keys
81
- - spec/test-imdb-database/neostore.propertystore.db.index.keys.id
82
- - spec/test-imdb-database/neostore.propertystore.db.strings
83
- - spec/test-imdb-database/neostore.propertystore.db.strings.id
84
- - spec/test-imdb-database/neostore.relationshipstore.db
85
- - spec/test-imdb-database/neostore.relationshipstore.db.id
86
- - spec/test-imdb-database/neostore.relationshiptypestore.db
87
- - spec/test-imdb-database/neostore.relationshiptypestore.db.id
88
- - spec/test-imdb-database/neostore.relationshiptypestore.db.names
89
- - spec/test-imdb-database/neostore.relationshiptypestore.db.names.id
90
- - spec/test-imdb-database/nioneo_logical.log.active
91
- - spec/test-imdb-database/tm_tx_log.1
56
+ - LICENSE
57
+ - README.rdoc
92
58
  has_rdoc: true
93
59
  homepage: http://github.com/mdeiters/neo4jr-simple
94
60
  licenses: []
@@ -118,10 +84,16 @@ signing_key:
118
84
  specification_version: 3
119
85
  summary: A simple, ready to go JRuby wrapper for the Neo4j graph database engine.
120
86
  test_files:
87
+ - VERSION
121
88
  - spec/db_spec.rb
122
89
  - spec/direction_spec.rb
90
+ - spec/embedded_neo_extension_spec.rb
123
91
  - spec/functional_example_spec.rb
92
+ - spec/int_array_iterator_extension_spec.rb
93
+ - spec/node_extension_spec.rb
124
94
  - spec/property_container_extension_spec.rb
95
+ - spec/relationship_type_spec.rb
125
96
  - spec/returnable_evaluator_spec.rb
97
+ - spec/spec.opts
126
98
  - spec/spec_helper.rb
127
99
  - spec/stop_evaluator_spec.rb
data/.document DELETED
@@ -1,5 +0,0 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE
data/.gitignore DELETED
@@ -1,27 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC
22
-
23
- ##Netbeans
24
- nbproject
25
-
26
- ##Rubymine
27
- .idea
data/Rakefile DELETED
@@ -1,45 +0,0 @@
1
- require 'rubygems'
2
- require 'rake'
3
-
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "neo4jr-simple"
8
- gem.summary = %Q{A simple, ready to go JRuby wrapper for the Neo4j graph database engine.}
9
- gem.description = %Q{A simple, ready to go JRuby wrapper for the Neo4j graph database engine. Nothing more then Neo4j and Ruby goodness}
10
- gem.email = "matthew_deiters@mckinsey.com"
11
- gem.homepage = "http://github.com/mdeiters/neo4jr-simple"
12
- gem.authors = ["Matthew Deiters"]
13
- gem.add_development_dependency "rspec", ">= 1.2.9"
14
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
- end
16
- Jeweler::GemcutterTasks.new
17
- rescue LoadError
18
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
19
- end
20
-
21
- require 'spec/rake/spectask'
22
- Spec::Rake::SpecTask.new(:spec) do |spec|
23
- spec.libs << 'lib' << 'spec'
24
- spec.spec_files = FileList['spec/**/*_spec.rb']
25
- end
26
-
27
- Spec::Rake::SpecTask.new(:rcov) do |spec|
28
- spec.libs << 'lib' << 'spec'
29
- spec.pattern = 'spec/**/*_spec.rb'
30
- spec.rcov = true
31
- end
32
-
33
- task :spec => :check_dependencies
34
-
35
- task :default => :spec
36
-
37
- require 'rake/rdoctask'
38
- Rake::RDocTask.new do |rdoc|
39
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
40
-
41
- rdoc.rdoc_dir = 'rdoc'
42
- rdoc.title = "neo4jr-simple #{version}"
43
- rdoc.rdoc_files.include('README*')
44
- rdoc.rdoc_files.include('lib/**/*.rb')
45
- end
@@ -1,108 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{neo4jr-simple}
8
- s.version = "0.1.3"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Matthew Deiters"]
12
- s.date = %q{2009-12-23}
13
- s.default_executable = %q{neosh}
14
- s.description = %q{A simple, ready to go JRuby wrapper for the Neo4j graph database engine. Nothing more then Neo4j and Ruby goodness}
15
- s.email = %q{matthew_deiters@mckinsey.com}
16
- s.executables = ["neosh"]
17
- s.extra_rdoc_files = [
18
- "LICENSE",
19
- "README.rdoc"
20
- ]
21
- s.files = [
22
- ".document",
23
- ".gitignore",
24
- "LICENSE",
25
- "README.rdoc",
26
- "Rakefile",
27
- "VERSION",
28
- "bin/neosh",
29
- "lib/jars/graph-algo-0.2-20090815.182816-1.jar",
30
- "lib/jars/jta-1.1.jar",
31
- "lib/jars/neo-1.0-b10.jar",
32
- "lib/jars/shell-1.0-b10.jar",
33
- "lib/neo4jr-simple.rb",
34
- "lib/neo4jr/cli.rb",
35
- "lib/neo4jr/configuration.rb",
36
- "lib/neo4jr/db.rb",
37
- "lib/neo4jr/direction.rb",
38
- "lib/neo4jr/node_extension.rb",
39
- "lib/neo4jr/order.rb",
40
- "lib/neo4jr/property_container_extension.rb",
41
- "lib/neo4jr/relationship_extension.rb",
42
- "lib/neo4jr/relationship_type.rb",
43
- "lib/neo4jr/returnable_evaluator.rb",
44
- "lib/neo4jr/stop_evaluator.rb",
45
- "lib/neo4jr/traverser_extension.rb",
46
- "lib/neo4jr/version.rb",
47
- "neo4jr-simple.gemspec",
48
- "spec/db_spec.rb",
49
- "spec/direction_spec.rb",
50
- "spec/functional_example_spec.rb",
51
- "spec/property_container_extension_spec.rb",
52
- "spec/returnable_evaluator_spec.rb",
53
- "spec/spec.opts",
54
- "spec/spec_helper.rb",
55
- "spec/stop_evaluator_spec.rb",
56
- "spec/test-imdb-database/active_tx_log",
57
- "spec/test-imdb-database/neostore",
58
- "spec/test-imdb-database/neostore.id",
59
- "spec/test-imdb-database/neostore.nodestore.db",
60
- "spec/test-imdb-database/neostore.nodestore.db.id",
61
- "spec/test-imdb-database/neostore.propertystore.db",
62
- "spec/test-imdb-database/neostore.propertystore.db.arrays",
63
- "spec/test-imdb-database/neostore.propertystore.db.arrays.id",
64
- "spec/test-imdb-database/neostore.propertystore.db.id",
65
- "spec/test-imdb-database/neostore.propertystore.db.index",
66
- "spec/test-imdb-database/neostore.propertystore.db.index.id",
67
- "spec/test-imdb-database/neostore.propertystore.db.index.keys",
68
- "spec/test-imdb-database/neostore.propertystore.db.index.keys.id",
69
- "spec/test-imdb-database/neostore.propertystore.db.strings",
70
- "spec/test-imdb-database/neostore.propertystore.db.strings.id",
71
- "spec/test-imdb-database/neostore.relationshipstore.db",
72
- "spec/test-imdb-database/neostore.relationshipstore.db.id",
73
- "spec/test-imdb-database/neostore.relationshiptypestore.db",
74
- "spec/test-imdb-database/neostore.relationshiptypestore.db.id",
75
- "spec/test-imdb-database/neostore.relationshiptypestore.db.names",
76
- "spec/test-imdb-database/neostore.relationshiptypestore.db.names.id",
77
- "spec/test-imdb-database/nioneo_logical.log.active",
78
- "spec/test-imdb-database/tm_tx_log.1"
79
- ]
80
- s.homepage = %q{http://github.com/mdeiters/neo4jr-simple}
81
- s.rdoc_options = ["--charset=UTF-8"]
82
- s.require_paths = ["lib"]
83
- s.rubygems_version = %q{1.3.5}
84
- s.summary = %q{A simple, ready to go JRuby wrapper for the Neo4j graph database engine.}
85
- s.test_files = [
86
- "spec/db_spec.rb",
87
- "spec/direction_spec.rb",
88
- "spec/functional_example_spec.rb",
89
- "spec/property_container_extension_spec.rb",
90
- "spec/returnable_evaluator_spec.rb",
91
- "spec/spec_helper.rb",
92
- "spec/stop_evaluator_spec.rb"
93
- ]
94
-
95
- if s.respond_to? :specification_version then
96
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
97
- s.specification_version = 3
98
-
99
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
100
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
101
- else
102
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
103
- end
104
- else
105
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
106
- end
107
- end
108
-
@@ -1 +0,0 @@
1
- tm_tx_log.1
Binary file
Binary file
File without changes