middleman-gist 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 49716b09c325a332281234b8920fd95908dce1d6
4
+ data.tar.gz: 57138d8b59939789fa8bbca1d169b0fe5e43b128
5
+ SHA512:
6
+ metadata.gz: f72946c8adf0c45220928ed37bbb87068e0e35946ebadb7b87cf0397e1815b2e49e258e6dd6610ad6371b4d2ee303c9eb3989896ccbb9dfd1c0e7ae03eb1d029
7
+ data.tar.gz: 0bee8953783157afa82aa78035118f6f66356d5fc85a197cafd983838729f7fd4c144f701e46020d558b585ae8d4b05c9dc03a42f49e128405593b0cc94a73af
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ Gemfile.lock
2
+ *.gem
3
+ *.sw*
4
+ .DS_Store
data/Gemfile ADDED
@@ -0,0 +1,16 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
4
+
5
+ group :development do
6
+ gem "rake"
7
+ gem "rdoc"
8
+ gem "yard"
9
+ end
10
+
11
+ group :test do
12
+ gem "cucumber"
13
+ gem "fivemat"
14
+ gem "aruba"
15
+ gem "rspec"
16
+ end
data/Rakefile ADDED
@@ -0,0 +1,14 @@
1
+ require "bundler"
2
+ Bundler::GemHelper.install_tasks
3
+
4
+ require "cucumber/rake/task"
5
+
6
+ Cucumber::Rake::Task.new(:cucumber, "Run features that should pass") do |t|
7
+ t.cucumber_opts = "--color --tags ~@wip --strict --format #{ENV["CUCUMBER_FORMAT"] || "Fivemat"}"
8
+ end
9
+
10
+ require "rake/clean"
11
+
12
+ task test: ["cucumber"]
13
+
14
+ task default: :test
@@ -0,0 +1,15 @@
1
+ require "middleman-core"
2
+
3
+ class MiddlemanGist < ::Middleman::Extension
4
+ def initialize(app, options_hash={}, &block)
5
+ super
6
+ end
7
+
8
+ helpers do
9
+ def gist(user, guid)
10
+ "<script src=\"https://gist.github.com/#{user}/#{guid}.js\"></script>"
11
+ end
12
+ end
13
+ end
14
+
15
+ MiddlemanGist.register(:gist)
@@ -0,0 +1 @@
1
+ require "middleman-gist"
@@ -0,0 +1,13 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = "middleman-gist"
3
+ s.version = "0.0.14"
4
+ s.platform = Gem::Platform::RUBY
5
+ s.authors = ["Ryan Burnette"]
6
+ s.email = ["ryan.burnette@gmail.com"]
7
+ s.homepage = "http://ryanburnette.com"
8
+ s.summary = "A Github Gist helper for Middleman."
9
+ s.description = "A Github Gist helper for the Middleman static site generator."
10
+ s.license = "Apache2"
11
+ s.files = `git ls-files -z`.split("\0")
12
+ s.add_runtime_dependency("middleman-core", ["~> 3.3"])
13
+ end
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: middleman-gist
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.14
5
+ platform: ruby
6
+ authors:
7
+ - Ryan Burnette
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-05-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: middleman-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.3'
27
+ description: A Github Gist helper for the Middleman static site generator.
28
+ email:
29
+ - ryan.burnette@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".gitignore"
35
+ - Gemfile
36
+ - Rakefile
37
+ - lib/middleman-gist.rb
38
+ - lib/middleman_extension.rb
39
+ - middleman-gist.gemspec
40
+ homepage: http://ryanburnette.com
41
+ licenses:
42
+ - Apache2
43
+ metadata: {}
44
+ post_install_message:
45
+ rdoc_options: []
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ requirements: []
59
+ rubyforge_project:
60
+ rubygems_version: 2.4.7
61
+ signing_key:
62
+ specification_version: 4
63
+ summary: A Github Gist helper for Middleman.
64
+ test_files: []