crewait 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/crewait.gemspec +1 -1
- data/lib/crewait.rb +1 -1
- metadata +3 -3
data/Rakefile
CHANGED
@@ -3,7 +3,7 @@ require 'rubygems'
|
|
3
3
|
require 'rake'
|
4
4
|
require 'echoe'
|
5
5
|
|
6
|
-
Echoe.new('crewait', '0.1.
|
6
|
+
Echoe.new('crewait', '0.1.3') do |p|
|
7
7
|
p.description = "Intuitive and fast bulk insertion in ActiveRecord"
|
8
8
|
p.url = "http://github.com/theAlmanac/crewait"
|
9
9
|
p.author = "Jonah Bloch-Johnson"
|
data/crewait.gemspec
CHANGED
data/lib/crewait.rb
CHANGED
@@ -39,7 +39,7 @@ module Crewait
|
|
39
39
|
|
40
40
|
module BaseMethods
|
41
41
|
def next_insert_id
|
42
|
-
database = YAML.load(open(File.join('config', 'database.yml')))[RAILS_ENV]['database']
|
42
|
+
database = YAML.load(open(File.join(RAILS_ROOT, 'config', 'database.yml')))[RAILS_ENV]['database']
|
43
43
|
ActiveRecord::Base.connection.execute( "
|
44
44
|
SELECT auto_increment
|
45
45
|
FROM information_schema.tables
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crewait
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jonah Bloch-Johnson
|