crewait 0.1.2 → 0.1.3

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 (4) hide show
  1. data/Rakefile +1 -1
  2. data/crewait.gemspec +1 -1
  3. data/lib/crewait.rb +1 -1
  4. 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.2') do |p|
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{crewait}
5
- s.version = "0.1.2"
5
+ s.version = "0.1.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jonah Bloch-Johnson"]
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: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonah Bloch-Johnson