ggake 0.2.0 → 0.3.0

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: 77d7689f175035d99818de189bd3b5d034082a13
4
- data.tar.gz: da54d6a65396032fbd551ac47c26ec6a795e1f29
3
+ metadata.gz: be450f0581445fbe9e99f1e495ca276eb2fe1939
4
+ data.tar.gz: e8cd01f814155d577757eaa23c0e5680c572c562
5
5
  SHA512:
6
- metadata.gz: 6595c1b86c7dd02e782294872632fd2458c43490f613c9bf25ae579ede004858abeb4e2e90f0bd46aca8b995443a862a12cc64c030fdf4d3eaa966ab9f180a72
7
- data.tar.gz: 1ce7ecbe901e291f6e6dd98391ac467702f7543ed04c7a38d24beb87c697e0aa11ca5af744d3e90c7511ae52a1b4ebb6f592162871b78ac342bef5250f3aafb0
6
+ metadata.gz: 5ccd8dc86e30a7cffa7a3960cfd77178e557a5d14e0810ba4fe89d0353ff776072470b59fd7fc8d4df0426a14b36702013f89cead1a1ce0c6c1d654a9a7fc220
7
+ data.tar.gz: 11842f31682fed14ceb042c1205d1747a96c33025c0b53ad58b9dc485ec19a8ca2573690a93c04a2ea22a3d7b456d2dee76d1deca44a5d19c0fd7dd00a79daea
@@ -0,0 +1,13 @@
1
+ module Rake
2
+ module DSL
3
+
4
+ def coffee(input, options)
5
+ (File.join(options[:output], File.basename(input, '.coffee')) + '.js').tap do |js_file|
6
+ file js_file => input do
7
+ sh "coffee --compile --output #{options[:output]} #{input}"
8
+ end
9
+ end
10
+ end
11
+
12
+ end
13
+ end
data/lib/ggake/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ggake
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
data/lib/ggake.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require "ggake/version"
2
2
 
3
3
  require "ggake/haml"
4
+ require "ggake/coffee"
4
5
  require "ggake/transient"
5
6
  require "ggake/cloud_cp"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ggake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giles Alexander
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-19 00:00:00.000000000 Z
11
+ date: 2013-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -99,6 +99,7 @@ files:
99
99
  - ggake.gemspec
100
100
  - lib/ggake.rb
101
101
  - lib/ggake/cloud_cp.rb
102
+ - lib/ggake/coffee.rb
102
103
  - lib/ggake/haml.rb
103
104
  - lib/ggake/transient.rb
104
105
  - lib/ggake/version.rb