js-test-driver-rails 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- js-test-driver-rails (0.3.4)
4
+ js-test-driver-rails (0.4.2)
5
5
  json
6
6
  rake
7
7
 
@@ -178,7 +178,7 @@ module JsTestDriver
178
178
 
179
179
  def expand_globs(paths)
180
180
  with_expanded_paths = paths.map{|path| File.expand_path(path)}
181
- return with_expanded_paths.map{|path| path.include?('*') ? Dir[path] : path}.flatten
181
+ return with_expanded_paths.map{|path| path.include?('*') ? Dir[path].sort : path}.flatten
182
182
  end
183
183
 
184
184
  def fixture_file_name(fixture)
@@ -1,3 +1,3 @@
1
1
  module JsTestDriver
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
@@ -12,7 +12,7 @@ module JsTestDriver
12
12
  end
13
13
 
14
14
  def paths(arr)
15
- arr.map{|s| path(s)}
15
+ arr.map{|s| path(s)}.sort
16
16
  end
17
17
 
18
18
  def assert_config_includes(config, hash)
@@ -188,7 +188,7 @@ module JsTestDriver
188
188
  config.includes "a/a", "/b/b", "../c"
189
189
 
190
190
  # then
191
- assert_config_includes config, 'load' => paths(["a/a", '/b/b', "../c"])
191
+ assert_config_includes config, 'load' => ["a/a", '/b/b', "../c"].map{|p| path(p)}
192
192
  end
193
193
 
194
194
  def test_config_with_html_fixtures
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: js-test-driver-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.2
5
+ version: 0.4.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Adam Pohorecki
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-29 00:00:00 Z
13
+ date: 2011-05-18 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json