shoulda_create 0.0.6 → 0.0.7

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 (3) hide show
  1. data/lib/shoulda_create.rb +6 -1
  2. metadata +9 -7
  3. checksums.yaml +0 -15
@@ -1,3 +1,8 @@
1
1
  require 'shoulda'
2
2
  require 'shoulda_create/shoulda_create'
3
- require 'shoulda_create/test_unit'
3
+
4
+ begin
5
+ ActiveSupport::TestCase.extend(ShouldaCreate)
6
+ rescue NameError
7
+ require 'shoulda_create/test_unit'
8
+ end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoulda_create
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Bill Kirtley
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-06-17 00:00:00.000000000 Z
12
+ date: 2014-07-28 00:00:00.000000000 Z
12
13
  dependencies: []
13
14
  description: I like using should_create and friends to make assertions about records
14
15
  coming and going in the database. Shoulda did, but doesn't any more. With this,
@@ -18,31 +19,32 @@ executables: []
18
19
  extensions: []
19
20
  extra_rdoc_files: []
20
21
  files:
21
- - README.rdoc
22
- - lib/shoulda_create.rb
23
22
  - lib/shoulda_create/shoulda_create.rb
24
23
  - lib/shoulda_create/test_unit.rb
24
+ - lib/shoulda_create.rb
25
+ - README.rdoc
25
26
  homepage: http://github.com/cluesque/shoulda_create
26
27
  licenses: []
27
- metadata: {}
28
28
  post_install_message:
29
29
  rdoc_options: []
30
30
  require_paths:
31
31
  - lib
32
32
  required_ruby_version: !ruby/object:Gem::Requirement
33
+ none: false
33
34
  requirements:
34
35
  - - ! '>='
35
36
  - !ruby/object:Gem::Version
36
37
  version: '0'
37
38
  required_rubygems_version: !ruby/object:Gem::Requirement
39
+ none: false
38
40
  requirements:
39
41
  - - ! '>='
40
42
  - !ruby/object:Gem::Version
41
43
  version: '0'
42
44
  requirements: []
43
45
  rubyforge_project:
44
- rubygems_version: 2.2.0
46
+ rubygems_version: 1.8.23.2
45
47
  signing_key:
46
- specification_version: 4
48
+ specification_version: 3
47
49
  summary: Restores should_create functionality to shoulda.
48
50
  test_files: []
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZTlhZTE4NGYxY2MxMTJkY2E5MTE4MDk3NTNmZWM2OGUyMDdmYTAzMQ==
5
- data.tar.gz: !binary |-
6
- NTY2MDYwYTk1ZWEwNTE1Yjc2ZThjMmQ1ZmE4YzcwNDA5MGU5MWUwYg==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- ZTM4MzQ0YjA1NDcxNTI5OTI2YmU1MGI0ZTU3YzU0ZjkwNWRhZDI2YzZiMmM0
10
- NmQwZDVkYzMyMTk0MTk2MDI3M2EzN2E2ODE0ZTczNTFmNmEwMDExMmViNjBh
11
- YThkZmVmY2I1NTZjMmNmNTBiMDIzNTgzNjI1MTJlMmE2NWE1Zjk=
12
- data.tar.gz: !binary |-
13
- NGYxOTdmYzNiMTY0MmRiYzUyNDFiNTgyNjkyM2EyMDg4NTA3NDg2NzMxNjRj
14
- ODUxZDM2ZTE0MDBhOTdlZGNmZDI4OWUwNTNkZjIxZDI4ZGM1MTZjYjk0NDVi
15
- YjBmNjJiMjhjYWZkNGIyZmY0MWMwZjk4NDNkZDQ2OWUwZmU0ZGQ=