flutterby-coffeescript 0.2.1 → 0.2.2

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: 02e8919af5acf6aa0744586c8498fa8712843eee
4
- data.tar.gz: 4586f83e1ff27d86ca10445147997e1ccfff21e5
3
+ metadata.gz: 0d14d7f37e5ecbe4c676897996aaea497435cab8
4
+ data.tar.gz: 41a3f2dc4c597527ba037c21074d8054569e3567
5
5
  SHA512:
6
- metadata.gz: e9f495984969ce149b831d9d08e68ca5e7c9f80c3dec554d3acbe9a1050c21c5cdfbb00e0e7ebe4a806907773a19e92399d8b63ddf2c9ddf463f9cb9af9218f5
7
- data.tar.gz: 6d77d2fb37d7c3da79d2fd6b06e1be190993249248c90c6e72dd788f042c7363cc49393e67f739cba51201d0d07cc25456db7acf243cfd85e8ecfcac5bd5f930
6
+ metadata.gz: eb8ee3d1af55e003013a66208c5c5fc28863bbca195a89060055d69f339d02e3bb4e045a85bd9cb6123e44fde77cc93be3d5d1248367b0cdc061076a9fe78a1d
7
+ data.tar.gz: 2d768369e8f38a609de6a76b978797ae06f123deb2282d1f97fda7b234d678e1018daf2269392d1e666afb1aa13a428c6d3601863873749f4d9780c5dc9c1cf0
@@ -1,12 +1,6 @@
1
1
  require "flutterby/coffeescript/version"
2
2
  require "coffee-script"
3
3
 
4
- module Flutterby
5
- module CoffeeScriptPlugin
6
- def process_coffee!(node)
7
- node.body = ::CoffeeScript.compile(node.body)
8
- end
9
- end
4
+ Flutterby::Filters.add("coffee") do |node|
5
+ node.body = ::CoffeeScript.compile(node.body)
10
6
  end
11
-
12
- Flutterby::Filters.extend(Flutterby::CoffeeScriptPlugin)
@@ -1,5 +1,5 @@
1
1
  module Flutterby
2
2
  module Coffeescript
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flutterby-coffeescript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hendrik Mans
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-09 00:00:00.000000000 Z
11
+ date: 2017-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-script