verdict 0.6.2 → 0.6.3

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: f6e3a5adb9d317029cb0c348fcb7de3471316099
4
- data.tar.gz: ee50b133ff7141f843de8ba3b70d9b38527006eb
3
+ metadata.gz: a92b885958acdb2076598cf696dcd91c8a2247a9
4
+ data.tar.gz: 942c8fca6745450639522b541f703d01ef3dab3f
5
5
  SHA512:
6
- metadata.gz: 241c7e151115f077964d1b7638e49d96f6256ddf9bf99acea509edbb22e506f3a6fe5d5f2b8a48e612082e384c86c2eedeb94e070f922e12d7559053cfd019f2
7
- data.tar.gz: 86df227e5dd91d322e8a6a7ecb36c8e94b8e13b71b6b033956360b7c8e71253a0f88c48264bab7fc76308f287b1928a4773a32009d21e14348db5df08c9d1bde
6
+ metadata.gz: 6d7a2547e02b9e07864a0c26d74d244033d21e5ad8eaabf4aed09b92e1d356cc34aea7a70a4fd16271d740ff5393a3d1c13ebe940ceb7e56ea544ef3316b90bb
7
+ data.tar.gz: f3d02419590bd341634b7946282aab584daf19db6d6fa7718425b8565d239b227906c3ef0354c17a253cb2f956f2a25c63b6bb4150a93323865f8b8ebcbbcf91
@@ -1,3 +1,8 @@
1
+ ## v0.6.3
2
+
3
+ * Fix bug were Verdict.directory is overwritten
4
+ * Allow Verdict.directory to handle multiple directories (using globbing)
5
+
1
6
  ## v0.6.2
2
7
 
3
8
  * Implement Verdict.clear_repository_cache, which fixes autoloading issues with Rails.
@@ -1,9 +1,10 @@
1
1
  class Verdict::Railtie < Rails::Railtie
2
2
  initializer "experiments.configure_rails_initialization" do |app|
3
3
  Verdict.default_logger = Rails.logger
4
- Verdict.directory = Rails.root.join('app', 'experiments')
5
4
 
6
- app.config.eager_load_paths -= [Verdict.directory.to_s]
5
+ Verdict.directory ||= Rails.root.join('app', 'experiments')
6
+ app.config.eager_load_paths -= Dir[Verdict.directory.to_s]
7
+
7
8
  # Re-freeze eager load paths to ensure they blow up if modified at runtime, as Rails does
8
9
  app.config.eager_load_paths.freeze
9
10
  end
@@ -1,3 +1,3 @@
1
1
  module Verdict
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: verdict
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-07 00:00:00.000000000 Z
11
+ date: 2017-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest