rspec-active_record_mocks 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7916c465a0bd34487754d11b36daec7aa98b6bf7
4
+ data.tar.gz: 08aed740399bf1acc91fb9f8667eac66590ed2d8
5
+ SHA512:
6
+ metadata.gz: b0ebb4c40c62875ab92a27619f1427a770de89d87c8b5b757f10d8deb6cffe033f40bd6e70d7d6514a926e4f867e6901f6f0a03ab2cfe849542796e1925aeb64
7
+ data.tar.gz: 1a7786439a49a411e9d1c4041797ef1e3aaadd9caeed8b8404be76c87e9917ff2d7ac2491b49613fb7b460cc2e6387bf10585c9de3dfe2ee1963efcb65924571
data/Readme.md CHANGED
@@ -1,10 +1,19 @@
1
+ # Important note
2
+
3
+ *Over the next few days this gem will be transformed to simply be
4
+ `active_record_mocks` so it works with Test::Unit, MiniTest and RSpec.
5
+ This gem will be a complete alias of the other one and will still be
6
+ published but your work flow might change a bit depending on how I
7
+ decide to go about the work flow, this means that you could end up
8
+ using it in an entirely different way than before.*
9
+
1
10
  # RSpec Active Record Mocks.
2
11
 
3
- [![Build Status](https://travis-ci.org/envygeeks/rspec-active_record_mocks.png?branch=master)](https://travis-ci.org/envygeeks/rspec-active_record_mocks) [![Coverage Status](https://coveralls.io/repos/envygeeks/rspec-active_record_mocks/badge.png?branch=master)](https://coveralls.io/r/envygeeks/rspec-active_record_mocks) [![Code Climate](https://codeclimate.com/github/envygeeks/rspec-active_record_mocks.png)](https://codeclimate.com/github/envygeeks/rspec-active_record_mocks) [![Dependency Status](https://gemnasium.com/envygeeks/rspec-active_record_mocks.png)](https://gemnasium.com/envygeeks/rspec-active_record_mocks)
12
+ [![Build Status](https://travis-ci.org/envygeeks/active_record_mocks.png?branch=master)](https://travis-ci.org/envygeeks/active_record_mocks) [![Coverage Status](https://coveralls.io/repos/envygeeks/active_record_mocks/badge.png?branch=master)](https://coveralls.io/r/envygeeks/active_record_mocks) [![Code Climate](https://codeclimate.com/github/envygeeks/active_record_mocks.png)](https://codeclimate.com/github/envygeeks/active_record_mocks) [![Dependency Status](https://gemnasium.com/envygeeks/active_record_mocks.png)](https://gemnasium.com/envygeeks/active_record_mocks)
4
13
 
5
14
  ActiveRecord Mocks is designed to aide you in testing your ActiveRecord
6
- concerns by creating random models (or even named models) that are removed
7
- after each test.
15
+ concerns by creating random models (or even named models) that are
16
+ removed after each test.
8
17
 
9
18
  ## Installing
10
19
 
@@ -14,9 +23,9 @@ gem "rspec-active_record_mocks"
14
23
 
15
24
  ## Using
16
25
 
17
- `RSpec::ActiveRecordMocks` supports `before` with `:all` or `:each`, it can
18
- also be used directly inside the it. It's designed to try and be a little
19
- bit flexible in how you try to use it.
26
+ `RSpec::ActiveRecordMocks` supports `before` with `:all` or `:each`, it
27
+ can also be used directly inside the it. It's designed to try and be a
28
+ little bit flexible in how you try to use it.
20
29
 
21
30
  ```ruby
22
31
 
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module ActiveRecordMocks
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,35 +1,38 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-active_record_mocks
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.1.3
4
+ version: 0.1.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jordon Bedwell
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-09-14 00:00:00.000000000 Z
11
+ date: 2013-09-22 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rspec
16
- version_requirements: !ruby/object:Gem::Requirement
15
+ requirement: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - ~>
17
+ - - '>='
19
18
  - !ruby/object:Gem::Version
20
19
  version: '2.14'
21
- none: false
22
- requirement: !ruby/object:Gem::Requirement
20
+ - - <
21
+ - !ruby/object:Gem::Version
22
+ version: '3.1'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ~>
27
+ - - '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: '2.14'
27
- none: false
28
- prerelease: false
29
- type: :runtime
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: '3.1'
30
33
  - !ruby/object:Gem::Dependency
31
34
  name: activerecord
32
- version_requirements: !ruby/object:Gem::Requirement
35
+ requirement: !ruby/object:Gem::Requirement
33
36
  requirements:
34
37
  - - '>='
35
38
  - !ruby/object:Gem::Version
@@ -37,8 +40,9 @@ dependencies:
37
40
  - - <=
38
41
  - !ruby/object:Gem::Version
39
42
  version: '4.1'
40
- none: false
41
- requirement: !ruby/object:Gem::Requirement
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
42
46
  requirements:
43
47
  - - '>='
44
48
  - !ruby/object:Gem::Version
@@ -46,57 +50,48 @@ dependencies:
46
50
  - - <=
47
51
  - !ruby/object:Gem::Version
48
52
  version: '4.1'
49
- none: false
50
- prerelease: false
51
- type: :runtime
52
53
  - !ruby/object:Gem::Dependency
53
54
  name: rspec-expect_error
54
- version_requirements: !ruby/object:Gem::Requirement
55
+ requirement: !ruby/object:Gem::Requirement
55
56
  requirements:
56
57
  - - ~>
57
58
  - !ruby/object:Gem::Version
58
59
  version: '0.0'
59
- none: false
60
- requirement: !ruby/object:Gem::Requirement
60
+ type: :development
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
61
63
  requirements:
62
64
  - - ~>
63
65
  - !ruby/object:Gem::Version
64
66
  version: '0.0'
65
- none: false
66
- prerelease: false
67
- type: :development
68
67
  - !ruby/object:Gem::Dependency
69
68
  name: envygeeks-coveralls
70
- version_requirements: !ruby/object:Gem::Requirement
69
+ requirement: !ruby/object:Gem::Requirement
71
70
  requirements:
72
71
  - - ~>
73
72
  - !ruby/object:Gem::Version
74
73
  version: '0.1'
75
- none: false
76
- requirement: !ruby/object:Gem::Requirement
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - ~>
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0.1'
81
- none: false
82
- prerelease: false
83
- type: :development
84
81
  - !ruby/object:Gem::Dependency
85
82
  name: luna-rspec-formatters
86
- version_requirements: !ruby/object:Gem::Requirement
83
+ requirement: !ruby/object:Gem::Requirement
87
84
  requirements:
88
85
  - - ~>
89
86
  - !ruby/object:Gem::Version
90
87
  version: '0.4'
91
- none: false
92
- requirement: !ruby/object:Gem::Requirement
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
93
91
  requirements:
94
92
  - - ~>
95
93
  - !ruby/object:Gem::Version
96
94
  version: '0.4'
97
- none: false
98
- prerelease: false
99
- type: :development
100
95
  description: Mock ActiveRecord tables to test concerns and other code.
101
96
  email: envygeeks@gmail.com
102
97
  executables: []
@@ -112,7 +107,8 @@ files:
112
107
  homepage: https://github.com/envygeeks/rspec-active_record_mocks
113
108
  licenses:
114
109
  - Apache 2.0
115
- post_install_message:
110
+ metadata: {}
111
+ post_install_message:
116
112
  rdoc_options: []
117
113
  require_paths:
118
114
  - lib
@@ -121,17 +117,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
121
117
  - - '>='
122
118
  - !ruby/object:Gem::Version
123
119
  version: '0'
124
- none: false
125
120
  required_rubygems_version: !ruby/object:Gem::Requirement
126
121
  requirements:
127
122
  - - '>='
128
123
  - !ruby/object:Gem::Version
129
124
  version: '0'
130
- none: false
131
125
  requirements: []
132
- rubyforge_project:
133
- rubygems_version: 1.8.24
134
- signing_key:
135
- specification_version: 3
126
+ rubyforge_project:
127
+ rubygems_version: 2.1.3
128
+ signing_key:
129
+ specification_version: 4
136
130
  summary: Mock ActiveRecord tables to test.
137
131
  test_files: []