abtest 0.1.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/abtest/asset_task.rb +5 -0
- data/lib/abtest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ec13e778785f5298c33fe7d14820f1b876043b0
|
4
|
+
data.tar.gz: e566a5b2924b3e1701903179088b24b6bbc1e649
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 732ef569e5f011ce7c11e2843ba3e878c7c122de23e9065c5f6f56f8c81d9ef48133f563ebee31f5340d422b69a2e80eb22c457db8a49ba0420e90ffbd187322
|
7
|
+
data.tar.gz: c42e9588674746ea798790c77bb0499d358ab190c214dda432e1dac3e0259078c9b039a9f2299d20e67893de7106787659ff0ccc26875e7a30c96e82fd5e9ac9
|
data/lib/abtest/asset_task.rb
CHANGED
@@ -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
|
data/lib/abtest/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2014-06-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|