content-pipeline 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: be4f95e552526dfd24a5726318660f325c76b1c6
4
- data.tar.gz: 88016c7b74a3b377f0924a3f4e029d4fa6255528
3
+ metadata.gz: 2bcbf0d25b53581c0b7f6ed8c23281a97d76bc83
4
+ data.tar.gz: 9d9308892002f4c9e89f65b07ab5f8a03d80bc35
5
5
  SHA512:
6
- metadata.gz: 77e0cdfb69c6cf034b312f6cf29aa223354e0c44df1fce56b5cbfb5e3c835874dca51cd6f6323dbce30e846d1e7ed9c5e91d0b44266018002c2a42b14531c311
7
- data.tar.gz: 5361d8b05fc86d9dbc084a5334dad3a1dae12d09bf8dfc0213d98894504f8c82edd12b88c910716c467fa0c7257273a3c7ec7be8dcc16e87eac6736822b96610
6
+ metadata.gz: eb3cdd69b7f4894864c7345577b27cbdc7f0c3f8b66b211d8634630ab5bf77742e7cce3789ba7fc26c49d0b13841212be1268bbdc1033809285e170221562029
7
+ data.tar.gz: 79d6ac899d53826cb6510606e5bc0d31705052118aee07cc36f5e0694d4e69d38c5eb86053d3d2fb7bda3716308f35e0fbef75fcbb75ff33e2f7fce50771037e
@@ -7,7 +7,6 @@ module CoreExtensions
7
7
  # --------------------------------------------------------------------------
8
8
 
9
9
  module ObjectExt
10
-
11
10
  def jruby?
12
11
  RbConfig::CONFIG["ruby_install_name"] == "jruby"
13
12
  end
@@ -17,8 +16,7 @@ module CoreExtensions
17
16
  # ------------------------------------------------------------------------
18
17
 
19
18
  def to_nokogiri_fragment
20
- return self if Nokogiri::HTML::DocumentFragment === self
21
- Nokogiri::HTML.fragment(respond_to?(:to_html) ? to_html : to_s)
19
+ Nokogiri::HTML.fragment(self.to_s)
22
20
  end
23
21
  end
24
22
  end
@@ -1,5 +1,5 @@
1
1
  module Content
2
2
  class Pipeline
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: content-pipeline
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
  - Jordon Bedwell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-14 00:00:00.000000000 Z
11
+ date: 2013-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -90,13 +90,13 @@ files:
90
90
  - License
91
91
  - Rakefile
92
92
  - Gemfile
93
- - lib/content/pipeline/version.rb
94
- - lib/content/pipeline/core_extensions/hash_ext.rb
95
- - lib/content/pipeline/core_extensions/object_ext.rb
93
+ - lib/content/pipeline.rb
96
94
  - lib/content/pipeline/filters.rb
97
- - lib/content/pipeline/filters/code_highlight.rb
98
95
  - lib/content/pipeline/filters/markdown.rb
99
- - lib/content/pipeline.rb
96
+ - lib/content/pipeline/filters/code_highlight.rb
97
+ - lib/content/pipeline/core_extensions/hash_ext.rb
98
+ - lib/content/pipeline/core_extensions/object_ext.rb
99
+ - lib/content/pipeline/version.rb
100
100
  homepage: https://github.com/envygeeks/content-pipeline
101
101
  licenses:
102
102
  - Apache 2.0
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
- rubygems_version: 2.1.3
120
+ rubygems_version: 2.1.10
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Adds a pipeline for your content.