abtest 0.1.2 → 1.0.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3f06a233f3aed37bc358dd7a5904b603d7966b8
4
- data.tar.gz: 5a9f714819b3c9291ebaba0c1550e49e64f8af30
3
+ metadata.gz: 4ec13e778785f5298c33fe7d14820f1b876043b0
4
+ data.tar.gz: e566a5b2924b3e1701903179088b24b6bbc1e649
5
5
  SHA512:
6
- metadata.gz: 83217c54a765490989f86355f352658408846ef7b85286aa5ab2d118910f637a64af22dabc96937deeaa5a297684c1c675f25b9fcc337b1b49a3783bebc4596a
7
- data.tar.gz: 93fc2a46262ea0552b7441e928d14c65ecc199a0d064833e12ce234aa446a1b2176edff4faf125545eaf26d4d8c6efa468323aaf6701fa4612654f7e11e8d00b
6
+ metadata.gz: 732ef569e5f011ce7c11e2843ba3e878c7c122de23e9065c5f6f56f8c81d9ef48133f563ebee31f5340d422b69a2e80eb22c457db8a49ba0420e90ffbd187322
7
+ data.tar.gz: c42e9588674746ea798790c77bb0499d358ab190c214dda432e1dac3e0259078c9b039a9f2299d20e67893de7106787659ff0ccc26875e7a30c96e82fd5e9ac9
@@ -13,6 +13,11 @@ module Abtest
13
13
  namespace :abtest do
14
14
  desc "Compile application.css and application.js in our experiment directories as well as anything called out in config.abtest.precompile_assets."
15
15
  task :precompile => :environment do
16
+ # Remove the abtest root for this task
17
+ Rails.application.config.assets.paths = Rails.application.config.assets.paths.reject { |path|
18
+ path==File.join(Rails.root, 'abtest')
19
+ }
20
+
16
21
  configured_experiments = app.config.abtest.registered_tests
17
22
 
18
23
  # Precompile assets for each experiment
@@ -1,3 +1,3 @@
1
1
  module Abtest
2
- VERSION = "0.1.2"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abtest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Saarinen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-04 00:00:00.000000000 Z
12
+ date: 2014-06-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails