scratch_pad-filters-paragraph_stripper 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -0,0 +1,6 @@
1
+ *~
2
+ *.gem
3
+ .bundle
4
+ Gemfile.lock
5
+ pkg/*
6
+ .redcar
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source :rubygems
2
+
3
+ gemspec
@@ -0,0 +1,2 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,9 @@
1
+ module Filters
2
+ class ParagraphStripper < ScratchPad::Addon::Filter
3
+ def self.process(string)
4
+ string.gsub! /<p>/, ''
5
+ string.gsub! /<\/p>/, ''
6
+ string
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path('../lib', __FILE__)
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = 'scratch_pad-filters-paragraph_stripper'
6
+ s.version = '0.0.1'
7
+ s.platform = Gem::Platform::RUBY
8
+ s.authors = ['Raving Genius']
9
+ s.email = ['rg+code@ravinggenius.com']
10
+ s.homepage = 'https://github.com/ravinggenius/scratch_pad-filters-paragraph_stripper'
11
+ s.summary = %q{Filter gem for ScratchPad}
12
+ s.description = %q{Filter gem for ScratchPad}
13
+
14
+ s.rubyforge_project = 'scratch_pad-filters-paragraph_stripper'
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ['lib']
20
+
21
+ s.signing_key = '/home/thomas/Code/___/certificates/gem-private_key.pem'
22
+ s.cert_chain = [
23
+ '/home/thomas/Code/___/certificates/gem-public_cert.pem'
24
+ ]
25
+ end
metadata ADDED
@@ -0,0 +1,82 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: scratch_pad-filters-paragraph_stripper
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.1
6
+ platform: ruby
7
+ authors:
8
+ - Raving Genius
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain:
12
+ - |
13
+ -----BEGIN CERTIFICATE-----
14
+ MIIDPjCCAiagAwIBAgIBADANBgkqhkiG9w0BAQUFADBFMRAwDgYDVQQDDAdyZ19j
15
+ b2RlMRwwGgYKCZImiZPyLGQBGRYMcmF2aW5nZ2VuaXVzMRMwEQYKCZImiZPyLGQB
16
+ GRYDY29tMB4XDTExMDEzMTAyMzI1MloXDTEyMDEzMTAyMzI1MlowRTEQMA4GA1UE
17
+ AwwHcmdfY29kZTEcMBoGCgmSJomT8ixkARkWDHJhdmluZ2dlbml1czETMBEGCgmS
18
+ JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMBt
19
+ UkaBJrNx3C6klKOoWtCEL+t+jZEdov0FU7Oos0jYceQ04u5SXYYm/t6mw4L5WvEQ
20
+ NoDaUGFQ3VS9gIKMuosMUIAOsw8pUGA4OeSkIDaj8Z1QgjYiXJTNYia1Vt0cbeOa
21
+ OCUVzDOgFb/GT3RDV3ZaOuuTCVTTeid8IwbPNseu/n5paS8HEHTla8D7L5bHFta7
22
+ p2RuKD09dvLYIwm+zrrMGHf1qN8ASq2EV9G8xwQVCXX8fPbnW62GSvbnRqoao7Mh
23
+ SQDY5GJlC/16gMMpoMdkaqVojXUeo+hQZzliVcJvqg0QjhcYxCGlyCgtTdCEWL+y
24
+ fA2XoEEHM5t8g1JWzMkCAwEAAaM5MDcwCQYDVR0TBAIwADAdBgNVHQ4EFgQU5tcW
25
+ zeGngxI/7uKRz8ZLkubhDn0wCwYDVR0PBAQDAgSwMA0GCSqGSIb3DQEBBQUAA4IB
26
+ AQCLyf/Qko0uooWPFEgkot/W4pcpkXnyYpH+5FfBN36XQcpkD6Ky5J6Wjej6ZqfA
27
+ umvfF/CK03N3S52axZLHNEunJn19NVJ871RNMViMjJH5qzp8CJcNksdVctcwztwD
28
+ /0mmYu+vTfvJ4DIg5Q7vvTdS3WriewDc3APaa3la93ZRIEwbQjJASoS0EEAr1pw0
29
+ WKoA5gx4BqPJHT0QH4LE0MQoE4XB8I/Y3xs5OUwItZL1xWpiUixKpDIqB5zKtN0m
30
+ EtSgImjQmbN559J/qAn31487zcviSWdGfNkLGT/rfVaLd6lg1VVgA5k5tG6roxiJ
31
+ CvvfejGH+Hi4YXI1pPhLJj8g
32
+ -----END CERTIFICATE-----
33
+
34
+ date: 2011-02-25 00:00:00 -05:00
35
+ default_executable:
36
+ dependencies: []
37
+
38
+ description: Filter gem for ScratchPad
39
+ email:
40
+ - rg+code@ravinggenius.com
41
+ executables: []
42
+
43
+ extensions: []
44
+
45
+ extra_rdoc_files: []
46
+
47
+ files:
48
+ - .gitignore
49
+ - Gemfile
50
+ - Rakefile
51
+ - lib/scratch_pad-filters-paragraph_stripper/paragraph_stripper.rb
52
+ - scratch_pad-filters-paragraph_stripper.gemspec
53
+ has_rdoc: true
54
+ homepage: https://github.com/ravinggenius/scratch_pad-filters-paragraph_stripper
55
+ licenses: []
56
+
57
+ post_install_message:
58
+ rdoc_options: []
59
+
60
+ require_paths:
61
+ - lib
62
+ required_ruby_version: !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: "0"
68
+ required_rubygems_version: !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: "0"
74
+ requirements: []
75
+
76
+ rubyforge_project: scratch_pad-filters-paragraph_stripper
77
+ rubygems_version: 1.5.2
78
+ signing_key:
79
+ specification_version: 3
80
+ summary: Filter gem for ScratchPad
81
+ test_files: []
82
+
@@ -0,0 +1,3 @@
1
+ g�`���o篯I���.n�V�B�H-��"\q��z��I٭�
2
+ �[��ۨp�m$�I��ۘ�KLu�9/��TS����ޱ����YYڅ��n"׬�p]\�BP&k��z���e���G�'b"�Y�_���}ӎ61A�|[8�VQdX}V�L�'z1��]52�S� M>G�!�e �%ܖ�Q��-Pu ��
3
+ b���V ���s4�z>r�m��Y� ���Ӹ����%���oV}fx��9-^I��