protractor-rails 0.0.3 → 0.0.4

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: 8bb0466419ef4f6a151545a4d3d3d11d35b298c7
4
- data.tar.gz: 6b8e5e9f6fedec19ec70b05546a1231beebe7025
3
+ metadata.gz: 20a461961582e7a1dd8fd267e2eb48a3d89ef32a
4
+ data.tar.gz: 3bbaad514630e60b9fbe0b9488b2b57471552683
5
5
  SHA512:
6
- metadata.gz: 410898ce501c2cd04a9561e6d9f4a844a19fc2b16a800f57dbeece36e7664f1a8571996dcbea522ea8f021e206e493ac76610a3f960c61c7dfcafaab3de340a2
7
- data.tar.gz: 0223d7d639ac72b22d35addb973dda9332eacac39eb4f92ea391881451bdb41e7bd0475f7afc947ab9095fb0748b3693a5080e5280fe3ec5c4559ae43d86a639
6
+ metadata.gz: ad41fac5621e23a0a6cfae0b7165f702037ab25ea009894f914d7b742f2fb867101afee76a606095494b064a92a6ae870003a5076fe3f571dacddca1e3d63224
7
+ data.tar.gz: 87b2ed7a890361cc9ce98e3fc6331f28a88a5851e54a111e5c233fb2a6b16e03a71a19d6c94cf2276703208d5b0adaeaeafd2b2a93c3f14f4f70a14f2fb6dbe1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- protractor-rails (0.0.3)
4
+ protractor-rails (0.0.4)
5
5
  colorize
6
6
  railties
7
7
 
@@ -1,5 +1,5 @@
1
1
  module Protractor
2
2
  module Rails
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -27,6 +27,14 @@ namespace :protractor do
27
27
  system "sudo webdriver-manager update"
28
28
  end
29
29
 
30
+ task :coffee_script_support do
31
+ puts "Installing RequireJS on your machine.....".green
32
+ system "sudo npm install -g requirejs"
33
+ puts "Installing coffee-script with npm".green
34
+ system "sudo npm install -g coffee-script"
35
+ puts "You have dependencies installed and ready to use. Read the coffee-script section at https://github.com/tyronewilson/protractor-rails for details on configuration"
36
+ end
37
+
30
38
  desc "Initialize protractor rails."
31
39
  task :init do
32
40
  if !File.directory?('spec/javascripts')
@@ -1,4 +1,6 @@
1
1
  // An example configuration file.
2
+ require('coffee-script');
3
+
2
4
  exports.config = {
3
5
  // The address of a running selenium server.
4
6
  seleniumAddress: 'http://localhost:4444/wd/hub',
@@ -10,7 +12,7 @@ exports.config = {
10
12
 
11
13
  // Spec patterns are relative to the current working directly when
12
14
  // protractor is called.
13
- specs: ['example_spec.js '],
15
+ specs: ['example_spec.js ', 'protractor_specs/**/*.js', 'protractor_specs/**/*.coffee'],
14
16
 
15
17
  baseUrl: 'http://localhost:4000',
16
18
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protractor-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyrone Wilson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-20 00:00:00.000000000 Z
11
+ date: 2014-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler