oqgraph_rails 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.3
5
+ - jruby-18mode # JRuby in 1.8 mode
6
+ - jruby-19mode # JRuby in 1.9 mode
7
+ - rbx-18mode
8
+ - rbx-19mode
data/Gemfile CHANGED
@@ -1,2 +1,7 @@
1
1
  source :rubygems
2
- gemspec
2
+ gemspec
3
+
4
+ group :test do
5
+ gem 'rake'
6
+ gem 'rails'
7
+ end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oqgraph_rails (0.0.1)
4
+ oqgraph_rails (0.1.0)
5
5
  activerecord
6
6
  minitest
7
7
  mysql2
@@ -26,6 +26,7 @@ GEM
26
26
  minitest (3.1.0)
27
27
  multi_json (1.3.6)
28
28
  mysql2 (0.3.11)
29
+ rake (0.9.2.2)
29
30
  tzinfo (0.3.33)
30
31
 
31
32
  PLATFORMS
@@ -33,3 +34,4 @@ PLATFORMS
33
34
 
34
35
  DEPENDENCIES
35
36
  oqgraph_rails!
37
+ rake
data/README.md CHANGED
@@ -238,6 +238,10 @@ by using the --init-file=<SQLfile> option in my.cnf with the appropriate SQL in
238
238
  I've encountered a bug where the oqgraph table occasionally needs to be dropped and rebuilt. It's being tracked down.
239
239
  If you are not getting any results from the oqgraph table try dropping it and restarting the app.
240
240
 
241
+ The OQGraph migration sets the database engine to OQGRAPH, the mysql active record adapter always defaults the
242
+ engine to INNODB, this means that while the migration to create the table works, creating the table using
243
+ the schema will not set the correct database engine.
244
+
241
245
  I'm working on a way to tell if the oqgraph table is stale other than by the current count of rows. Suggestions would be welcome.
242
246
 
243
247
  Copyright (c) 2010 - 2012 Stuart Coyle, released under the MIT license
data/Rakefile CHANGED
@@ -2,6 +2,8 @@
2
2
  require "bundler/gem_tasks"
3
3
  require 'rake/testtask'
4
4
 
5
+ task :default => [:test]
6
+
5
7
  Rake::TestTask.new(:test) do |t|
6
8
  t.libs << 'lib'
7
9
  t.libs << 'test'
@@ -1,3 +1,3 @@
1
1
  module OqgraphRails
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oqgraph_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-25 00:00:00.000000000 +10:00
12
+ date: 2012-08-01 00:00:00.000000000 +10:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mysql2
17
- requirement: &2167111280 !ruby/object:Gem::Requirement
17
+ requirement: &2152162120 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2167111280
25
+ version_requirements: *2152162120
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: activerecord
28
- requirement: &2167110580 !ruby/object:Gem::Requirement
28
+ requirement: &2160557140 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2167110580
36
+ version_requirements: *2160557140
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: minitest
39
- requirement: &2167109740 !ruby/object:Gem::Requirement
39
+ requirement: &2160882940 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '0'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2167109740
47
+ version_requirements: *2160882940
48
48
  description: Graph engine interface for active record.
49
49
  email:
50
50
  - stuart.coyle@gmail.com
@@ -52,6 +52,7 @@ executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - .travis.yml
55
56
  - AUTHORS
56
57
  - Gemfile
57
58
  - Gemfile.lock
@@ -69,6 +70,7 @@ files:
69
70
  - lib/oqgraph/node.rb
70
71
  - lib/oqgraph_rails.rb
71
72
  - lib/oqgraph_rails/version.rb
73
+ - oqgraph_rails-0.1.0.gem
72
74
  - oqgraph_rails.gemspec
73
75
  - test/graph_edge_test.rb
74
76
  - test/graph_node_test.rb