rocker 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/ext/rocker/updater.h +2 -1
  2. data/lib/rocker.rb +2 -2
  3. metadata +2 -2
data/ext/rocker/updater.h CHANGED
@@ -62,13 +62,14 @@ public:
62
62
  query = make_known_correct_query().c_str();
63
63
 
64
64
  try {
65
- //R = T.exec(query);
65
+ R = T.exec(query);
66
66
  cout << "Query:" << endl;
67
67
  cout << query << endl;
68
68
  } catch (pqxx::sql_error e) {
69
69
  cerr << "SQL error in Fetcher transactor." << endl;
70
70
  cerr << "Query: " << e.query() << endl;
71
71
  cerr << "Error: " << e.what() << endl;
72
+ //FIXME: Needs to throw a Rails exception of some kind. (Or does it?)
72
73
  }
73
74
  }
74
75
 
data/lib/rocker.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
- require 'ext/rocker/rocker.so'
4
+ require 'rocker.so'
5
5
 
6
6
  class Rocker
7
- VERSION = '0.0.4'
7
+ VERSION = '0.0.5'
8
8
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 4
9
- version: 0.0.4
8
+ - 5
9
+ version: 0.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - John Woods