protractor-rails 0.0.14 → 0.0.15

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: 71a4f70c00b6cf635f333468e570100e1699fbed
4
- data.tar.gz: 929dc31129d6b8147119426d2a52683208800ceb
3
+ metadata.gz: 2c3d6b4886e0ca576f1195332c214993ed568444
4
+ data.tar.gz: 560d125b9d0ed667121deccf3ee719bff2af2425
5
5
  SHA512:
6
- metadata.gz: 8968c3dd9527fd67272ad4dae5bf4bdbb7967cd15f3761a1071eb46409523239fa2d7384dd80d1ee74c866d4df0c5a60c0eff9ac1301adbc49d6c3446c52b378
7
- data.tar.gz: 3f149eca9bcc6e0f92d176bfb667827f5f5e422fb773ae913e1da35e15415e799e83618ee9aa0f9e7b11903c94d65ed8518dc443819922814565dff99d9c5770
6
+ metadata.gz: c116accff0e0353324fd1b36034cc03c484eef8353325c3449f727ffc818d7d101e0d17cdd73d80e8fa919d63c612f55692b74bb3da66f3484cf4ed816329c3a
7
+ data.tar.gz: e449e541643b972c8b5588ab1cee3da16dc98172f4d768ef522dd7169849cf32221ef6757c1e7fb3d56c05b2f8d49b594777090dad5d3a30e66f7f127ad6afeb
data/Gemfile.lock CHANGED
@@ -1,46 +1,63 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- protractor-rails (0.0.14)
4
+ protractor-rails (0.0.15)
5
5
  colorize
6
6
  railties
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (4.1.4)
12
- actionview (= 4.1.4)
13
- activesupport (= 4.1.4)
14
- rack (~> 1.5.2)
11
+ actionpack (4.2.0)
12
+ actionview (= 4.2.0)
13
+ activesupport (= 4.2.0)
14
+ rack (~> 1.6.0)
15
15
  rack-test (~> 0.6.2)
16
- actionview (4.1.4)
17
- activesupport (= 4.1.4)
16
+ rails-dom-testing (~> 1.0, >= 1.0.5)
17
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
18
+ actionview (4.2.0)
19
+ activesupport (= 4.2.0)
18
20
  builder (~> 3.1)
19
21
  erubis (~> 2.7.0)
20
- activesupport (4.1.4)
21
- i18n (~> 0.6, >= 0.6.9)
22
+ rails-dom-testing (~> 1.0, >= 1.0.5)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
24
+ activesupport (4.2.0)
25
+ i18n (~> 0.7)
22
26
  json (~> 1.7, >= 1.7.7)
23
27
  minitest (~> 5.1)
24
- thread_safe (~> 0.1)
28
+ thread_safe (~> 0.3, >= 0.3.4)
25
29
  tzinfo (~> 1.1)
26
30
  builder (3.2.2)
27
- colorize (0.7.2)
31
+ colorize (0.7.5)
28
32
  erubis (2.7.0)
29
- i18n (0.6.11)
30
- json (1.8.1)
31
- minitest (5.3.5)
32
- rack (1.5.2)
33
- rack-test (0.6.2)
33
+ i18n (0.7.0)
34
+ json (1.8.2)
35
+ loofah (2.0.1)
36
+ nokogiri (>= 1.5.9)
37
+ mini_portile (0.6.2)
38
+ minitest (5.5.1)
39
+ nokogiri (1.6.6.2)
40
+ mini_portile (~> 0.6.0)
41
+ rack (1.6.0)
42
+ rack-test (0.6.3)
34
43
  rack (>= 1.0)
35
- railties (4.1.4)
36
- actionpack (= 4.1.4)
37
- activesupport (= 4.1.4)
44
+ rails-deprecated_sanitizer (1.0.3)
45
+ activesupport (>= 4.2.0.alpha)
46
+ rails-dom-testing (1.0.5)
47
+ activesupport (>= 4.2.0.beta, < 5.0)
48
+ nokogiri (~> 1.6.0)
49
+ rails-deprecated_sanitizer (>= 1.0.1)
50
+ rails-html-sanitizer (1.0.1)
51
+ loofah (~> 2.0)
52
+ railties (4.2.0)
53
+ actionpack (= 4.2.0)
54
+ activesupport (= 4.2.0)
38
55
  rake (>= 0.8.7)
39
56
  thor (>= 0.18.1, < 2.0)
40
57
  rake (10.1.1)
41
58
  thor (0.19.1)
42
- thread_safe (0.3.4)
43
- tzinfo (1.2.1)
59
+ thread_safe (0.3.5)
60
+ tzinfo (1.2.2)
44
61
  thread_safe (~> 0.1)
45
62
 
46
63
  PLATFORMS
@@ -1,5 +1,5 @@
1
1
  module Protractor
2
2
  module Rails
3
- VERSION = "0.0.14"
3
+ VERSION = "0.0.15"
4
4
  end
5
5
  end
@@ -88,12 +88,13 @@ namespace :protractor do |args|
88
88
 
89
89
  task :kill_rails do
90
90
  write_log "kill protractor rails tests server...".yellow
91
- system "ps aux | grep -ie 'rails s -e test -P tmp/pids/protractor_test_server.pid --port=#{Protractor.configuration.port}' | grep -v grep | awk '{print $2}' | xargs kill -9"
91
+ system "kill `cat tmp/pids/protractor_test_server.pid`"
92
92
  end
93
93
 
94
94
  task :rails do
95
- write_log "Starting Rails server on port #{Protractor.configuration.port} pid file in tmp/pids/protractor_test_server.pid".green
96
- rails_command = "rails s -e test -P tmp/pids/protractor_test_server.pid --port=#{Protractor.configuration.port}"
95
+ env = ENV['PROTRACTOR_SERVER_ENV'] ||= 'test'
96
+ write_log "Starting Rails server on port #{Protractor.configuration.port} environement #{env} pid file in tmp/pids/protractor_test_server.pid".green
97
+ rails_command = "rails s -e #{env} -P tmp/pids/protractor_test_server.pid --port=#{Protractor.configuration.port}"
97
98
  if ENV['rails_binding'] != nil
98
99
  rails_command << " --binding #{ ENV['rails_binding'] }"
99
100
  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.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyrone Wilson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-06 00:00:00.000000000 Z
11
+ date: 2015-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler