snepo-dm-machinist 0.1.1 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -3,7 +3,10 @@ dm-machinist
3
3
 
4
4
  DataMapper plugin for Pete Yandell's(http://notahat.com/) excellent Machinist library.
5
5
 
6
- require 'dm-machinist' in your spec_helper.rb and you can use it in your specs.
6
+
7
+ gem 'snepo-dm-machinist
8
+ require 'dm-machinist'
9
+ in your spec_helper.rb and you can use it in your specs.
7
10
 
8
11
  See Tim Lucus's sweet write up for usage details on Machinist.
9
- http://toolmantim.com/article/2008/10/27/fixtureless_datas_with_machinist_and_sham
12
+ http://toolmantim.com/article/2008/10/27/fixtureless_datas_with_machinist_and_sham
@@ -28,7 +28,7 @@ module DataMapper
28
28
  lathe.instance_eval(&@blueprint)
29
29
  unless Machinist.nerfed?
30
30
  unless lathe.object.save
31
- raise "Error: #{lath.object.errors.inspect}"
31
+ raise "Error: #{lathe.object.errors.inspect}"
32
32
  end
33
33
  lathe.object.reload
34
34
  end
data/spec/spec_helper.rb CHANGED
@@ -3,7 +3,6 @@ gem 'rspec', '>=1.1.3'
3
3
  require 'spec'
4
4
  require 'pathname'
5
5
  require Pathname(__FILE__).dirname.expand_path.parent + 'lib/dm-machinist'
6
- require Pathname(__FILE__).dirname.expand_path / 'helpers'
7
6
 
8
7
 
9
8
  def load_driver(name, default_uri)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snepo-dm-machinist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Barrie
@@ -9,11 +9,12 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-27 00:00:00 -07:00
12
+ date: 2009-02-25 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: dm-core
17
+ type: :runtime
17
18
  version_requirement:
18
19
  version_requirements: !ruby/object:Gem::Requirement
19
20
  requirements: