factory_bot 6.0.0 → 6.0.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: 2f060c0b183a1d65b69542b917a19ad16d1de52d7f69dd692839eceaa316ad2a
4
- data.tar.gz: 4f2286b4cabd1b562352fed5d20f00ba29a7ede89c8a855657f0f0075527d0f4
3
+ metadata.gz: 97d3a72c7d45c5c561f8c5ac318e8650d0f9787abeac65f598f06f0c04856727
4
+ data.tar.gz: 3afcae7ade56a0d0e1858e4205e4356efce894afd1a87370759bff3199439a07
5
5
  SHA512:
6
- metadata.gz: 67230581c94a6e476ba8fa8aeb123d2ccfe18cd14af2d9d292cc871d9d1dda63cbd827e455c165f9eac7211fe9770fd41b87ab349db55a000e32ee23a319fda1
7
- data.tar.gz: 8ce7be2d33e08ddc24c50082a2025c7c59877457558720dfbdc4920e70f881e30a52cfb322fe129ae9690b512bbf42059bb24db973c81b3a585d8693ff484a1c
6
+ metadata.gz: e3266e75f1419558703243a719bb837237f48b21757b4b6fd469a37340dcf426568238fea348a99f8b61402dc7f3fa8842bd9ea998850b701dfe7c64f47070ca
7
+ data.tar.gz: f411a10292c3a4b47ded4de7ed26f6e2d13a2a5d9ab49805eed4e7ffe1a27d44c61f345afa701cb25bdbfc4c12509006c702253039d7d9137aa13605a5652d51
data/NEWS.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # News
2
2
 
3
+ ## 6.0.1 (June 19, 2020)
4
+ * Fixed: bug with constant resolution causing unexpected uninitialized constant errors
5
+
3
6
  ## 6.0.0 (June 18, 2020)
4
7
  * Added: automatic definition of traits for Active Record enum attributes, enabled by default
5
8
  * Added: `traits_for_enum` method to define traits for non-Active Record enums
@@ -17,5 +17,9 @@ module FactoryBot
17
17
  def send(symbol, *args, &block)
18
18
  __send__(symbol, *args, &block)
19
19
  end
20
+
21
+ def self.const_missing(name)
22
+ ::Object.const_get(name)
23
+ end
20
24
  end
21
25
  end
@@ -1,3 +1,3 @@
1
1
  module FactoryBot
2
- VERSION = "6.0.0".freeze
2
+ VERSION = "6.0.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factory_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Clayton