teaspoon-bundle 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/app/controllers/teaspoon/bundle/bundle_controller.rb +6 -3
- data/lib/teaspoon/bundle/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8739f4e97e89442f33f6ba2043fab2799d5ad691
|
4
|
+
data.tar.gz: b38ac59ac90b77a0b771d217ad373b6f6baf7e98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f75a09d45e1e6dd64d531c97efc2aba2ddbf03e698007ad897eed1a648d0169805bf4442e53c432e08d58c1514e6e7af7a331f9f583fa083cc443a8dc4d83c36
|
7
|
+
data.tar.gz: ae801742334d99a71555f8e63df3e6374e4d9a9a1b9d593057cdb529446998936c7dd926e018d5d599cb9dd8d3d3d8f4cff9d73ad5943f4849c0ab55cbbd2d81
|
data/.gitignore
CHANGED
@@ -3,9 +3,12 @@ module Teaspoon::Bundle
|
|
3
3
|
def serve
|
4
4
|
file = File.join(Teaspoon::Bundle.dir, "teaspoon_bundle_#{params[:suite]}.js.erb")
|
5
5
|
File.write(file, contents)
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
begin
|
7
|
+
asset = Rails.application.assets.find_asset(file)
|
8
|
+
render js: asset.to_s
|
9
|
+
ensure
|
10
|
+
File.delete(file)
|
11
|
+
end
|
9
12
|
end
|
10
13
|
|
11
14
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teaspoon-bundle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bouke van der Bijl
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: teaspoon
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.5.1
|
113
|
+
rubygems_version: 2.4.5.1
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Dynamically create a test bundle for Teaspoon that contains all the files
|