ffactory_girl 4.8.1 → 4.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -76
- data/factory_girl.gemspec +2 -2
- data/lib/factory_girl/version.rb +1 -1
- metadata +5 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c8931291729413c685c1a7d96fbaa967a98c437
|
4
|
+
data.tar.gz: 98bed45d6c6379a26b0a22c5b9c0158a35c44d5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6ef51ad58335ac4c619a9abcf76745ffd7ab97ec5719625803310a11818dcf0bed82c65b2c360b30d2179ed8ecea0a4df528f9e913125aa2ba8695c1b688c30
|
7
|
+
data.tar.gz: 72540dff9eee1b5de592eb050b8a897a7d564feee8d958aa4b3f12bc5730352ba9ce094ba105362a4e729a23b92988e9c4daa5e30e5a8abf33a273aa1ce7a68e
|
data/README.md
CHANGED
@@ -1,79 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
factory_girl is a fixtures replacement with a straightforward definition syntax, support for multiple build strategies (saved instances, unsaved instances, attribute hashes, and stubbed objects), and support for multiple factories for the same class (user, admin_user, and so on), including factory inheritance.
|
4
|
-
|
5
|
-
If you want to use factory_girl with Rails, see
|
6
|
-
[factory_girl_rails](https://github.com/thoughtbot/factory_girl_rails).
|
7
|
-
|
8
|
-
_[Interested in the project name?](NAME.md)._
|
9
|
-
|
10
|
-
Documentation
|
11
|
-
-------------
|
12
|
-
|
13
|
-
You should find the documentation for your version of factory_girl on [Rubygems](https://rubygems.org/gems/factory_girl).
|
14
|
-
|
15
|
-
See [GETTING_STARTED] for information on defining and using factories. We also
|
16
|
-
have [a detailed introductory video][], available for free on Upcase.
|
17
|
-
|
18
|
-
[a detailed introductory video]: https://upcase.com/videos/factory-girl?utm_source=github&utm_medium=open-source&utm_campaign=factory-girl
|
19
|
-
|
20
|
-
Install
|
21
|
-
--------
|
22
|
-
|
23
|
-
Add the following line to Gemfile:
|
24
|
-
|
25
|
-
```ruby
|
26
|
-
gem 'factory_girl'
|
27
|
-
```
|
28
|
-
|
29
|
-
and run `bundle install` from your shell.
|
30
|
-
|
31
|
-
To install the gem manually from your shell, run:
|
32
|
-
|
33
|
-
```shell
|
34
|
-
gem install factory_girl
|
35
|
-
```
|
36
|
-
|
37
|
-
**Caveat:** As of ActiveSupport 5.0 and above, Ruby 2.2.2+ is required. Because
|
38
|
-
of Rubygems' dependency resolution when installing gems, you may see an error
|
39
|
-
similar to:
|
40
|
-
|
41
|
-
```
|
42
|
-
$ gem install factory_girl
|
43
|
-
ERROR: Error installing factory_girl:
|
44
|
-
activesupport requires Ruby version >= 2.2.2.
|
45
|
-
```
|
46
|
-
|
47
|
-
To bypass this, install a pre-5.0 version of ActiveSupport before installing
|
48
|
-
manually.
|
49
|
-
|
50
|
-
Supported Ruby versions
|
51
|
-
-----------------------
|
52
|
-
|
53
|
-
The factory_girl 3.x+ series supports MRI Ruby 1.9. Additionally, factory_girl
|
54
|
-
3.6+ supports JRuby 1.6.7.2+ while running in 1.9 mode. See [GETTING_STARTED]
|
55
|
-
for more information on configuring the JRuby environment.
|
56
|
-
|
57
|
-
For versions of Ruby prior to 1.9, please use factory_girl 2.x.
|
58
|
-
|
59
|
-
More Information
|
60
|
-
----------------
|
61
|
-
|
62
|
-
* [Rubygems](https://rubygems.org/gems/factory_girl)
|
63
|
-
* [Stack Overflow](http://stackoverflow.com/questions/tagged/factory-girl)
|
64
|
-
* [Issues](https://github.com/thoughtbot/factory_girl/issues)
|
65
|
-
* [GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS](http://robots.thoughtbot.com/)
|
66
|
-
|
67
|
-
[GETTING_STARTED]: http://rubydoc.info/gems/factory_girl/file/GETTING_STARTED.md
|
68
|
-
|
69
|
-
Contributing
|
70
|
-
------------
|
71
|
-
|
72
|
-
Please see [CONTRIBUTING.md](https://github.com/thoughtbot/factory_girl/blob/master/CONTRIBUTING.md).
|
73
|
-
|
74
|
-
factory_girl was originally written by Joe Ferris and is now maintained by Josh
|
75
|
-
Clayton. Many improvements and bugfixes were contributed by the [open source
|
76
|
-
community](https://github.com/thoughtbot/factory_girl/graphs/contributors).
|
1
|
+
ffactory_girl is a factory_bot but ffactory_girl
|
77
2
|
|
78
3
|
License
|
79
4
|
-------
|
data/factory_girl.gemspec
CHANGED
@@ -15,8 +15,8 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.require_path = 'lib'
|
16
16
|
s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
|
17
17
|
|
18
|
-
s.authors = ["
|
19
|
-
s.email = ["
|
18
|
+
s.authors = ["Kalys Osmonov"]
|
19
|
+
s.email = ["kalys@osmonov.com"]
|
20
20
|
|
21
21
|
s.homepage = "https://github.com/kalys/ffactory_girl"
|
22
22
|
|
data/lib/factory_girl/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffactory_girl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.8.
|
4
|
+
version: 4.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
- Joe Ferris
|
7
|
+
- Kalys Osmonov
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2018-02-03 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: activesupport
|
@@ -156,8 +155,7 @@ description: |-
|
|
156
155
|
using factories - less error-prone, more explicit, and
|
157
156
|
all-around easier to work with than fixtures.
|
158
157
|
email:
|
159
|
-
-
|
160
|
-
- jferris@thoughtbot.com
|
158
|
+
- kalys@osmonov.com
|
161
159
|
executables: []
|
162
160
|
extensions: []
|
163
161
|
extra_rdoc_files: []
|
@@ -263,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
263
261
|
version: '0'
|
264
262
|
requirements: []
|
265
263
|
rubyforge_project:
|
266
|
-
rubygems_version: 2.
|
264
|
+
rubygems_version: 2.6.11
|
267
265
|
signing_key:
|
268
266
|
specification_version: 4
|
269
267
|
summary: ffactory_girl provides a framework and DSL for defining and using model instance
|