factory_girl-preload 2.1.1 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab3729f171070e0df3264bee3761fb1204c77076
4
- data.tar.gz: ce6e84d25feb7922e5aa4a2da6cf9b8147e66c7b
3
+ metadata.gz: bf600819caff54fc1096ad8a47a7c0929f29d502
4
+ data.tar.gz: 6b08c0a4ef6dfb1d7770f54451c246e654d3ac4d
5
5
  SHA512:
6
- metadata.gz: c363f8016ab5703304da1e83712e5e0ce62447465c49c226920fb2229c7e0616bfadbb8bbc2e3d5aa15aa29d8f3225ea7b6a2de6ed5745ff7af28b777bc0f998
7
- data.tar.gz: 58ae144f6f9c5211d7d8e566d2eee5b9b199dc2faae7b1aa48f45439756df6f285921e614e4be35a93135ef5a4f8a47e1abe703dffaa66a3378ebaa80c8a1c3d
6
+ metadata.gz: 29804938666dd0c0aa882617b73b684562c55a4e8a8be0fdac25fbb11192b7c5141bdfff4675ea8974561ad4faca97c0347d8d3c91fd6223f983304fa62112a9
7
+ data.tar.gz: e40000efb9c3dc5001e7aa3761eeadbc2a08628630ed80f463d1ab48685f5443cb7c94c78eee50761d19315e926eca1aca318defdb880efc25faeea37642870f
data/.rspec CHANGED
@@ -1 +1 @@
1
- --color --format documentation
1
+ --color
data/Gemfile.lock CHANGED
@@ -1,88 +1,90 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- factory_girl-preload (2.1.1)
4
+ factory_girl-preload (2.2.0)
5
5
  factory_girl (>= 3.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (4.1.0)
11
- actionview (= 4.1.0)
12
- activesupport (= 4.1.0)
10
+ actionpack (4.1.2)
11
+ actionview (= 4.1.2)
12
+ activesupport (= 4.1.2)
13
13
  rack (~> 1.5.2)
14
14
  rack-test (~> 0.6.2)
15
- actionview (4.1.0)
16
- activesupport (= 4.1.0)
15
+ actionview (4.1.2)
16
+ activesupport (= 4.1.2)
17
17
  builder (~> 3.1)
18
18
  erubis (~> 2.7.0)
19
- activemodel (4.1.0)
20
- activesupport (= 4.1.0)
19
+ activemodel (4.1.2)
20
+ activesupport (= 4.1.2)
21
21
  builder (~> 3.1)
22
- activerecord (4.1.0)
23
- activemodel (= 4.1.0)
24
- activesupport (= 4.1.0)
22
+ activerecord (4.1.2)
23
+ activemodel (= 4.1.2)
24
+ activesupport (= 4.1.2)
25
25
  arel (~> 5.0.0)
26
- activesupport (4.1.0)
26
+ activesupport (4.1.2)
27
27
  i18n (~> 0.6, >= 0.6.9)
28
28
  json (~> 1.7, >= 1.7.7)
29
29
  minitest (~> 5.1)
30
30
  thread_safe (~> 0.1)
31
31
  tzinfo (~> 1.1)
32
32
  arel (5.0.1.20140414130214)
33
- ast (1.1.0)
33
+ awesome_print (1.2.0)
34
34
  builder (3.2.2)
35
+ coderay (1.1.0)
35
36
  diff-lcs (1.2.5)
36
37
  erubis (2.7.0)
37
38
  factory_girl (4.4.0)
38
39
  activesupport (>= 3.0.0)
39
40
  i18n (0.6.9)
40
41
  json (1.8.1)
41
- minitest (5.3.3)
42
- mysql2 (0.3.15)
43
- parser (2.1.7)
44
- ast (~> 1.1)
45
- slop (~> 3.4, >= 3.4.5)
42
+ method_source (0.8.2)
43
+ minitest (5.3.5)
44
+ mysql2 (0.3.16)
45
+ pry (0.9.12.6)
46
+ coderay (~> 1.0)
47
+ method_source (~> 0.8)
48
+ slop (~> 3.4)
49
+ pry-meta (0.0.7)
50
+ awesome_print
51
+ pry
52
+ pry-nav
53
+ pry-remote
54
+ pry-nav (0.2.3)
55
+ pry (~> 0.9.10)
56
+ pry-remote (0.1.8)
57
+ pry (~> 0.9)
58
+ slop (~> 3.0)
46
59
  rack (1.5.2)
47
60
  rack-test (0.6.2)
48
61
  rack (>= 1.0)
49
- railties (4.1.0)
50
- actionpack (= 4.1.0)
51
- activesupport (= 4.1.0)
62
+ railties (4.1.2)
63
+ actionpack (= 4.1.2)
64
+ activesupport (= 4.1.2)
52
65
  rake (>= 0.8.7)
53
66
  thor (>= 0.18.1, < 2.0)
54
- rainbow (2.0.0)
55
- rake (10.3.0)
56
- rspec-collection_matchers (0.0.3)
57
- rspec-expectations (>= 2.99.0.beta1)
58
- rspec-core (3.0.0.beta2)
59
- rspec-support (= 3.0.0.beta2)
60
- rspec-expectations (3.0.0.beta2)
67
+ rake (10.3.2)
68
+ rspec-core (3.0.2)
69
+ rspec-support (~> 3.0.0)
70
+ rspec-expectations (3.0.2)
61
71
  diff-lcs (>= 1.2.0, < 2.0)
62
- rspec-support (= 3.0.0.beta2)
63
- rspec-mocks (3.0.0.beta2)
64
- rspec-support (= 3.0.0.beta2)
65
- rspec-rails (3.0.0.beta2)
72
+ rspec-support (~> 3.0.0)
73
+ rspec-mocks (3.0.2)
74
+ rspec-support (~> 3.0.0)
75
+ rspec-rails (3.0.1)
66
76
  actionpack (>= 3.0)
67
- activemodel (>= 3.0)
68
77
  activesupport (>= 3.0)
69
78
  railties (>= 3.0)
70
- rspec-collection_matchers
71
- rspec-core (= 3.0.0.beta2)
72
- rspec-expectations (= 3.0.0.beta2)
73
- rspec-mocks (= 3.0.0.beta2)
74
- rspec-support (= 3.0.0.beta2)
75
- rspec-support (3.0.0.beta2)
79
+ rspec-core (~> 3.0.0)
80
+ rspec-expectations (~> 3.0.0)
81
+ rspec-mocks (~> 3.0.0)
82
+ rspec-support (~> 3.0.0)
83
+ rspec-support (3.0.2)
76
84
  slop (3.5.0)
77
85
  thor (0.19.1)
78
- thread_safe (0.3.3)
79
- transpec (1.10.4)
80
- activesupport (~> 4.0)
81
- bundler (~> 1.3)
82
- json (~> 1.8)
83
- parser (>= 2.1.6, < 3.0)
84
- rainbow (>= 1.99.1, < 3.0)
85
- tzinfo (1.1.0)
86
+ thread_safe (0.3.4)
87
+ tzinfo (1.2.1)
86
88
  thread_safe (~> 0.1)
87
89
 
88
90
  PLATFORMS
@@ -93,5 +95,5 @@ DEPENDENCIES
93
95
  activerecord
94
96
  factory_girl-preload!
95
97
  mysql2
96
- rspec-rails (= 3.0.0.beta2)
97
- transpec
98
+ pry-meta
99
+ rspec-rails
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.add_dependency "factory_girl", ">= 3.0"
21
21
  s.add_development_dependency "activerecord"
22
22
  s.add_development_dependency "actionpack"
23
- s.add_development_dependency "rspec-rails", "3.0.0.beta2"
24
- s.add_development_dependency "transpec"
23
+ s.add_development_dependency "rspec-rails"
25
24
  s.add_development_dependency "mysql2"
25
+ s.add_development_dependency "pry-meta"
26
26
  end
@@ -1,7 +1,10 @@
1
1
  require "rspec/core"
2
+ require "factory_girl/syntax/methods"
2
3
 
3
4
  RSpec.configure do |config|
4
5
  config.include FactoryGirl::Preload::Helpers
6
+ config.include FactoryGirl::Syntax::Methods
7
+
5
8
  config.before(:suite) do
6
9
  FactoryGirl::Preload.clean
7
10
  FactoryGirl::Preload.run
@@ -2,8 +2,8 @@ module FactoryGirl
2
2
  module Preload
3
3
  module Version
4
4
  MAJOR = 2
5
- MINOR = 1
6
- PATCH = 1
5
+ MINOR = 2
6
+ PATCH = 0
7
7
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
8
8
  end
9
9
  end
@@ -1,8 +1,6 @@
1
1
  require "spec_helper"
2
2
 
3
3
  describe FactoryGirl::Preload do
4
- include FactoryGirl::Preload::Helpers
5
-
6
4
  it "queues preloader block" do
7
5
  block = proc {}
8
6
  FactoryGirl.preload(&block)
@@ -89,4 +87,8 @@ describe FactoryGirl::Preload do
89
87
  expect(users(:john)).not_to be_frozen
90
88
  end
91
89
  end
90
+
91
+ it "includes factory girl helpers" do
92
+ expect(self.class.included_modules).to include(FactoryGirl::Syntax::Methods)
93
+ end
92
94
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factory_girl-preload
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-16 00:00:00.000000000 Z
11
+ date: 2014-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: factory_girl
@@ -56,18 +56,18 @@ dependencies:
56
56
  name: rspec-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 3.0.0.beta2
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 3.0.0.beta2
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: transpec
70
+ name: mysql2
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: mysql2
84
+ name: pry-meta
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -158,3 +158,4 @@ test_files:
158
158
  - spec/support/app/config/database.yml
159
159
  - spec/support/app/db/schema.rb
160
160
  - spec/support/factories.rb
161
+ has_rdoc: