jekyll-roman 0.0.1 → 0.0.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: a7239151d50e2f62059563c02f09a84cf9afe6fb
4
- data.tar.gz: 2dabc99b11d2588e242c2186e46885a64ca0851f
3
+ metadata.gz: 7ceb0f261d767279ea0f609c7063d17b136f606a
4
+ data.tar.gz: af1147438802848ac5c45a6dde8df1d3131ed89c
5
5
  SHA512:
6
- metadata.gz: dc19fd5af2ddea5b7b4da0485d57b607d44fdabfff01aeb0eb0103bdc1edb7233404a989c4c331d3f96469fd1894e32ca232b3b25da0588674adf8ac9243c7c7
7
- data.tar.gz: 334b81e7ebc712c7fbd2301a0111174675ee776410e060ca2104e6192dd3729a8ae2765362c76ef1888d0232a8d49ad68564c22bf8fb8152aa980a3f136dbfc3
6
+ metadata.gz: cba7affc31f8f9deef78c2dc6c786fe3587089ffb6014d99231de055cd49ab20d410390fd84a90061a967ad673c3c6061670282b7187c629a38ce072403be91f
7
+ data.tar.gz: 7e7a39331776c2a98bcdbf4f00fac29ae80f9221c55eb76a205f4391834b98db87861ab87f7edd8472e6d1ba5bc71d63693e1d80343f4ea3245ef68b7fbe8859
data/.gitignore CHANGED
@@ -2,3 +2,5 @@
2
2
  Gemfile.lock
3
3
  spec/dest
4
4
  .bundle
5
+ .jekyll-metadata
6
+ .DS_Store
@@ -0,0 +1,13 @@
1
+ language: ruby
2
+ script: "script/cibuild"
3
+ rvm:
4
+ - 2.1
5
+ - 2.0
6
+ env:
7
+ - ""
8
+ - JEKYLL_VERSION=3.0.0
9
+ matrix:
10
+ include:
11
+ - # Ruby 1.9
12
+ rvm: 1.9.3
13
+ env: JEKYLL_VERSION=2.0
data/Gemfile CHANGED
@@ -1,3 +1,6 @@
1
1
  source "https://rubygems.org"
2
-
3
2
  gemspec
3
+
4
+ if ENV["JEKYLL_VERSION"]
5
+ gem "jekyll", "~> #{ENV["JEKYLL_VERSION"]}"
6
+ end
data/README.md CHANGED
@@ -1,12 +1,13 @@
1
1
  # jekyll-roman
2
2
 
3
- *A liquid filter for Jekyll that converts numbers into Roman numerals.*
3
+ A liquid filter for Jekyll that converts numbers into Roman numerals.
4
4
 
5
5
  [![Gem Version](https://img.shields.io/gem/v/jekyll-roman.svg)](https://rubygems.org/gems/jekyll-roman)
6
+ [![Build Status](https://img.shields.io/travis/paulrobertlloyd/jekyll-roman/master.svg)](https://travis-ci.org/paulrobertlloyd/jekyll-roman)
6
7
 
7
8
  ## Installation
8
9
 
9
- 1. Add `gem 'jekyll-roman'` to your site’s Gemfile and run bundle
10
+ 1. Add `gem 'jekyll-roman'` to your site’s Gemfile and run `bundle`
10
11
  2. Add the following to your site’s `_config.yml`:
11
12
 
12
13
  ```yml
@@ -16,7 +17,7 @@ gems:
16
17
 
17
18
  ## Usage
18
19
 
19
- This filter takes any given whole number, and converts it. Any other types of string are ignored. For example, if you wish to display the year in your site’s copyright statement as roman numerals, you would write the following:
20
+ This filter takes any given whole number and converts it. Any other types of string are ignored. For example, if you wish to display the year in your site’s copyright statement as roman numerals, you would write the following:
20
21
 
21
22
  ```html
22
23
  <h1>&copy; {{ site.time | date:"%Y" | roman }}</h1>
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'jekyll-roman/version'
4
+ require 'jekyll/roman/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "jekyll-roman"
File without changes
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Roman
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -5,7 +5,7 @@ def relative_to_root(path)
5
5
  end
6
6
 
7
7
  require 'jekyll'
8
- require relative_to_root('lib/jekyll-smartify.rb')
8
+ require relative_to_root('lib/jekyll-roman.rb')
9
9
  require 'pry-debugger'
10
10
 
11
11
  SOURCE_DIR = relative_to_root('spec/fixtures')
@@ -1,5 +1,5 @@
1
1
  require 'jekyll'
2
- require File.expand_path('../lib/jekyll-roman', File.dirname(__FILE__))
2
+ require File.expand_path('../lib/jekyll/roman', File.dirname(__FILE__))
3
3
 
4
4
  Jekyll.logger.log_level = :error
5
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-roman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Robert Lloyd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-11 00:00:00.000000000 Z
11
+ date: 2015-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -79,13 +79,14 @@ extensions: []
79
79
  extra_rdoc_files: []
80
80
  files:
81
81
  - ".gitignore"
82
+ - ".travis.yml"
82
83
  - Gemfile
83
84
  - LICENSE
84
85
  - README.md
85
86
  - Rakefile
86
87
  - jekyll-roman.gemspec
87
- - lib/jekyll-roman.rb
88
- - lib/jekyll-roman/version.rb
88
+ - lib/jekyll/roman.rb
89
+ - lib/jekyll/roman/version.rb
89
90
  - script/bootstrap
90
91
  - script/cibuild
91
92
  - script/console