radiant-textile_filter-extension 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module RadiantTextileFilterExtension
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/../spec_helper'
1
+ require File.expand_path("../../spec_helper", __FILE__)
2
2
 
3
3
  describe TextileFilter do
4
4
  it "should be named Textile" do
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-textile_filter-extension
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 31
5
+ prerelease:
5
6
  segments:
6
7
  - 1
7
8
  - 0
8
- - 3
9
- version: 1.0.3
9
+ - 4
10
+ version: 1.0.4
10
11
  platform: ruby
11
12
  authors:
12
13
  - Radiant CMS Dev Team
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-09-15 00:00:00 -05:00
18
+ date: 2011-10-22 00:00:00 -05:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: RedCloth
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ~>
26
28
  - !ruby/object:Gem::Version
29
+ hash: 55
27
30
  segments:
28
31
  - 4
29
32
  - 2
@@ -52,8 +55,6 @@ files:
52
55
  - spec/models/textile_filter_spec.rb
53
56
  - spec/spec.opts
54
57
  - spec/spec_helper.rb
55
- - test/test_helper.rb
56
- - test/unit/textile_filter_test.rb
57
58
  - textile.html
58
59
  - textile_filter_extension.rb
59
60
  has_rdoc: true
@@ -66,29 +67,31 @@ rdoc_options: []
66
67
  require_paths:
67
68
  - lib
68
69
  required_ruby_version: !ruby/object:Gem::Requirement
70
+ none: false
69
71
  requirements:
70
72
  - - ">="
71
73
  - !ruby/object:Gem::Version
74
+ hash: 3
72
75
  segments:
73
76
  - 0
74
77
  version: "0"
75
78
  required_rubygems_version: !ruby/object:Gem::Requirement
79
+ none: false
76
80
  requirements:
77
81
  - - ">="
78
82
  - !ruby/object:Gem::Version
83
+ hash: 3
79
84
  segments:
80
85
  - 0
81
86
  version: "0"
82
87
  requirements: []
83
88
 
84
89
  rubyforge_project:
85
- rubygems_version: 1.3.6
90
+ rubygems_version: 1.3.9.3
86
91
  signing_key:
87
92
  specification_version: 3
88
93
  summary: Textile Filter for Radiant CMS
89
94
  test_files:
90
- - test/test_helper.rb
91
- - test/unit/textile_filter_test.rb
92
95
  - spec/models/textile_filter_spec.rb
93
96
  - spec/spec.opts
94
97
  - spec/spec_helper.rb
@@ -1,19 +0,0 @@
1
- require 'test/unit'
2
- # Load the environment
3
- unless defined? RADIANT_ROOT
4
- ENV["RAILS_ENV"] = "test"
5
- case
6
- when ENV["RADIANT_ENV_FILE"]
7
- require ENV["RADIANT_ENV_FILE"]
8
- when File.dirname(__FILE__) =~ %r{vendor/radiant/vendor/extensions}
9
- require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../../../")}/config/environment"
10
- else
11
- require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../")}/config/environment"
12
- end
13
- end
14
- require "#{RADIANT_ROOT}/test/test_helper"
15
-
16
- class Test::Unit::TestCase
17
- self.use_transactional_fixtures = true
18
- self.use_instantiated_fixtures = false
19
- end
@@ -1,13 +0,0 @@
1
- require File.dirname(__FILE__) + '/../test_helper'
2
-
3
- class TextileFilterTest < Test::Unit::TestCase
4
-
5
- def test_filter_name
6
- assert_equal 'Textile', TextileFilter.filter_name
7
- end
8
-
9
- def test_filter
10
- assert_equal '<h1>Test</h1>', TextileFilter.filter('h1. Test')
11
- end
12
-
13
- end