baja 0.8.7 → 0.8.8

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/baja/version.rb +1 -1
  3. data/lib/baja.rb +2 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c52bb56b5061fc64e19ecee50080523de125a316
4
- data.tar.gz: ab95fbcea854d4aedb0e4422396e665a61509910
3
+ metadata.gz: ae522b5fed50cc24d8713c59ade97548f8fdd04e
4
+ data.tar.gz: b7b4647b30ad7a7149c9975fc8cb308524fe8c18
5
5
  SHA512:
6
- metadata.gz: 42c26a0e95d3021dba681f0dc2a0cfe04aa9dc16499b0ea949e5f801e360527acf1536208bef5b2347a55d772012a0a0ed6b8e4eb86117449777d1247761a669
7
- data.tar.gz: ae7d7a57a746d769b9a29596b10df277784f36f8e6554d206b507663db262f7523716481d9b3fbb9ac7b864ca01d519f1c630071bcefa226099706838da93c40
6
+ metadata.gz: 6e1f1b8991a2d57fdd1b3f606ea1d580059ec1e85b5e041150853240a1218f6cc07730d9341903455749683b7d2039370621cb2ae76e3c07e23a23ca9a5c637a
7
+ data.tar.gz: bb2d459cc39199f93458cb1aa26e392343c92665110238a1365629c90210c79a92b049c7039ce4f219de5844e3378a4660903855f32c14f63b0077a2e74d721b
data/lib/baja/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Baja
2
- VERSION = "0.8.7"
2
+ VERSION = "0.8.8"
3
3
  end
data/lib/baja.rb CHANGED
@@ -10,7 +10,7 @@ module Baja
10
10
 
11
11
 
12
12
  class Blast
13
- @@definition_file_paths = %w(factories test/factories spec/factories)
13
+ @@definition_file_paths = %w(factories test/factories spec/factories).map { |path| File.expand_path(path) }
14
14
  @@baja = JSON.parse(YAML.load_file('baja.yml').to_json,:symbolize_names => true)
15
15
  def self.now!
16
16
  unless Baja::Blast.baja[:factories].nil?
@@ -45,9 +45,8 @@ end
45
45
 
46
46
  module FactoryGirl
47
47
  def self.find_definitions
48
- absolute_definition_file_paths = Baja::Blast.definition_file_paths.map { |path| File.expand_path(path) }
49
48
  puts "defpath: #{Baja::Blast.definition_file_paths}"
50
- absolute_definition_file_paths.uniq.each do |path|
49
+ Baja::Blast.definition_file_paths.uniq.each do |path|
51
50
  puts "abspath: #{path}"
52
51
  FactoryLoad.load_path("#{path}.rb") if File.exist?("#{path}.rb")
53
52
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baja
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.7
4
+ version: 0.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Zuercher