abtest 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/abtest.rb +1 -1
- data/lib/abtest/tasks/asset_precompile.rake +3 -0
- data/lib/abtest/tasks/experiments.rake +1 -1
- data/lib/abtest/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3f06a233f3aed37bc358dd7a5904b603d7966b8
|
4
|
+
data.tar.gz: 5a9f714819b3c9291ebaba0c1550e49e64f8af30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83217c54a765490989f86355f352658408846ef7b85286aa5ab2d118910f637a64af22dabc96937deeaa5a297684c1c675f25b9fcc337b1b49a3783bebc4596a
|
7
|
+
data.tar.gz: 93fc2a46262ea0552b7441e928d14c65ecc199a0d064833e12ce234aa446a1b2176edff4faf125545eaf26d4d8c6efa468323aaf6701fa4612654f7e11e8d00b
|
data/lib/abtest.rb
CHANGED
@@ -24,7 +24,7 @@ module Abtest
|
|
24
24
|
experiment_path = File.join(app.root, 'abtest', 'experiments', name)
|
25
25
|
application_css_path = File.join(experiment_path, app.config.assets.prefix, 'stylesheets')
|
26
26
|
images_path = File.join(experiment_path, app.config.assets.prefix, 'images')
|
27
|
-
javascript_path = File.join(experiment_path, app.config.assets.prefix, '
|
27
|
+
javascript_path = File.join(experiment_path, app.config.assets.prefix, 'javascripts')
|
28
28
|
|
29
29
|
# Create a custom sprockets environment
|
30
30
|
experiment_environment = Sprockets::Environment.new(Rails.root.to_s) do |env|
|
@@ -14,7 +14,7 @@ namespace :abtest do
|
|
14
14
|
experiment_path = File.join(test_root, 'experiments', name)
|
15
15
|
application_css_path = File.join(experiment_path, app_config.assets.prefix, 'stylesheets')
|
16
16
|
images_path = File.join(experiment_path, app_config.assets.prefix, 'images')
|
17
|
-
javascript_path = File.join(experiment_path, app_config.assets.prefix, '
|
17
|
+
javascript_path = File.join(experiment_path, app_config.assets.prefix, 'javascripts')
|
18
18
|
view_path = File.join(experiment_path, 'views')
|
19
19
|
|
20
20
|
FileUtils.mkdir_p(view_path)
|
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.1.
|
4
|
+
version: 0.1.2
|
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-
|
12
|
+
date: 2014-06-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -89,6 +89,7 @@ files:
|
|
89
89
|
- lib/abtest/processor.rb
|
90
90
|
- lib/abtest/railtie.rb
|
91
91
|
- lib/abtest/registry.rb
|
92
|
+
- lib/abtest/tasks/asset_precompile.rake
|
92
93
|
- lib/abtest/tasks/experiments.rake
|
93
94
|
- lib/abtest/tasks/templates/abtest.erb
|
94
95
|
- lib/abtest/tasks/templates/initializer.erb
|