rust_playground_highlight 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e469cd5bc98db826aca7b1c4e1fd5f2aed8ab092
4
- data.tar.gz: 1580e4a75b5129008c05797d248ba0ec5ff71978
3
+ metadata.gz: b93171d27e83a0eef9d510beb94e907746ddc77a
4
+ data.tar.gz: b98f7c3c207e51bd12acf48bdb42a6fa7bde8aaa
5
5
  SHA512:
6
- metadata.gz: 83a11cbeb938615ad95b80bf9e3148343af2c1204e570a9afe8e350655b3a766dbedc8f4c2f074c55bfae19c20b38edaaaffbe42e7396e4b35373f2a7bcb8fef
7
- data.tar.gz: cd8570e8b090334dfe88ec4c4cc76dd5ff377abed671bd0ccf55835f9b9b0261d1b597a2b497992a6cdd63aaa9c50cd5fb3a3ea22d6c002edbcb4353d8399225
6
+ metadata.gz: 15cd1db5fe0324cf388bc86f9c82d91cf6d8d69801ab56ba259a9dab82da5ec91d09ad2d5ffac749478f82299353cbc0786154b2ebe10b33f1d7d1a492dbcee7
7
+ data.tar.gz: 21f616a4879d0513a5ad0b890b38d94c883cf5c182f3556b699f392c9b9c660199fabec4b47098e203b41b79e3faf19722b871b17b706d2849f5c801d5054694
data/README.md CHANGED
@@ -69,6 +69,25 @@ div.highlight a.playground {
69
69
  }
70
70
  ```
71
71
 
72
+ ## Installation
73
+
74
+ In your Gemfile, add
75
+
76
+ ```
77
+ gem 'rust_playground_highlight', :require => 'rust_playground_highlight'
78
+ ```
79
+
80
+ Then run `bundle`
81
+
82
+ In your `_plugins` directory (which you can create, if you don't have one), add the file `bundler.rb` with the content:
83
+
84
+ ```
85
+ # _plugins/bundler.rb
86
+ require "rubygems"
87
+ require "bundler/setup"
88
+ Bundler.require(:default)
89
+ ```
90
+
72
91
  ## Requirements
73
92
  - I am using this with Jekyll 2.5.3. It *should* work with Jekyll 3.
74
93
  - The CSS classes on the button assume you have Bootstrap.
data/VERSION.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Version History
2
2
 
3
+ # 0.1.3
4
+
5
+ - Bugfixes
6
+
3
7
  # 0.1.2
4
8
 
5
9
  - Bugfixes
@@ -10,7 +10,7 @@ module Jekyll
10
10
  def render(context)
11
11
  #calls render on Liquid::Block, which returns the content of the block
12
12
  self.raw = self.method(:render).super_method.super_method.call(context).to_s.strip
13
- self.gist_id = options_hash[:playground_id]
13
+ self.gist_id = options_hash[:gist_id]
14
14
  super
15
15
  end
16
16
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "rust_playground_highlight"
7
- gem.version = '0.1.2'
7
+ gem.version = '0.1.3'
8
8
  gem.authors = ["IanWhitney"]
9
9
  gem.email = "ian@ianwhitney.com"
10
10
  gem.description = %q{Automatically add links to the Rust Playground for code samples in your Jekyll site.}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rust_playground_highlight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - IanWhitney
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-20 00:00:00.000000000 Z
11
+ date: 2015-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll