octopress-pygments 2.0.1 → 2.0.2

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: d4fcf642b86549ad5ec511ec7a2e8790824b4393
4
- data.tar.gz: f72a29a7751f41d161cc0ed89399938232f0179f
3
+ metadata.gz: 20daf90fee03fe3d511ce38611c71745d73248de
4
+ data.tar.gz: 85207491cc7cbfa116124c6808b5f4aa2835382b
5
5
  SHA512:
6
- metadata.gz: da464b8f27f11ce30990368847548be91533bbf0712a7df6385872f603d5d1564d2cb19a7f637d35a32e5222a36366d1961885e0d9d47c6a4d8b919a27a0af92
7
- data.tar.gz: 22bc4ed30b5af6a929f8417aac13cfc4e69ed8f88120025e075ffc7c61fdf5a3ebc73317565459ae480975c9493d1fa72093be638364e24c204e5b7fa324c46e
6
+ metadata.gz: 57f734e7eb3c85183f72ee0aee46930fc0ff605c6546b9400d2bfae7f4efd09799b144b393db8df785d0750936661ef37a52172d0eb9047468444bd301e1e251
7
+ data.tar.gz: 021e0fcefb696377e30c9032c9a240d5e228434f7024dd51e24e720478c04f2f329550298613688bef3a7d92cc159eeba2c372cf19af0b2c070a9f0f73281241
File without changes
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module Pygments
3
- VERSION = "2.0.1"
3
+ VERSION = "2.0.2"
4
4
  end
5
5
  end
@@ -50,18 +50,18 @@ module Octopress
50
50
  end
51
51
  end
52
52
 
53
- module Octopress
54
- class CodeStyle < Plugin
55
- def initialize(name, type)
56
- @assets_path = File.expand_path(File.join(File.dirname(__FILE__), '../assets'))
57
- super
58
- end
53
+ class OctopressPygments < Octopress::Ink::Plugin
54
+ def initialize(name, type)
55
+ @assets_path = File.expand_path(File.join(File.dirname(__FILE__), '../assets'))
56
+ @version = Octopress::Pygments::VERSION
57
+ @description = "For beautiful code snippets."
58
+ super
59
+ end
59
60
 
60
- def add_assets
61
- add_sass 'code-style.scss'
62
- end
61
+ def add_assets
62
+ add_sass 'code.scss'
63
63
  end
64
64
  end
65
65
 
66
- Octopress.register_plugin(Octopress::CodeStyle, 'code-style', 'plugin')
66
+ Octopress::Ink.register_plugin(OctopressPygments, 'octopress-pygments', 'plugin')
67
67
 
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
 
16
16
  gem.add_runtime_dependency 'pygments.rb', '>= 0.5'
17
17
  gem.add_runtime_dependency 'colorator', '~> 0.1.0'
18
- gem.add_runtime_dependency 'octopress-ink', '>= 1.0.0.alpha.17'
18
+ gem.add_runtime_dependency 'octopress-ink', '>= 1.0.0.alpha.32'
19
19
 
20
20
  gem.add_development_dependency 'rake'
21
21
  gem.add_development_dependency 'rspec'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-pygments
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-19 00:00:00.000000000 Z
11
+ date: 2014-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pygments.rb
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '>='
46
46
  - !ruby/object:Gem::Version
47
- version: 1.0.0.alpha.17
47
+ version: 1.0.0.alpha.32
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '>='
53
53
  - !ruby/object:Gem::Version
54
- version: 1.0.0.alpha.17
54
+ version: 1.0.0.alpha.32
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -97,7 +97,7 @@ files:
97
97
  - Rakefile
98
98
  - assets/stylesheets/_pygments-style.scss
99
99
  - assets/stylesheets/_solarized.scss
100
- - assets/stylesheets/code-style.scss
100
+ - assets/stylesheets/code.scss
101
101
  - lib/octopress-pygments.rb
102
102
  - lib/octopress-pygments/cache.rb
103
103
  - lib/octopress-pygments/options_parser.rb