flutterby-coffeescript 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47bf4c393b216b2fc654d66d44ad58c57b64112c
4
- data.tar.gz: 11b0a001b35c318a7a6dc6e063c4409476b8ab39
3
+ metadata.gz: 6ea6cf24e120b5fabec2d3a5c82acb24ca7a6aed
4
+ data.tar.gz: a6221eeed032ca581090173beeb37274690a95a8
5
5
  SHA512:
6
- metadata.gz: 202927b25128e080bb08efda792fcaa8cf5760f6eaf82785f4afdd9702e1fc05a0c8662e86364732d8e92e01b7e808144fdf3e8c2ef79f558ad9cc513ff13885
7
- data.tar.gz: d05d03cb7af4231386988c1e6ff7ae7b09a009408475125c45937a5451f53eb63552abb0bfaf84f8e8a5f49dcec2225e41c04726a2b6806f32db360d7d12824c
6
+ metadata.gz: e355b8e47a61c3449ed3d014f252036712599699fece96ed71db9c65422642d8125e2a01a553869c065a6b22584b20157f47543f3f34208dd7a3c8385ba2b207
7
+ data.tar.gz: 53f227ebe184374010c7826270c5f0b0591b74df4b5d0e1b83f716c12fdddd6165b7c23ae0f6b53e077c492a8063df1a31e134436754aff26fbf2c09d3c62412
@@ -1,5 +1,5 @@
1
1
  module Flutterby
2
2
  module Coffeescript
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -1,16 +1,12 @@
1
1
  require "flutterby/coffeescript/version"
2
+ require "coffee-script"
2
3
 
3
4
  module Flutterby
4
- module Coffeescript
5
- # Your code goes here...
6
- end
7
-
8
- module Filters
9
- puts "extending!"
10
- def self.process_coffee(input, node)
11
- "moo"
5
+ module CoffeeScriptPlugin
6
+ def process_coffee(input, node)
7
+ ::CoffeeScript.compile(input)
12
8
  end
13
9
  end
14
10
  end
15
11
 
16
- puts "hi from flutterby/coffeescript"
12
+ Flutterby::Filters.extend(Flutterby::CoffeeScriptPlugin)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flutterby-coffeescript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hendrik Mans
@@ -97,7 +97,6 @@ files:
97
97
  - bin/console
98
98
  - bin/setup
99
99
  - flutterby-coffeescript.gemspec
100
- - lib/flutterby-coffeescript.rb
101
100
  - lib/flutterby/coffeescript.rb
102
101
  - lib/flutterby/coffeescript/version.rb
103
102
  homepage: https://github.com/hmans/flutterby-coffeescript
@@ -1 +0,0 @@
1
- puts "hi from flutterby-coffeescript"