abtest 0.1.1 → 0.1.2

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: b76fd3aa3e67f2c931c384ea24ae109740d09715
4
- data.tar.gz: b587aeb01025a20f0073aa6a87508c763e88c114
3
+ metadata.gz: f3f06a233f3aed37bc358dd7a5904b603d7966b8
4
+ data.tar.gz: 5a9f714819b3c9291ebaba0c1550e49e64f8af30
5
5
  SHA512:
6
- metadata.gz: a59a614787f5ab31e0211b957e8e7eadb038e65514fbf83751ee515eed58bbb3bb3c99af516a2a2da2ea087f1ab1117586ffdc4b8c8f93c320cb9002260701c0
7
- data.tar.gz: cc662a3e230bd40e3bd19bbdc891b0fb4c1b795a53bf8628393fe60bc7345fcf0f6f2aaf327a8378301b4c1455196f59a3ef1a8023a240bd330b42da7a215937
6
+ metadata.gz: 83217c54a765490989f86355f352658408846ef7b85286aa5ab2d118910f637a64af22dabc96937deeaa5a297684c1c675f25b9fcc337b1b49a3783bebc4596a
7
+ data.tar.gz: 93fc2a46262ea0552b7441e928d14c65ecc199a0d064833e12ce234aa446a1b2176edff4faf125545eaf26d4d8c6efa468323aaf6701fa4612654f7e11e8d00b
@@ -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, 'javascript')
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|
@@ -0,0 +1,3 @@
1
+ namespace :assets do
2
+ task :precompile => 'abtest:precompile'
3
+ end
@@ -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, 'javascript')
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)
@@ -1,3 +1,3 @@
1
1
  module Abtest
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
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.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-05-28 00:00:00.000000000 Z
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