employer-activerecord 0.1.2 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -1,5 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
- - jruby-19mode
5
4
  script: rspec
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Employer::ActiveRecord [![Build Status](https://travis-ci.org/mkremer/employer-activerecord.png)](https://travis-ci.org/mkremer/employer-activerecord)
2
2
 
3
+ NOTE: This code is still experimental
4
+
3
5
  ActiveRecord backend for Employer
4
6
 
5
7
  ## Installation
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
16
16
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
17
17
  gem.require_paths = ["lib"]
18
18
 
19
- gem.add_runtime_dependency "employer", "~> 0.3"
19
+ gem.add_runtime_dependency "employer", "~> 0.4"
20
20
  gem.add_runtime_dependency "activerecord", "~> 3.2"
21
21
 
22
22
  gem.add_development_dependency "rspec"
@@ -1,3 +1,6 @@
1
1
  require "employer-activerecord/version"
2
2
  require "employer-activerecord/job"
3
3
  require "employer-activerecord/pipeline"
4
+ require "employer/employees/forking_employee"
5
+
6
+ Employer::Employees::ForkingEmployee.before_fork { ::ActiveRecord::Base.establish_connection }
@@ -1,5 +1,5 @@
1
1
  module Employer
2
2
  module ActiveRecord
3
- VERSION = "0.1.2"
3
+ VERSION = "0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: employer-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: '0.2'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-20 00:00:00.000000000 Z
12
+ date: 2013-03-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: employer
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '0.3'
21
+ version: '0.4'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: activerecord
32
32
  requirement: !ruby/object:Gem::Requirement