shortcodes 0.0.1 → 0.0.2

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.
@@ -1,3 +1,3 @@
1
1
  module Shortcodes
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/shortcodes.rb CHANGED
@@ -12,6 +12,8 @@ module Shortcodes
12
12
  Parser.handlers[tag] = klass
13
13
  end
14
14
 
15
- Parser.default_handler = ->(shortcode) { '' }
15
+ Parser.default_handler = ->(shortcode) do
16
+ "<!-- Shortcodes: unknown shortcode [#{shortcode.code}] -->"
17
+ end
16
18
  end
17
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shortcodes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -123,7 +123,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  segments:
125
125
  - 0
126
- hash: -1083873180484645285
126
+ hash: -1395089944212936832
127
127
  required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  none: false
129
129
  requirements:
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  version: '0'
133
133
  segments:
134
134
  - 0
135
- hash: -1083873180484645285
135
+ hash: -1395089944212936832
136
136
  requirements: []
137
137
  rubyforge_project:
138
138
  rubygems_version: 1.8.25