condensation 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/condensation.gemspec CHANGED
@@ -18,5 +18,4 @@ Gem::Specification.new do |gem|
18
18
  gem.require_paths = ["lib"]
19
19
 
20
20
  gem.add_dependency "liquid", "~> 2.0"
21
- gem.add_development_dependency "shoulda-context", "~> 1.0"
22
21
  end
@@ -1,3 +1,3 @@
1
1
  module Condensation
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/lib/condensation.rb CHANGED
@@ -6,10 +6,11 @@ require "condensation/version"
6
6
  module Condensation
7
7
  FILTERS = [
8
8
  Filters::Default,
9
+ Filters::Hyperlink,
9
10
  Filters::ReplaceInnerHTML
10
11
  ]
11
12
 
12
- def register_filters
13
+ def self.register_filters
13
14
  FILTERS.each do |filter|
14
15
  Liquid::Template.register_filter(filter)
15
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: condensation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -27,22 +27,6 @@ dependencies:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: '2.0'
30
- - !ruby/object:Gem::Dependency
31
- name: shoulda-context
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: '1.0'
38
- type: :development
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: '1.0'
46
30
  description: A collection of handy extensions to the Liquid templating language
47
31
  email:
48
32
  - derrickreimer@gmail.com