middleman-jasmine 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1158957eb31594548d7dcf52caa92ae8b27d9c95
4
- data.tar.gz: 9cad60f7307f6d49cd1e1db0770e61c69da18632
3
+ metadata.gz: b090a3fae6efe1fbf3d994e26466a58d4727d34e
4
+ data.tar.gz: eeee5f03ba903021973d31f853703c7d3af39acd
5
5
  SHA512:
6
- metadata.gz: eedb260e654bd95fc9eb7d03025b8b9116f46c9f9015db6839f846951de19d7d7219a2c6139d02b516aefcd3bbdad2cad98dcf57064c2905a47894799e2d8fd2
7
- data.tar.gz: e8d02b2663955e708bfd43df2849c67480519d600e9af538c2ca3f3f40ae3e3125a6ceb14884cb24631f8e96b122297bb7a91a6b4f7524e59389c1a0aa8ecfcf
6
+ metadata.gz: 5cc692c9f52e972678538c3ddb269ac6fb315912115975e5ea4af025230586381c6f8ff0743ba2a088595692fc0db58192da7ecb358616df6e36a87a9a9c4bdf
7
+ data.tar.gz: 0091818bc86c45184369f1cb21dc5b8e71c20aa6b370c96096c357eb2f5111bb83841bea96b3f3e3837c7c5c899eca3429ced833fbf259a7a5839d4073626e1c
@@ -1 +1 @@
1
- 2.0.0-p195
1
+ 2.1.2
@@ -1,3 +1,7 @@
1
+ 0.5.1
2
+ ===
3
+ * Fix `rake middleman_jasmine:ci` by adding runner_boot dir. [clemenshelm]
4
+
1
5
  0.5.0
2
6
  ===
3
7
  * Upgrade from Jasmine 1.3 to Jasmine 2.0. [johanlunds]
@@ -36,7 +36,7 @@ module Middleman
36
36
 
37
37
  def jasmine_asset_folders
38
38
  [
39
- "__jasmine__", "__boot__", "__spec__"
39
+ "__jasmine__", "__boot__", "__spec__", "__runner_boot__"
40
40
  ]
41
41
  end
42
42
  end
@@ -35,6 +35,10 @@ namespace :middleman_jasmine do
35
35
  path = middleman_extensions[:jasmine].jasmine_url
36
36
  url = "#{config.host}:#{config.port(:ci)}#{path}"
37
37
  runner = config.runner.call(Jasmine::Formatters::Multi.new(formatters), url)
38
+ if runner.respond_to?(:boot_js)
39
+ config.runner_boot_dir = File.dirname(runner.boot_js)
40
+ config.runner_boot_files = lambda { [runner.boot_js] }
41
+ end
38
42
  runner.run
39
43
 
40
44
  abort unless exit_code_formatter.succeeded?
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Jasmine
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-jasmine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Shipman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-15 00:00:00.000000000 Z
11
+ date: 2015-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jasmine
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: middleman
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 3.3.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 3.3.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.3'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: Jasmine testing framework support for Middleman
@@ -73,9 +73,9 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - .gitignore
77
- - .ruby-gemset
78
- - .ruby-version
76
+ - ".gitignore"
77
+ - ".ruby-gemset"
78
+ - ".ruby-version"
79
79
  - CHANGELOG.md
80
80
  - Gemfile
81
81
  - LICENSE.txt
@@ -98,12 +98,12 @@ require_paths:
98
98
  - lib
99
99
  required_ruby_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
- - - '>='
106
+ - - ">="
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  requirements: []