jasmine-rails 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jasmine_rails/offline_asset_paths.rb +7 -1
- data/lib/jasmine_rails/version.rb +1 -1
- metadata +23 -13
- checksums.yaml +0 -7
@@ -25,7 +25,13 @@ module JasmineRails
|
|
25
25
|
|
26
26
|
FileUtils.mkdir_p File.dirname(source_path)
|
27
27
|
Rails.logger.debug "Compiling #{source} to #{source_path}"
|
28
|
-
File.open(source_path, 'w')
|
28
|
+
File.open(source_path, 'w') do |f|
|
29
|
+
if Rails::VERSION::MAJOR == 4 && !Rails.env.test? && source == 'jasmine-specs.js'
|
30
|
+
f << ''
|
31
|
+
else
|
32
|
+
f << content
|
33
|
+
end
|
34
|
+
end
|
29
35
|
"/assets/#{source}"
|
30
36
|
end
|
31
37
|
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jasmine-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.8
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Justin Searls
|
@@ -10,39 +11,44 @@ authors:
|
|
10
11
|
autorequire:
|
11
12
|
bindir: bin
|
12
13
|
cert_chain: []
|
13
|
-
date: 2013-10-
|
14
|
+
date: 2013-10-31 00:00:00.000000000 Z
|
14
15
|
dependencies:
|
15
16
|
- !ruby/object:Gem::Dependency
|
16
17
|
name: rails
|
17
18
|
requirement: !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
18
20
|
requirements:
|
19
|
-
- - '>='
|
21
|
+
- - ! '>='
|
20
22
|
- !ruby/object:Gem::Version
|
21
23
|
version: 3.1.0
|
22
24
|
type: :runtime
|
23
25
|
prerelease: false
|
24
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
25
28
|
requirements:
|
26
|
-
- - '>='
|
29
|
+
- - ! '>='
|
27
30
|
- !ruby/object:Gem::Version
|
28
31
|
version: 3.1.0
|
29
32
|
- !ruby/object:Gem::Dependency
|
30
33
|
name: sprockets-rails
|
31
34
|
requirement: !ruby/object:Gem::Requirement
|
35
|
+
none: false
|
32
36
|
requirements:
|
33
|
-
- - '>='
|
37
|
+
- - ! '>='
|
34
38
|
- !ruby/object:Gem::Version
|
35
39
|
version: '0'
|
36
40
|
type: :runtime
|
37
41
|
prerelease: false
|
38
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
39
44
|
requirements:
|
40
|
-
- - '>='
|
45
|
+
- - ! '>='
|
41
46
|
- !ruby/object:Gem::Version
|
42
47
|
version: '0'
|
43
48
|
- !ruby/object:Gem::Dependency
|
44
49
|
name: jasmine-core
|
45
50
|
requirement: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
46
52
|
requirements:
|
47
53
|
- - ~>
|
48
54
|
- !ruby/object:Gem::Version
|
@@ -50,6 +56,7 @@ dependencies:
|
|
50
56
|
type: :runtime
|
51
57
|
prerelease: false
|
52
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
53
60
|
requirements:
|
54
61
|
- - ~>
|
55
62
|
- !ruby/object:Gem::Version
|
@@ -57,15 +64,17 @@ dependencies:
|
|
57
64
|
- !ruby/object:Gem::Dependency
|
58
65
|
name: testbeds
|
59
66
|
requirement: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
60
68
|
requirements:
|
61
|
-
- - '>='
|
69
|
+
- - ! '>='
|
62
70
|
- !ruby/object:Gem::Version
|
63
71
|
version: '0'
|
64
72
|
type: :development
|
65
73
|
prerelease: false
|
66
74
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
67
76
|
requirements:
|
68
|
-
- - '>='
|
77
|
+
- - ! '>='
|
69
78
|
- !ruby/object:Gem::Version
|
70
79
|
version: '0'
|
71
80
|
description: Provides a Jasmine Spec Runner that plays nicely with Rails 3.1 assets
|
@@ -100,25 +109,26 @@ files:
|
|
100
109
|
- README.md
|
101
110
|
homepage: http://github.com/searls/jasmine-rails
|
102
111
|
licenses: []
|
103
|
-
metadata: {}
|
104
112
|
post_install_message:
|
105
113
|
rdoc_options: []
|
106
114
|
require_paths:
|
107
115
|
- lib
|
108
116
|
required_ruby_version: !ruby/object:Gem::Requirement
|
117
|
+
none: false
|
109
118
|
requirements:
|
110
|
-
- - '>='
|
119
|
+
- - ! '>='
|
111
120
|
- !ruby/object:Gem::Version
|
112
121
|
version: '0'
|
113
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
|
+
none: false
|
114
124
|
requirements:
|
115
|
-
- - '>='
|
125
|
+
- - ! '>='
|
116
126
|
- !ruby/object:Gem::Version
|
117
127
|
version: '0'
|
118
128
|
requirements: []
|
119
129
|
rubyforge_project:
|
120
|
-
rubygems_version:
|
130
|
+
rubygems_version: 1.8.23
|
121
131
|
signing_key:
|
122
|
-
specification_version:
|
132
|
+
specification_version: 3
|
123
133
|
summary: Makes Jasmine easier on Rails 3.1
|
124
134
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 9fd2c62f3e5f315bc3f9b97fd3beae29355a1d85
|
4
|
-
data.tar.gz: 8b5b0d1dcb7adf44f289e0f105bed2f61dcbb242
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 7d90cf341dffa5aadeafdf982ae836db2b79625b3c68d9b2375434dc32431e94c13e1bd6614df9cabf3273519f8454a5220492bc80613baf0a73196a22cd4b4f
|
7
|
-
data.tar.gz: 35218e9259be86519e9b902101b413fd03276e46ea95d0cc0ae345b7c20e7d567a6050edb300bd9a9dfb02dbb931588c810be137e145bbc7827cd3c33c7bf908
|