factory_bot_rails 4.11.0 → 4.11.1

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
  SHA256:
3
- metadata.gz: b6c176586fd5ac8ded39724dcf04f8e0674ec1ba9c669ddc10ce893f44cb0350
4
- data.tar.gz: c05e2dd96153e4e063972526c5280c228587bcd3452d3f087f783d87a9f7a42a
3
+ metadata.gz: 542cc50fa6c84e06f69ce225f5a2ccdd9b00e51e9406c8d0924e4a1a1283012a
4
+ data.tar.gz: 9f9282517549bceb7dfab46f6b46190c715fec59827080981e31d7cae167d00f
5
5
  SHA512:
6
- metadata.gz: d2f46b38d38d3201e7cc5f426cc2870781d0fcfe86fddf638aca06df21022be53b56638f678e9631cea81d32231e6438a1e5c92fb8e342448831553bf14b0af8
7
- data.tar.gz: 56f03496f20ab91933d873d5ac57e0e9d02d779215fafa50b9a1fb687b806198b3e80779a780055fc7a0dd60e73f85d7d7101b87413a4b9af5446e2f39e6dd0f
6
+ metadata.gz: 72c7160bdcd59e1e76c19aba443cfbeca65343565aa6a811ae42586fd9ac40cc84d08b43f9666c7457861a84f04d6511ba94606d20573b40ccbf22004234bf3d
7
+ data.tar.gz: 1b042672955ce17426a880cd3391fb21a43222478009bd4d0c35e83761c367c7f6fff538f24b047f985063f949d6c3f474bba32ab94c0af01007cac907609415
data/NEWS CHANGED
@@ -1,6 +1,9 @@
1
1
  factory_bot_rails versioning is synced with factory_bot releases. For this reason
2
2
  there might not be any notable changes in new versions of this project.
3
3
 
4
+ 4.11.1 (September 7, 2018)
5
+ Update generator to use dynamic attributes instead of deprecated static attributes
6
+
4
7
  4.11.0 (August 16, 2018)
5
8
  No notable changes
6
9
 
@@ -70,7 +70,7 @@ RUBY
70
70
 
71
71
  def factory_attributes
72
72
  attributes.map do |attribute|
73
- "#{attribute.name} #{attribute.default.inspect}"
73
+ "#{attribute.name} { #{attribute.default.inspect} }"
74
74
  end.join("\n")
75
75
  end
76
76
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factory_bot_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.11.0
4
+ version: 4.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Ferris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-16 00:00:00.000000000 Z
11
+ date: 2018-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 4.11.0
33
+ version: 4.11.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 4.11.0
40
+ version: 4.11.1
41
41
  description: |-
42
42
  factory_bot_rails provides integration between
43
43
  factory_bot and rails 3 or newer (currently just automatic factory definition