fabricas 1.1.2 → 1.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b068777483a9ee32ee5cc084ee922943c6737ec7
4
- data.tar.gz: 13fce60f2f6fd4e65a6f895f4c804070e1958f88
3
+ metadata.gz: 7a57ed8e4b542ee5263f49fa73c34e26e88dde06
4
+ data.tar.gz: 5fe5573b4f8ad595e46b9279b3254c38c95d0b65
5
5
  SHA512:
6
- metadata.gz: ee8586fd90a442a9d07fb84e87e593418b8b2718493a87cf6e64314767ef938bc4064db1fb7b169e8a5899ec30c47c031b7b7e0d7cd0200df6f378a5f4d67828
7
- data.tar.gz: ba8ca31c3907a3f21a8364c13aacd2e4eb89d733bac0b7c531a8d345c7b25eaeba9cb24a22bc224287b9f5cb2517015d781a65fffdd4d571a92bd1dc7e17ca91
6
+ metadata.gz: c8d0714ac385b0cebaee62efe05403195d0b3e1b7c5e7de0eaa54ec01b19581fbdb2b02803aa0f22b4979733d339f3635d386e033bb5a8286dad0b35f0e388f9
7
+ data.tar.gz: 0e7b18e30166ee6bb60df9cc62aeb815def7d933384856ae794af6d38a02c6a5081d531b0ee5ddb76ad120344fd256a4ac1804601d1a7906be94949c17c596b3
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  Fabricas
2
2
  ====
3
3
 
4
- Minimalist library for build factories.
4
+ Minimalist library for build objects as test data. Inspired by [FactoryGirl](https://github.com/thoughtbot/factory_girl)
5
5
 
6
6
  ## Introduction
7
7
 
8
- Fabricas is simple, just a few lines of code. Is framework agnostic, with cero requires and monkey-patch helps you to build objects fast.
8
+ Fabricas is simple; just a few lines of code. It's a framework agnostic library with zero requires and zero monkey-patching of any class or object. Very useful when you need to build objects fast.
9
9
 
10
10
  ## Installation
11
11
 
@@ -15,7 +15,7 @@ Installing Fabricas is as simple as running:
15
15
  $ gem install fabricas
16
16
  ```
17
17
 
18
- Include Fabricas in your Gemfile with gem 'fabricas' or require it with require 'fabricas'.
18
+ Include Fabricas in your Gemfile with ```gem 'fabricas'``` or require it with ```require 'fabricas'```.
19
19
 
20
20
  Usage
21
21
  -----
@@ -72,7 +72,7 @@ Fabricas.define do
72
72
  end
73
73
  ```
74
74
 
75
- You can take advantage of them for send other instances.
75
+ You can take advantage of them for sending other instances.
76
76
 
77
77
  ```ruby
78
78
  class Pet
@@ -114,7 +114,7 @@ puts user.inspect
114
114
  ```
115
115
 
116
116
  ### Inheritance
117
- There is inheritance, your factory child can receive the same attributes and class name of its parent.
117
+ By using inheritance, your factory child can receive the same attributes and class name of its parent.
118
118
 
119
119
  ```ruby
120
120
  Fabricas.define do
@@ -136,4 +136,4 @@ puts user.inspect
136
136
 
137
137
  puts admin.inspect
138
138
  #=> <User @name= "Julio", @email= "email@gmail.com", @access= true>
139
- ```
139
+ ```
@@ -3,8 +3,8 @@ require "./lib/fabricas"
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "fabricas"
5
5
  s.version = Fabricas::VERSION
6
- s.summary = "Minimalist library for build factories."
7
- s.description = "Fabricas is simple, just a few lines of code. Is framework agnostic, there are no monkey-patch to any class or object and is very useful when you need to build objects fast."
6
+ s.summary = "Minimalist library for build objects as test data."
7
+ s.description = "Fabricas is simple; just a few lines of code. It's a framework agnostic library with zero requires and zero monkey-patching of any class or object. Very useful when you need to build objects fast."
8
8
  s.authors = ["Julio Lopez"]
9
9
  s.email = ["ljuliom@gmail.com"]
10
10
  s.homepage = "http://github.com/TheBlasfem/fabricas"
@@ -17,4 +17,4 @@ Gem::Specification.new do |s|
17
17
  ]
18
18
  s.license = "MIT"
19
19
  s.add_development_dependency "cutest", "1.1.3"
20
- end
20
+ end
@@ -18,7 +18,7 @@
18
18
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
19
  # SOFTWARE.
20
20
  module Fabricas
21
- VERSION = "1.1.2"
21
+ VERSION = "1.1.3"
22
22
  @factories = {}
23
23
 
24
24
  def self.define(&block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fabricas
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julio Lopez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-14 00:00:00.000000000 Z
11
+ date: 2015-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cutest
@@ -24,9 +24,9 @@ dependencies:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.1.3
27
- description: Fabricas is simple, just a few lines of code. Is framework agnostic,
28
- there are no monkey-patch to any class or object and is very useful when you need
29
- to build objects fast.
27
+ description: Fabricas is simple; just a few lines of code. It's a framework agnostic
28
+ library with zero requires and zero monkey-patching of any class or object. Very
29
+ useful when you need to build objects fast.
30
30
  email:
31
31
  - ljuliom@gmail.com
32
32
  executables: []
@@ -61,5 +61,5 @@ rubyforge_project:
61
61
  rubygems_version: 2.2.2
62
62
  signing_key:
63
63
  specification_version: 4
64
- summary: Minimalist library for build factories.
64
+ summary: Minimalist library for build objects as test data.
65
65
  test_files: []