crewait 0.1.1 → 0.1.2
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.
- data/Manifest +1 -0
- data/Rakefile +1 -1
- data/crewait.gemspec +2 -2
- data/lib/crewait.rb +1 -1
- metadata +4 -4
data/Manifest
CHANGED
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.2') 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.
|
|
5
|
+
s.version = "0.1.2"
|
|
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"]
|
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
|
10
10
|
s.description = %q{Intuitive and fast bulk insertion in ActiveRecord}
|
|
11
11
|
s.email = %q{me@jonah.org}
|
|
12
12
|
s.extra_rdoc_files = ["README.rdoc", "lib/crewait.rb"]
|
|
13
|
-
s.files = ["Manifest", "README.rdoc", "Rakefile", "
|
|
13
|
+
s.files = ["Manifest", "README.rdoc", "Rakefile", "crewait.gemspec", "lib/crewait.rb"]
|
|
14
14
|
s.homepage = %q{http://github.com/theAlmanac/crewait}
|
|
15
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Crewait", "--main", "README.rdoc"]
|
|
16
16
|
s.require_paths = ["lib"]
|
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(
|
|
42
|
+
database = YAML.load(open(File.join('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: 31
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.1.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Jonah Bloch-Johnson
|
|
@@ -32,8 +32,8 @@ files:
|
|
|
32
32
|
- Manifest
|
|
33
33
|
- README.rdoc
|
|
34
34
|
- Rakefile
|
|
35
|
-
- lib/crewait.rb
|
|
36
35
|
- crewait.gemspec
|
|
36
|
+
- lib/crewait.rb
|
|
37
37
|
has_rdoc: true
|
|
38
38
|
homepage: http://github.com/theAlmanac/crewait
|
|
39
39
|
licenses: []
|