js-test-driver-rails 0.5.0.pre1 → 0.5.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- js-test-driver-rails (0.4.3)
4
+ js-test-driver-rails (0.5.0.pre1)
5
5
  commander
6
6
  json
7
7
  rake
@@ -179,8 +179,14 @@ module JsTestDriver
179
179
  hash['load'] = loaded_files unless loaded_files.empty?
180
180
  hash['exclude'] = map_paths(excluded_files) unless excluded_files.empty?
181
181
  hash['plugin'] = plugins unless plugins.empty?
182
- hash['proxy'] = proxies unless proxies.empty?
183
- return hash.to_yaml
182
+ text = hash.to_yaml
183
+ unless proxies.empty?
184
+ text << "proxy:\n"
185
+ proxies.each do |proxy|
186
+ text << "- {matcher: \"#{proxy['matcher']}\", server: \"#{proxy['server']}\"}\n"
187
+ end
188
+ end
189
+ return text
184
190
  end
185
191
 
186
192
  # this is where the config files are saved (ex. RAILS_ROOT/.js_test_driver)
@@ -1,3 +1,3 @@
1
1
  module JsTestDriver
2
- VERSION = "0.5.0.pre1"
2
+ VERSION = "0.5.0.pre2"
3
3
  end
@@ -13,3 +13,5 @@ measure_coverage
13
13
 
14
14
  includes 'test/sample/specs/spec_helper.js'
15
15
  includes 'test/sample/specs/**/*_spec.js'
16
+
17
+ proxy('/super_duper/*').to('http://localhost:6666')
metadata CHANGED
@@ -1,83 +1,80 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: js-test-driver-rails
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.0.pre2
4
5
  prerelease: 6
5
- version: 0.5.0.pre1
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Adam Pohorecki
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-06-09 00:00:00 +02:00
12
+ date: 2011-07-07 00:00:00.000000000 +02:00
14
13
  default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
17
16
  name: json
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &79918640 !ruby/object:Gem::Requirement
20
18
  none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
24
- version: "0"
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
25
23
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
24
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *79918640
26
+ - !ruby/object:Gem::Dependency
27
+ name: rake
28
+ requirement: &79918430 !ruby/object:Gem::Requirement
31
29
  none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: "0"
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
36
34
  type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: commander
40
35
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
36
+ version_requirements: *79918430
37
+ - !ruby/object:Gem::Dependency
38
+ name: commander
39
+ requirement: &79918220 !ruby/object:Gem::Requirement
42
40
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: "0"
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
47
45
  type: :runtime
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: selenium-webdriver
51
46
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
47
+ version_requirements: *79918220
48
+ - !ruby/object:Gem::Dependency
49
+ name: selenium-webdriver
50
+ requirement: &79918010 !ruby/object:Gem::Requirement
53
51
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
58
56
  type: :runtime
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: mocha
62
57
  prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
58
+ version_requirements: *79918010
59
+ - !ruby/object:Gem::Dependency
60
+ name: mocha
61
+ requirement: &79917800 !ruby/object:Gem::Requirement
64
62
  none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: "0"
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
69
67
  type: :development
70
- version_requirements: *id005
68
+ prerelease: false
69
+ version_requirements: *79917800
71
70
  description: Use ruby to configure JsTestDriver, capture browsers and run tests.
72
- email:
71
+ email:
73
72
  - adam@pohorecki.pl
74
- executables:
73
+ executables:
75
74
  - jstd
76
75
  extensions: []
77
-
78
76
  extra_rdoc_files: []
79
-
80
- files:
77
+ files:
81
78
  - .gitignore
82
79
  - .gitmodules
83
80
  - Gemfile
@@ -134,30 +131,26 @@ files:
134
131
  has_rdoc: true
135
132
  homepage: http://github.com/psyho/js-test-driver-rails
136
133
  licenses: []
137
-
138
134
  post_install_message:
139
135
  rdoc_options: []
140
-
141
- require_paths:
136
+ require_paths:
142
137
  - lib
143
- required_ruby_version: !ruby/object:Gem::Requirement
138
+ required_ruby_version: !ruby/object:Gem::Requirement
144
139
  none: false
145
- requirements:
146
- - - ">="
147
- - !ruby/object:Gem::Version
148
- version: "0"
149
- required_rubygems_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ required_rubygems_version: !ruby/object:Gem::Requirement
150
145
  none: false
151
- requirements:
152
- - - ">"
153
- - !ruby/object:Gem::Version
146
+ requirements:
147
+ - - ! '>'
148
+ - !ruby/object:Gem::Version
154
149
  version: 1.3.1
155
150
  requirements: []
156
-
157
151
  rubyforge_project: js-test-driver-rails
158
152
  rubygems_version: 1.6.2
159
153
  signing_key:
160
154
  specification_version: 3
161
155
  summary: A wrapper for JsTestDriver for use with ruby/rails projects
162
156
  test_files: []
163
-