jekyll-test-plugin-0.1.0/0000755000175000017500000000000012303406166013716 5ustar domidomijekyll-test-plugin-0.1.0/Rakefile0000644000175000017500000000003412303406166015360 0ustar domidomirequire "bundler/gem_tasks" jekyll-test-plugin-0.1.0/LICENSE.txt0000644000175000017500000000205512303406166015543 0ustar domidomiCopyright (c) 2013 Parker Moore MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. jekyll-test-plugin-0.1.0/metadata.yml0000644000175000017500000000421512303406166016223 0ustar domidomi--- !ruby/object:Gem::Specification name: jekyll_test_plugin version: !ruby/object:Gem::Version version: 0.1.0 platform: ruby authors: - Parker Moore autorequire: bindir: bin cert_chain: [] date: 2013-12-06 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: bundler requirement: !ruby/object:Gem::Requirement requirements: - - ~> - !ruby/object:Gem::Version version: '1.3' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ~> - !ruby/object:Gem::Version version: '1.3' - !ruby/object:Gem::Dependency name: rake requirement: !ruby/object:Gem::Requirement requirements: - - '>=' - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - '>=' - !ruby/object:Gem::Version version: '0' - !ruby/object:Gem::Dependency name: jekyll requirement: !ruby/object:Gem::Requirement requirements: - - '>=' - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - '>=' - !ruby/object:Gem::Version version: '0' description: A test plugin for Jekyll's 'gem' config option email: - parkrmoore@gmail.com executables: [] extensions: [] extra_rdoc_files: [] files: - .gitignore - Gemfile - LICENSE.txt - README.md - Rakefile - jekyll_test_plugin.gemspec - lib/jekyll_test_plugin.rb - lib/jekyll_test_plugin/version.rb homepage: https://github.com/parkr/jekyll-test-gem-plugin licenses: - MIT metadata: {} post_install_message: rdoc_options: [] require_paths: - lib required_ruby_version: !ruby/object:Gem::Requirement requirements: - - '>=' - !ruby/object:Gem::Version version: '0' required_rubygems_version: !ruby/object:Gem::Requirement requirements: - - '>=' - !ruby/object:Gem::Version version: '0' requirements: [] rubyforge_project: rubygems_version: 2.0.14 signing_key: specification_version: 4 summary: A test Jekyll plugin as a gem test_files: [] jekyll-test-plugin-0.1.0/checksums.yaml.gz0000444000175000017500000000041612303406166017205 0ustar domidomi]Re;R0 D"O::zN Y cR¨v]^~^?#*}lQHd Kb󈯧HhDwkW$1r,^ԉG5hlVsp,H]C LnfkB }$#WSvp[[>@NQ3GyGQ.N%^n'١ⰫCgf<I\\##l7$_~z"$Zjekyll-test-plugin-0.1.0/Gemfile0000644000175000017500000000004612303406166015211 0ustar domidomisource 'https://rubygems.org' gemspec jekyll-test-plugin-0.1.0/lib/0000755000175000017500000000000012303406166014464 5ustar domidomijekyll-test-plugin-0.1.0/lib/jekyll_test_plugin.rb0000644000175000017500000000075512303406166020727 0ustar domidomirequire "jekyll_test_plugin/version" require "jekyll" module JekyllTestPlugin class TestPage < Jekyll::Page def initialize(site, base, dir, name) @site = site @base = base @dir = dir @name = name self.process(name) self.content = "this is a test" self.data = {} end end class TestGenerator < Jekyll::Generator safe true def generate(site) site.pages << TestPage.new(site, site.source, '', 'test.txt') end end end jekyll-test-plugin-0.1.0/lib/jekyll_test_plugin/0000755000175000017500000000000012303406166020373 5ustar domidomijekyll-test-plugin-0.1.0/lib/jekyll_test_plugin/version.rb0000644000175000017500000000006012303406166022401 0ustar domidomimodule JekyllTestPlugin VERSION = "0.1.0" end jekyll-test-plugin-0.1.0/README.md0000644000175000017500000000121012303406166015167 0ustar domidomi# JekyllTestPlugin Testing Jekyll's `gem` configuration option, which allows the straight inclusion of plguins as rubygems into Jekyll instead of just `.rb` files. ## Installation Add this line to your application's Gemfile: gem 'jekyll_test_plugin' And then execute: $ bundle Or install it yourself as: $ gem install jekyll_test_plugin ## Usage DON'T USE THIS IT'S JUST FOR TESTING. :) ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request jekyll-test-plugin-0.1.0/.gitignore0000644000175000017500000000001512303406166015702 0ustar domidomiGemfile.lock jekyll-test-plugin-0.1.0/jekyll_test_plugin.gemspec0000644000175000017500000000170512303406166021175 0ustar domidomi# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'jekyll_test_plugin/version' Gem::Specification.new do |spec| spec.name = "jekyll_test_plugin" spec.version = JekyllTestPlugin::VERSION spec.authors = ["Parker Moore"] spec.email = ["parkrmoore@gmail.com"] spec.description = %q{A test plugin for Jekyll's 'gem' config option} spec.summary = %q{A test Jekyll plugin as a gem} spec.homepage = "https://github.com/parkr/jekyll-test-gem-plugin" spec.license = "MIT" spec.files = `git ls-files`.split($/) spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] spec.add_development_dependency "bundler", "~> 1.3" spec.add_development_dependency "rake" spec.add_development_dependency "jekyll" end