protractor-rails 0.0.17 → 0.0.18
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 +17 -17
- data/lib/protractor/rails/configuration.rb +2 -0
- data/lib/protractor/rails/version.rb +1 -1
- data/lib/tasks/protractor.rake +3 -2
- 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: 512647ab230e25dd0fcb5a64b4e74dd43ed5355d
|
|
4
|
+
data.tar.gz: f55f32aea39a657b1dc022aec93bd1cddbe6bd1b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: edfb15bcaef41e4dac3ad4573348ae3f91aaa7345e92b961b17b108044fd2a5b1b42405ccae6d1d4c3ffc8a7745a9c893fc594f25d6f3e831a1a708ea211e70a
|
|
7
|
+
data.tar.gz: f5c380e9b52427b003a22e9fa52c6c947137b8881ebb10bafa815bc365eea09c8ef5a0389104e0a25af09e0b679e7482820fb3b206fb48a1df891ed877e6610a
|
data/Gemfile.lock
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
protractor-rails (0.0.
|
|
4
|
+
protractor-rails (0.0.18)
|
|
5
5
|
colorize
|
|
6
6
|
railties
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
actionpack (4.2.
|
|
12
|
-
actionview (= 4.2.
|
|
13
|
-
activesupport (= 4.2.
|
|
11
|
+
actionpack (4.2.5)
|
|
12
|
+
actionview (= 4.2.5)
|
|
13
|
+
activesupport (= 4.2.5)
|
|
14
14
|
rack (~> 1.6)
|
|
15
15
|
rack-test (~> 0.6.2)
|
|
16
16
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
17
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
|
18
|
-
actionview (4.2.
|
|
19
|
-
activesupport (= 4.2.
|
|
17
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
18
|
+
actionview (4.2.5)
|
|
19
|
+
activesupport (= 4.2.5)
|
|
20
20
|
builder (~> 3.1)
|
|
21
21
|
erubis (~> 2.7.0)
|
|
22
22
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
23
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
|
24
|
-
activesupport (4.2.
|
|
23
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
24
|
+
activesupport (4.2.5)
|
|
25
25
|
i18n (~> 0.7)
|
|
26
26
|
json (~> 1.7, >= 1.7.7)
|
|
27
27
|
minitest (~> 5.1)
|
|
28
28
|
thread_safe (~> 0.3, >= 0.3.4)
|
|
29
29
|
tzinfo (~> 1.1)
|
|
30
30
|
builder (3.2.2)
|
|
31
|
-
colorize (0.7.
|
|
31
|
+
colorize (0.7.7)
|
|
32
32
|
erubis (2.7.0)
|
|
33
33
|
i18n (0.7.0)
|
|
34
34
|
json (1.8.3)
|
|
35
35
|
loofah (2.0.3)
|
|
36
36
|
nokogiri (>= 1.5.9)
|
|
37
|
-
|
|
38
|
-
minitest (5.8.
|
|
39
|
-
nokogiri (1.6.
|
|
40
|
-
|
|
37
|
+
mini_portile2 (2.0.0)
|
|
38
|
+
minitest (5.8.4)
|
|
39
|
+
nokogiri (1.6.7.1)
|
|
40
|
+
mini_portile2 (~> 2.0.0.rc2)
|
|
41
41
|
rack (1.6.4)
|
|
42
42
|
rack-test (0.6.3)
|
|
43
43
|
rack (>= 1.0)
|
|
@@ -49,9 +49,9 @@ GEM
|
|
|
49
49
|
rails-deprecated_sanitizer (>= 1.0.1)
|
|
50
50
|
rails-html-sanitizer (1.0.2)
|
|
51
51
|
loofah (~> 2.0)
|
|
52
|
-
railties (4.2.
|
|
53
|
-
actionpack (= 4.2.
|
|
54
|
-
activesupport (= 4.2.
|
|
52
|
+
railties (4.2.5)
|
|
53
|
+
actionpack (= 4.2.5)
|
|
54
|
+
activesupport (= 4.2.5)
|
|
55
55
|
rake (>= 0.8.7)
|
|
56
56
|
thor (>= 0.18.1, < 2.0)
|
|
57
57
|
rake (10.1.1)
|
|
@@ -27,6 +27,7 @@ module Protractor
|
|
|
27
27
|
:config_file,
|
|
28
28
|
:startup_timeout,
|
|
29
29
|
:spec_path,
|
|
30
|
+
:server,
|
|
30
31
|
:port
|
|
31
32
|
|
|
32
33
|
def initialize ( data=nil )
|
|
@@ -35,6 +36,7 @@ module Protractor
|
|
|
35
36
|
@config_file = get( :config_file ) || 'protractor.conf.js'
|
|
36
37
|
@spec_path = get( :spec_path ) || 'spec/javascripts'
|
|
37
38
|
@startup_timeout = get( :startup_timeout ) || 8
|
|
39
|
+
@server = get( :server ) || 'webrick'
|
|
38
40
|
@port = get( :port ) || 4000
|
|
39
41
|
end
|
|
40
42
|
|
data/lib/tasks/protractor.rake
CHANGED
|
@@ -96,8 +96,9 @@ namespace :protractor do |args|
|
|
|
96
96
|
|
|
97
97
|
task :rails do
|
|
98
98
|
env = ENV['PROTRACTOR_SERVER_ENV'] ||= 'test'
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
server = Protractor.configuration.server
|
|
100
|
+
write_log "Starting Rails server #{server} on port #{Protractor.configuration.port} environement #{env} pid file in tmp/pids/protractor_test_server.pid".green
|
|
101
|
+
rails_command = "rails s #{server} -e #{env} -P tmp/pids/protractor_test_server.pid --port=#{Protractor.configuration.port}"
|
|
101
102
|
if ENV['rails_binding'] != nil
|
|
102
103
|
rails_command << " --binding #{ ENV['rails_binding'] }"
|
|
103
104
|
end
|
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.18
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tyrone Wilson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-02-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|