protractor-rails 0.0.3 → 0.0.4
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/protractor/rails/version.rb +1 -1
- data/lib/tasks/install.rake +8 -0
- data/spec/javascripts/templates/protractor.conf.js +3 -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: 20a461961582e7a1dd8fd267e2eb48a3d89ef32a
|
|
4
|
+
data.tar.gz: 3bbaad514630e60b9fbe0b9488b2b57471552683
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad41fac5621e23a0a6cfae0b7165f702037ab25ea009894f914d7b742f2fb867101afee76a606095494b064a92a6ae870003a5076fe3f571dacddca1e3d63224
|
|
7
|
+
data.tar.gz: 87b2ed7a890361cc9ce98e3fc6331f28a88a5851e54a111e5c233fb2a6b16e03a71a19d6c94cf2276703208d5b0adaeaeafd2b2a93c3f14f4f70a14f2fb6dbe1
|
data/Gemfile.lock
CHANGED
data/lib/tasks/install.rake
CHANGED
|
@@ -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.
|
|
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-
|
|
11
|
+
date: 2014-03-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|