bistro_car 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +9 -0
- data/Rakefile +4 -2
- data/lib/bistro_car.rb +1 -1
- metadata +12 -2
data/README.rdoc
CHANGED
@@ -50,6 +50,15 @@ You can make BistroCar minify your JavaScript bundles using JSMin by setting:
|
|
50
50
|
|
51
51
|
This is done automatically for the production environment.
|
52
52
|
|
53
|
+
== Inline CoffeeScript
|
54
|
+
|
55
|
+
You can also render CoffeeScript inline from within your erb templates like this:
|
56
|
+
|
57
|
+
<% coffee_script do %>
|
58
|
+
x: x => x * 2
|
59
|
+
y: y => y + 2
|
60
|
+
<% end %>
|
61
|
+
|
53
62
|
== License:
|
54
63
|
|
55
64
|
(The MIT License)
|
data/Rakefile
CHANGED
@@ -11,7 +11,9 @@ Hoe.spec 'bistro_car' do
|
|
11
11
|
self.developer 'Jonas Nicklas', 'jonas.nicklas@gmail.com'
|
12
12
|
self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
|
13
13
|
self.rubyforge_name = self.name # TODO this is default value
|
14
|
-
self.extra_deps = [
|
15
|
-
|
14
|
+
self.extra_deps = [
|
15
|
+
['coffee-script','>= 0.1.6'],
|
16
|
+
['jsmin','>= 1.0.1']
|
17
|
+
]
|
16
18
|
self.version = BistroCar::VERSION
|
17
19
|
end
|
data/lib/bistro_car.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bistro_car
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Nicklas
|
@@ -9,9 +9,19 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-06 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: coffee-script
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.1.6
|
24
|
+
version:
|
15
25
|
- !ruby/object:Gem::Dependency
|
16
26
|
name: jsmin
|
17
27
|
type: :runtime
|